CN-121996114-A - Equipment interaction method and device, electronic equipment and storage medium
Abstract
The invention provides a device interaction method, a device, electronic equipment and a storage medium, which are applied to first equipment, wherein a first device is arranged on a shell of the first equipment, the shell is used for accommodating a display screen of the first equipment, the method comprises the steps of detecting the position relation between second equipment and the first equipment by using the first device, the second equipment is provided with a component which can enable the first equipment to sense, if the position relation belongs to a target relation, a corresponding interaction interface is presented through the display screen according to the position relation, the position relation is different, the presented interaction interfaces are different, and the interaction interface comprises interactive function options and/or interactive interaction effects.
Inventors
- Shang Jiadai
- QIN ZHEN
- GONG YONGYAN
Assignees
- 联想(北京)有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251231
Claims (10)
- 1. A device interaction method applied to a first device, wherein a first device is arranged on a shell of the first device, and the shell is used for accommodating a display screen of the first device, and the method comprises the following steps: detecting a positional relationship of a second device with the first device using the first device, wherein the second device has a component enabling the first device to sense; and if the position relation belongs to a target relation, presenting a corresponding interaction interface through the display screen according to the position relation, wherein the position relation is different, the presented interaction interfaces are different, and the interaction interface comprises interactive function options and/or interactive interaction effects.
- 2. The method of claim 1, wherein the housing has a first face and a second face, the first face being disposed opposite the second face, wherein the first face is configured to receive the display, and wherein the first device is mounted to the second face of the housing or the first face of the housing.
- 3. The method according to claim 1 or 2, wherein the first device has a plurality of modes, and the presenting the corresponding interactive interface through the display screen according to the positional relationship comprises: and if the mode of the first equipment is switched, presenting an interactive interface corresponding to the switched mode through the display screen according to the position relation.
- 4. The method of claim 1 or 2, the display comprising a first display and a second display, the first and second displays respectively corresponding to the first device; According to the position relation, presenting a corresponding interactive interface through the display screen, including: Determining state information of the first display screen and the second display screen, wherein the state information comprises at least one of a position relation between the display screens and a display mode of the first display screen and a display mode of the second display screen; and presenting a corresponding interactive interface through the first display screen and/or the second display screen according to the position relation and the state information.
- 5. The method of claim 1, the first device comprising a hall sensor array, the detecting a positional relationship of a second device with the first device comprising: Detecting the magnetic field intensity received by each sensor in the Hall sensor array; Detecting the change condition of the magnetic field intensity of each sensor in a first period if the magnetic field intensity of any sensor exceeds a first threshold value; and determining the position relation between the second equipment and the first equipment according to the change condition of the magnetic field intensity of each sensor.
- 6. The method of claim 1, the housing of the first apparatus further mounting a second device, and the second device being disposed within a target range of the first device, detecting a positional relationship of the second apparatus with the first apparatus using the first device, comprising: And detecting the position relation between the second equipment and the first equipment by using the first device and the second device.
- 7. The method of claim 6, the second device comprising a reference coil and a detection coil arranged side-by-side; detecting a positional relationship of a second device with the first device using the first device and the second device, comprising: Detecting the magnetic field intensity received by each sensor in the Hall sensor array, and detecting the change condition of the magnetic field intensity of each sensor in a first period if the magnetic field intensity of any sensor exceeds a first threshold value; comparing the difference value of the first inductance value of the detection coil and the second inductance of the reference coil, and detecting the change condition of the difference value in a second period if the difference value exceeds a second threshold value; And determining the position relation between the second equipment and the first equipment according to the detection information of the first device and the change condition of the difference value in the second period.
- 8. The method of claim 1, wherein presenting an interactive interface according to the positional relationship comprises: If the position relation is a first relation, a first interactive interface is presented, the position change of the second equipment is detected, the presentation effect of the first interactive interface is adjusted according to the position change, and the change of the presentation effect is related to the change of the position relation; if the position relation is a second relation, presenting a second interactive interface, wherein the second interactive interface comprises at least one first selectable function item; wherein the first relationship characterizes a first device and a second device having a distance within a first range and the first device and the second device are contactless; The second relationship characterizes a distance of the first device from the second device within a second range, the first device is contactless with the second device, and the second device is located above the first device.
- 9. The method of claim 1, wherein presenting an interactive interface according to the positional relationship comprises: if the position relation is a third relation, presenting a third interactive interface and prompting a target message, wherein the third interactive interface comprises at least one second selectable function item, and the target message is used for prompting that the first equipment and the second equipment are in the third relation currently; Wherein the third relationship characterizes a presence of a contact between the first device and the second device, the presence of the contact including one of: The first device contacts the second device for a time exceeding a time threshold; And the contact time of the first equipment and the second equipment is lower than a time threshold, and the distance between the contacted first equipment and the contacted second equipment is in a third range.
- 10. A device interaction apparatus for use with a first device, the first device having a housing provided with first means for receiving a display of the first device, the apparatus comprising: a detection unit configured to detect a positional relationship between a second apparatus having a component enabling the first apparatus to sense, and the first apparatus, using the first device; And the interaction unit is used for presenting corresponding interaction interfaces through the display screen according to the position relation if the position relation belongs to the target relation, wherein the position relation is different, the presented interaction interfaces are different, and the interaction interfaces comprise interactive function options and/or interactive interaction effects.
Description
Equipment interaction method and device, electronic equipment and storage medium Technical Field The disclosure relates to the field of computer technology, and in particular, to a device interaction method, a device, an electronic device and a storage medium. Background At present, an interaction scheme between a notebook computer and a mobile phone has certain limitations, such as high UWB hardware cost and high power consumption, infrared ToF is easy to be interfered by ambient light, complex algorithm processing is needed, simple interaction can be performed only in front of a camera, and ultrasonic Mic can only recognize collision sound and cannot effectively recognize specific positions or distances. Therefore, there is a need for a notebook and peripheral interaction scheme that is low cost, low power consumption, and capable of supporting multi-point interactions. Disclosure of Invention The disclosure provides a device interaction method, a device, an electronic device and a storage medium. In a first aspect, an embodiment of the present disclosure provides a device interaction method, applied to a first device, where a housing of the first device is provided with a first device, and the housing is used to accommodate a display screen of the first device, where the method includes: detecting a positional relationship of a second device with the first device using the first device, wherein the second device has a component enabling the first device to sense; and if the position relation belongs to a target relation, presenting a corresponding interaction interface through the display screen according to the position relation, wherein the position relation is different, the presented interaction interfaces are different, and the interaction interface comprises interactive function options and/or interactive interaction effects. In a second aspect, an embodiment of the present disclosure provides a device interaction apparatus applied to a first device, where a housing of the first device is provided with a first device, and the housing is configured to accommodate a display screen of the first device, where the apparatus includes: a detection unit configured to detect a positional relationship between a second apparatus having a component enabling the first apparatus to sense, and the first apparatus, using the first device; And the interaction unit is used for presenting corresponding interaction interfaces through the display screen according to the position relation if the position relation belongs to the target relation, wherein the position relation is different, the presented interaction interfaces are different, and the interaction interfaces comprise interactive function options and/or interactive interaction effects. In a third aspect, an embodiment of the present disclosure provides an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described herein. In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in the disclosure. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification. Drawings The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which: In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Fig. 1 shows a flow chart of a device interaction method provided by an embodiment of the disclosure; FIG. 2 shows a schematic diagram I of a display screen and a first device installation provided by an embodiment of the present disclosure; FIG. 3 shows a second schematic diagram of a display screen and a first device installation provided by an embodiment of the present disclosure; FIG. 4 shows a schematic view of a display and a housing in a first positional relationship provided by an embodiment of the present disclosure; FIG. 5 illustrates a schematic view of a display and housing in a second positional relationship provided by an embodiment of the present disclosure; FIG. 6 shows a schematic diagram of a display, a housing, a first device in a second positional relationship provided by an embodiment o