CN105138933A - Electronic equipment and information processing method - Google Patents

Electronic equipment and information processing method Download PDF

Info

Publication number
CN105138933A
CN105138933A CN201510622720.6A CN201510622720A CN105138933A CN 105138933 A CN105138933 A CN 105138933A CN 201510622720 A CN201510622720 A CN 201510622720A CN 105138933 A CN105138933 A CN 105138933A
Authority
CN
China
Prior art keywords
electronic device
fixture
relative position
judgment result
sensing unit
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.)
Granted
Application number
CN201510622720.6A
Other languages
Chinese (zh)
Other versions
CN105138933B (en
Inventor
石伟兴
王建锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510622720.6A priority Critical patent/CN105138933B/en
Publication of CN105138933A publication Critical patent/CN105138933A/en
Application granted granted Critical
Publication of CN105138933B publication Critical patent/CN105138933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/88Detecting or preventing theft or loss

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Burglar Alarm Systems (AREA)

Abstract

The embodiment of the invention discloses electronic equipment and an information processing method. The electronic equipment comprises a first component and a sensing unit, wherein the first component is used for fixing a first surface of the electronic equipment onto a second surface of a fixture to ensure a first relative position relationship between the electronic equipment and the fixture; the sensing unit is used for acquiring induction data after being enabled, and the induction data are used for indicating changes of the first relative position relationship.

Description

Electronic equipment and information processing method
Technical Field
The present invention relates to information processing technologies, and in particular, to an electronic device and an information processing method.
Background
With the development of network communication technology, smart homes gradually appear in the lives of people, and one of the smart homes is a home security system. In the prior art, users can install various anti-theft devices on doors, windows, or easily stolen articles. Generally, the anti-theft device is fixed on the attachment in a simple fixing mode, is convenient to disassemble and assemble and is easy to disassemble by an illegal user, namely the anti-theft device also loses the anti-theft function. In the prior art, no effective solution for the problem exists at present.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an electronic device and an information processing method, which can avoid the situations of article loss and property loss of a user due to the electronic device being detached, and improve user experience.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
an embodiment of the present invention provides an electronic device, including:
a first assembly for securing a first surface of the electronic device to a second surface of a fixture such that the electronic device has a first relative positional relationship with the fixture;
and the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data is used for indicating the change of the first relative position relation.
In the above solution, the electronic device further includes:
a second component for securing a third surface of the electronic device to a fourth surface of another electronic device to have a second relative positional relationship with the other electronic device, wherein a fifth surface of the other electronic device has a third component for securing the fifth surface to a sixth surface of another fixture;
the first processing unit is used for judging whether the second relative position relation is changed or not when the electronic equipment and the other electronic equipment are both in an enabling state, and obtaining a first judgment result;
and the output unit is used for outputting first prompt information based on the first judgment result obtained by the first processing unit.
In the above solution, the electronic device further includes:
the second processing unit is used for judging whether the first relative position relation changes or not according to the induction data to obtain a second judgment result;
and the output unit is used for outputting second prompt information based on the second judgment result obtained by the second processing unit.
In the above solution, the electronic device further includes:
the first communication unit is arranged in association with the second component and used for transmitting the sensing data acquired by the sensing unit to the other electronic equipment when the second relative position relationship between the electronic equipment and the other electronic equipment is a connection relationship; such that the other electronic device perceives a change in the relative positional relationship between the electronic device and the fixture based on the sensed data.
In the foregoing solution, the determining whether the first relative position relationship changes according to the sensing data includes:
judging whether the induction data reach a first preset threshold value or not, and obtaining a third judgment result;
when the third judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; when the third judgment result is that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed;
or determining the variation of two continuously obtained sensing data; judging whether the variation reaches a second preset threshold value or not, and obtaining a fourth judgment result;
when the fourth judgment result shows that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the fourth judgment result shows that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
In the above solution, the sensing unit is disposed in association with the first component, and a detection direction of the sensing unit faces a direction of the fixture, and the sensing unit is configured to obtain an environmental parameter in a detection area;
the second processing unit is used for judging whether the environmental parameters meet a first preset condition or not and obtaining a fifth judgment result; it is determined whether the first relative positional relationship changes based on the fifth determination result.
In the above scheme, the sensing unit is disposed in the electronic device and configured to detect a spatial motion parameter of the electronic device;
the second processing unit is configured to, when the second relative position relationship is a contact relationship, determine whether the spatial motion parameter satisfies a second predetermined condition, and obtain a sixth determination result; it is determined whether the first relative positional relationship changes based on the sixth determination result.
The embodiment of the invention also provides an information processing method, which is applied to the electronic equipment and comprises the following steps:
obtaining a first instruction, and enabling a sensing unit in the electronic equipment based on the first instruction;
acquiring sensing data through the sensing unit, wherein the sensing data is used for indicating the change of the first relative position relation;
wherein the electronic device includes a first component that secures a first surface of the electronic device to a second surface of a fixture; the electronic device has a first relative positional relationship with the fixture.
In the above scheme, the method further comprises: judging whether the first relative position relation changes according to the induction data to obtain a judgment result; and outputting prompt information based on the judgment result.
In the above scheme, the method further comprises: when the second relative position relationship between the electronic device and another electronic device is a contact relationship, transmitting the sensing data to the another electronic device through a first communication unit in the electronic device so that the another electronic device can sense the change of the relative position relationship between the electronic device and the fixture based on the sensing data;
wherein the electronic device further comprises a second component for fixing the third surface of the electronic device on the fourth surface of another electronic device, and a first communication unit arranged in association with the second component; the electronic device has a second relative positional relationship with the other electronic device.
In the foregoing solution, the determining whether the first relative position relationship changes according to the sensing data to obtain a determination result includes:
judging whether the induction data reach a first preset threshold value or not, and obtaining a first judgment result;
when the first judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; when the first judgment result is that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed;
or determining the variation of two continuously obtained sensing data; judging whether the variation reaches a second preset threshold value or not to obtain a second judgment result;
when the second judgment result is that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the second judgment result indicates that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
The electronic equipment and the information processing method of the embodiment of the invention comprise a first component and a sensing unit; wherein the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device has a first relative positional relationship with the fixture; the sensing unit is used for collecting sensing data after enabling, wherein the sensing data is used for indicating the change of the first relative position relation. Therefore, by adopting the technical scheme of the embodiment of the invention, the electronic equipment can conveniently acquire the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be acquired; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, the safety of the electronic equipment in the using process is ensured, and the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to a first embodiment of the invention;
fig. 2 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention;
fig. 6a to fig. 6d are schematic application scenarios of the electronic device according to the embodiment of the invention, respectively;
FIG. 7 is a flowchart illustrating an information processing method according to a sixth embodiment of the present invention;
FIG. 8 is a flowchart illustrating an information processing method according to a seventh embodiment of the present invention;
fig. 9 is a flowchart illustrating an information processing method according to an eighth embodiment of the present invention.
Detailed Description
In the embodiments of the present invention, the electronic device is generally a device with an anti-theft function; the electronic device is fixed on a specific object through a preset fixing mode, wherein the specific object can be a door, a window or an object which is valuable and easy to steal, so that when the door or the window is opened or the object is moved, the electronic device outputs alarm information to warn a user of an abnormal condition. The electronic device and the information processing method according to the embodiments of the present invention will be described below by taking an electronic device having an anti-theft function as an example.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides electronic equipment. Fig. 1 is a schematic structural diagram of an electronic device according to a first embodiment of the invention; as shown in fig. 1, the electronic device includes: a first component and a sensing unit; wherein,
the first assembly is used for fixing a first surface of the electronic equipment on a second surface of a fixture so that the electronic equipment and the fixture have a first relative position relationship;
the sensing unit is used for collecting sensing data after enabling, wherein the sensing data is used for indicating the change of the first relative position relation.
In this embodiment, the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device and the fixture have a first relative positional relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant. As an embodiment, the first component may be disposed on a first surface of the electronic device so as to be fixed on a second surface of the fixture by the first component. Specifically, the first component may be a component having an adhesive material, so as to be adhered to the second surface of the fixture through the adhesive material, in this scenario, the fixture may be a fixture made of any material such as wood, metal material, paper, and the like, and the second surface may be a plane or a non-plane; the first component can also be a component with adsorbing material, and the component with adsorbing material can be a component with magnet adsorbing material or a sucker component; when the first assembly is an assembly with a magnet adsorption material, the fixing object is made of a metal material; when the first assembly is a sucker assembly, the fixture is made of metal, glass and the like and has rigid property, and the second surface is a plane. Wherein the first surface of the electronic device is a surface on which the first component is disposed.
The sensing unit is used for acquiring sensing data, and the sensing data is used for indicating the change of the first relative position relation. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
By adopting the technical scheme of the embodiment of the invention, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, the safety of the electronic equipment in the using process is ensured, and the user experience is improved.
Example two
The embodiment of the invention also provides the electronic equipment. Fig. 2 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention; as shown in fig. 2, the electronic device includes: the device comprises a first assembly, a sensing unit, a second assembly, a first processing unit and an output unit; wherein,
the first assembly is used for fixing a first surface of the electronic equipment on a second surface of a fixture so that the electronic equipment and the fixture have a first relative position relationship;
the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data can be used for indicating the change of the first relative position relation;
the second component is used for fixing a third surface of the electronic device on a fourth surface of another electronic device so that the electronic device and the another electronic device have a second relative positional relationship, wherein a fifth surface of the another electronic device is provided with a third component which is used for fixing the fifth surface on a sixth surface of another fixture;
the first processing unit is configured to, when the electronic device and the another electronic device are both in an enabled state, determine whether the second relative positional relationship changes, and obtain a first determination result;
the output unit is used for outputting first prompt information based on the first judgment result obtained by the first processing unit.
In this embodiment, the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device and the fixture have a first relative positional relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant. As an embodiment, the first component may be disposed on a first surface of the electronic device so as to be fixed on a second surface of the fixture by the first component. Specifically, the first component may be a component having an adhesive material, so as to be adhered to the second surface of the fixture through the adhesive material, in this scenario, the fixture may be a fixture made of any material such as wood, metal material, paper, and the like, and the second surface may be a plane or a non-plane; the first component can also be a component with adsorbing material, and the component with adsorbing material can be a component with magnet adsorbing material or a sucker component; when the first assembly is an assembly with a magnet adsorption material, the fixing object is made of a metal material; when the first assembly is a sucker assembly, the fixture is made of metal, glass and the like and has rigid property, and the second surface is a plane. Wherein the first surface of the electronic device is a surface on which the first component is disposed.
The sensing unit is used for acquiring sensing data, and the sensing data is used for indicating the change of the first relative position relation. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the electronic device has a second relative positional relationship with the other electronic device through the second component; the second relative position relationship is a connection relationship, which may be a connection relationship through a physical connection manner, such as a contact relationship; the connection relationship may also be a connection relationship that is connected in a preset transmission manner, such as an infrared connection relationship (for example, the electronic device serves as a transmitting end, the other electronic device serves as a receiving end, the transmitting end transmits an infrared signal, the receiving end receives the infrared signal and is in the infrared connection relationship, and when a transmission path is interrupted, for example, when a person passes between the transmitting end and the receiving end, the infrared connection relationship is interrupted). Wherein the second component is disposed on a third surface of the electronic device, the third surface being different from the first surface; and a fourth component is arranged on the fourth surface of the other electronic equipment, and the electronic equipment and the fourth component of the other electronic equipment have a second relative position relationship through the second component. In addition, a fifth surface of the other electronic device is provided with a third assembly, and the other electronic device is fixed on a sixth surface of another fixture through the third assembly; the fifth surface and the fourth surface are different. Specifically, the other fixture fixed by the other electronic device and the fixture fixed by the electronic device may be different fixtures, or may be different components of the same fixture, and it can be understood that the fixture is associated with the other fixture. Wherein the fixture/the another fixture can be an object that is easily moved, and the another fixture/the fixture is an object that is not easily moved. For example, the fixed object is a door or a window which can be pushed and pulled, the other fixed object is a door frame corresponding to the door or a window frame corresponding to the window, and the like; or the fixture is an artwork (such as a vase, a wall picture and the like), and the other fixture is a storage table or a wall.
When the electronic device and the another electronic device are both in an enabled state, that is, when both the electronic device and the another electronic device are activated, the first processing unit in the electronic device is configured to monitor a change in a second relative positional relationship between the electronic device and the another electronic device, that is, monitor whether a connection relationship between the electronic device and the another electronic device changes, for example, monitor whether the electronic device and the another electronic device are in contact with each other or monitor whether an infrared connection relationship between the electronic device and the another electronic device is interrupted. Specifically, after the first processing unit determines that the second relative position relationship is changed, the output unit is enabled to output prompt information through the output unit; that is, when the electronic device and the another electronic device are in a non-contact state or an infrared connection relationship between the electronic device and the another electronic device is interrupted, the output unit is enabled to output the first prompt message. In this embodiment, the outputting the first prompt information includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the first prompt information characterizes a second relative positional relationship change between the electronic device and the other electronic device.
By adopting the technical scheme of the embodiment of the invention, on one hand, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, and the safety of the electronic equipment in the using process is ensured. On the other hand, the electronic device learns whether a second relative position relationship (namely, a connection relationship) between the electronic device and another electronic device is changed through the first processing unit, and under a scene that the electronic device and the another electronic device appear in pairs, the connection relationship between the electronic device and the another electronic device is prevented from being damaged due to a human relationship, the connection relationship between the electronic device and the another electronic device is also prevented from being damaged by the human relationship, and user experience is improved.
EXAMPLE III
The embodiment of the invention provides electronic equipment. Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention; as shown in fig. 3, the electronic device includes: the device comprises a first assembly, a sensing unit, a second processing unit and an output unit; wherein,
the first assembly is used for fixing a first surface of the electronic equipment on a second surface of a fixture so that the electronic equipment and the fixture have a first relative position relationship;
the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data can be used for indicating the change of the first relative position relation;
the second processing unit is used for judging whether the first relative position relation changes according to the sensing data obtained by the sensing unit to obtain a second judgment result;
and the output unit is used for outputting second prompt information based on the second judgment result obtained by the second processing unit.
In this embodiment, the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device and the fixture have a first relative positional relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant. As an embodiment, the first component may be disposed on a first surface of the electronic device so as to be fixed on a second surface of the fixture by the first component. Specifically, the first component may be a component having an adhesive material, so as to be adhered to the second surface of the fixture through the adhesive material, in this scenario, the fixture may be a fixture made of any material such as wood, metal material, paper, and the like, and the second surface may be a plane or a non-plane; the first component can also be a component with adsorbing material, and the component with adsorbing material can be a component with magnet adsorbing material or a sucker component; when the first assembly is an assembly with a magnet adsorption material, the fixing object is made of a metal material; when the first assembly is a sucker assembly, the fixture is made of metal, glass and the like and has rigid property, and the second surface is a plane. Wherein the first surface of the electronic device is a surface on which the first component is disposed.
The sensing unit is used for acquiring sensing data, and the sensing data is used for indicating the change of the first relative position relation. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the second processing unit of the electronic device has a data processing function, and can determine whether the first relative position relationship changes according to the sensing data collected by the sensing unit; the second processing unit may be the same as or different from the first processing unit, that is, the second processing unit and the first processing unit share the same processing unit, or the second processing unit and the first processing unit respectively adopt different processing units.
As an embodiment, the determining, by the second processing unit, whether the first relative positional relationship changes according to the sensing data obtained by the sensing unit includes: judging whether the induction data reach a first preset threshold value or not, and obtaining a third judgment result; when the third judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; and when the third judgment result shows that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed.
As another embodiment, the determining, by the second processing unit, whether the first relative positional relationship changes according to the sensing data obtained by the sensing unit includes: determining the variation of two continuously obtained induction data; judging whether the variation reaches a second preset threshold value or not, and obtaining a fourth judgment result; when the fourth judgment result shows that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the fourth judgment result shows that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
In summary, the second processing unit may determine whether the first relative position relationship changes by determining whether the sensing data reaches a first preset threshold or whether the variation of the sensing data reaches a second preset threshold.
In this embodiment, the second processing unit enables the output unit to output the second prompt information through the output unit when the first relative positional relationship is determined to change, that is, when the first surface of the electronic device is separated from the second surface of the fixture and/or the electronic device is moved relative to the fixture; that is, when the electronic device and the another electronic device are in a non-contact state or an infrared connection relationship between the electronic device and the another electronic device is interrupted, the output unit is enabled to output the second prompt message. In this embodiment, the outputting the second prompt information includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the second hint information characterizes a first relative positional relationship change between the electronic device and the fixture.
By adopting the technical scheme of the embodiment of the invention, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, the safety of the electronic equipment in the using process is ensured, and the user experience is improved.
Example four
The embodiment of the invention also provides the electronic equipment. Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention; as shown in fig. 4, the electronic apparatus includes: the device comprises a first assembly, a sensing unit, a second assembly, a first processing unit, a second processing unit and an output unit; wherein,
the first assembly is used for fixing a first surface of the electronic equipment on a second surface of a fixture so that the electronic equipment and the fixture have a first relative position relationship;
the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data can be used for indicating the change of the first relative position relation;
the second component is used for fixing a third surface of the electronic device on a fourth surface of another electronic device so that the electronic device and the another electronic device have a second relative positional relationship, wherein a fifth surface of the another electronic device is provided with a third component which is used for fixing the fifth surface on a sixth surface of another fixture;
the first processing unit is configured to, when the electronic device and the another electronic device are both in an enabled state, determine whether the second relative positional relationship changes, and obtain a first determination result;
the second processing unit is used for judging whether the first relative position relation changes according to the induction data to obtain a second judgment result;
the output unit is used for outputting first prompt information based on a first judgment result obtained by the first processing unit; and the second processing unit is further used for outputting second prompt information based on a second judgment result obtained by the second processing unit.
In this embodiment, the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device and the fixture have a first relative positional relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant. As an embodiment, the first component may be disposed on a first surface of the electronic device so as to be fixed on a second surface of the fixture by the first component. Specifically, the first component may be a component having an adhesive material, so as to be adhered to the second surface of the fixture through the adhesive material, in this scenario, the fixture may be a fixture made of any material such as wood, metal material, paper, and the like, and the second surface may be a plane or a non-plane; the first component can also be a component with adsorbing material, and the component with adsorbing material can be a component with magnet adsorbing material or a sucker component; when the first assembly is an assembly with a magnet adsorption material, the fixing object is made of a metal material; when the first assembly is a sucker assembly, the fixture is made of metal, glass and the like and has rigid property, and the second surface is a plane. Wherein the first surface of the electronic device is a surface on which the first component is disposed.
The sensing unit is used for acquiring sensing data, and the sensing data is used for indicating the change of the first relative position relation. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the electronic device has a second relative positional relationship with the other electronic device through the second component; the second relative position relationship is a connection relationship, which may be a connection relationship through a physical connection manner, such as a contact relationship; the connection relationship may also be a connection relationship in which connection is performed by a preset transmission method, such as an infrared connection relationship. Wherein the second component is disposed on a third surface of the electronic device, the third surface being different from the first surface; and a fourth component is arranged on the fourth surface of the other electronic equipment, and the electronic equipment and the fourth component of the other electronic equipment have a second relative position relationship through the second component. In addition, a fifth surface of the other electronic device is provided with a third assembly, and the other electronic device is fixed on a sixth surface of another fixture through the third assembly; the fifth surface and the fourth surface are different. Specifically, the other fixture fixed by the other electronic device and the fixture fixed by the electronic device may be different fixtures, or may be different components of the same fixture, and it can be understood that the fixture is associated with the other fixture. Wherein the fixture/the another fixture can be an object that is easily moved, and the another fixture/the fixture is an object that is not easily moved. For example, the fixed object is a door or a window which can be pushed and pulled, the other fixed object is a door frame corresponding to the door or a window frame corresponding to the window, and the like; or the fixture is an artwork (such as a vase, a wall picture and the like), and the other fixture is a storage table or a wall.
When the electronic device and the another electronic device are both in an enabled state, that is, when both the electronic device and the another electronic device are activated, the first processing unit in the electronic device is configured to monitor a change in a second relative positional relationship between the electronic device and the another electronic device, that is, monitor whether a connection relationship between the electronic device and the another electronic device changes, for example, monitor whether the electronic device and the another electronic device are in contact with each other or monitor whether an infrared connection relationship between the electronic device and the another electronic device is interrupted. Specifically, after the first processing unit determines that the second relative position relationship is changed, the output unit is enabled to output first prompt information through the output unit; that is, when the electronic device and the another electronic device are in a non-contact state or an infrared connection relationship between the electronic device and the another electronic device is interrupted, the output unit is enabled to output the first prompt message. In this embodiment, the first output prompt message includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the first prompt information characterizes a second relative positional relationship change between the electronic device and the other electronic device.
In this embodiment, the second processing unit of the electronic device has a data processing function, and can determine whether the first relative position relationship changes according to the sensing data collected by the sensing unit; the second processing unit may be the same as or different from the first processing unit, that is, the second processing unit and the first processing unit share the same processing unit, or the second processing unit and the first processing unit respectively adopt different processing units.
As an embodiment, the determining, by the second processing unit, whether the first relative positional relationship changes according to the sensing data obtained by the sensing unit includes: judging whether the induction data reach a first preset threshold value or not, and obtaining a third judgment result; when the third judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; and when the third judgment result shows that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed.
As another embodiment, the determining, by the second processing unit, whether the first relative positional relationship changes according to the sensing data obtained by the sensing unit includes: determining the variation of two continuously obtained induction data; judging whether the variation reaches a second preset threshold value or not, and obtaining a fourth judgment result; when the fourth judgment result shows that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the fourth judgment result shows that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
In summary, the second processing unit may determine whether the first relative position relationship changes by determining whether the sensing data reaches a first preset threshold or whether the variation of the sensing data reaches a second preset threshold.
In this embodiment, the second processing unit enables the output unit to output the second prompt information through the output unit when the first relative positional relationship is determined to change, that is, when the first surface of the electronic device is separated from the second surface of the fixture and/or the electronic device is moved relative to the fixture; that is, when the electronic device and the another electronic device are in a non-contact state or an infrared connection relationship between the electronic device and the another electronic device is interrupted, the output unit is enabled to output the second prompt message. In this embodiment, the outputting the second prompt information includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the second hint information characterizes a first relative positional relationship change between the electronic device and the fixture.
By adopting the technical scheme of the embodiment of the invention, on one hand, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, and the safety of the electronic equipment in the using process is ensured. On the other hand, the electronic device learns whether a second relative position relationship (namely, a connection relationship) between the electronic device and another electronic device is changed through the first processing unit, and under a scene that the electronic device and the another electronic device appear in pairs, the connection relationship between the electronic device and the another electronic device is prevented from being damaged due to a human relationship, the connection relationship between the electronic device and the another electronic device is also prevented from being damaged by the human relationship, and user experience is improved.
EXAMPLE five
The embodiment of the invention also provides the electronic equipment. Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention; as shown in fig. 5, the electronic device includes: the device comprises a first component, a sensing unit, a second component, a first processing unit, an output unit and a first communication unit which is arranged in association with the second component; wherein,
the first assembly is used for fixing a first surface of the electronic equipment on a second surface of a fixture so that the electronic equipment and the fixture have a first relative position relationship;
the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data can be used for indicating the change of the first relative position relation;
the second component is used for fixing a third surface of the electronic device on a fourth surface of another electronic device so that the electronic device and the another electronic device have a second relative positional relationship, wherein a fifth surface of the another electronic device is provided with a third component which is used for fixing the fifth surface on a sixth surface of another fixture;
the first processing unit is configured to, when the electronic device and the another electronic device are both in an enabled state, determine whether the second relative positional relationship changes, and obtain a first determination result;
the output unit is used for outputting first prompt information based on a first judgment result obtained by the first processing unit;
the first communication unit is used for transmitting the sensing data acquired by the sensing unit to the other electronic device when the second relative position relationship between the electronic device and the other electronic device is a connection relationship; such that the other electronic device perceives a change in the relative positional relationship between the electronic device and the fixture based on the sensed data.
In this embodiment, the first assembly is configured to secure a first surface of the electronic device to a second surface of a fixture such that the electronic device and the fixture have a first relative positional relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant. As an embodiment, the first component may be disposed on a first surface of the electronic device so as to be fixed on a second surface of the fixture by the first component. Specifically, the first component may be a component having an adhesive material, so as to be adhered to the second surface of the fixture through the adhesive material, in this scenario, the fixture may be a fixture made of any material such as wood, metal material, paper, and the like, and the second surface may be a plane or a non-plane; the first component can also be a component with adsorbing material, and the component with adsorbing material can be a component with magnet adsorbing material or a sucker component; when the first assembly is an assembly with a magnet adsorption material, the fixing object is made of a metal material; when the first assembly is a sucker assembly, the fixture is made of metal, glass and the like and has rigid property, and the second surface is a plane. Wherein the first surface of the electronic device is a surface on which the first component is disposed.
The sensing unit is used for acquiring sensing data, and the sensing data is used for indicating the change of the first relative position relation. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the electronic device has a second relative positional relationship with the other electronic device through the second component; the second relative position relationship is a connection relationship, which may be a connection relationship through a physical connection manner, such as a contact relationship; the connection relationship may also be a connection relationship in which connection is performed by a preset transmission method, such as an infrared connection relationship. Wherein the second component is disposed on a third surface of the electronic device, the third surface being different from the first surface; and a fourth component is arranged on the fourth surface of the other electronic equipment, and the electronic equipment and the fourth component of the other electronic equipment have a second relative position relationship through the second component. In addition, a fifth surface of the other electronic device is provided with a third assembly, and the other electronic device is fixed on a sixth surface of another fixture through the third assembly; the fifth surface and the fourth surface are different. Specifically, the other fixture fixed by the other electronic device and the fixture fixed by the electronic device may be different fixtures, or may be different components of the same fixture, and it can be understood that the fixture is associated with the other fixture. Wherein the fixture/the another fixture can be an object that is easily moved, and the another fixture/the fixture is an object that is not easily moved. For example, the fixed object is a door or a window which can be pushed and pulled, the other fixed object is a door frame corresponding to the door or a window frame corresponding to the window, and the like; or the fixture is an artwork (such as a vase, a wall picture and the like), and the other fixture is a storage table or a wall.
When the electronic device and the another electronic device are both in an enabled state, that is, when both the electronic device and the another electronic device are activated, the first processing unit in the electronic device is configured to monitor a change in a second relative positional relationship between the electronic device and the another electronic device, that is, monitor whether a connection relationship between the electronic device and the another electronic device changes, for example, monitor whether the electronic device and the another electronic device are in contact with each other or monitor whether an infrared connection relationship between the electronic device and the another electronic device is interrupted. Specifically, after the first processing unit determines that the second relative position relationship is changed, the output unit is enabled to output first prompt information through the output unit; that is, when the electronic device and the another electronic device are in a non-contact state or an infrared connection relationship between the electronic device and the another electronic device is interrupted, the output unit is enabled to output the first prompt message. In this embodiment, the outputting the first prompt information includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the first prompt information characterizes a second relative positional relationship change between the electronic device and the other electronic device.
In this embodiment, the electronic device is further provided with a first communication unit associated with the second component, and the first communication unit is capable of transmitting the sensing data to the other electronic device through a preset transmission mode when a second relative positional relationship between the electronic device and the other electronic device is a connection relationship (for example, the electronic device is in a contact relationship with the other electronic device, or the electronic device is in an infrared connection relationship with the other electronic device), and a processor of the other electronic device analyzes and processes the sensing data to determine whether the second relative positional relationship changes. The preset transmission mode of the other electronic device may be a wired transmission mode (for example, the electronic device and the other electronic device are connected by a data connection line) or a wireless transmission mode (for example, a bluetooth transmission mode, an infrared transmission mode, or a wireless fidelity transmission mode).
The another electronic device determines whether the second relative position relationship changes, referring to a manner in which the second processing unit of the electronic device determines whether the second relative position relationship changes in the third embodiment or the fourth embodiment, which is not described herein again.
By adopting the technical scheme of the embodiment of the invention, on one hand, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, and the safety of the electronic equipment in the using process is ensured. On the other hand, the electronic device learns whether a second relative position relationship (namely, a connection relationship) between the electronic device and another electronic device is changed through the first processing unit, and under a scene that the electronic device and the another electronic device appear in pairs, the connection relationship between the electronic device and the another electronic device is prevented from being damaged due to a human relationship, the connection relationship between the electronic device and the another electronic device is also prevented from being damaged by the human relationship, and user experience is improved.
In the above various embodiments, the first processing unit and the second processing unit may, in practical applications, be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a programmable gate array (FPGA) in the electronic device; in practical applications, the output unit may be implemented by a power amplifier in the electronic device, or implemented by a transmission interface in the electronic device in combination with an antenna.
In the various embodiments described above, the sensing unit has various implementations. As a first embodiment, the sensing unit is arranged in association with the first component, and the detection direction of the sensing unit faces the direction of the fixture, and the sensing unit is used for obtaining an environmental parameter in the detection area;
the second processing unit is used for judging whether the environmental parameters meet a first preset condition or not and obtaining a fifth judgment result; it is determined whether the first relative positional relationship changes based on the fifth determination result.
Specifically, fig. 6a to 6d are schematic application scenarios of the electronic device according to the embodiment of the present invention; as shown in fig. 6a, when the fixture is a window, and the second surface of the fixture is a frame surface of a side of the window facing the inside of the room, the first surface of the electronic device can be understood as a ground of the electronic device that is not perceived by the user; the electronic device is fixed on the inner side frame surface (namely the second surface) of the window through the first surface, and the change of the first relative position relation is sensed based on sensing data collected by a sensing unit of the electronic device.
In this embodiment, the sensing unit is disposed in association with the first component, and the detection direction of the sensing unit faces the direction of the fixture, and the sensing unit is configured to obtain the environmental parameter in the detection area, as shown in fig. 6b, the first surface of the electronic device can be understood as a surface attached to the fixture, in this illustration, the electronic device is disposed close to the first surface, and when the electronic device and the fixture have the first relative positional relationship, the opening direction of the accommodating space faces the second surface of the fixture. The sensing unit is arranged in the accommodating space, and the sensing unit can be a brightness sensor, an infrared sensor and the like, and detects the change of the brightness of the surrounding environment in the detection direction through the brightness sensor, or detects the change of the distance between the sensing unit and the second surface of the fixed object through the infrared sensor and the like. The first component is disposed on the first surface, and the first component can be a component having an adhesive material, such as an adhesive, for attaching the electronic device to the second surface of the fixture. The sensing unit is arranged in association with the first component, so that the surface of the accommodating space where the sensing unit is located, where the opening is located, and the surface of the first component are both the first surface. Of course, the sensing unit can also be arranged on the first assembly, and the detection direction of the sensing unit faces to the direction of the fixture; that is, when the electronic device is attached to the fixture through the first component, the first component can wrap the sensing unit, so that the environmental parameters collected by the sensing unit are similar to the environmental parameters collected by the sensing unit in the scenario shown in fig. 6 b. For example, when the sensing unit adopts the scene shown in fig. 6b, the sensing unit takes a brightness sensor as an example, and the electronic device and the fixture have a first relative positional relationship, assuming that the current time is 10 am, the environmental parameter collected by the sensing unit is zero; when the first relative positional relationship between the electronic device and the fixture changes, such as the electronic device is separated from the fixture, the sensing unit acquires an environmental parameter of 100. When the sensing unit is directly arranged on the first component, the sensing unit takes a brightness sensor as an example, and the electronic device and the fixture have a first relative position relationship, assuming that the current time is 10 am, the environmental parameter collected by the sensing unit is 1; when the first relative positional relationship between the electronic device and the fixture changes, such as the electronic device is separated from the fixture, the sensing unit acquires an environmental parameter of 100.
Wherein the second processing unit judges whether the environmental parameter satisfies a first predetermined condition, including: judging whether the environmental parameter reaches a third preset threshold value or not, and obtaining a judgment result;
when the judgment result is that the environmental parameter reaches a third preset threshold value, determining that the environmental parameter meets a first preset condition; when the third judgment result indicates that the environmental parameter does not reach a third preset threshold, determining that the environmental parameter does not meet a first preset condition;
or determining the variation of two continuously obtained environmental parameters; judging whether the variation reaches a fourth preset threshold value or not, and obtaining a judgment result; when the judgment result shows that the variation reaches a fourth preset threshold, determining that the environmental parameter meets a first preset condition; and when the judgment result shows that the variation does not reach a fourth preset threshold, determining that the environmental parameter does not meet a first preset condition. Wherein the first relative positional relationship is determined to change when the environmental parameter satisfies a first predetermined condition; when the environmental parameter does not satisfy a first predetermined condition, determining that the first relative positional relationship is unchanged.
As a second implementation manner, the sensing unit is arranged in the electronic device and is used for detecting a spatial motion parameter of the electronic device;
the second processing unit is configured to determine whether the spatial motion parameter satisfies a second predetermined condition when the second relative positional relationship is a contact relationship, and determine whether the first relative positional relationship changes based on a determination result.
In this embodiment, the sensing unit may be specifically an acceleration sensor, a gyroscope sensor, or a magnetometer sensor. Spatial motion parameters of the electronic device, such as acceleration parameters, angular velocity parameters or direction parameters, can be detected by the sensing unit. In this embodiment, the sensing unit may be disposed at any position in the electronic device.
Specifically, the determining, by the second processing unit, whether the spatial motion parameter satisfies a second predetermined condition includes: judging whether the space motion parameter reaches a fifth preset threshold value or not, and obtaining a judgment result;
when the judgment result is that the space motion parameter reaches a fifth preset threshold value, determining that the space motion parameter meets a second preset condition; when the judgment result is that the space motion parameter does not reach a fifth preset threshold value, determining that the space motion parameter does not meet a second preset condition;
or determining the variation of two continuously obtained spatial motion parameters; judging whether the variation reaches a sixth preset threshold value or not, and obtaining a judgment result; when the judgment result shows that the variation reaches a sixth preset threshold, determining that the space motion parameter meets a second preset condition; and when the judgment result shows that the variation does not reach a sixth preset threshold, determining that the spatial motion parameter does not meet a second preset condition. Wherein the first relative positional relationship is determined to change when the spatial motion parameter satisfies a second predetermined condition; and when the space motion parameter does not meet a second preset condition, determining that the first relative position relation is not changed.
Further, fig. 6c and fig. 6d are schematic diagrams of another application scenario of the electronic device according to the embodiment of the present invention, that is, the electronic device further includes a fourth surface for fixing the third surface of the electronic device to another electronic device; the electronic device has a second relative positional relationship with the other electronic device; wherein the fifth surface of the other electronic device has a third component for fixing the fifth surface on a sixth surface of another fixture. In an application scenario, the electronic device and the further electronic device may be pair-wise present anti-theft devices. Taking the fixture as a window, the second surface of the fixture as a frame surface of the side of the window facing the inside of the house as an example, the other fixture may be a window frame, and the sixth surface of the other fixture may be a window frame surface facing the inside of the house; when the window is in contact with the window frame, the third surface of the electronic device and the fourth surface of the other electronic device are in contact, so that the electronic device and the other electronic device have a second relative positional relationship. Of course, the application scenarios shown in fig. 6c and 6d are not limited to the application scenarios shown in fig. 6c and 6d, that is, the application scenarios are not limited to the second relative position relationship when the electronic device and the another electronic device are in contact with each other, and the electronic device and the another electronic device may also be the second relative position relationship based on the infrared connection. Based on the application scenarios shown in fig. 6c and 6d, when the electronic device and the another electronic device are enabled and when someone opens the window and intends to turn the window into the room, the second relative positional relationship between the electronic device and the another electronic device is changed, so that the electronic device outputs prompt information to alarm or inform the user.
EXAMPLE six
The embodiment of the invention also provides an information processing method. FIG. 7 is a flowchart illustrating an information processing method according to a sixth embodiment of the present invention; as shown in fig. 7, the method includes:
step 701: obtaining a first instruction, and enabling a sensing unit in the electronic equipment based on the first instruction.
Step 702: acquiring sensing data through the sensing unit, wherein the sensing data is used for indicating the change of the first relative position relation;
wherein the electronic device includes a first component that secures a first surface of the electronic device to a second surface of a fixture; the electronic device has a first relative positional relationship with the fixture.
In this embodiment, the information processing method is applied to an electronic device, and the electronic device may refer to the electronic device described in the first embodiment, which is not described in detail in this embodiment. Wherein the first component of the electronic device is used for fixing the first surface of the electronic device on the second surface of a fixture so that the electronic device and the fixture have a first relative position relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant.
In this embodiment, the electronic device acquires sensing data through the sensing unit, where the sensing data is used to indicate a change in the first relative positional relationship. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
By adopting the technical scheme of the embodiment of the invention, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, the safety of the electronic equipment in the using process is ensured, and the user experience is improved.
EXAMPLE seven
The embodiment of the invention also provides an information processing method. The information processing method is applied to the electronic equipment. FIG. 8 is a flowchart illustrating an information processing method according to a seventh embodiment of the present invention; as shown in fig. 8, the method includes:
step 801: obtaining a first instruction, and enabling a sensing unit in the electronic equipment based on the first instruction.
Step 802: and acquiring sensing data through the sensing unit, and judging whether the first relative position relation changes according to the sensing data to obtain a second judgment result.
Step 803: outputting second prompt information based on the second judgment result;
wherein the electronic device includes a first component that secures a first surface of the electronic device to a second surface of a fixture; the electronic device has a first relative positional relationship with the fixture.
In this embodiment, the information processing method is applied to an electronic device, and the electronic device may refer to the electronic device described in the first embodiment, which is not described in detail in this embodiment. Wherein the first component of the electronic device is used for fixing the first surface of the electronic device on the second surface of a fixture so that the electronic device and the fixture have a first relative position relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant.
In this embodiment, the electronic device acquires sensing data through the sensing unit, where the sensing data is used to indicate a change in the first relative positional relationship. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the determining whether the first relative position relationship changes according to the sensing data to obtain a determination result includes:
judging whether the induction data reach a first preset threshold value or not, and obtaining a first judgment result; when the first judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; when the first judgment result is that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed; or determining the variation of two continuously obtained sensing data; judging whether the variation reaches a second preset threshold value or not to obtain a second judgment result; when the second judgment result is that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the second judgment result indicates that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
In summary, the electronic device may determine whether the first relative position relationship changes by determining whether the sensing data reaches a first preset threshold or whether the variation of the sensing data reaches a second preset threshold.
In this embodiment, the electronic device outputs a second prompt when the electronic device determines that the first relative positional relationship changes, that is, when the first surface of the electronic device is separated from the second surface of the fixture and/or the electronic device and the fixture are relatively moved; namely, when the electronic device and the other electronic device are in a non-contact state or the infrared connection relation between the electronic device and the other electronic device is interrupted, outputting second prompt information. In this embodiment, the outputting the second prompt information includes: directly outputting an alarm prompt tone and/or sending prompt information to a preset terminal; the second hint information characterizes a first relative positional relationship change between the electronic device and the fixture.
By adopting the technical scheme of the embodiment of the invention, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, the safety of the electronic equipment in the using process is ensured, and the user experience is improved.
Example eight
The embodiment of the invention also provides an information processing method. The information processing method is applied to the electronic equipment. FIG. 9 is a flowchart illustrating an information processing method according to a seventh embodiment of the present invention; as shown in fig. 9, the method includes:
step 901: obtaining a first instruction, and enabling a sensing unit in the electronic equipment based on the first instruction.
Step 902: and acquiring sensing data through the sensing unit, wherein the sensing data is used for indicating the change of the first relative position relation.
Step 903: when the second relative position relationship between the electronic device and another electronic device is a connection relationship, transmitting the sensing data to the another electronic device through a first communication unit in the electronic device so that the another electronic device can sense the change of the relative position relationship between the electronic device and the fixture based on the sensing data;
wherein the electronic device includes a first component that secures a first surface of the electronic device to a second surface of a fixture; the electronic device has a first relative positional relationship with the fixture; the electronic device further comprises a second component for fixing the third surface of the electronic device on the fourth surface of another electronic device, and a first communication unit arranged in association with the second component; the electronic device has a second relative positional relationship with the other electronic device.
In this embodiment, the information processing method is applied to an electronic device, and the electronic device may refer to the electronic device described in the first embodiment, which is not described in detail in this embodiment. Wherein the first component of the electronic device is used for fixing the first surface of the electronic device on the second surface of a fixture so that the electronic device and the fixture have a first relative position relationship; in this embodiment, the first relative positional relationship is characterized in that the first surface of the electronic device is in contact with the second surface of the fixture and the fixed relative positional relationship between the electronic device and the fixture is maintained constant.
In this embodiment, the electronic device acquires sensing data through the sensing unit, where the sensing data is used to indicate a change in the first relative positional relationship. As an embodiment, the sensing unit may be an acceleration sensing unit, which is configured to collect acceleration sensing data, where the acceleration sensing data is capable of indicating that the state of the electronic device is changed, that is, indicating that the first relative position relationship between the electronic device and the fixture is changed. As a second embodiment, the sensing unit can be a distance sensing unit for collecting distance sensing data, which can be indicative of a distance to the fixture, i.e. indicative of a change in the first relative positional relationship between the electronic device and the fixture. As a third embodiment, the sensing unit may be a brightness sensing unit, the brightness sensing unit may be disposed in association with the first component, as an embodiment, the first surface of the electronic apparatus may be provided with a recessed accommodating portion, and the brightness sensing unit is disposed in the accommodating portion; when the electronic equipment is fixed on the fixture, the sensing data acquired by the brightness sensing unit is zero or smaller than a preset threshold value; when the sensing data collected by the brightness sensing unit is larger than zero or larger than the preset threshold value, the change of the first relative position relationship between the electronic equipment and the fixture is indicated. The sensing unit is enabled to trigger the acquisition of sensing data; the user can enable the sensing unit according to the self requirement; the enabling sensing unit can be triggered by a physical key or a remote control sending control instruction.
In this embodiment, the electronic device is further provided with a first communication unit associated with the second component, and the first communication unit is capable of transmitting the sensing data to the other electronic device through a preset transmission mode when a second relative positional relationship between the electronic device and the other electronic device is a connection relationship (for example, the electronic device is in a contact relationship with the other electronic device, or the electronic device is in an infrared connection relationship with the other electronic device), and a processor of the other electronic device analyzes and processes the sensing data to determine whether the second relative positional relationship changes. The preset transmission mode of the other electronic device may be a wired transmission mode (for example, the electronic device and the other electronic device are connected by a data connection line) or a wireless transmission mode (for example, a bluetooth transmission mode, an infrared transmission mode, or a wireless fidelity transmission mode).
The another electronic device determines whether the second relative position relationship changes or not, referring to a manner in which the second processing unit of the electronic device determines whether the second relative position relationship changes or not in the seventh embodiment, which is not described herein again.
By adopting the technical scheme of the embodiment of the invention, on one hand, the electronic equipment is convenient to know the change of the first relative position relationship through the sensing data acquired by the sensing unit of the electronic equipment, namely the change of the relative position relationship between the electronic equipment and the fixed object, so that whether the electronic equipment is separated from the fixed object or not can be known; when the electronic equipment is the sensing equipment with the anti-theft function, whether the electronic equipment is detached by illegal personnel can be known based on the acquired sensing data, so that the situations that articles are lost and user property is lost due to the fact that the electronic equipment is detached are avoided, and the safety of the electronic equipment in the using process is ensured. On the other hand, the electronic device learns whether a second relative position relationship (namely, a connection relationship) between the electronic device and another electronic device is changed through the first processing unit, and under a scene that the electronic device and the another electronic device appear in pairs, the connection relationship between the electronic device and the another electronic device is prevented from being damaged due to a human relationship, the connection relationship between the electronic device and the another electronic device is also prevented from being damaged by the human relationship, and user experience is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable memory device, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. An electronic device, comprising:
a first assembly for securing a first surface of the electronic device to a second surface of a fixture such that the electronic device has a first relative positional relationship with the fixture;
and the sensing unit is used for acquiring sensing data after enabling, wherein the sensing data is used for indicating the change of the first relative position relation.
2. The electronic device of claim 1, further comprising:
a second component for securing a third surface of the electronic device to a fourth surface of another electronic device to have a second relative positional relationship with the other electronic device, wherein a fifth surface of the other electronic device has a third component for securing the fifth surface to a sixth surface of another fixture;
the first processing unit is used for judging whether the second relative position relation is changed or not when the electronic equipment and the other electronic equipment are both in an enabling state, and obtaining a first judgment result;
and the output unit is used for outputting first prompt information based on the first judgment result obtained by the first processing unit.
3. The electronic device of claim 1 or 2, further comprising:
the second processing unit is used for judging whether the first relative position relation changes or not according to the induction data to obtain a second judgment result;
and the output unit is used for outputting second prompt information based on the second judgment result obtained by the second processing unit.
4. The electronic device of claim 2, further comprising:
the first communication unit is arranged in association with the second component and used for transmitting the sensing data acquired by the sensing unit to the other electronic equipment when the second relative position relationship between the electronic equipment and the other electronic equipment is a connection relationship; such that the other electronic device perceives a change in the relative positional relationship between the electronic device and the fixture based on the sensed data.
5. The electronic device of claim 3, wherein the determining whether the first relative positional relationship changes according to the sensing data comprises:
judging whether the induction data reach a first preset threshold value or not, and obtaining a third judgment result;
when the third judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; when the third judgment result is that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed;
or determining the variation of two continuously obtained sensing data; judging whether the variation reaches a second preset threshold value or not, and obtaining a fourth judgment result;
when the fourth judgment result shows that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the fourth judgment result shows that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
6. The electronic device of claim 3,
the sensing unit is arranged in association with the first assembly, the detection direction of the sensing unit faces the direction of the fixture, and the sensing unit is used for obtaining an environmental parameter in the detection area;
the second processing unit is used for judging whether the environmental parameters meet a first preset condition or not and obtaining a fifth judgment result; it is determined whether the first relative positional relationship changes based on the fifth determination result.
7. The electronic device of claim 3,
the sensing unit is arranged in the electronic equipment and used for detecting space motion parameters of the electronic equipment;
the second processing unit is configured to, when the second relative position relationship is a contact relationship, determine whether the spatial motion parameter satisfies a second predetermined condition, and obtain a sixth determination result; it is determined whether the first relative positional relationship changes based on the sixth determination result.
8. An information processing method, which is applied to an electronic device, the method comprising:
obtaining a first instruction, and enabling a sensing unit in the electronic equipment based on the first instruction;
acquiring sensing data through the sensing unit, wherein the sensing data is used for indicating the change of the first relative position relation;
wherein the electronic device includes a first component that secures a first surface of the electronic device to a second surface of a fixture; the electronic device has a first relative positional relationship with the fixture.
9. The method of claim 8, further comprising:
judging whether the first relative position relation changes according to the induction data to obtain a judgment result;
and outputting prompt information based on the judgment result.
10. The method of claim 8, further comprising:
when the second relative position relationship between the electronic device and another electronic device is a contact relationship, transmitting the sensing data to the another electronic device through a first communication unit in the electronic device so that the another electronic device can sense the change of the relative position relationship between the electronic device and the fixture based on the sensing data;
wherein the electronic device further comprises a second component for fixing the third surface of the electronic device on the fourth surface of another electronic device, and a first communication unit arranged in association with the second component; the electronic device has a second relative positional relationship with the other electronic device.
11. The method according to claim 9, wherein said determining whether the first relative position relationship changes according to the sensing data to obtain a determination result comprises:
judging whether the induction data reach a first preset threshold value or not, and obtaining a first judgment result;
when the first judgment result is that the induction data reaches a first preset threshold value, determining that the first relative position relation changes; when the first judgment result is that the induction data does not reach a first preset threshold value, determining that the first relative position relation is not changed;
or determining the variation of two continuously obtained sensing data; judging whether the variation reaches a second preset threshold value or not to obtain a second judgment result;
when the second judgment result is that the variation reaches a second preset threshold, determining that the first relative position relationship changes; and when the second judgment result indicates that the variation does not reach a second preset threshold, determining that the first relative position relationship is not changed.
CN201510622720.6A 2015-09-25 2015-09-25 A kind of electronic equipment and information processing method Active CN105138933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510622720.6A CN105138933B (en) 2015-09-25 2015-09-25 A kind of electronic equipment and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510622720.6A CN105138933B (en) 2015-09-25 2015-09-25 A kind of electronic equipment and information processing method

Publications (2)

Publication Number Publication Date
CN105138933A true CN105138933A (en) 2015-12-09
CN105138933B CN105138933B (en) 2018-07-06

Family

ID=54724277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510622720.6A Active CN105138933B (en) 2015-09-25 2015-09-25 A kind of electronic equipment and information processing method

Country Status (1)

Country Link
CN (1) CN105138933B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909397A (en) * 2019-11-07 2020-03-24 苏州浪潮智能科技有限公司 Server cabinet and server safety anti-theft triggering type alarm system thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667064B (en) * 2009-07-10 2011-05-18 深圳市九思泰达技术有限公司 Anti-peer and anti-stealing safety keyboard
WO2011021378A1 (en) * 2009-08-20 2011-02-24 パナソニック株式会社 Network apparatus, assessment method, program, and integrated circuit
CN201654930U (en) * 2010-01-12 2010-11-24 杭州酷华科技有限公司 Novel offhook system sensor
CN101976486B (en) * 2010-11-22 2012-05-09 丹东东方测控技术有限公司 Anti-disassembly and anti-theft probe used in industrial field
JP6089956B2 (en) * 2013-05-20 2017-03-08 富士通株式会社 Information processing apparatus, control method, and control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909397A (en) * 2019-11-07 2020-03-24 苏州浪潮智能科技有限公司 Server cabinet and server safety anti-theft triggering type alarm system thereof

Also Published As

Publication number Publication date
CN105138933B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
US20230306829A1 (en) Systems and methods for protecting retail display merchandise from theft
US11749076B2 (en) System and method for calibrating a wireless security range
US20150097958A1 (en) Smart-home security system with keypad device resistant to anomalous treatment
US10070248B2 (en) Movement detection
US10438478B2 (en) Intrusion detection system
US20180182216A1 (en) Wireless merchandise security system
US10777054B2 (en) Security camera system
JP5350705B2 (en) Controller device
WO2018211490A1 (en) System and method for automatically disarming an intrusion detection system
CN104392578A (en) Household fireproofing and guard against theft system with early warning function
CN105138933B (en) A kind of electronic equipment and information processing method
US20180144592A1 (en) Device and method for theft detection
CN202261308U (en) Interactive sensing system with mobile wireless sensor
KR20160053149A (en) An monitoring system using dual wire and wireless monitor device
US9129507B2 (en) Portable electrical apparatus and method for detecting state of the same
US9715801B2 (en) System and method of object tracking using a plurality of linked pressure sensors
TWM527988U (en) Motion sensing device and system thereof
EP3839913A2 (en) Anti-theft method and apparatus
CN202600925U (en) Remote warning device
TW201007627A (en) An active type anti-theft system
KR101734693B1 (en) Convergence window sensor and method of generating warning signal using the sensor
KR20170072419A (en) IoT-BASED USER-CENTRIC SERVICE AND SECURITY SYSTEM THROUGH FINGER MOTION PERCEPTION
EP3125206A1 (en) Wireless motion detecting device and system thereof
TW201833876A (en) Active security system
WO2016081189A1 (en) Asset tracking for retail security

Legal Events

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