CN116317187A - Man-machine interaction method, electronic equipment and medium thereof - Google Patents

Man-machine interaction method, electronic equipment and medium thereof Download PDF

Info

Publication number
CN116317187A
CN116317187A CN202111480808.0A CN202111480808A CN116317187A CN 116317187 A CN116317187 A CN 116317187A CN 202111480808 A CN202111480808 A CN 202111480808A CN 116317187 A CN116317187 A CN 116317187A
Authority
CN
China
Prior art keywords
electronic device
stylus
relative
magnetic flux
magnetic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111480808.0A
Other languages
Chinese (zh)
Inventor
肖冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111480808.0A priority Critical patent/CN116317187A/en
Priority to PCT/CN2022/134054 priority patent/WO2023103797A1/en
Publication of CN116317187A publication Critical patent/CN116317187A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/005Mechanical details of housing or structure aiming to accommodate the power transfer means, e.g. mechanical integration of coils, antennas or transducers into emitting or receiving devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/60Circuit arrangements or systems for wireless supply or distribution of electric power responsive to the presence of foreign objects, e.g. detection of living beings
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/80Circuit arrangements or systems for wireless supply or distribution of electric power involving the exchange of data, concerning supply or distribution of electric power, between transmitting devices and receiving devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply

Abstract

The application relates to the technical field of terminals, in particular to a man-machine interaction method, electronic equipment and a medium thereof. In the man-machine interaction method, when the tablet personal computer charges the handwriting pen, the position marks are synchronously displayed on the tablet personal computer or the handwriting pen, the position marks can show the relative positions of the handwriting pen and the standard charging position of the tablet personal computer to a user, the user can know whether the handwriting pen aims at the standard charging position of the tablet personal computer according to the position marks, and when the handwriting pen does not aim at the charging position, the user can adjust the position of the handwriting pen or the tablet personal computer according to the position marks so that the handwriting pen aims at the standard charging position of the tablet personal computer. By the method, the heating phenomenon generated when the handwriting pen is charged with low power due to the fact that the handwriting pen is not aligned with the standard charging position (or the magnetic charging position) of the tablet personal computer in the current technical scheme can be improved.

Description

Man-machine interaction method, electronic equipment and medium thereof
Technical Field
The application relates to the technical field of terminals, in particular to a man-machine interaction method, electronic equipment and a medium thereof.
Background
Generally, the stylus 200 is magnetically absorbed by the tablet 100 in the manner shown in fig. 1, and at the same time, the tablet 100 charges the stylus 200 to ensure that the electric quantity of the stylus 200 is sufficient.
In this process, tablet 100 will display the current power of stylus 200, but the user's reminder is not limited thereto. In practical applications, the stylus 200 may generate heat during charging due to misalignment of the charging position, which is not beneficial to maintenance of the battery of the stylus 200, and further affects the service life of the stylus 200.
Disclosure of Invention
In order to improve the design, the application provides a man-machine interaction method, electronic equipment and a medium thereof. In the man-machine interaction method, when the tablet personal computer charges the handwriting pen, the position mark can be displayed on the tablet personal computer, the position mark can represent the relative position change of the handwriting pen relative to the magnetic charging position of the tablet personal computer, so that a user can adjust the position of the handwriting pen or the tablet personal computer according to the position mark, the handwriting pen can be aligned to the magnetic charging position of the tablet personal computer, full-power charging is performed, and the heating phenomenon generated during magnetic charging under the condition of misalignment is avoided.
This development is described below.
In a first aspect, the present application provides a human-computer interaction method, where the method is applied to a first electronic device and a second electronic device, and the method includes: detecting that the first electronic device is located in a magnetic field provided by the second electronic device; determining the relative position change of the first electronic equipment and the second electronic equipment according to the obtained change conditions of magnetic fluxes at a plurality of different positions on the first electronic equipment; and determining corresponding display content on the first electronic device or the second electronic device according to the determined relative position change.
In some embodiments, the first electronic device or the second electronic device may detect whether the first electronic device is located in the magnetic field provided by the second electronic device through a hall sensor provided on the first electronic device.
It can be understood that, under the condition that the first electronic device moves relative to the second electronic device, the magnetic flux of the magnetic field of the second electronic device passing through the first electronic device changes, so that the relative position change of the first electronic device relative to the second electronic device can be judged according to the change conditions of the magnetic fluxes acquired by the hall sensors at a plurality of different positions on the first electronic device, and the corresponding display content on the first electronic device or the second electronic device is determined according to the relative position change conditions of the first electronic device relative to the second electronic device.
In this way, the first electronic device or the second electronic device can display the relative position change condition of the first electronic device relative to the second electronic device to the user in a visual mode, so that the user can adjust the position of the first electronic device or the second electronic device according to the relative position change condition. In addition, in the scene that the magnetic field provided by the second electronic device can charge the first electronic device, the user can enable the first electronic device to be aligned to the standard charging position (or the magnetic attraction charging position) of the second electronic device according to the change condition of the relative position, so that full-power charging can be performed.
In particular, with reference to the first aspect, in a possible implementation manner of the first aspect, the magnetic field provided by the second electronic device is capable of being used to charge the first electronic device, and according to the determined relative position change, determining the corresponding display content on the first electronic device or the second electronic device includes: in a state in which the second electronic device is in a state in which the first electronic device is charged, a first flag indicating a relative position of the first electronic device with respect to the second electronic device is displayed on the first electronic device or the second electronic device.
It will be appreciated that the first electronic device may not be in a charged state when the first electronic device is in the magnetic field of the second electronic device, such as the distance from the second electronic device that the first electronic device is able to detect the magnetic field of the second electronic device, the received magnetic flux is insufficient to charge. In some embodiments, it may be determined whether the second electronic device is in a state of charging the first electronic device by a relationship between a magnetic flux in the first electronic device and a preset first magnetic flux. For example, when the magnetic flux in the first electronic device is greater than or equal to the preset first magnetic flux, it indicates that the second electronic device is in a state of charging the first electronic device. And when the magnetic flux in the first electronic device is smaller than the preset first magnetic flux, indicating that the second electronic device is not in a state of charging the first electronic device. Specific judging modes will be described in the following detailed description of embodiments, and will not be repeated here.
It will be appreciated that the first flag indicates the relative position of the first electronic device with respect to the second electronic device, so that the first flag is displayed on either the first electronic device or the second electronic device whenever the second electronic device is charging the first electronic device, regardless of whether the first electronic device is aligned with the standard charging position of the second electronic device.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, determining, according to the determined relative position change, corresponding display content on the first electronic device or the second electronic device includes: the moving direction of the first mark is the same as the moving direction of the first electronic device relative to the second electronic device.
It will be appreciated that to account for the changing position of the first electronic device relative to the second electronic device, the first flag may be moved following the direction of movement of the first electronic device relative to the second electronic device. For example, if the first electronic device is moved to the right relative to the second electronic device, then the first flag is also moved to the right, and then the user simply moves the first electronic device in a direction opposite to the direction in which the first flag is moved when adjusting the first electronic device to align with the standard charging position of the second electronic device.
It will be appreciated that in other embodiments, the movement direction of the first flag may be opposite to the movement direction of the first electronic device relative to the second electronic device, and when the user adjusts the first electronic device to align with the standard charging position of the second electronic device, the user needs to move the first electronic device in the same direction as the movement direction of the first flag.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, determining, according to the determined relative position change, corresponding display content on the first electronic device or the second electronic device, further includes:
and displaying a second mark of the standard charging position of the first electronic device relative to the second electronic device on the first electronic device or the second electronic device, wherein the position of the second mark is unchanged during the movement of the first electronic device relative to the second electronic device.
It can be appreciated that, in order to facilitate accurate adjustment of the positions of the first electronic device and the second electronic device by the user, so that the first electronic device can be aligned to the standard charging position of the second electronic device, a second mark of the first electronic device aligned to the standard charging position of the second electronic device can be displayed on the first electronic device or the second electronic device at the same time, and the position and the form of the second mark are kept unchanged during the movement of the first electronic device relative to the second electronic device, so as to play a role similar to position calibration.
It will be appreciated that the first and second markers are displayed simultaneously on the first or second electronic device during movement of the first electronic device relative to the second electronic device, and the user can more accurately adjust the position of the first or second electronic device based on the relative positions of the first and second markers to enable the first electronic device to be aligned with the standard charging position of the second electronic device.
It is further understood that in some embodiments, the positions of the first and second flags are coincident when the first electronic device is aligned with the standard charging position of the second electronic device, and that the second flag may be displayed primarily or the first flag may be displayed primarily.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, the first mark and the second mark have the same shape and different colors. This allows the user to distinguish between the first location and the second location. It will be appreciated that in some embodiments, the first and second indicia may also have different shapes and different colors, or the first and second indicia may also have different shapes and the same color, as this application is not limiting.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of the first flag is the same as a moving direction of the first electronic device relative to the second electronic device, including: in the case where the first electronic device moves left or right with respect to the second electronic device, the first flag moves left or right with respect to the second flag.
It will be appreciated that since the second flag is a position flag when the first electronic device is aligned with the standard charging position of the second electronic device, and the first flag is a flag indicating a change in position of the first electronic device with respect to the second electronic device, and the moving direction of the first flag is the same as the moving direction of the first electronic device with respect to the second electronic device, the first flag will move leftward or rightward with respect to the second flag when the first electronic device moves leftward or rightward with respect to the second electronic device.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, the first electronic device includes a stylus, and the second electronic device includes a tablet computer.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, the first electronic device includes a watch, and the second electronic device includes a charging device of the watch.
It will be appreciated that in some embodiments, the movement of the first electronic device relative to the second electronic device may not be a translation, such as left, right, or up, down, etc., and the first electronic device may be rotated relative to the second electronic device.
Thus, with reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of the first flag is the same as a moving direction of the first electronic device relative to the second electronic device, including: in the case of a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device: the first sign rotates clockwise or counterclockwise relative to the second sign, or the first sign travels clockwise or counterclockwise around a circle centered on the screen center of the first electronic device or the second electronic device.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, determining, according to the determined relative position change, corresponding display content on the first electronic device or the second electronic device includes: when the first electronic device is far away from the second electronic device and enters an uncharged state, the moving direction of at least one icon displayed on the desktop is the same as or opposite to the moving direction of the first electronic device relative to the second electronic device. In some embodiments, the relationship between the magnetic flux in the first electronic device and the preset first magnetic flux and the preset second magnetic flux may be used to determine that the first electronic device is far away from the second electronic device and enters an uncharged state, that is, the first electronic device is in an uncharged state and the first electronic device is not separated from the second electronic device.
In some embodiments, in order to improve user experience, the icon on the desktop of the first electronic device or the second electronic device may also change along with the change of the relative position of the first electronic device with respect to the second electronic device in the process of picking up the first electronic device by the user, so that the user can control the direction of picking up the first electronic device according to the requirement, so as to select and click on the corresponding icon, and start the corresponding application. It will be appreciated that the mentioned icons may be displayed directly on the desktop or in the form of a shortcut application menu, as this application is not limited in this respect.
Thus, with reference to the first aspect and possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of at least one icon displayed on the desktop is the same as a moving direction of the first electronic device relative to the second electronic device, including: in the case that the first electronic device is detected to move leftwards or rightwards relative to the second electronic device, at least one icon displayed on the desktop moves leftwards or rightwards. The movement of the icons will be described in detail below in connection with fig. 11.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of at least one icon displayed on the desktop is the same as a moving direction of the first electronic device relative to the second electronic device, including: in the event that a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device is detected: at least one icon displayed on the desktop travels clockwise or counterclockwise around a circle centered around the center of the screen of the first electronic device or the second electronic device. The movement of the icon of this partial design will be described below in connection with fig. 12-14.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of at least one icon displayed on the desktop opposite to a moving direction of the first electronic device relative to the second electronic device includes: in the case that the first electronic device is detected to move leftwards or rightwards relative to the second electronic device, at least one icon displayed on the desktop moves rightwards or leftwards.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, a moving direction of at least one icon displayed on the desktop opposite to a moving direction of the first electronic device relative to the second electronic device includes: in the event that a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device is detected: at least one icon displayed on the desktop travels counterclockwise or clockwise around a circle centered around the center of the screen of the first electronic device or the second electronic device.
In order to further improve the user experience, when the user picks up the first electronic device, that is, when the first electronic device is far away from the second electronic device and enters an uncharged state, the first electronic device or the second electronic device may display different application option menus according to the change of the relative position of the first electronic device with respect to the second electronic device during the process that the user picks up the first electronic device. In some embodiments, the display rules of the application icons in different shortcut application menus may be similar to the icon moving direction described above. For example, when the user picks up the first electronic device to the right with respect to the second electronic device, a first shortcut application option menu is displayed on the first electronic device, and when the user picks up the first electronic device to the left with respect to the second electronic device, a second shortcut application option menu is displayed on the first electronic device, and each application icon in the second shortcut application option menu moves to the left with respect to an application icon in the first shortcut application option menu.
Thus, with reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, determining, according to the determined relative position change, corresponding display content on the first electronic device or the second electronic device includes: when the first electronic device is far away from the second electronic device and enters an uncharged state, an application option menu corresponding to the relative position change is displayed, and the application option menu comprises icons of a plurality of applications. Wherein the plurality of application icons in the application option menu corresponding to the relative position change may be partially identical. This part of this will be described in detail below in connection with fig. 11.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, the first electronic device includes a stylus, and the plurality of different positions on the first electronic device includes: a first end and a second end of the stylus; and determining, from the acquired changes in magnetic flux at the plurality of different locations on the first electronic device, a change in relative position of the first electronic device and the second electronic device, comprising: determining that the stylus is aligned to a standard charging position of the second electronic device under the condition that the difference between the magnetic fluxes of the first end and the second end is equal to a preset difference value; determining that the first end of the stylus is closer to the standard charging position relative to the second end if the difference between the magnetic fluxes of the first end and the second end is greater than a preset difference; and determining that the second end of the stylus is closer to the standard charging position than the first end under the condition that the difference between the magnetic fluxes of the first end and the second end is smaller than the preset difference.
It can be understood that, in the case that the difference between the magnetic flux at the first end and the magnetic flux at the second end is greater than the preset difference, the first end of the stylus is closer to the standard charging position relative to the second end, and at this time, the stylus may be indicated to deviate from the standard charging position of the second electronic device in the direction pointed by the second end; in the case that the difference between the magnetic flux at the first end and the magnetic flux at the second end is smaller than the preset difference, the second end of the stylus pen is closer to the standard charging position than the first end, namely, the stylus pen deviates from the standard charging position of the second electronic equipment towards the direction pointed by the first end. This part of the content will be described below in connection with fig. 2.
It should be noted that the above-mentioned preset difference corresponds to the preset first difference in the following specific embodiments.
With reference to the first aspect and the possible implementation manners of the first aspect, in another possible implementation manner of the first aspect, the first electronic device includes a wristwatch; and the plurality of different locations on the first electronic device includes: the first position is positioned at the anticlockwise direction of the second position, and the included angle between the connecting line of the first position and the circle center of the watch and the connecting line of the second position and the circle center of the watch is smaller than 180 degrees; and determining the relative position of the first electronic device and the second electronic device through the acquired change conditions of magnetic fluxes at a plurality of different positions on the first electronic device, including: determining that the watch is aligned to a standard charging position of the second electronic device under the condition that the difference between the magnetic flux of the first position and the magnetic flux of the second position is equal to a preset difference value; determining that the watch moves in a clockwise direction relative to the second electronic device if the difference between the magnetic flux at the first position and the magnetic flux at the second position is greater than a preset difference; and determining that the stylus moves in a clockwise direction relative to the second electronic device when the difference between the magnetic flux at the first end and the magnetic flux at the second end is smaller than a preset difference.
In a second aspect, embodiments of the present application provide an electronic device comprising a memory for storing instructions for execution by one or more processors of the electronic device, an
A processor, which is one of the processors of the electronic device, configured to perform the man-machine interaction method of the first aspect and the various possible implementation manners of the first aspect.
In a third aspect, an embodiment of the present application provides a computer readable storage medium, where instructions are stored, where the instructions, when executed on an electronic device, cause the electronic device to perform the man-machine interaction method of the first aspect and the various possible implementation manners of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product, which when run on an electronic device, causes the electronic device to perform the human-machine interaction method of the first aspect and the various possible implementations of the first aspect.
It will be appreciated that the advantages of the second to fourth aspects may be found in the relevant description of the first aspect and are not repeated here.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an exemplary stylus magnetic charging scenario provided in some embodiments;
FIG. 2 is a schematic illustration of the change in magnetic flux in a stylus according to some embodiments;
FIG. 3 is a schematic illustration of the change in magnetic flux in a stylus according to some embodiments;
FIG. 4 is a diagram illustrating a User Interface (UI) change of a tablet computer for stylus charging location prompting according to some embodiments;
FIG. 5 is a schematic diagram of an example smart watch charging provided in some embodiments;
FIG. 6 is a schematic diagram of UI change for a smart watch with charging location cues according to some embodiments;
FIG. 7 is a schematic diagram of a software architecture of a tablet computer implementing the method according to some embodiments;
FIG. 8 is a schematic diagram illustrating interactions between software structures of a tablet computer when implementing the method according to some embodiments;
FIG. 9 is a flowchart illustrating an example of a human-computer interaction method according to some embodiments;
FIG. 10 is a schematic view of a UI change for a tablet to launch a shortcut application provided in some embodiments;
FIG. 11 is a UI diagram illustrating an example of a tablet computer displaying a shortcut application options menu provided by some embodiments;
FIG. 12 is a UI diagram of an example tablet computer displaying a shortcut application options menu provided by some embodiments;
FIG. 13 is a UI diagram of an example tablet computer displaying a shortcut application options menu provided by some embodiments;
FIG. 14 is a diagram of an example tablet computer display shortcut application options menu UI provided by some embodiments;
FIG. 15 is a schematic diagram illustrating interactions between software structures of a tablet computer when implementing the method according to some embodiments;
FIG. 16 is a flowchart illustrating a method for a tablet computer to display a shortcut application options menu according to some embodiments;
FIG. 17 is a schematic diagram of a hardware configuration of an exemplary stylus according to some embodiments;
fig. 18 is a schematic hardware structure of a tablet computer according to some embodiments.
Detailed Description
Various aspects of the illustrative embodiments will be described using terms commonly employed by those skilled in the art.
In order to solve the technical problems, the embodiment of the application provides a man-machine interaction method. In the man-machine interaction method, when a user magnetically attracts the handwriting pen 200 to the tablet computer 100 for charging, besides the electric quantity prompt, the tablet computer 100 also has a prompt for whether the handwriting pen 200 is aligned to the magnetically attracted charging position and the relative position between the handwriting pen 200 and the magnetically attracted charging position, so that the user is prompted to adjust the position of the handwriting pen 200 to enable the handwriting pen 200 to be aligned to the magnetically attracted charging position for charging, the heating phenomenon generated when the handwriting pen 200 is not aligned to the magnetically attracted charging position for charging is avoided, the maintenance of a battery of the handwriting pen 200 is facilitated, and the service life of the handwriting pen 200 is prolonged.
Specifically, in the human-computer interaction method of the present application, when the tablet computer 100 determines that the stylus 200 is in the magnetic charging state, the position of the stylus 200 relative to the magnetic charging position is determined according to the difference value of the magnetic fluxes at the left and right sides in the magnetic coil of the stylus 200 and the preset first difference value. When the difference between the magnetic fluxes at the left and right sides in the magnetic attraction coil of the stylus 200 is smaller than the preset first difference, it indicates that the magnetic flux at the left side in the magnetic attraction coil of the stylus 200 is smaller than the magnetic flux at the right side, the stylus 200 deviates to the left with respect to the magnetic attraction charging position, and when the difference between the magnetic fluxes at the left and right sides in the magnetic attraction coil of the stylus 200 is larger than the preset first difference, it indicates that the magnetic flux at the left side in the magnetic attraction coil of the stylus 200 is larger than the magnetic flux at the right side, and the stylus 200 deviates to the right with respect to the magnetic attraction charging position. It should be understood that, when the stylus 200 is aligned with the magnetic charging position for charging, the preset first difference value may be, for example, 0.
For example, in fig. 2 (a), when the stylus 200 is aligned with the above-described magnetically chargeable position 200', the difference between the magnetic fluxes on the left and right sides of the stylus 200 is Δw=0. Then, as shown in fig. 2 (B), the magnetic flux WR on the right side in the magnetically attractive coil of the stylus 200 is greater than the magnetic flux WL on the left side, i.e., WL-WR is smaller than Δw, indicating that the stylus 200 is shifted leftward with respect to the magnetically attractive charging position 200'. As shown in fig. 2 (C), the magnetic flux WL on the left side of the stylus 200 magnetically attracting coil is greater than the magnetic flux WR on the right side, i.e., (WL-WR) is greater than Δw, indicating that stylus 200 is shifted rightward with respect to magnetically attracting charging position 200'.
After determining the relative position of the stylus 200 and the magnetic charging position 200', the tablet computer 100 displays a position prompt corresponding to the relative position, so that the user adjusts the position of the stylus 200 according to the prompt until the stylus 200 is aligned with the magnetic charging position. For example, when the stylus 200 is deviated leftward with respect to the magnetically charged position 200', the tablet pc 100 displays a leftward deviated position mark, and when the stylus 200 is deviated rightward with respect to the magnetically charged position 200', the tablet pc 100 displays a rightward deviated position mark.
It will be appreciated that the farther stylus 200 is from tablet 100, the less magnetic flux in the coil is magnetically attracted by stylus 200. Therefore, in some embodiments, the tablet computer 100 may determine whether the stylus 200 is in the magnetically charged state according to the magnitude relation between the magnetic flux in the magnetically attracted coil of the stylus 200 and the preset first magnetic flux. When the magnetic flux in the magnetic attraction coil of the stylus 200 is greater than or equal to the preset first magnetic flux, it is determined that the stylus 200 is in the magnetic attraction charging state, and when the magnetic flux in the magnetic attraction coil of the stylus 200 is less than the preset first magnetic flux, it is determined that the stylus 200 is not in the magnetic attraction charging state. The preset magnetic first flux may be a magnetic flux at a certain moment corresponding to when the stylus 200 is magnetically charged before the stylus 200 is completely separated from the tablet pc 100, and the preset first magnetic flux may be W0, for example.
For example, as shown in fig. 3 (a) and 3 (B), in fig. 3 (a), the magnitude of the magnetic flux in the magnetic attraction coil of the stylus 200 is W4, which is smaller than the preset first magnetic flux W0, the stylus 200 is separated from the tablet computer 100, that is, the stylus 200 is not in the magnetic attraction charging state. In fig. 3 (B), the magnitude of the magnetic flux in the magnetic attraction coil of the stylus 200 is W5, which is greater than the preset first magnetic flux W0, and the stylus 200 is in the magnetic attraction charging state.
In other embodiments, the tablet computer 100 may also determine whether the stylus 200 is in the magnetically charged state through approaching the optical sensor, when the tablet computer 100 determines that the stylus 200 is in the contact state with the tablet computer 100 through approaching the optical sensor, it is determined that the stylus 200 is in the magnetically charged state with the tablet computer 100, and when the tablet computer 100 determines that the stylus 200 is in the separation state with the tablet computer 100 through approaching the optical sensor, it is determined that the stylus 200 is not in the magnetically charged state with the tablet computer 100. The method for determining whether the stylus 200 is in the magnetic charging state by the tablet pc 100 is not limited in the present application. For convenience of explanation, the human-computer interaction method of the present application will be described by taking the determination of whether the stylus 200 is in the magnetic charging state according to the relationship between the magnitude of the magnetic flux in the magnetic attraction coil of the stylus 200 and the preset first magnetic flux magnitude as an example.
It will be appreciated that the terms "left" and "right" on the left and right sides of the stylus 200 are relative terms, and depend on the placement of the stylus 200 with respect to the tablet 100, and in other embodiments, the right and left sides of the stylus 200 may be used.
It can be appreciated that the man-machine interaction method can be applied to various electronic devices supporting magnetic attraction type charging, including handwriting pens, such as smart watches, smart phones, smart rings, smart headphones, smart speakers, smart sweeping robots and the like, and the specific type of the electronic device is not limited in any way. For convenience of description, the man-machine interaction method of the present application is described below by using the tablet computer 100 as the handwriting pen 200 for magnetic attraction charging.
Specifically, fig. 4 shows a UI change schematic diagram of the stylus 200 performing magnetic attraction charging under the human-computer interaction method of the present application.
As shown in fig. 4 (a), when the user places the handwriting pen 200 at the magnetic charging position 200 'for magnetic charging, the display interface of the tablet pc 100 pops up the pop-up window 110, and the current electric quantity 102 of the handwriting pen 200 and the position mark 101 of the handwriting pen 200 aligned with the magnetic charging position 200' are displayed in the pop-up window 110. It will be appreciated that in some embodiments, the pop-up window 110 may disappear after the display exceeds the preset time period, so as to avoid that the display affects other operations of the user for a long time, which is not limited in the display time period of the pop-up window 110.
Now, assuming that the user places the stylus 200 at the position shown in fig. 4 (B) for magnetic charging, and at this time, the stylus 200 deviates rightward from the magnetic charging position 200', a position mark 103 of the stylus 200 deviating rightward from the magnetic charging position is displayed in the popup window 110, and in order to prompt the user to adjust the position of the stylus 200 leftward, a position mark 101 with a broken line is still displayed in the popup window 110. After the user adjusts the position of the stylus 200 according to the position marks 101 and 103 and aligns the magnetically charged position, as shown in fig. 4 (D), the real-line position marks 101 and the current electric quantity 102 are displayed in the popup window 110.
Further, if the user places the stylus 200 at the position shown in fig. 4 (C) to perform magnetic charging, and the stylus 200 deviates to the left with respect to the magnetic charging position 200', the position mark 104 of the stylus 200 deviating to the left from the magnetic charging position will be displayed in the popup window 110, and in order to prompt the user to adjust the position of the stylus 200 to the right, the position mark 101 of the popup window will still be displayed in a virtual line. After the user adjusts the position of the stylus 200 according to the position marks 101 and 104 and aligns the magnetically charged position, the real-line position marks 101 and the current electric quantity 102 are displayed in the popup window 110 as shown in fig. 4 (D).
Through the method, a user can place the handwriting pen 200 at the position of aligning the magnetic attraction position 200' for magnetic attraction charging under the popup prompt of the tablet computer 100, so that the phenomenon that the handwriting pen 200 is charged and heated before the handwriting pen 200 is avoided, and the service life of the handwriting pen is prolonged.
It should be appreciated that in some embodiments, when the tablet computer 100 prompts the user to adjust the position of the handwriting pen 200, not only the popup window 110 may be used to visually prompt, but also the user may be reminded in combination with voice, vibration, and the like, which is not limited in this application.
It should also be understood that the above description of the "arrow" is exemplary and not limiting as to the form of the charging location indicator in the present application, and in other embodiments, the location indicator may be other indicators having a prompting effect, which is not limited in the present application.
It should also be appreciated that the above description of the charge amount and the charge position on the tablet computer 100 is also exemplary, and in other embodiments, if the stylus 200 is configured with a hardware device such as a display device, a voice prompt device, or a motor, the above description may also be performed on the stylus 200, or performed on the stylus 200 and the tablet computer 100 at the same time, which is not limited in this application. In this regard, the hardware architecture of stylus 200 will be briefly described below in connection with a schematic diagram.
As noted above, the above method is equally applicable to smart watches 300 that support magnetically-attractive charging. The process by which the smart watch 300 is charged using the above method is described below in connection with fig. 5 and 6. It should be noted that, the difference between the charging mode of the smart watch 300 and the magnetically-attracted charging mode of the stylus 200 is mainly represented by the two prompting aspects regarding the charging position and the charging amount, and the following description will be given.
Specifically, fig. 5 (a) and fig. 5 (B) respectively show a display interface 310 and a back surface 320 of the smart watch 300, where the display interface 310 is used for displaying prompt information about a charging position and a charging electric quantity and implementing display functions of other smart watches 300, and a charging area 330 for magnetically charging is provided on the back surface 320, and a magnetically charging position 331 in the charging area 330 is matched with a magnetically charging position 411 in a charging area 410 of the charging device 400 shown in fig. 5 (C), so as to implement magnetically charging of the smart watch 300.
Now, assuming that the user places the smart watch 300 at the position shown in fig. 6 (a) for charging, the prompt information 313 of the charging state, the current electric quantity 311 and the position mark 312 of the magnetic charging position 411 in fig. 5 (C) of the current smart watch 300 are displayed on the display interface 310 of the smart watch 300, and the user only needs to rotate the smart watch 300 clockwise or rotate the charging device 400 anticlockwise according to the direction indicated by the position mark 312 until the position mark 315 shown in fig. 6 (C) is displayed on the display interface 310 of the smart watch 300, so as to realize the magnetic charging of the smart watch 300.
Assuming that the user places the smart watch 300 at the position shown in fig. 6 (B) to charge, the prompt information 313 of the charging state, the current electric quantity 311, and the position mark 314 of the magnetic charging position 411 in fig. 5 (C) of the current smart watch 300 are displayed on the display interface 310 of the smart watch 300, and the user only needs to rotate the smart watch 300 counterclockwise or rotate the charging device 400 clockwise according to the direction indicated by the position mark 314 until the position mark 315 shown in fig. 6 (C) is displayed on the display interface 310 of the smart watch 300.
Through the method, a user can rotate the intelligent watch 300 or the charging device 400 under the prompt of the related information on the display interface 310 of the intelligent watch 300, so that the magnetic charging position 331 of the intelligent watch 300 is aligned with the magnetic charging position 411 of the charging device 400 to perform magnetic charging, the heating phenomenon generated in the charging process due to the fact that the intelligent watch 300 is not aligned with the magnetic charging position 411 is avoided, and the service life of the battery of the intelligent watch 300 is prolonged.
Based on the above interface change diagram, a system architecture adopted by the method for implementing the charge management of the application by the tablet pc 100 and a specific process for implementing the man-machine interaction method of the application on the tablet pc 100 will be described in detail with reference to fig. 7.
Fig. 7 shows a schematic block diagram of a system architecture of a tablet computer 100 for implementing the human-machine interaction method of the present application, according to an embodiment of the present application.
As shown in fig. 7, the system of tablet 100 includes an application layer 1310, a framework layer 1320, a kernel layer 1330, and a hardware layer 1340.
The application layer 1310 may include a series of application packages, including, for example, shorthand application 1310a, drawing application 1310b, contact book application 1310c, and the like.
The framework layer 1320 includes a window management service (Windows Manager Service) 1320a, a shortcut application options menu determination module 1320b, a magnetic flux acquisition module 1320c, and a location mark determination module 1320d.
In other embodiments, the system of tablet 100 may further include a system library layer located between the framework layer and the kernel layer, without limitation.
Kernel layer 1330 includes display driver 1330a. In other embodiments, kernel layer 1330 may also include other drivers, such as touch drivers, audio drivers, and the like, without limitation.
Hardware layer 1340 includes a display 1340a. In other embodiments, hardware layer 1340 may also include physical devices such as speakers, motors, hall sensors, etc., without limitation.
Based on the system framework of the tablet pc 100 shown in fig. 7, a specific interaction process between the structures of the system of the tablet pc 100 in the process of implementing the method for charging management of the tablet pc 100 shown in fig. 7 by combining with an interaction flow diagram is specifically described below, and specific functions of each structure in the system framework shown in fig. 7 are specifically described.
Fig. 8 shows a schematic diagram of an interaction process in the tablet computer 100 system corresponding to the user removing the stylus 200 from the tablet computer 100. It will be appreciated that the order of execution of the steps in the interaction illustrated in fig. 8 is not limited.
As shown in fig. 8, the interaction process 800 includes:
801, hall sensor 230 on stylus 200 collects magnetic flux in stylus 200.
In some embodiments of the present application, tablet 100 obtains the magnetic flux in the magnetically attractive coil of stylus 200 through a hall sensor provided on stylus 200. For example, as shown in fig. 2 above, tablet computer 100 may acquire the magnetic flux of the left side of stylus 200 magnetic attraction coil through hall sensor 230L disposed on the left side of stylus 200, and acquire the magnetic flux of the right side of stylus 200 magnetic attraction coil through hall sensor 230R disposed on the right side of stylus 200.
802, the hall sensor 230 of the stylus 200 sends the collected magnetic flux to the magnetic flux acquisition module 1320c of the tablet 100.
In some embodiments, the stylus 200 and the tablet 100 may be connected through a wireless communication module, or may be connected based on a communication protocol. The present application is not limited in this regard. After stylus 200 establishes a communication connection with tablet 100, stylus 200 transmits the collected magnetic flux to magnetic flux acquisition module 1320c of tablet 100.
803, the magnetic flux acquisition module 1320c of the tablet computer 100 sends the received magnetic flux of the stylus 200 to the position-marker determination module 1320d.
804, the position-flag determining module 1320d determines whether the magnetic flux of the stylus 200 is greater than or equal to a preset first magnetic flux. If yes, determining that the stylus 200 is in the magnetic charging state, entering 804, namely determining the moving direction of the stylus 200 according to the changing conditions of the magnetic fluxes at the left and right sides of the stylus 200, namely determining the relative positions of the stylus 200 and the magnetic charging position 200' according to the changing conditions of the magnetic fluxes at the left and right sides of the stylus 200. If not, it indicates that the stylus 200 is separated from the tablet computer 100, then the process proceeds to 801, i.e. the hall sensor 230 of the stylus 200 continuously collects the magnetic flux of the stylus 200.
805, the position-flag determining module 1320d determines a magnitude relation between a difference between magnetic fluxes at the left and right sides of the stylus 200 and a preset first difference value, and determines a moving direction of the stylus 200 and a corresponding position flag according to the magnitude relation between the difference between magnetic fluxes at the left and right sides of the stylus 200 and the preset first difference value.
As described above, if the difference wδ of the magnetic fluxes at the left and right sides in the magnetically attractive coil of the stylus 200 is greater than the preset first difference Δw, it is indicated that the magnetic fluxes at the left side in the magnetically attractive coil of the stylus 200 are greater than the magnetic fluxes at the right side, so that it can be determined that the stylus 200 is deviated rightward with respect to the magnetically attractive charging position 200', and the position flag module 1320d determines the position flag 103 (as shown in fig. 4 (B)) that the position flag stylus 200 is deviated rightward.
If the difference wδ between the left and right magnetic fluxes in the magnetically attracted coil of the stylus 200 is smaller than the preset first difference Δw, which indicates that the left magnetic flux in the magnetically attracted coil of the stylus 200 is smaller than the right magnetic flux, it may be determined that the stylus 200 is deviated leftward with respect to the magnetically attracted charging position 200', and the position index module 1320d determines the position index 104 of the position index stylus 200 deviated rightward (as shown in fig. 4 (C)).
If the difference wδ of the magnetic fluxes at the left and right sides in the magnetically attractive coil of the stylus 200 is equal to the preset first difference Δw, which indicates that the stylus 200 has been aligned with the magnetically attractive charging position 200', the position index module 1320D determines the position index 101 (as shown in fig. 4 (D)) that the position index stylus 200 is deviated to the right.
806, the location flag determining module 1320d reports the moving direction of the stylus 200 and the identification corresponding to the location flag to the window management service 1320 a.
It will be appreciated that in some embodiments, the information corresponding to the direction of movement of stylus 200 and the location indicator may be an indicator, for example, the location indicator that is offset to the left and offset to the left may be an indicator "left" and the location indicator that is offset to the right and offset to the right may be an indicator "right". It will be appreciated that in other embodiments, the above-described identifiers may take other forms, such as numbers, strings, etc., as the application is not limited in this regard.
807, the window management service 1320a sends an instruction to the resource management module 1320e requesting to invoke the display resource of the corresponding shortcut application options menu.
It will be appreciated that the resource management module 1320e stores display resource information related to the charge amount, the location flag, etc. of the stylus 200, and when the window management service 1320a needs to display the corresponding location flag and charge amount, a resource request instruction needs to be initiated to the resource management module 1320 e.
It is understood that the above-described display resource information includes, but is not limited to, a display position of a charge amount or a position mark, a display icon, a display size, and the like.
808, the resource management module 1320a returns corresponding display resource data to the window management service 1320 a.
809, the window management service 1320a sends display resource data to the display driver 1330a.
810, the display driver 1330a sends display resource data to the display 1340a.
811, the display 1340a displays the above display resource data.
The above is an interaction diagram between internal software structures of the tablet pc 100 when implementing the method of the present application. In order to better understand the implementation manner of the man-machine interaction method of the present application, details of implementation of the man-machine interaction method of the present application are described below with reference to fig. 9 in conjunction with the charging manner between the stylus 200 and the tablet pc 100 shown in fig. 4.
It can be appreciated that the following man-machine interaction method may be implemented on the tablet computer 100, or on the stylus 200, or may be implemented by the tablet computer 100 and the stylus 200 in cooperation, for example, performing related data processing on the tablet computer 100, displaying the current electric quantity prompt information and the prompt information of the relative position of the stylus 200 and the magnetic charging position 200 'on the stylus 200, or performing related data processing on the stylus 200, displaying the electric quantity prompt information and the prompt information of the relative position of the stylus 200 and the magnetic charging position 200' on the tablet computer 100, which is not limited in this application. For convenience of description, the method is described below as being implemented in the tablet pc 100.
Specifically, as shown in fig. 9, the method 700 includes:
901, the magnetic flux in the magnetic attraction coil of the stylus 200 is acquired.
902, it is determined whether the magnetic flux of the magnetic attraction coil of the stylus 200 is greater than a preset first magnetic flux.
903, it is determined that stylus 200 is not in a magnetically charged state.
904, determining the magnitude between the difference value of the magnetic fluxes at the left side and the right side in the magnetic attraction coil of the stylus 200 and the preset first difference value.
As described above, if the difference wδ between the magnetic fluxes at the left and right sides in the magnetic attraction coil of the stylus 200 is greater than the preset first difference Δw, it indicates that the magnetic flux at the left side in the magnetic attraction coil of the stylus 200 is greater than the magnetic flux at the right side, so it can be determined that the stylus 200 is deviated to the right with respect to the magnetic attraction charging position 200', then step 905 is performed, that is, the tablet computer 100 displays the position mark 103 (as shown in fig. 4 (B)) of the stylus 200 deviated to the right.
If the difference wδ between the magnetic fluxes at the left and right sides in the magnetic attraction coil of the stylus 200 is smaller than the preset first difference Δw, which indicates that the magnetic flux at the left side in the magnetic attraction coil of the stylus 200 is smaller than the magnetic flux at the right side, it may be determined that the stylus 200 is deviated to the left with respect to the magnetic attraction charging position 200', and then step 906 is performed, that is, the tablet computer 100 displays the position mark 104 (as shown in fig. 4 (C)) that the stylus 200 is deviated to the left with respect to the magnetic attraction charging position 200'.
If the difference wδ between the magnetic fluxes at the left and right sides of the stylus 200 in the magnetic coil is equal to the preset first difference Δw, it indicates that the stylus 200 is aligned with the magnetic charging position 200', then enter 907, i.e. the tablet computer 100 displays a position mark 101 (as shown in fig. 4 (D)) that the stylus 200 is aligned with the magnetic charging position 200'.
905, a position mark of the stylus 200 deviated to the right is displayed.
906, a position mark indicating the left deviation of the stylus 200 is displayed.
907 shows a marker of the stylus 200 alignment magnetic charging position.
In the above description, in order to further improve the user experience, when the user removes the stylus 200 from the tablet pc 100, the tablet pc 100 will directly start the shortcut application, so as to save the time for the user to start the application program.
Specifically, in some embodiments, as shown in fig. 10 (a) to 10 (B), when the user picks up the stylus 200 being magnetically charged from the tablet pc 100 shown in fig. 10 (a), the tablet pc 100 enters the shorthand application interface 130 shown in fig. 10 (B) from the lock screen interface 120 shown in fig. 10 (a), so that the user can implement the shorthand function.
It will be appreciated that the lock screen interface 120 in FIG. 10 (A) is merely exemplary, and in other embodiments, may be other interfaces, such as a main interface of the tablet 100, or interfaces of other applications, such as
Figure RE-GDA0003584325720000121
An applied interface,
Figure RE-GDA0003584325720000122
Application interfaces, etc., to which the present application is not limited.
Correspondingly, the shorthand application interface in fig. 10 (B) is also exemplary, and in some embodiments, when the user removes stylus 200 from tablet 100, tablet 100 may launch and enter other application interfaces, such as a memo interface,
Figure RE-GDA0003584325720000123
Application interfaces, etc., which are not limiting in this application.
It will be appreciated that in some embodiments, the interface displayed on tablet 100 before the user removes stylus 200 from tablet 100 is related to the interface displayed by tablet 100 when the user places stylus 200 on tablet 100 for magnetically charging. For example, when the user is chatting with the WeChat application, the user places the handwriting pen 200 on the tablet computer 100 to charge, and then the chat interface of the WeChat application is displayed on the tablet computer 100.
In other embodiments, when the user places the stylus 200 on the tablet pc 100, the tablet pc 100 may also enter the screen locking state shown in fig. 10 (a) directly from the currently displayed interface, or, when the user places the stylus 200 on the tablet pc 100 for a few seconds, the screen locking state shown in fig. 10 (a) is entered again when the next operation of the user on the tablet pc 100 is not detected, which is not limited in this application.
It will also be appreciated that when the user removes the stylus 200 from the tablet 100, the tablet 100 starts and enters what application interface may be a default setting for the system of the tablet 100, for example, the user typically uses the stylus 200 to make a shorthand or draw, so the tablet 100 may use the shorthand application or drawing application interface as a default setting interface for the system, and when the user removes the stylus 200 from the tablet 100, the tablet 100 starts and enters the shorthand or drawing application interface as shown in fig. 10 (B).
In other embodiments, the user may set the shortcut application as a frequently used application by the user through a system setting of the tablet 100, and then when the user removes the stylus 200 from the tablet 100, the tablet 100 starts and enters an interface of the application set by the user. In still other embodiments, in order to avoid a conflict between applications started by the tablet pc 100, when the user takes the stylus 200 off the tablet pc 100, the tablet pc 100 may determine whether other applications are currently running on the tablet pc 100, if no other applications are running on the tablet pc 100, start the shortcut application and enter the shortcut application interface, and if other applications are running on the tablet pc 100, enter the interface of the application that is recently used and not closed by the user, which is not limited in this application.
It can be seen that the method for starting and entering the shortcut application is beneficial to saving operation steps of a user to a certain extent and improving user experience. However, it will be understood that the above manner of directly entering the shortcut application interface does not provide a sufficient selection space for the user, that is, the user can only passively accept the interface displayed by the tablet computer 100 when removing the stylus 200 from the tablet computer 100, and cannot autonomously select and control the shortcut application to be entered by the tablet computer 100.
To further enhance the user experience, providing a user with a full choice, in other embodiments of the present application, tablet 100 does not directly enter an interface of an application, but rather displays an options menu interface that includes multiple applications, when the user removes stylus 200 from tablet 100. In addition, the content of the option menu interface changes along with the direction of the user taking the stylus 200 off the tablet computer 100, so as to provide sufficient selection space for the user and improve the user experience.
Specifically, in the embodiment of the present application, the tablet pc 100 determines the direction of the stylus 200 when being separated from the tablet pc 100 according to the relationship between the difference value of the magnetic fluxes at the left and right sides of the magnetic coil and the preset second difference value when the stylus 200 is separated from the tablet pc 100. The preset second difference value is a difference value of magnetic fluxes at the left and right sides of the magnetic attraction coil of the stylus 200, and the preset second difference value may be, for example, 0, where the position of the stylus 200 is located when the magnetic attraction charging is performed before the stylus 200 is separated from the tablet computer 100. It can be appreciated that when the user picks up the stylus 200 from the tablet computer 100, the stylus 200 is aligned with the magnetic charging position 200', and the preset second difference is equal to the preset first difference.
If the difference between the magnetic fluxes of the left and right sides of the magnetic attraction coil of the stylus pen 100 is greater than the preset second difference value when the stylus pen 200 is separated from the tablet computer 100, it is indicated that the stylus pen 200 moves in the same direction as the position corresponding to the preset second difference value, a first shortcut application option menu interface is displayed, and if the difference between the magnetic fluxes of the left and right sides of the magnetic attraction coil of the stylus pen 100 is smaller than the preset second difference value when the tablet computer 100 is separated from the tablet computer 100 according to the stylus pen 200, it is indicated that the stylus pen 200 moves in the opposite direction to the position corresponding to the preset second difference value, a second shortcut application option menu interface different from the first shortcut application option menu interface is displayed.
In some embodiments of the present application, as described above, tablet computer 100 may determine whether stylus 200 is in a magnetically charged state, i.e., whether stylus 200 is separated from tablet computer 100, according to the magnitude of magnetic flux in the magnetically-attracted coil of stylus 200. When the magnetic flux in the magnetic attraction coil of the stylus 200 is greater than or equal to the preset second magnetic flux, it is determined that the stylus 200 is to be separated from the tablet computer 100, and then the direction of the stylus 200 when separated relative to the tablet computer 100 is determined according to the relationship between the difference value of the magnetic fluxes at the left and right sides in the magnetic attraction coil of the stylus 200 and the preset first difference value. The preset second magnetic flux is a magnetic flux at a certain moment before the stylus 200 is separated from the tablet pc 100, and the preset second magnetic flux is smaller than or equal to the preset first magnetic flux, and the preset second magnetic flux may be, for example, W1.
Specifically, fig. 11 shows a schematic diagram of a shortcut application option menu UI change displayed on the tablet 100 when the stylus 200 is separated in different directions with respect to the tablet 100.
As shown in fig. 11 (a), in the case where the user lifts the handwriting pen 200 vertically upward from the magnetic charging position 200' in fig. 2, the S area of the tablet 100 displays an option menu interface 140, and the interface 140 includes "health application" 141, "weather application" 142, "browser application" 143, "camera application" 144, and "telephone application" 145.
As shown in fig. 11 (B), when the user lifts the stylus 200 from the position 200' of magnetic charging in fig. 2 to the left, the S area of the tablet 100 displays an option menu interface 150, and the interface 150 includes a "browser application" 143, a "camera application" 144, a "phone application" 145, a "short message application" 146, and a "contact application" 147. As can be seen by comparing fig. 11 (a), the application included in the interface 150 is equivalent to the application included in the interface 140 moving to the left.
As shown in fig. 11 (C), when the user lifts the stylus 200 rightward from the magnetic charging position 200' in fig. 2, the S area of the tablet 100 displays an option menu interface 160, and the interface 160 includes a "gallery application" 138, a "shorthand application" 139, a "health application" 141, a "weather application" 142, and a "browser application" 143. As can be seen from a comparison of fig. 11 (a), the application included in interface 160 corresponds to the application included in interface 140 moving to the right.
It will be appreciated that the applications included in the various option menu interfaces described above are exemplary only, and in some embodiments, other applications may be included in the various option menu interfaces described above, and the order of arrangement of the applications included in the various option menu interfaces may be that having an arrangement of applications similar to those included in interface 140, interface 150, and interface 160, which is not limiting in this application.
It will be appreciated that the applications included in the option menu interfaces may be fixed when the user sets the application through the tablet computer 100 system, or may be dynamically changed, for example, the applications included in the option menu interfaces may be refreshed according to the usage habits of the user after a plurality of time intervals, which is not limited in this application.
It will be appreciated that the method of displaying different option menu interfaces on the tablet pc 100 according to different directions when the user picks up the stylus 200 is also applicable to the smart watch 300. This will be described below in conjunction with fig. 12 to 13. Before the user picks up the smart watch 300 from the charging device, the content of the display interface of the smart watch 300 may refer to the description of the display interface of the tablet pc 100, which is not repeated herein.
As shown in fig. 12 (a), the user lifts the smart watch 300 up with respect to the charging device 400, and the smart watch 300 enters the options menu interface 330 shown in fig. 12 (B), and the interface 330 includes a "gallery application" 301, a "camera application" 302, and a "phone application" 303.
As shown in fig. 13 (a), the user picks up the smart watch 300 to the right with respect to the charging device 400, and the smart watch 300 enters an options menu interface 340 as shown in fig. 13 (B), and the interface 330 includes a "gallery application" 301, a "camera application" 302, a "phone application" 303, an "information application" 304, and a "contact application" 305. As can be seen from comparing fig. 12 (B), the application included in the interface 340 of fig. 13 (B) is equivalent to the clockwise rotation of the application included in the interface 330.
As shown in fig. 14 (a), the user picks up the smart watch 300 to the left with respect to the charging device 400, and the smart watch 300 enters an options menu interface 350 as shown in fig. 14 (B), and the interface 330 includes a "camera application" 302, a "phone application" 303, an "information application" 304, a "contact application" 305, and a "gallery application" 306. As can be seen by comparing fig. 12 (B), the application included in the interface 360 of fig. 14 (B) is equivalent to the application included in the interface 330 rotated counterclockwise.
By the method, the tablet computer 100 can provide the option menu interface comprising rich shortcut applications for the user according to the direction of the user picking up the handwriting pen 200 from the tablet computer 100 for the user to select. Similarly, the smart watch 300 may also provide the user with an option menu interface including a plurality of shortcut applications for the user to select according to the direction in which the user lifts the smart watch 300 from the charging device 400.
Fig. 15 shows a schematic diagram of an interaction process in the tablet computer 100 system corresponding to the user removing the stylus 200 from the tablet computer 100. It will be appreciated that the order of execution of the steps in the interaction illustrated in fig. 15 is not limited. Moreover, the implementation process of the method 1500 that is the same as or similar to that of the above method may refer to the above related description, and will not be repeated herein.
As shown in fig. 15, the interaction process 1500 includes:
1501, the hall sensor 230 on the stylus 200 collects the magnetic flux in the stylus 200.
1502, the hall sensor 230 of the stylus 200 sends the collected magnetic flux to the magnetic flux acquisition module 1320c of the tablet 100.
1503, the magnetic flux acquisition module 1320c of the tablet computer 100 sends the received magnetic flux of the stylus 200 to the shortcut application option menu determination module 1320b.
1503, the shortcut application option menu determination module 1320b determines whether the magnetic flux of the stylus 200 is greater than or equal to the preset second magnetic flux. If yes, it is determined that the stylus 200 is in a state to be separated from the tablet pc 100, then 1505 is entered, i.e. the moving direction of the stylus 200 is determined according to the change conditions of the magnetic fluxes at the left and right sides of the stylus 200. If not, it indicates that stylus 200 is in a charged state, then 1501 is entered, i.e., hall sensor 230 of stylus 200 continues to collect magnetic flux of stylus 200.
1505, the shortcut application option menu determining module 1320b determines a magnitude relation between the difference between the magnetic fluxes at the left and right sides of the stylus 200 and the preset second difference value, and determines a moving direction of the stylus 200 and a corresponding shortcut application option menu according to the magnitude relation between the difference between the magnetic fluxes at the left and right sides of the stylus 200 and the preset second difference value.
Specific implementation details are presented below in method 1600.
1506, the shortcut application option menu determination module 1320b reports the moving direction of the stylus 200 and the identifier corresponding to the shortcut application option menu to the window management service 1320 a.
1507, the window management service 1320a sends an instruction to the resource management module 1320e requesting to invoke the display resource of the corresponding shortcut application options menu.
1508, the resource management module 1320a returns corresponding display resource data to the window management service 1320 a.
1509, the window management service 1320a sends the display resource data to the display driver 1330a.
1510, the display driver 1330a sends display resource data to the display 1340a.
1511, a display 1340a displays the above display resource data.
To better understand the implementation of the above method, details of the implementation of the above method on the tablet computer 100 are described below with reference to fig. 16 in conjunction with the manner in which the tablet computer 100 shown in fig. 11 initiates and displays a shortcut application options menu interface.
Specifically, as shown in fig. 16, the method 1600 includes:
1601, the magnetic flux of the magnetic attraction coil of stylus 200 is acquired.
The manner in which the tablet pc 100 obtains the magnetic flux of the magnetic attraction coil of the handwriting pen 200 is the same as that in the method 701 described above, and will not be described herein.
1602, determine whether the magnetic flux in the stylus 200 magnetically attractive coil is greater than or equal to a predetermined second magnetic flux. If the magnetic flux in the magnetic attraction coil of the stylus 200 is greater than or equal to the preset second magnetic flux, the stylus 200 is indicated to be separated from the tablet computer 100, and 1603, namely, continuously judging the magnitude between the difference value of the magnetic fluxes at the left side and the right side of the magnetic attraction coil of the stylus 100 and the preset second difference value, so as to judge the direction of the stylus 100 when the stylus 100 is separated relative to the tablet computer 100; if the magnetic flux in the stylus 200 is less than the preset second magnetic flux, indicating that the stylus 200 is still in the charging phase, entry 1602 is performed, i.e., continuously detecting the magnitude of the magnetic flux in the stylus 200 to determine when the stylus 200 is about to be separated from the tablet 100.
The manner in which the magnetic flux change condition in the stylus 200 is determined may be referred to in the above description of the method 700, and will not be repeated here.
1603, judging whether the difference between the magnetic flux of the left side and the magnetic flux of the right side in the magnetic attraction coil of the stylus 200 is positive or negative with respect to the preset second difference.
As described above, the preset second difference is the difference between the magnetic fluxes of the left and right sides of the magnetic attraction coil when the stylus 200 is charged before the stylus 200 is separated from the tablet computer 100.
It will be appreciated that when the stylus 200 is separated from the tablet 100, if the difference between the magnetic fluxes of the left and right sides of the magnetic attraction coil of the stylus 200 is greater than the preset second difference, it indicates that the stylus 200 moves in the same direction as the direction corresponding to the preset second difference, and then the process proceeds to 1604, i.e. the first shortcut application option menu is displayed.
When the stylus 200 is separated from the tablet computer 100, if the difference value of the magnetic fluxes of the left and right sides in the magnetic attraction coil of the stylus 200 is smaller than the preset second difference value, it indicates that the stylus 200 moves in a direction opposite to the direction corresponding to the preset second difference value, and then 1605 is entered, that is, a second shortcut application option menu is displayed.
When the stylus 200 is separated from the tablet 100, if the difference between the magnetic fluxes of the left and right sides of the magnetic attraction coil of the stylus 200 is equal to the preset second difference, it indicates that the stylus 200 is separated from the tablet 100 and no deviation of the opposite direction occurs (as shown in fig. 11 (a)), then the process goes to 1606, i.e. a third shortcut application option menu is displayed.
For example, assuming that, before the stylus 200 is separated from the tablet 100, the position of the stylus 200 that performs magnetic attraction charging is on the right side of the magnetic attraction charging position 200', at this time, the preset second difference value is W2 (and W2 is greater than 0), and the direction of the stylus 200 when separated from the tablet 100 is also right, when the stylus 200 is separated from the tablet 100, the difference between the magnetic fluxes on the left side and the right side in the magnetic attraction coil of the stylus 200 is W3, if W3 is greater than W2, it indicates that the difference between the magnetic fluxes on the left side and the right side in the magnetic attraction coil of the stylus 200 is further increased, that is, the stylus 200 moves right again with respect to the magnetic attraction charging position 200', at this time, the first shortcut application menu is displayed.
It can be understood that the above-mentioned judging process is also applicable to the case where the preset second difference is smaller than 0 or equal to 0, which is not described in detail in the present application.
1604, a first shortcut application options menu is displayed.
In some embodiments, the first shortcut application option menu may be set by the user according to his own preference through the system settings of the tablet computer 100. In other embodiments, the first shortcut application option menu may also be generated by the tablet 100 according to the usage habits of the user. The tablet pc 100 may update the first shortcut application option menu every interval for a preset duration according to a habit of using a certain application by a user. For example, the tablet 100 may update the first shortcut application option menu every preset time period according to the number of times the user uses the specific application. The preset duration may be 1 day, 2 days, 7 days, or the like, which is not limited in this application.
1605, a second shortcut application options menu is displayed.
The setting of the second shortcut application option menu is similar to the setting of the first shortcut application option menu, and will not be described herein. In some embodiments, the application options included in the second shortcut application option menu may be partially identical to the application options included in the first shortcut application option menu, such as shown in fig. 11 (a) through 11 (C), with the option menu 140 having the same application as in the option menu 150 and the option menu 160. In other embodiments, the application options included in the second shortcut application options menu may be completely different from the application options included in the first shortcut application options menu. The present application is not limited in this regard.
1606, a third shortcut application options menu is displayed.
The setting of the third shortcut application option menu is similar to the setting modes of the first shortcut application option menu and the second shortcut application option menu, and will not be repeated here.
Having described the methods provided by the embodiments of the present application, the following describes some of the hardware structures and their functions involved in the foregoing embodiments.
Fig. 17 is a schematic diagram showing a hardware configuration of an exemplary stylus 200 according to an embodiment of the present application.
Stylus 200 may include a microprocessor 210, a memory 220, a hall sensor 230, a proximity light sensor 240, a power management unit 250, and a power supply 260. It will be appreciated that the results illustrated in the embodiments of the present application do not constitute a particular limitation to stylus 200.
In other embodiments of the present application, stylus 200 may include more or fewer components than shown, such as a display screen, motor, speaker, pressure sensor, etc., or may combine certain components, split certain components, or an arrangement of different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The present application is not limited in this regard.
The microprocessor 210 is configured to analyze and process data collected by the sensors of the stylus 200, such as the hall sensor 230 and the proximity sensor 240, and store the processing results in the memory 220, or send the processing results to the tablet 100 through a wireless communication module (not shown in the figure) for subsequent processing. In some embodiments of the present application, the microprocessor 210 may determine whether the stylus 200 is performing magnetic attraction charging according to the magnetic flux in the magnetic attraction coil of the stylus 200 acquired by the hall sensor 230 and the position of the stylus 200 relative to the tablet computer 100 is moved by using the method, and then send the processing result to the tablet computer 100, so that the tablet computer 100 displays corresponding prompt information or a shortcut application option menu interface according to the processing result.
Memory 220 may be used to store computer executable program code that includes instructions. The memory 220 may include a stored program area and a stored data area. The storage program area may store an operating system, an application program required for at least one function, and the like. The memory data area may store data created during use of the tablet 100, such as magnetic flux of the stylus 200 acquired by the tablet 100 or intermediate results generated when the microprocessor 210 implements the methods described in the various embodiments above. In the embodiment of the present application, the display data of the corresponding display interface in fig. 4 to 14 described above, and the magnetic flux of the stylus 200 may be stored in the memory 220.
The power management module 250 is configured to receive a charging input from a charger. The power management module 250 is used to connect to the battery 260 and the microprocessor 10. The power management module 250 receives input from the battery 260 and provides power to the microprocessor 210, memory 220, hall sensor 230, and proximity sensor 240. In some embodiments of the present application, the handwriting pen 200 may determine whether the handwriting pen 200 is being magnetically charged according to the detected charging power of the power management module 250, for example, if the charging power is 90% during full-power charging, then when the power management module 250 detects that the charging power of the handwriting pen 200 is less than 5%, it may be determined that the handwriting pen 200 is not in the magnetically charged state at this time, which is not limited in this application.
The proximity light sensor 240 may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light diode. The tablet pc 100 emits infrared light outward through the light emitting diode. Tablet 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the tablet computer 100. When insufficient reflected light is detected, the tablet computer 100 may determine that there is no object in the vicinity of the tablet computer 100. Tablet 100 may detect that a user holds stylus 200 off tablet 100 using proximity light sensor 240 to determine that stylus 200 is about to be separated from tablet 100.
The hall sensor 230 is used for detecting the magnetic flux in the magnetic attraction coil through the stylus 200. The magnitude of the magnetic flux detected by the hall sensor 230 may be expressed not only directly in terms of magnetic flux (unit: weber), but also in other indirect manners, for example, the magnitude of the magnetic flux may be indirectly expressed by the hall sensor 230 in terms of current (unit: ampere) or voltage (unit: volt), which is not limited in this application. In some embodiments of the present application, the number of hall sensors 230 may be 2 (230L and 230R), which are respectively disposed at the left and right sides of the stylus 200 as shown in fig. 6 or 7, to detect the magnetic flux magnitudes at the left and right sides of the stylus 200. In other embodiments, the hall sensors 230 may be arranged on the side of the handwriting pen 200 where the magnetic attraction charging is performed according to a certain rule or disorder. In other embodiments, hall sensors 230 may also be provided within stylus 200 in the form of an array of hall sensors. It should be understood that the number and arrangement of the hall sensors 230 are not limited in this application.
Fig. 18 shows a schematic structural diagram of a tablet computer 100 according to an embodiment of the present application.
Tablet 100 may include a processor 10, a screen 21, an internal memory 11, a sim card interface 14, a usb interface 15, a charge management module 16, a power management module 16A, a battery 16B, a motor 17, a proximity light sensor 18A, a hall sensor 18B, a speaker 19, a wireless communication module 20, and a display screen 21.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the tablet pc 100. In other embodiments of the present application, tablet 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 10 may include one or more processing units, such as: the processor 10 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
A memory may also be provided in the processor 10 for storing instructions and data. In embodiments of the present application, the processor 10 may perform the methods described in the various embodiments above.
The internal memory 11 may be used to store computer executable program code comprising instructions. The internal memory 11 may include a stored program area and a stored data area. The storage program area may store an operating system, an application program required for at least one function, and the like. The storage data area may store data created during use of the tablet 100, such as magnetic flux of the stylus 200 acquired by the tablet 100 or intermediate results produced by the processor 10 when implementing the methods described in the various embodiments above. In the embodiment of the present application, the internal memory 11 may store the display data of the display interface corresponding to the above-described fig. 4 to 12, and the magnetic flux of the stylus 200 acquired by the tablet computer 100.
The external memory interface 13 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the tablet 100. The external memory card communicates with the processor 10 by interfacing with the external memory interface 13 to implement a data storage function. For example, the magnetic flux data of the stylus 200 is stored in the external memory interface 13.
The universal serial bus (universal serial bus, USB) interface 15, the USB interface 130 is an interface conforming to the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like.
The charge management module 16 is configured to receive a charge input from a charger. The power management module 16A is used to connect the battery 16B, and the charge management module 16 and the processor 10. The power management module 16A receives input from the battery 16B and/or the charge management module 16 to power the processor 10, the internal memory 11, the display 21, the wireless communication module 20, and the like.
The display screen 21 is for displaying images, videos, and the like. In the embodiment of the present application, the tablet pc 100 displays the power prompt information, the alignment state prompt information, and the like of the handwriting pen 200 on the display screen 21. In some embodiments, tablet 100 displays the UI interfaces associated with the various embodiments described above on display screen 21.
The wireless communication module 20 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the tablet computer 100. In the embodiment of the present application, the tablet computer 100 and the stylus 200 establish a communication connection through the wireless communication module 20 for data transmission. For example, the tablet pc 100 transmits the result of determining the magnetic flux of the stylus 200 to the stylus 200, and then the stylus 200 displays a power prompt and an alignment state prompt information on the stylus 200, or the stylus 200 transmits the magnetic flux obtained by using the hall sensor 230 to the tablet pc 100 through the wireless communication module 20, so that the tablet pc 100 performs a subsequent determination of the charging state and a subsequent determination of the position of the stylus 200. It should be understood that the present application does not impose any limitation on the process of data transmission between tablet 100 and stylus 200 and the data transmitted.
Speaker 19, speaker 19 is a transducer device that converts electrical signals into acoustic signals, and in some embodiments of the present application, speaker 19 may cooperate with motor 17 and display 21 to perform the functions of power cues and alignment cues associated with stylus 200, as the present application is not limited in this regard. For example, speaker 19 voice broadcasts the current power of stylus 200 and voice broadcasts prompt the user how to move stylus 200 to enable it to align with the magnetically charged position. The present application is not limited in this regard.
The motor 17 may generate a vibration cue. The motor 17 may be used for incoming call vibration alerting. In some embodiments, as mentioned above, the motor 17 may cooperate with the speaker 19 and the display 21 to implement a power indication and an alignment indication for the stylus 200, specifically, the motor 17 may be vibrated by different vibration feedback effects corresponding to different alignment conditions, for example, the motor 17 may vibrate 3 times if the stylus 200 is aligned with the magnetically attracted position, the motor 17 may vibrate 4 times if the stylus 200 is deviated to the right from the magnetically attracted position, and the motor 17 may vibrate 2 times if the stylus 200 is deviated to the left from the magnetically attracted position. The present application is not limited in this regard.
Proximate the light sensor 18A, may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light diode. The tablet pc 100 emits infrared light outward through the light emitting diode. Tablet 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the tablet computer 100. When insufficient reflected light is detected, the tablet computer 100 may determine that there is no object in the vicinity of the tablet computer 100. Tablet 100 may detect that a user holds stylus 200 off tablet 100 using proximity light sensor 18A to determine that stylus 200 is about to be detached from tablet 100.
The embodiment of the application also provides electronic equipment, which comprises: the Hall sensor, the magnetic flux in the magnetic attraction coil in the electronic equipment is obtained by a user, at least one processor, a memory and a computer program which is stored in the memory and can be run on the at least one processor, wherein the steps in any of the method embodiments are realized when the processor executes the computer program.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that may be performed in the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer memory, read-only memory (ROM), random access memory (random access memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the description above, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (19)

1. The man-machine interaction method is characterized by being applied to a first electronic device and a second electronic device and comprising the following steps:
detecting that the first electronic device is located in a magnetic field provided by the second electronic device;
determining the relative position change of the first electronic equipment and the second electronic equipment according to the obtained change conditions of magnetic fluxes at a plurality of different positions on the first electronic equipment;
and determining corresponding display content on the first electronic device or the second electronic device according to the determined relative position change.
2. The method of claim 1, wherein the magnetic field provided by the second electronic device is usable to charge the first electronic device, and
The determining, according to the determined relative position change, corresponding display content on the first electronic device or the second electronic device includes:
and displaying a first mark representing the relative position of the first electronic device relative to the second electronic device on the first electronic device or the second electronic device in a state that the second electronic device is in charge of the first electronic device.
3. The method of claim 2, wherein the determining the corresponding display content on the first electronic device or the second electronic device based on the determined relative position change comprises:
the moving direction of the first mark is the same as the moving direction of the first electronic device relative to the second electronic device.
4. A method according to claim 2 or 3, wherein said determining the corresponding display content on the first electronic device or the second electronic device based on the determined relative position change, further comprises:
and displaying a second mark of the standard charging position of the first electronic device relative to the second electronic device on the first electronic device or the second electronic device, wherein the position of the second mark is unchanged in the process of moving the first electronic device relative to the second electronic device.
5. The method of claim 4, wherein the first mark and the second mark have the same shape and different colors.
6. The method of claim 4 or 5, wherein the direction of movement of the first flag is the same as the direction of movement of the first electronic device relative to the second electronic device, comprising:
in the case where the first electronic device moves left or right with respect to the second electronic device, the first flag moves left or right with respect to the second flag.
7. The method of any of claims 1-6, wherein the first electronic device comprises a stylus and the second electronic device comprises a tablet.
8. The method of claim 4 or 5, wherein the direction of movement of the first flag is the same as the direction of movement of the first electronic device relative to the second electronic device, comprising:
in the case of a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device:
the first mark rotates clockwise or counterclockwise relative to the second mark, or
The first mark travels clockwise or counterclockwise around a circle centered on the screen center of the first electronic device or the second electronic device.
9. The method of claim 8, wherein the first electronic device comprises a watch and the second electronic device comprises a charging device of the watch.
10. The method of claim 1, wherein the determining the corresponding display content on the first electronic device or the second electronic device based on the determined relative position change comprises:
and when the first electronic device is far away from the second electronic device and enters an uncharged state, enabling the moving direction of at least one icon displayed on the desktop to be the same as or opposite to the moving direction of the first electronic device relative to the second electronic device.
11. The method of claim 10, wherein the causing the movement of the at least one icon displayed on the desktop in the same direction as the movement of the first electronic device relative to the second electronic device comprises:
and when detecting that the first electronic device moves leftwards or rightwards relative to the second electronic device, at least one icon displayed on the desktop moves leftwards or rightwards.
12. The method of claim 11, wherein the causing the movement of the at least one icon displayed on the desktop in the same direction as the movement of the first electronic device relative to the second electronic device comprises:
in the event that either a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device is detected:
at least one icon displayed on the desktop travels clockwise or counterclockwise around a circle centered around the screen center of the first electronic device or the second electronic device.
13. The method of claim 10, wherein the causing the movement of the at least one icon displayed on the desktop in a direction opposite to the direction of movement of the first electronic device relative to the second electronic device comprises:
and when detecting that the first electronic device moves leftwards or rightwards relative to the second electronic device, at least one icon displayed on the desktop moves rightwards or leftwards.
14. The method of claim 11, wherein the causing the movement of the at least one icon displayed on the desktop in a direction opposite to the direction of movement of the first electronic device relative to the second electronic device comprises:
In the event that either a clockwise rotation or a counter-clockwise rotation of the first electronic device relative to the second electronic device is detected:
at least one icon displayed on the desktop travels around a circle centered on the screen center of the first electronic device or the second electronic device, counterclockwise or clockwise.
15. The method of claim 1, wherein the determining the corresponding display content on the first electronic device or the second electronic device based on the determined relative position change comprises:
and when the first electronic equipment is far away from the second electronic equipment and enters an uncharged state, displaying an application option menu corresponding to the relative position change, wherein the application option menu comprises icons of a plurality of applications.
16. The method of claim 1, wherein the first electronic device comprises a stylus, and wherein the plurality of different locations on the first electronic device comprise: a first end and a second end of the stylus;
and determining, from the acquired changes in magnetic flux at a plurality of different locations on the first electronic device, a change in relative position of the first electronic device and the second electronic device, including:
Determining a standard charging position of the handwriting pen aiming at the second electronic equipment under the condition that the difference between the magnetic flux of the first end and the magnetic flux of the second end is equal to a preset difference value;
determining that the first end of the stylus is closer to the standard charging position relative to the second end if the difference between the magnetic fluxes of the first end and the second end is greater than a preset difference;
and determining that the second end of the stylus is closer to the standard charging position than the first end under the condition that the difference between the magnetic flux of the first end and the magnetic flux of the second end is smaller than a preset difference value.
17. The method of claim 1, wherein the first electronic device comprises a wristwatch;
and the plurality of different locations on the first electronic device includes: the first position is in the anticlockwise direction of the second position, and the included angle between the connecting line of the first position and the circle center of the watch and the connecting line of the second position and the circle center of the watch is smaller than 180 degrees;
and determining the relative position of the first electronic device and the second electronic device through the acquired change conditions of magnetic fluxes at a plurality of different positions on the first electronic device, including:
Determining that the watch is aligned to a standard charging position of the second electronic device if a difference between the magnetic flux of the first position and the magnetic flux of the second position is equal to a preset difference;
determining that the watch moves in a clockwise direction relative to the second electronic device if a difference between the magnetic flux at the first location and the magnetic flux at the second location is greater than a preset difference;
and determining that the handwriting pen moves in a clockwise direction relative to the second electronic device under the condition that the difference between the magnetic flux of the first end and the magnetic flux of the second end is smaller than a preset difference value.
18. An electronic device, the electronic device comprising:
the Hall sensor is used for acquiring the magnetic flux passing through the magnetic attraction coil of the electronic equipment;
a memory for storing instructions for execution by one or more processors of the electronic device, an
A processor, being one of the processors of an electronic device, for performing the human-machine interaction method of any one of claims 1 to 17.
19. A computer readable medium having instructions stored therein, which when executed on an electronic device, cause the electronic device to perform the human-machine interaction method of any one of claims 1 to 17.
CN202111480808.0A 2021-12-06 2021-12-06 Man-machine interaction method, electronic equipment and medium thereof Pending CN116317187A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111480808.0A CN116317187A (en) 2021-12-06 2021-12-06 Man-machine interaction method, electronic equipment and medium thereof
PCT/CN2022/134054 WO2023103797A1 (en) 2021-12-06 2022-11-24 Human-machine interaction method, and electronic device and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111480808.0A CN116317187A (en) 2021-12-06 2021-12-06 Man-machine interaction method, electronic equipment and medium thereof

Publications (1)

Publication Number Publication Date
CN116317187A true CN116317187A (en) 2023-06-23

Family

ID=86729608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111480808.0A Pending CN116317187A (en) 2021-12-06 2021-12-06 Man-machine interaction method, electronic equipment and medium thereof

Country Status (2)

Country Link
CN (1) CN116317187A (en)
WO (1) WO2023103797A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160103471A (en) * 2015-02-24 2016-09-01 삼성전자주식회사 Electronic device and method for correcting a position of electronic device
US10086715B2 (en) * 2016-04-05 2018-10-02 Hyundai America Technical Center, Inc. EV wireless charging adjustable flux angle charger
CN105958658A (en) * 2016-05-20 2016-09-21 联想(北京)有限公司 Charging position prompt method and electronic equipment
CN106300703A (en) * 2016-09-30 2017-01-04 福建工程学院 The wireless charging method of a kind of intelligent shoe and system

Also Published As

Publication number Publication date
WO2023103797A1 (en) 2023-06-15

Similar Documents

Publication Publication Date Title
US10362438B2 (en) Portable apparatus and method of controlling location information of portable apparatus
KR101636723B1 (en) Mobile terminal and operation method thereof
US8717198B2 (en) Communication connecting apparatus and method for detecting mobile units in a vehicle
EP2400737B1 (en) A method for providing an augmented reality display on a mobile device
CN110243386B (en) Navigation information display method, device, terminal and storage medium
JP2017529636A (en) Mobile terminal and control method thereof
KR20160064853A (en) Method and Apparatus for Sharing Function Between Electronic Devices
CN110618800A (en) Interface display method, device, equipment and storage medium
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN111083516A (en) Live broadcast processing method and device
CN111031170A (en) Method, apparatus, electronic device and medium for selecting communication mode
CN113076051A (en) Slave control terminal synchronization method, device, terminal and storage medium
EP4184321A1 (en) Method for interaction between devices based on pointing operation, and electronic device
CN114201738B (en) Unlocking method and electronic equipment
US10636303B2 (en) Electronic device, method of communication, and non-transitory computer readable storage medium
CN111427629A (en) Application starting method and device, vehicle equipment and storage medium
CN116317187A (en) Man-machine interaction method, electronic equipment and medium thereof
KR102006488B1 (en) Mobile terminal
CN112612405B (en) Window display method, device, equipment and computer readable storage medium
CN112037545B (en) Information management method, information management device, computer equipment and storage medium
CN114071424A (en) Method, device, system, equipment and storage medium for finding lost connection of mobile terminal
CN115708372A (en) Vehicle position sharing method, system, device, equipment and readable storage medium
CN110991909A (en) Teaching progress reminding method and device
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN114485697A (en) Navigation information display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination