CN115484578A - Connection method and device of intelligent equipment and storage medium - Google Patents

Connection method and device of intelligent equipment and storage medium Download PDF

Info

Publication number
CN115484578A
CN115484578A CN202110677439.8A CN202110677439A CN115484578A CN 115484578 A CN115484578 A CN 115484578A CN 202110677439 A CN202110677439 A CN 202110677439A CN 115484578 A CN115484578 A CN 115484578A
Authority
CN
China
Prior art keywords
connection
terminal
intelligent
parameter
intelligent equipment
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
CN202110677439.8A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110677439.8A priority Critical patent/CN115484578A/en
Publication of CN115484578A publication Critical patent/CN115484578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a connection method, device and medium for an intelligent device, the method comprising: acquiring a connection state parameter of the terminal and the intelligent equipment; and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment. According to the method, the connection state parameters are obtained, the use states of the terminal and the intelligent device are judged, when one or more of the terminal or the intelligent device is/are in the unused state, the connection between the terminal and the intelligent device is timely disconnected, unnecessary power consumption waste is avoided, resources are saved, and user experience is optimized.

Description

Connection method and device of intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for connecting an intelligent device, and a storage medium.
Background
Along with the development of intelligent equipment, more and more intelligent equipment are applied to terminals such as cell-phones or flat board, for example, the terminal passes through the bluetooth and is connected with intelligent equipment, can use intelligent equipment and terminal cooperation, for example, pass through bluetooth and terminal connection with the stylus, can apply the stylus to the terminal. However, if the smart device is temporarily in an unused state, unless the bluetooth function is manually turned off, the smart device will always be in a bluetooth connection state with the smart terminal, which causes power consumption waste to the terminal and affects user experience.
Disclosure of Invention
In view of this, the present disclosure provides a connection method and apparatus for an intelligent device, and a storage medium.
According to a first aspect, an embodiment of the present disclosure provides a connection method for an intelligent device, which is applied to a terminal, and the connection method for the intelligent device includes:
acquiring a connection state parameter of the terminal and the intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
In some embodiments, when the terminal is connected to a smart device, the connection state parameters include a first connection state parameter and/or a second connection state parameter;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing a state parameter of the intelligent device.
In some embodiments, the first connection state parameter comprises an attitude parameter of the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent device.
In some embodiments, the first connection state parameter comprises a motion state parameter of the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the condition that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
In some embodiments, the second connection state parameter comprises a motion state parameter of the smart device;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
In some embodiments, the second connection state parameter comprises a distance parameter of the smart device from the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets the preset distance parameter, and disconnecting the intelligent equipment.
In some embodiments, when the terminal is not connected with a smart device, the connection state parameters include parameters related to a connection record of the terminal and the smart device;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and restoring the connection with the intelligent equipment in response to the fact that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition.
In some embodiments, the restoring the connection with the smart device in response to the relevant parameter of the connection record of the terminal and the smart device meeting the restoring connection condition includes:
when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
if not, the connection with the intelligent equipment is recovered.
According to a second aspect, an embodiment of the present disclosure provides a connection apparatus for a smart device, the apparatus including:
an acquisition module: the intelligent terminal is used for acquiring connection state parameters of the terminal and the intelligent equipment;
an adjusting module: and the intelligent device is used for responding that the connection state parameters meet preset conditions and adjusting the connection relation between the terminal and the intelligent device.
In some embodiments, when the terminal is connected to a smart device, the connection state parameters include a first connection state parameter and/or a second connection state parameter;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing a state parameter of the intelligent device.
In some embodiments, the first connection state parameter comprises an attitude parameter of the terminal;
the adjustment module includes:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent equipment.
In some embodiments, the first connection state parameter comprises a motion state parameter of the terminal;
the adjustment module includes:
and responding to the condition that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
In some embodiments, the second connection state parameter comprises a motion state parameter of the smart device;
the adjustment module includes:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
In some embodiments, the second connection state parameter includes a distance parameter of the smart device from the terminal;
the adjustment module includes:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets the preset distance parameter, and disconnecting the intelligent equipment.
In some embodiments, when the terminal is not connected with a smart device, the connection state parameters include parameters related to a connection record of the terminal and the smart device;
the adjustment module includes:
and restoring the connection with the intelligent equipment in response to the fact that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition.
In some embodiments, the adjustment module comprises:
when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
if not, the connection with the intelligent equipment is recovered.
According to a third aspect, there is provided a connection apparatus for a smart device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a connection state parameter of the terminal and the intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
According to a fourth aspect, the present disclosure provides a computer-readable storage medium, having stored therein instructions, which, when invoked for execution on a computer, cause the terminal to execute a method for connecting a smart device, the method including:
acquiring a connection state parameter of the terminal and the intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by acquiring the connection state parameters, the service state of the terminal and the intelligent equipment is judged, and when one or more of the terminal or the intelligent equipment is/are in an unused state, the connection between the terminal and the intelligent equipment is timely disconnected, so that unnecessary power consumption waste is avoided, resources are saved, and user experience is optimized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of connection of a smart device in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of connection of a smart device in accordance with an exemplary embodiment;
FIG. 3 illustrates a flow chart of a method of connection of a smart device illustrated in FIG. 2 in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus for connecting smart devices in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating a connection apparatus of a smart device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments in this disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the embodiments in the present disclosure, as detailed in the appended claims.
An exemplary embodiment of the present disclosure provides a connection method of an intelligent device, as shown in fig. 1, where the connection method of the intelligent device is applied to a terminal, and the connection method of the intelligent device includes:
step S101: acquiring a connection state parameter of a terminal and intelligent equipment;
step S102: and responding to the condition that the connection state parameters meet the preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
According to the connection method of the intelligent device, the connection state parameters of the terminal and the intelligent device are obtained, and the connection relation between the terminal and the intelligent device is adjusted in response to the fact that the connection state parameters obtained by the terminal meet the preset conditions. The terminal includes, but is not limited to, a mobile phone, a tablet computer, and the like. The smart device includes, but is not limited to, an electronic device such as a stylus, a bluetooth headset, etc.
The preset condition may be any condition that can describe a connection state relationship between the intelligent device and the terminal. The connection state relationship between the intelligent device and the terminal may include a condition of the connection state relationship when the terminal is connected to the intelligent device, or may include a condition of the connection state relationship when the terminal is not connected to the intelligent device. For example, when the terminal and the intelligent device are in a connection state, the terminal may disconnect from the intelligent device in response to the connection state parameter satisfying a preset condition; when the terminal and the intelligent device are in the unconnected state, the connection with the intelligent device is recovered in response to the fact that the connection state parameters meet the preset conditions, so that the terminal can be disconnected or recovered to be connected with the intelligent device according to the actual situation, and user experience is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, the connection method of the smart device includes the method illustrated in fig. 1, and:
when the terminal is connected with the intelligent equipment, the connection state parameters comprise first connection state parameters and/or second connection state parameters;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing the state parameter of the intelligent device.
In an exemplary embodiment provided by the present disclosure, when the terminal is connected to the smart device, the connection state parameter may include a first connection state parameter, where the first connection state parameter is used to describe a state parameter of the terminal, and when the first connection state parameter of the terminal meets a preset condition, the connection with the smart device is disconnected; the connection state parameters may include second connection state parameters, the second connection state parameters are used for describing state parameters of the intelligent device, and when the second connection state parameters of the intelligent device meet a preset condition, the terminal is disconnected from the intelligent device. Whether the intelligent device is disconnected or not is determined according to the state parameters of the terminal and/or the intelligent device, so that the terminal is disconnected from the intelligent device when the intelligent device is not in a use state, the power consumption of the terminal is reduced, and the use efficiency of the terminal is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, a first connection state parameter includes an attitude parameter of a terminal;
responding to the condition that the connection state parameter meets the preset condition, and adjusting the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent device.
In the connection method of the intelligent device provided by the disclosure, the first connection state parameter may include an attitude parameter of the terminal, and the connection with the intelligent device is disconnected in response to the attitude parameter of the terminal satisfying a preset parameter range.
In one example, the terminal is a mobile phone, the smart device is a touch pen, the mobile phone is connected with the touch pen through bluetooth, and the mobile phone determines that the posture parameter of the mobile phone meets the preset parameter range of the mobile phone through an acceleration sensor and/or a magnetic device of the mobile phone. For example, the gesture parameter of the mobile phone satisfies the preset parameter range of the mobile phone in the reverse buckle. And when the gesture parameter of the mobile phone meets the preset parameter range of the back-off of the mobile phone, the mobile phone is considered to be in a state of not using the touch pen, and then the situation that the intelligent device is not used is determined, and in response to the gesture parameter of the mobile phone meeting the preset parameter range of the back-off of the mobile phone, the mobile phone is closed to be connected with the Bluetooth of the touch pen.
According to the connection method of the intelligent equipment, when the gesture parameter of the terminal is detected to meet the preset condition, the connection with the intelligent equipment is disconnected. By acquiring the attitude parameters of the terminal, the service state of the intelligent device is judged, and disconnection or connection maintenance is selected, so that the terminal can be disconnected from the intelligent device in time when the intelligent device is not used, the power consumption of the terminal is saved, and the service efficiency of the terminal is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, a first connection state parameter includes a motion state parameter of a terminal;
responding to the condition that the connection state parameter meets the preset condition, and adjusting the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the condition that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
In the connection method of the intelligent device provided by the present disclosure, the first connection state parameter may include a motion parameter of the terminal, and when the motion parameter of the terminal satisfies a preset motion parameter range, the connection with the intelligent device is disconnected.
In one example, the terminal is a mobile phone, the smart device is a touch pen, the mobile phone is connected with the touch pen through bluetooth, and the mobile phone determines that the motion state parameter of the mobile phone meets the preset parameter range of the mobile phone through an acceleration sensor or other calculation units of the mobile phone. For example, the motion parameter of the mobile phone satisfies a preset motion parameter range of the mobile phone in a turning state or a high-speed motion exceeding a preset speed, and the mobile phone is considered to be in a state of not using the stylus pen, so as to determine that the stylus pen is not used. The motion parameters of the terminal comprise a preset motion parameter range of the mobile phone in turning or high-speed motion exceeding a preset speed. And if the touch pen is determined not to be used, responding to the motion state parameter of the mobile phone meeting the preset motion parameter range of the mobile phone in overturning or high-speed motion exceeding the preset speed, and closing the Bluetooth connection with the touch pen by the mobile phone.
According to the connection method of the intelligent equipment, when the terminal is connected with the intelligent equipment and the motion state parameter of the terminal is detected to meet the preset motion parameter range, the connection with the intelligent equipment is disconnected. The motion state parameters of the terminal are acquired, the use state of the intelligent device is judged, disconnection or connection keeping is selected, so that the terminal can be disconnected with the intelligent device in time when the intelligent device is not used, the power consumption of the terminal is saved, and the use efficiency of the terminal is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, the second connection state parameter includes a motion state parameter of the smart device;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
In the connection method of the smart device provided by the present disclosure, the second connection state parameter may include a motion parameter of the smart device, and when the motion parameter of the smart device satisfies a preset motion parameter range, the connection with the smart device is disconnected.
In an example, the terminal is a mobile phone, the smart device is a stylus, the mobile phone is connected with the stylus through bluetooth, and the mobile phone determines that the motion state parameter of the stylus meets the preset parameter range of the stylus through a motion related sensor. For example, the motion state parameter of the mobile phone satisfies a preset parameter range where the motion speed is within a preset range within a first preset time period, for example, the motion speed within the first preset time period is always 0, that is, the mobile phone is always in a non-motion state. When the motion state parameter of the touch pen meets the preset parameter range, the mobile phone is considered to be in the state of not using the touch pen, and the touch pen is further determined not to be used. And responding to the condition that the motion state parameter of the touch pen meets the preset parameter range, and closing the Bluetooth connection with the touch pen by the mobile phone.
In an example, the terminal is a mobile phone, the smart device is a touch pen, the mobile phone is connected with the touch pen through bluetooth, a hall sensor is arranged in the mobile phone, and a magnetic structure is arranged in the touch pen. When the stylus is placed into the charger with the magnetic attraction mode through the magnetic structure for charging, the mobile phone acquires the change state information generated due to the approach of the magnetic structure through the Hall sensor, and then determines that the stylus is in the charging state, wherein the motion state parameters comprise whether the stylus is in the charging state, namely in the static state, and the motion rate is 0. When the motion state parameters of the stylus satisfy that the stylus is in a charging state, the stylus is considered to be in an unused state, and in response to the motion state parameters of the stylus satisfying a preset motion parameter range of the stylus, the mobile phone is closed to be connected with the bluetooth of the stylus.
According to the connection method of the intelligent equipment, when the motion state parameter of the intelligent equipment is detected to meet the preset motion parameter range, the intelligent equipment is determined to be in an unused state, and the mobile phone is disconnected from the intelligent equipment. The motion state parameters of the intelligent equipment are acquired, the use state of the intelligent equipment is judged, disconnection or connection keeping is selected, so that the terminal can be disconnected with the intelligent equipment in time when the intelligent equipment is not used, the power consumption of the terminal is saved, and the use efficiency of the terminal is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, the second connection state parameter includes a distance parameter between the smart device and the terminal;
responding to the condition that the connection state parameter meets the preset condition, and adjusting the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets the preset distance parameter, and disconnecting the intelligent equipment.
In one example, the terminal is a tablet computer, the smart device is a touch pen, and the tablet computer is connected with the touch pen through bluetooth. When the distance parameter between the touch pen and the tablet computer is always greater than the preset distance parameter within the second preset time period, the touch pen is considered to be in an unused state, and the tablet computer is disconnected from the touch pen in response to the fact that the distance parameter between the touch pen and the tablet computer meets the preset distance parameter. The distance parameter between the intelligent device and the terminal comprises whether the distance parameter is always larger than a preset distance parameter within a second preset time length, if so, the touch pen is determined to be in an unused state, and the tablet personal computer is disconnected from the touch pen.
According to the connection method of the intelligent device, when the distance parameter between the intelligent device and the terminal is detected to meet the preset distance parameter, the intelligent device is considered to be in an unused state, and the terminal is disconnected from the intelligent device. The service state of the intelligent device is judged through the distance parameter between the intelligent device and the terminal, after the second preset time is longer than the preset distance, the intelligent device is confirmed to be in an unused state, and the connection with the intelligent device is disconnected, so that when the intelligent device is connected outside the preset distance parameter, the terminal still opens the connection module, and unnecessary loss is generated.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, when a terminal is not connected to the smart device, a connection state parameter includes a parameter related to a connection record of the terminal and the smart device. As shown in fig. 2, fig. 2 is a flowchart illustrating a method for adjusting a connection relationship between a terminal and a smart device in response to a connection status parameter satisfying a preset condition when the terminal is not connected to the smart device according to an exemplary embodiment of the present disclosure:
step S201: and restoring the connection with the intelligent equipment in response to the fact that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition. According to the connection method of the intelligent device, when the terminal is not connected with the intelligent device, the connection state parameters comprise the relevant parameters of the connection records of the terminal and the intelligent device, whether the connection conditions of the terminal and the intelligent device are met or not is determined by acquiring the connection state parameters, namely when the relevant parameters of the connection records of the terminal and the intelligent device meet the connection recovery conditions, the connection with the intelligent device is recovered.
In an example, the terminal is a mobile phone, the smart device is a stylus, and after the mobile phone detects that the stylus is used again, the mobile phone obtains relevant parameters of connection records between the mobile phone and the stylus. And if the acquired relevant parameters of the connection record of the mobile phone and the touch pen meet the connection recovery condition, recovering the Bluetooth connection with the touch pen.
In the connection of the intelligent equipment, when the terminal is not connected with the intelligent equipment, when the intelligent equipment is used again, the relevant parameters of the connection records of the terminal and the intelligent equipment are obtained, when the relevant parameters of the connection records meet the preset conditions, the relevant parameters responding to the connection records meet the preset conditions, the connection with the intelligent equipment is recovered, the connection between the terminal and the intelligent equipment is automatically recovered again, the tedious step that the user needs to reopen the connection is omitted, and the user experience is improved.
In a connection method of a smart device provided in an exemplary embodiment of the present disclosure, as shown in fig. 3, fig. 3 is a flowchart illustrating a method for restoring connection with a smart device in response to a parameter related to a connection record of a terminal and the smart device in step S201 in fig. 2 satisfying a connection restoring condition:
step S2011, when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
and step S2012, if not, the connection with the intelligent device is restored.
In the connection method of the intelligent device provided by the disclosure, in order to avoid misoperation during recovery of connection with the intelligent device, whether disconnection operation of connection between the terminal and the intelligent device is completed through a manual interaction interface needs to be judged at first, if so, the connection with the intelligent device needs not to be recovered if the disconnection operation is performed by a user of the terminal actively disconnecting the intelligent device, and if not, the connection with the intelligent device needs not to be recovered if the disconnection operation is performed by the terminal, and the connection with the intelligent device can be recovered if the disconnection operation is performed by the terminal automatically disconnecting the intelligent device in the non-use process of the intelligent device so as to save power consumption.
In an example, the terminal is a tablet computer, the smart device is a stylus, when a hall sensor in the tablet computer detects that the stylus is in an uncharged state, a disconnection mode of last connection between the tablet computer and the stylus is determined, if the last disconnection is completed by a human interaction interface, connection with the stylus is not selected to be reestablished, and if not, connection with the stylus is selected to be reestablished.
In the embodiment of the disclosure, after determining whether the terminal and the intelligent device are disconnected via the human interactive interface, whether the connection between the terminal and the intelligent device is recovered is selected, so that trouble caused by the fact that the terminal automatically connects the intelligent device again after a user of the terminal actively closes the intelligent device is prevented.
In the above examples, the smart device is described by taking a stylus as an example, which does not limit the present disclosure, and the state detection method provided by the present disclosure may be applied to any connection relationship between an electronic device and a terminal.
The embodiment of the present disclosure also provides a connection apparatus for an intelligent device, and referring to fig. 4, fig. 4 is a structural diagram illustrating the connection apparatus for an intelligent device according to an exemplary embodiment. As shown in fig. 4, the apparatus is applied to a terminal, and includes:
the acquisition module 11: the intelligent terminal is used for acquiring connection state parameters of the terminal and the intelligent equipment;
the adjusting module 12: and the intelligent device is used for responding that the connection state parameters meet preset conditions and adjusting the connection relation between the terminal and the intelligent device.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the device includes the device shown in fig. 4, and:
when the terminal is connected with the intelligent equipment, the connection state parameters comprise first connection state parameters and/or second connection state parameters;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing a state parameter of the intelligent device.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
the first connection state parameters comprise attitude parameters of the terminal;
the adjusting module 12 further includes:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent equipment.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
the first connection state parameter comprises a motion state parameter of the terminal;
the adjusting module 12 further includes:
and responding to the situation that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
the second connection state parameter comprises a motion state parameter of the intelligent device;
the adjusting module 12 further includes:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
the second connection state parameter comprises a distance parameter between the intelligent equipment and the terminal;
the adjusting module 12 includes:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets a preset distance parameter, and disconnecting the intelligent equipment.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
when the terminal is not connected with the intelligent equipment, the connection state parameters comprise related parameters of connection records of the terminal and the intelligent equipment;
the adjusting module 12 further includes:
and restoring the connection with the intelligent equipment in response to the fact that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition.
The embodiment of the present disclosure further provides a connection device for an intelligent device, where the connection device includes the device shown in fig. 4, and:
the adjusting module 12 includes:
when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
if not, the connection with the intelligent equipment is recovered.
Fig. 5 is a block diagram illustrating a connection apparatus 500 for a smart device in accordance with an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile and non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 506 provides power to the various components of device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a connection method of a smart device, the connection method of the smart device comprising:
acquiring a connection state parameter of the terminal and the intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of the disclosure following, in general, the principles of the embodiments of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the embodiments pertain. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosed embodiments being indicated by the following claims.
It is to be understood that the embodiments of the present disclosure are not limited to the precise arrangements described above and shown in the drawings, and that various combinations, substitutions, modifications, and changes of the method steps or apparatus components disclosed in the present disclosure may be made without departing from the scope thereof, and are intended to be included within the scope of the present disclosure. The scope of the disclosure as claimed is limited by the claims appended hereto.

Claims (18)

1. A connection method of intelligent equipment is applied to a terminal and is characterized in that,
acquiring a connection state parameter of the terminal and the intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
2. The connection method of the intelligent device according to claim 1, wherein when the terminal is connected to the intelligent device, the connection state parameters comprise a first connection state parameter and/or a second connection state parameter;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing a state parameter of the intelligent device.
3. The connection method of the smart device according to claim 2, wherein the first connection state parameter includes a posture parameter of the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent device.
4. The connection method of the smart device according to claim 2, wherein the first connection state parameter includes a motion state parameter of the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
5. The connection method of the smart device according to claim 2, wherein the second connection state parameter includes a motion state parameter of the smart device;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
6. The connection method of the intelligent device according to claim 2, wherein the second connection state parameter comprises a distance parameter of the intelligent device from the terminal;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets the preset distance parameter, and disconnecting the intelligent equipment.
7. The connection method of the smart device according to claim 2,
when the terminal is not connected with the intelligent equipment, the connection state parameters comprise related parameters of connection records of the terminal and the intelligent equipment;
the responding to the condition that the connection state parameter meets the preset condition, and the adjusting of the connection relation between the terminal and the intelligent device comprises the following steps:
and restoring the connection with the intelligent equipment in response to the fact that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition.
8. The connection method of the intelligent device according to claim 7, wherein the responding that the relevant parameters of the connection record of the terminal and the intelligent device meet the connection recovery condition comprises the following steps:
when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
if not, the connection with the intelligent equipment is recovered.
9. A connecting device of intelligent equipment is applied to a terminal and is characterized in that,
an acquisition module: the intelligent terminal is used for acquiring connection state parameters of the terminal and the intelligent equipment;
an adjusting module: and the intelligent device is used for responding that the connection state parameters meet preset conditions and adjusting the connection relation between the terminal and the intelligent device.
10. The connection apparatus of smart device according to claim 9,
when the terminal is connected with the intelligent equipment, the connection state parameters comprise first connection state parameters and/or second connection state parameters;
the first connection state parameter is used for describing a state parameter of the terminal;
the second connection state parameter is used for describing a state parameter of the intelligent device.
11. The connection apparatus of the smart device according to claim 10, wherein the first connection state parameter includes a posture parameter of the terminal;
the adjustment module includes:
and responding to the situation that the attitude parameter of the terminal meets the preset parameter range, and disconnecting the intelligent equipment.
12. The connection apparatus of the smart device according to claim 10, wherein the first connection state parameter comprises a motion state parameter of the terminal;
the adjustment module includes:
and responding to the condition that the motion state parameters of the terminal meet the preset motion parameter range, and disconnecting the intelligent device.
13. The connection apparatus of the smart device according to claim 10, wherein the second connection state parameter comprises a motion state parameter of the smart device;
the adjustment module includes:
and responding to the situation that the motion state parameter of the intelligent equipment meets the preset motion parameter range, and disconnecting the intelligent equipment.
14. The connection apparatus of smart device according to claim 10, wherein the second connection status parameter comprises a distance parameter between the smart device and the terminal;
the adjustment module includes:
and responding to the situation that the distance parameter between the intelligent equipment and the terminal meets the preset distance parameter, and disconnecting the intelligent equipment.
15. The connection device of the intelligent device according to claim 9, wherein when the terminal is not connected to the intelligent device, the connection state parameter comprises a parameter related to a connection record of the terminal and the intelligent device;
the adjustment module includes:
and restoring the connection with the intelligent equipment in response to the condition that the relevant parameters of the connection records of the terminal and the intelligent equipment meet the connection restoring condition.
16. The connection device of smart device of claim 15, wherein the adjustment module comprises:
when relevant parameters of connection records of the terminal and the intelligent equipment meet connection recovery conditions, determining whether the terminal and the intelligent equipment complete disconnection operation through a manual interaction interface;
if not, the connection with the intelligent equipment is recovered.
17. A connecting device of intelligent equipment is characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring connection state parameters of a terminal and intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
18. A non-transitory computer-readable storage medium having stored therein instructions, which when invoked for execution on a computer, cause the terminal to execute a connection method for a smart device, the connection method comprising:
acquiring a connection state parameter of a terminal and intelligent equipment;
and responding to the condition that the connection state parameters meet preset conditions, and adjusting the connection relation between the terminal and the intelligent equipment.
CN202110677439.8A 2021-06-16 2021-06-16 Connection method and device of intelligent equipment and storage medium Pending CN115484578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110677439.8A CN115484578A (en) 2021-06-16 2021-06-16 Connection method and device of intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110677439.8A CN115484578A (en) 2021-06-16 2021-06-16 Connection method and device of intelligent equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115484578A true CN115484578A (en) 2022-12-16

Family

ID=84419622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110677439.8A Pending CN115484578A (en) 2021-06-16 2021-06-16 Connection method and device of intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115484578A (en)

Similar Documents

Publication Publication Date Title
CN106797416B (en) Screen control method and device
CN106572299B (en) Camera opening method and device
EP3188066A1 (en) A method and an apparatus for managing an application
CN108365657B (en) Charging current control method, device and storage medium
EP3133874A1 (en) Method and apparatus for starting energy saving mode
CN107040591B (en) Method and device for controlling client
CN108200279B (en) Backlight adjusting method, device and equipment
EP3249505A1 (en) Method and device for controlling state of touch screen, electronic device
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
CN105653165A (en) Method and device for regulating character display
CN110875769A (en) Wireless communication device and antenna switching method
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN105227426B (en) Application interface switching method and device and terminal equipment
CN107371222B (en) Virtual card disabling method and device
CN107733021B (en) Control method and device of electronic equipment
CN109922203B (en) Terminal, screen off method and device
CN106603882A (en) Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal
CN113361305A (en) Fingerprint acquisition method, electronic device and computer-readable storage medium
CN112752328A (en) Network control method, device and storage medium
CN107026941B (en) Method and device for processing reply of unread message
CN112423092A (en) Video recording method and video recording device
CN107861605B (en) Data processing method and device
CN109450032B (en) Wireless charging processing method, device and equipment
CN108551459B (en) Method and device for communication between devices and readable storage medium
CN115484578A (en) Connection method and device of intelligent 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