CN116414240A - Device interconnection control method and system, touch pen, first device and second device - Google Patents

Device interconnection control method and system, touch pen, first device and second device Download PDF

Info

Publication number
CN116414240A
CN116414240A CN202111667147.2A CN202111667147A CN116414240A CN 116414240 A CN116414240 A CN 116414240A CN 202111667147 A CN202111667147 A CN 202111667147A CN 116414240 A CN116414240 A CN 116414240A
Authority
CN
China
Prior art keywords
stylus
touch pen
communication connection
response
establish
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
CN202111667147.2A
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 CN202111667147.2A priority Critical patent/CN116414240A/en
Publication of CN116414240A publication Critical patent/CN116414240A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The disclosure relates to a device interconnection control method and system, a touch pen, a first device and a second device. The method comprises the following steps: in response to detecting that the stylus is directed towards a first device and a second device, respectively, determining a data transmission channel between the first device and the second device; and controlling the first equipment to send the data to be shared to the second equipment through the data transmission channel. According to the embodiment, the touch pen points to the first device and the second device respectively, a data transmission channel between the first device and the second device can be established, the data sharing effect is achieved through the data transmission channel, a user does not need to share files by using a USB flash disk or a mailbox or instant messaging software, the operation is simple and easy to achieve, and the safety of the data is guaranteed.

Description

Device interconnection control method and system, touch pen, first device and second device
Technical Field
The disclosure relates to the technical field of control, and in particular relates to a device interconnection control method and system, a touch pen, a first device and a second device.
Background
Currently, with the popularization of mobile devices (such as smart phones, tablet computers or personal computers), application scenes thereof are becoming wider and wider. For example, at an office meeting, participants typically carry mobile device participants. In the meeting process, part of members often have the situation of sharing content, and the members are required to send files to other members by using a USB flash disk or a mailbox or instant messaging software, so that the operation is complex.
Disclosure of Invention
The disclosure provides a device interconnection control method and system, a touch pen, a first device and a second device, so as to solve the defects of the related technology.
According to a first aspect of embodiments of the present disclosure, there is provided a device interconnection control method, applied to a stylus, the method including:
in response to detecting that the stylus is directed towards a first device and a second device, respectively, determining a data transmission channel between the first device and the second device;
and controlling the first equipment to send the data to be shared to the second equipment through the data transmission channel.
Optionally, in response to detecting that the stylus is directed to a first device and a second device, respectively, determining a data transmission channel between the first device and the second device includes:
in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device;
in response to detecting that the stylus is directed towards the second device, determining to establish a second communication connection with the second device;
forwarding data of the first device and the second device based on the first communication connection and the second communication connection.
Optionally, controlling the first device to send the data to be shared to the second device through the data transmission channel includes:
sending a control instruction to the first device through the first communication connection so that the first device generates a popup window in a display area and sends data to be shared in the popup window to the touch pen;
obtaining data to be shared sent by the first equipment and caching the data to be shared to a local area;
and sending the data cached locally to the second device through the second communication connection.
Optionally, controlling the first device to send the data to be shared to the second device through the data transmission channel includes:
sending a control instruction to the first device through the first communication connection so that the first device generates a popup window in a display area and sends data to be shared in the popup window to the touch pen;
and responding to the acquired data to be shared sent by the first equipment, and forwarding the data to be shared to the second equipment through the second communication connection.
Optionally, in response to detecting that the stylus is directed to a first device and a second device, respectively, determining a data transmission channel between the first device and the second device includes:
In response to detecting that the stylus is directed to the first device, determining to establish a first communication connection with the first device and acquiring configuration information of the first device;
in response to detecting that the stylus is directed towards the second device, determining to establish a second communication connection with the second device;
and the second device establishes communication connection with the first device through the configuration information of the first device, and the communication connection is a data transmission channel between the first device and the second device.
Optionally, controlling the first device to send the data to be shared to the second device through the data transmission channel includes:
a control instruction is sent to the first device, so that the first device generates a popup window in a display area, the data to be shared in the popup window is sent to the second device, and after the data to be shared in the popup window is sent successfully, sharing success information is sent to the touch pen;
and acquiring the sharing success information to determine that the first device successfully shares the data to be shared with the second device.
Optionally, in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device includes:
Acquiring positioning signals transmitted by positioning modules on all devices in a preset space range;
determining the space relative position of the touch pen and each device according to the positioning signals; the spatial relative position includes the stylus being directed toward a first device;
in response to detecting that the stylus is directed to the first device, sending a broadcast signal to the first device, wherein the broadcast signal comprises configuration information of the stylus, so that the first device performs security verification according to the configuration information and establishes communication connection with the stylus after the security verification is passed, and sending a response signal for establishing communication connection to the stylus;
in response to acquiring the response signal, it is determined to establish a first communication connection with the first device.
Optionally, in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device includes:
responding to the detection that a designated key representing shared content on a touch pen is triggered, radiating a positioning request signal to a space, so that each device determines the space relative position of the touch pen according to the positioning request signal, acquires the space posture of the touch pen contained in the positioning request signal, determines the orientation between the touch pen and the touch pen according to the space relative position and the space posture, and sends a connection establishment request to the touch pen when the orientation is within a preset range; the connection establishment request comprises configuration information of the first equipment;
In response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
Optionally, in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device includes:
responding to the detection that a designated key representing shared content on a touch pen is triggered, radiating a positioning request signal to a space, enabling each device to start a camera module according to the positioning request signal, identifying the orientation of the touch pen according to images in a field of view acquired by the camera module, determining whether the orientation is positioned in a display range of each device, and sending a connection establishment request to the touch pen when the orientation of the touch pen is positioned in the display range; the connection establishment request comprises configuration information of the first equipment;
in response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
Optionally, in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device includes:
Transmitting a laser signal in response to the detection that a designated key representing shared content on a touch pen is triggered, so that a first device receiving the laser signal transmits a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
in response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
Optionally, in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device includes:
transmitting a Bluetooth signal to a specific space range in response to the detection of the triggering of a designated key representing shared content on a touch pen, so that equipment in the specific space range generates a popup window, and transmitting a connection establishment request to the touch pen after the triggering of the key in the popup window; the connection establishment request comprises configuration information of the first equipment;
in response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
According to a second aspect of the embodiments of the present disclosure, there is provided a device interconnection control method, applied to a first device, the method including:
in response to detecting that the stylus is facing the first device, determining to establish a first communication connection with the stylus;
acquiring a control instruction sent by the touch pen; the control instruction comprises a sharing instruction for representing the shared content;
and responding to the detection of the sharing instruction, and sending the data to be shared to the touch pen or the second device.
Optionally, acquiring a control instruction sent by the stylus includes:
acquiring a movement track of the touch pen within a preset time period;
and acquiring a control instruction corresponding to the movement track based on a corresponding relation between the preset movement track and the control instruction.
Optionally, acquiring a control instruction sent by the stylus includes:
generating a control menu in the display area; the control menu at least comprises a content sharing key;
and responding to the detection that the sharing key is triggered, and determining a control instruction sent by the touch control pen.
Optionally, before sending the data to be shared to the stylus or the second device, the method further includes:
Generating a popup window in the display area;
and determining the content in the popup window as data to be shared.
Optionally, before sending the data to be shared to the stylus or the second device, the method further includes:
and acquiring the touch position of the touch pen on the first device and taking the content corresponding to the touch position as data to be shared.
Optionally, determining to establish a first communication connection with the stylus includes:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
performing security verification according to the configuration information and establishing a first communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a first communication connection with the first device in response to the response signal.
Optionally, determining to establish a first communication connection with the stylus includes:
responding to the obtained radiation positioning request signal sent by the touch pen, determining the space relative position of the touch pen according to the positioning request signal, and obtaining the space gesture of the touch pen contained in the positioning request signal;
Determining the orientation between the stylus and the stylus according to the spatial relative position and the spatial gesture;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
Optionally, determining to establish a first communication connection with the stylus includes:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the first equipment;
identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
And in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
Optionally, determining to establish a first communication connection with the stylus includes:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
Optionally, determining to establish a first communication connection with the stylus includes:
generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
According to a third aspect of embodiments of the present disclosure, there is provided an apparatus interconnection control method applied to a second apparatus, the method including:
In response to detecting that the stylus is facing the second device, determining to establish a second communication connection with the stylus;
and acquiring data to be shared sent by the touch pen or the first equipment through the second communication connection.
Optionally, determining to establish a second communication connection with the stylus includes:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
performing security verification according to the configuration information and establishing second communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a second communication connection with the second device in response to the response signal.
Optionally, determining to establish a second communication connection with the stylus includes:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the second equipment;
identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the second device and determines to establish second communication connection with the second device after the security verification is passed; the connection establishment request comprises configuration information of the second equipment;
And in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
Optionally, determining to establish a second communication connection with the stylus includes:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
Optionally, determining to establish a second communication connection with the stylus includes:
generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
According to a fourth aspect of embodiments of the present disclosure, there is provided an apparatus interconnection control device, applied to a stylus, the device including:
A channel determining module, configured to determine a data transmission channel between a first device and a second device in response to detecting that the stylus is directed to the first device and the second device, respectively;
and the data transmission module is used for controlling the first equipment to transmit the data to be shared to the second equipment through the data transmission channel.
According to a fifth aspect of embodiments of the present disclosure, there is provided an apparatus interconnection control device applied to a first apparatus, the device including:
a first connection determination module for determining to establish a first communication connection with a stylus in response to detecting that the stylus is oriented towards the first device;
the control instruction acquisition module is used for acquiring a control instruction sent by the touch pen; the control instruction comprises a sharing instruction for representing the shared content;
and the sharing data sending module is used for responding to the detection of the sharing instruction and sending the data to be shared to the touch pen or the second equipment.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus interconnection control device applied to a second apparatus, the device including:
a second connection determination module for determining to establish a second communication connection with the stylus in response to detecting that the stylus is facing the second device;
And the shared data sending module is used for obtaining the data to be shared sent by the touch pen or the first equipment through the second communication connection.
According to a seventh aspect of embodiments of the present disclosure, there is provided a stylus comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method as described above.
According to an eighth aspect of embodiments of the present disclosure, there is provided a first device comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method as described above.
According to a ninth aspect of embodiments of the present disclosure, there is provided a second device comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method as described above.
According to a tenth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor, is capable of carrying out the method as described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
as can be seen from the foregoing embodiments, in the solution provided by the embodiments of the present disclosure, a stylus may determine a data transmission channel between a first device and a second device in response to detecting that the stylus is directed to the first device and the second device, respectively; and then, the first device is controlled to send the data to be shared to the second device through the data transmission channel. In this way, in this embodiment, the stylus is respectively pointed to the first device and the second device, so that a data transmission channel between the first device and the second device can be established, and an effect of sharing data is achieved through the data transmission channel, so that a user does not need to share files by using a USB flash disk or a mailbox or instant messaging software, the operation is simple and easy to implement, and the security of the data is ensured.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a determination of forwarding data according to an example embodiment.
Fig. 3 is a flow chart illustrating one method of establishing a first communication connection according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating another method of establishing a first communication connection in accordance with an exemplary embodiment.
Fig. 5 is a flow chart illustrating yet another method of establishing a first communication connection in accordance with an exemplary embodiment.
Fig. 6 is a flow chart illustrating yet another method of establishing a first communication connection in accordance with an exemplary embodiment.
Fig. 7 is a flow chart illustrating yet another method of establishing a first communication connection according to an exemplary embodiment.
Fig. 8 is a flow chart illustrating the establishment of a data transmission channel according to an exemplary embodiment.
Fig. 9 (a) is a schematic diagram showing the effect of a display pop-up window according to an exemplary embodiment.
Fig. 9 (b) is a schematic diagram showing an effect of dragging data to be shared to a popup window according to an exemplary embodiment.
Fig. 10 (a) is an effect diagram showing a display control menu according to an exemplary embodiment.
Fig. 10 (b) is a schematic diagram showing an effect of triggering a screen-cast display key according to an exemplary embodiment.
Fig. 10 (c) is a schematic diagram showing an effect of triggering the content sharing key according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment.
Fig. 12 is a flowchart illustrating a fetch control instruction according to an example embodiment.
Fig. 13 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating a device interconnection control apparatus according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating a device interconnection control apparatus according to an exemplary embodiment.
Fig. 16 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described by way of example below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus consistent with some aspects of the disclosure as detailed in the accompanying claims. The features of the following examples and embodiments may be combined with each other without any conflict.
To solve the above technical problem, an embodiment of the present disclosure provides a device interconnection control method, which may be applied to a stylus, where the stylus may be a part of a first device. The first device may include, but is not limited to, a tablet, a smart phone, a personal computer, a smart television, a desktop computer, a large screen, a projector, and the like. In this way, the stylus can touch the touch display screen of the stylus according to the operation of the user, so as to perform touch control on the first device, such as writing, drawing, controlling and other operations. Of course, the above-mentioned stylus may also be set separately, and the technician may set the existence form of the stylus according to the specific scene, which is not limited herein.
It should be further noted that the second devices appearing later may include, but are not limited to, tablet computers, smart phones, personal computers, smart televisions, desktop computers, large screens, projectors, and the like. It is understood that, a person skilled in the art may select a suitable first device and a second device according to a specific scenario, for example, the first device may be a tablet computer, and the second device may be a personal computer, and the corresponding solutions fall within the protection scope of the present disclosure.
It can be appreciated that in practical applications, the roles of the second device and the first device may be interchanged, i.e. the second device may also share data with the first device. For convenience of description, the following embodiments describe the schemes of the embodiments by sharing data between the first device and the second device, but do not constitute limitations of the disclosure.
It is understood that the stylus may further include a communication module, where the communication module may include at least one of the following: wiFi module, bluetooth module, infrared module, UWB module etc. the skilled person can select suitable communication module to match with the communication module in first equipment or the second equipment according to specific scene, and corresponding scheme falls into the protection scope of this disclosure under the circumstances that can communicate with subsequent stylus and first equipment and stylus and second equipment.
Fig. 1 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment, referring to fig. 1, a device interconnection control method includes steps 11 to 12.
In step 11, in response to detecting that the stylus is directed towards a first device and a second device, respectively, a data transmission channel between the first device and the second device is determined.
In this embodiment, in some scenarios, users may have a need to share data, for example, in a two-person or multi-person meeting, one of the users may have a need to share lecture content (such as word, PPT file) to one or more of the meeting participants. At this time, the user can hold the stylus and point to the first device and the second device respectively, so that data transmission can be realized. Accordingly, the stylus may detect whether the stylus is directed towards the first device and the second device, respectively, and in response to detecting that the stylus is directed towards the first device and the second device, respectively, determine a data transmission channel between the first device and the second device, comprising:
in some examples, referring to fig. 2, in step 21, in response to detecting that the stylus is facing the first device, the stylus may determine to establish a first communication connection with the first device.
In an example, referring to fig. 3, in step 31, the stylus may acquire positioning signals transmitted by the positioning modules on the devices in the preset spatial range. Taking the first device as an example, the first device may be provided with a positioning module, where the positioning module may include, but is not limited to, a WiFi module, a bluetooth module, an infrared module, a UWB module, and the like, which may emit a positioning signal. The positioning module can be realized by adopting a UWB module.
Taking an example that the positioning module of the first device includes a plurality of UWB modules, the UWB module on the stylus may collect UWB positioning signals sent by the plurality of UWB modules on the first device. In practical application, the plurality of UWB modules on the first device can synchronously send UWB positioning signals, so that the influence of time-sharing UWB positioning signals on the touch pen is reduced, and the influence of offset of the first device on a calculation result is reduced.
In step 32, the stylus may determine a spatial relative position of the stylus and each device according to the positioning signal; the spatial relative position includes the stylus being oriented toward the first device. For example, the stylus may determine a distance between the UWB module of the stylus and either UWB module of the first device based on the received UWB positioning signal. Because the first device comprises a plurality of UWB modules, and the distance between the UWB module of the touch pen and the UWB module of the first device is known, the space relative position of the UWB module of the touch pen, namely the space relative position of the touch pen and the first device, can be determined. The spatial relative position may include the stylus being oriented toward the first device.
In practical application, the positioning module of the touch pen can include two UWB modules, after determining the spatial relative position of each UWB module and the first device, the orientation of the touch pen can be determined more accurately by combining the spatial relative positions of the two UWB modules, and whether the extension line of the orientation of the touch pen is located in the display area of the first device, that is, whether the touch pen is oriented to the first device is determined.
In practical application, the stylus may include a spatial gesture sensor, after determining a spatial relative position of the stylus and the first device, the orientation of the stylus may be determined by combining spatial gesture data provided by the spatial gesture sensor, and whether an extension line of the orientation is located in a display area of the first device by combining the orientation determination, that is, whether the stylus is oriented to the first device.
It should be noted that, a technician may select a suitable direction for determining the direction of the stylus according to a specific scenario, and the corresponding scheme falls within the protection scope of the present disclosure.
In response to detecting that the stylus is facing the first device, the stylus may send a broadcast signal to the first device, the broadcast signal including configuration information of the stylus, to cause the first device to perform security verification according to the configuration information and establish a communication connection with the stylus after the security verification is passed, and to send a response signal to the stylus to establish the communication connection, in step 33. The security verification process may include: the first device stylus may compare the received configuration information with locally stored configuration information and determine that the security verification is passed when the two configuration information match (e.g., are identical or both meet a preset specification).
In response to acquiring the response signal, the stylus may determine that a first communication connection is established with the first device in step 34. The first communication connection may include at least one of: wiFi communication connection, bluetooth communication connection, infrared communication connection, UWB communication connection, etc. In an example, the first communication connection may be a bluetooth communication connection.
In this way, in the embodiment shown in fig. 3, the orientation of the stylus can be determined by the positioning signal emitted by the positioning module, the first communication connection can be established without the need of touch operation of the user, and the operation is simple and easy to implement.
In an example, a key may be disposed on the stylus, for example, a key for indicating sharing content, a key for indicating moving a cursor position in the first device up, down, left, and right, a key for indicating turning on/off a power supply of the stylus, a key for indicating a screen display, and the like, which may be disposed according to a specific scenario, and is not limited herein. Referring to fig. 4, in response to detecting that a designated key on the stylus representing shared content is triggered, the stylus may radiate a location request signal to the space, the location request signal including a spatial pose of the stylus acquired by a spatial pose sensor (e.g., gyroscope, acceleration sensor, gravity sensor, etc.) of the stylus, in step 41. The devices around the stylus, taking the first device as an example, may determine the spatial relative position of the stylus according to the positioning request signal, and may refer to the scheme of obtaining the spatial relative position in the embodiment shown in fig. 3, which is not described herein again. Then, the first device may acquire a spatial gesture of the stylus included in the positioning request signal, determine an orientation between the stylus and itself according to the spatial relative position and the spatial gesture, and send a connection establishment request to the stylus when the orientation is within a preset range; the connection establishment request includes configuration information of the first device.
In step 42, in response to obtaining the configuration information of the first device, the stylus may perform security verification on the configuration information, which may be referred to as a security verification scheme in the embodiment shown in fig. 3, and will not be described herein. In step 43, in response to passing the security verification, the stylus may determine to establish a first communication connection with the first device.
In this way, in the embodiment shown in fig. 4, the user may manually trigger the button indicating the shared content and establish the first communication connection when the stylus points to the first device, so that the device to be shared data is conveniently and quickly located, and the operation is simple and easy to implement.
In one example, referring to fig. 5, in response to detecting that a designated key on the stylus representing shared content is triggered, the stylus may radiate a location request signal to the space in step 51. In practical applications, the positioning request signal includes configuration information of the stylus. The device around the stylus takes the first device as an example, the first device performs security verification on the configuration information after receiving the positioning request signal, and starts the camera module after the security verification is passed. The first device may control the camera module to collect an image within a field of view according to a set period, identify an orientation of the stylus according to the image to determine whether the orientation of the stylus is within a display range of each device, and send a connection establishment request to the stylus when the orientation of the stylus is within the display range of the first device. The connection establishment request comprises configuration information of the first equipment;
In step 52, in response to obtaining the configuration information of the first device, the stylus may perform security verification on the configuration information of the first device, which may be referred to as a security verification scheme in the embodiment shown in fig. 3, which is not described herein. In step 53, in response to passing the security verification, the stylus may determine to establish a first communication connection with the first device.
In step 51 to step 53, the first device may also directly establish the first communication connection with the stylus through the configuration information, and feedback the response information of the successfully established connection to the stylus after the successfully established communication connection, so that the effect of establishing the first communication connection between the stylus and the first device may be achieved, and the corresponding scheme also falls within the protection scope of the disclosure.
In this way, in the embodiment shown in fig. 5, the user may manually trigger the button representing the shared content and establish the first communication connection when the stylus points to the first device, so that the device to be shared data is conveniently and quickly located, and the operation is simple and easy to implement.
In one example, the stylus is provided with a laser module and a key (e.g., a key representing sharing content) for triggering the laser module. Referring to fig. 6, in response to detecting that a designated key on the stylus representing shared content is triggered, the stylus may emit a laser signal in step 61. Since the laser signal propagates along a straight line, only the first device among the devices around the stylus can receive the laser signal. The display screen of the first device may be provided with a light sensing device, and a connection establishment request may be sent when the above-mentioned laser signal is detected, wherein the connection establishment request includes configuration information of the first device. It will be appreciated that since only one device receives the laser signal, only one device will send a connection establishment request at this time. In step 62, in response to obtaining the configuration information of the first device, the stylus may perform security verification on the configuration information of the first device, which may be referred to as a security verification scheme in the embodiment shown in fig. 3, which is not described herein. In step 63, in response to passing the security verification, the stylus may determine to establish a first communication connection with the first device.
In this way, in the embodiment shown in fig. 6, the user may manually trigger the key for representing the shared content and direct the key to the first device by using the laser signal, so that the first communication connection with the first device may be quickly established, that is, the device to which the data is to be shared may be quickly located, and the operation is simple and easy to implement.
In an example, referring to fig. 7, in response to detecting that a designated key on the stylus representing sharing content is triggered, the stylus may send a bluetooth signal to a particular spatial range in step 71. The specific spatial range mentioned above can be adjusted, for example a sphere range with a radius of 10-100 cm. Taking the example of a radius of 20 cm for a particular spatial range, which typically covers one device, the first device; alternatively, by adjusting the configuration information of the bluetooth module in the stylus (e.g. reducing the transmission power), the first device is only allowed to receive the bluetooth signal when transmitting the bluetooth signal and to return to the normal transmission power after the first communication connection is subsequently established. The first device can generate a popup window after receiving the Bluetooth signal, and send a connection establishment request to the touch pen after responding to the triggering of a key in the popup window; the connection establishment request includes configuration information of the first device. In step 72, in response to obtaining the configuration information of the first device, the stylus may perform security verification on the configuration information, which may be referred to as a security verification scheme in the embodiment shown in fig. 3, and will not be described herein. In step 73, in response to passing the security verification, the stylus may determine to establish a first communication connection with the first device.
It should be noted that in step 71 to step 73, when the pop-up window is displayed in the first device, the first communication connection may be directly established with the stylus in response to the key in the pop-up window indicating that the key agrees to share data being triggered, so that the effect of establishing the first communication connection between the stylus and the first device may be achieved, and the corresponding scheme also falls within the protection scope of the disclosure.
In this way, in the embodiment shown in fig. 7, by limiting the bluetooth signal to radiate in a specific spatial range, only the first device can receive the bluetooth signal, so that the device to be shared with data can be quickly located, and the operation is simple and easy to implement.
In step 22, in response to detecting that the stylus is directed towards the second device, the stylus may determine to establish a second communication connection with the second device. It can be appreciated that, the manner in which the stylus establishes the second communication connection with the second device may refer to the scheme for establishing the first communication connection with the first device, which is not described herein.
In step 23, the stylus may determine to forward data of the first device and the second device based on the first communication connection and the second communication connection.
The embodiment shown in fig. 2 describes a scheme that the stylus forwards data to be shared, and in other examples, the stylus may also establish a direct connection data transmission channel according to the first device and the second device. Referring to fig. 8, in response to detecting that the stylus is directed toward the first device, the stylus may determine to establish a first communication connection with the first device and obtain configuration information for the first device in step 81. The solution for establishing the first communication connection may refer to the content of step 21, which is not described herein.
In step 82, in response to detecting that the stylus is directed towards the second device, the stylus may determine to establish a second communication connection with the second device; the scheme for establishing the second communication connection may refer to the content of step 22, which is not described herein.
In step 83, the stylus may send the second communication connection to the second device, so that the second device may establish a communication connection with the first device through the configuration information of the first device, where a scheme for establishing the communication connection may refer to the content of step 21, which is not described herein. And the stylus may determine that the communication connection is a data transfer channel between the first device and the second device.
In step 12, the first device is controlled to send the data to be shared to the second device through the data transmission channel.
In an example, the stylus may control the first device to send the data to be shared after establishing the first communication connection with the first device. The stylus may send control instructions to the first device. Considering that the stylus has established a first communication connection with the first device, the first communication connection is preferred in this example to send the control instruction. The control command may be a level signal (e.g. PWM wave signal), a preset encoding signal (e.g. C100), etc., and may be set according to a specific scenario without limitation.
In practical applications, the stylus may not send the control instruction through the first communication connection, and in this scenario, after determining that the first communication connection is established, the user may be reminded to enable the user to continue to operate, for example, pressing a designated key of the stylus. The control instruction in the form of an electrical signal, an optical signal or a magnetic signal and the like can be sent out after the designated key of the touch pen is pressed, and the control instruction can be detected by the first device, for example, a touch display screen of the first device can detect the optical signal and determine the meaning represented by the optical signal. After detecting the control command, the first device may generate a popup window in the display area as shown in fig. 9 (a) and 9 (b).
Referring to fig. 9 (a) and fig. 9 (b), when a pop-up window appears in a display area of the first device, data to be shared (such as a picture, text, video, etc.) may be selected, and a user may drag the data to be shared into the pop-up window through a control component (such as a keyboard or a mouse) or a stylus carried by the first device. For the first device, when the first device and the second device do not establish a direct connection data transmission channel, the first device may send the data to be shared to the stylus through the first communication connection when detecting that the data to be shared exists in the popup window. The stylus may forward data to be shared from the first device to the second device. For example, when the second communication connection is not established, the stylus may cache the data to be shared in the local memory, and forward the data to the second device through the second communication connection after the second communication connection is established. For another example, after the second communication connection has been established, the data to be shared may be forwarded to the second device through the second communication connection.
In this way, the touch pen in the example is used as a device trusted by both the first device and the second device, and can forward the data to be shared, so that the effect of sharing the data can be achieved without sharing the file by a user through a USB flash disk or a mailbox or instant messaging software, the operation is simple and easy to realize, and the safety of the data is ensured.
In another example, the stylus may control the first device to send the data to be shared after establishing the first communication connection with the first device. For example, the stylus may send control instructions to the first device. It should be noted that, the control instruction may be sent through the first communication connection, or may be sent after being pressed in response to a designated key of the stylus.
After detecting the control command, the first device may generate a control menu as shown in fig. 10 (a) in the display area, where the control menu may include at least one of: the screen projection display key and the content sharing key. For the user, after the control menu appears in the display area, the key can be selected by a control component (such as a keyboard or a mouse) or a touch pen carried by the first device.
Referring to fig. 10 (b), after the control instruction is detected, the first device may send display interface data of the first device to the stylus in response to the touch screen display key being triggered, where the display interface data may be read from a local memory of the first device. Or, referring to fig. 10 (c), after the control instruction is detected, the content to be shared may be acquired and sent to the stylus in response to the content sharing key being triggered. The method for obtaining the content to be shared may refer to a popup method shown in fig. 10 (a) and fig. 10 (b), which is not described herein again.
The stylus may forward data to be shared from the first device to the second device. For example, when the second communication connection is not established, the stylus may cache the data to be shared in the local memory, and forward the data to the second device through the second communication connection after the second communication connection is established. For another example, after the second communication connection has been established, the data to be shared may be forwarded to the second device through the second communication connection. Of course, when the stylus determines that the data transmission channel is a direct-connection transmission channel,
in this way, the touch pen in the example is used as a device trusted by both the first device and the second device, and can forward the data to be shared, so that the effect of sharing the data can be achieved without sharing the file by a user through a USB flash disk or a mailbox or instant messaging software, the operation is simple and easy to realize, and the safety of the data is ensured.
In yet another example, after the stylus establishes a data transmission channel directly connected between the first device and the second device, a control instruction may be sent to the first device, so that the first device sends display interface data or data to be shared to the second device through the directly connected transmission channel. It should be noted that, when the first device detects the control instruction, the first device may read the display interface data to be displayed from the local memory as the display interface data to be shared. In addition, the first device may also generate a pop-up window after detecting the control instruction, and the content of the pop-up window may refer to the content of the foregoing embodiment of the drawings, which is not described herein again.
In this way, the transmission range of the content to be shared can be reduced through the direct connection transmission channel, and the safety is improved; and the data transmission efficiency can be improved through the direct connection transmission channel.
The embodiment of the disclosure also provides a device interconnection control method, which can be applied to a first device and can include, but is not limited to, devices such as a tablet computer, a smart phone, a personal computer, a smart television, a desktop computer, a large screen, a projector and the like. The first device may include a communication module, where the communication module may include at least one of: wiFi module, bluetooth module, infrared module, UWB module etc. the skilled person can select suitable communication module to match with the communication module in stylus or the second equipment according to specific scene, and corresponding scheme falls into the protection scope of this disclosure under the circumstances that can communicate.
Fig. 11 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment, referring to fig. 11, a device interconnection control method includes steps 111 to 113.
In step 111, in response to detecting that the stylus is directed towards the first device, it is determined to establish a first communication connection with the stylus. The scheme for establishing the first communication connection between the first device and the stylus may refer to the content shown in step 21, which is not described herein.
In step 112, a control instruction sent by the stylus is obtained; the control instruction comprises a sharing instruction for representing the shared content.
The scheme of step 112 is similar to that of step 12, and reference to the related content of step 12 is omitted here. In addition, step 112 differs from step 12 in that:
in an example, the user may also make certain gestures with the stylus, such as sliding up, sliding down, sliding left, sliding right, 8-shaped, zig-zag, circles, V-shaped, etc. Referring to fig. 12, in step 121, the first device may acquire a movement track of the stylus within a preset period of time, where the movement track corresponds to a gesture of a user one by one. In step 122, based on the preset correspondence between the movement track and the control instruction, the first device may acquire the control instruction corresponding to the movement track.
In step 113, in response to detecting the sharing instruction, the data to be shared is sent to the stylus or the second device.
The scheme of step 113 is similar to that of step 12, and reference to the related content of step 12 is omitted here.
In an embodiment, obtaining a control instruction sent by the stylus includes:
Acquiring a movement track of the touch pen within a preset time period;
and acquiring a control instruction corresponding to the movement track based on a corresponding relation between the preset movement track and the control instruction.
In an embodiment, obtaining a control instruction sent by the stylus includes:
generating a control menu in the display area; the control menu at least comprises a content sharing key;
and responding to the detection that the sharing key is triggered, and determining a control instruction sent by the touch control pen.
In an embodiment, before sending the data to be shared to the stylus or the second device, the method further includes:
generating a popup window in the display area;
and determining the content in the popup window as data to be shared.
In an embodiment, before sending the data to be shared to the stylus or the second device, the method further includes:
and acquiring the touch position of the touch pen on the first device and taking the content corresponding to the touch position as data to be shared.
In an embodiment, determining to establish a first communication connection with the stylus includes:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
Performing security verification according to the configuration information and establishing a first communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a first communication connection with the first device in response to the response signal.
In an embodiment, determining to establish a first communication connection with the stylus includes:
responding to the obtained radiation positioning request signal sent by the touch pen, determining the space relative position of the touch pen according to the positioning request signal, and obtaining the space gesture of the touch pen contained in the positioning request signal;
determining the orientation between the stylus and the stylus according to the spatial relative position and the spatial gesture;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
In an embodiment, determining to establish a first communication connection with the stylus includes:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the first equipment;
identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
In an embodiment, determining to establish a first communication connection with the stylus includes:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
And in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
In an embodiment, determining to establish a first communication connection with the stylus includes:
generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
It should be noted that, the method shown in this embodiment matches with the content of the method embodiment shown in fig. 1, and the execution scheme of the first device is also described while describing the execution scheme of the stylus, which may be referred to the content of the method embodiment and will not be described herein.
The embodiment of the disclosure also provides a device interconnection control method, which can be applied to a second device and can include, but is not limited to, devices such as a tablet computer, a smart phone, a personal computer, a smart television, a desktop computer, a large screen, a projector and the like. The second device may include a communication module, where the communication module may include at least one of: wiFi module, bluetooth module, infrared module, UWB module etc. the skilled person can select suitable communication module to match with the communication module in stylus or the first equipment according to specific scene, and corresponding scheme falls into the protection scope of this disclosure under the circumstances that can communicate.
Fig. 13 is a flowchart illustrating a device interconnection control method according to an exemplary embodiment, referring to fig. 13, a device interconnection control method includes steps 131 to 132.
In step 131, in response to detecting that the stylus is towards the second device, determining to establish a second communication connection with the stylus; the scheme of step 131 is similar to that of step 12, and reference to the related content of step 12 is omitted here.
In step 132, obtaining data to be shared sent by the stylus or the first device through the second communication connection; the scheme of step 132 is similar to that of step 12, and reference to the related content of step 12 is omitted here.
In an embodiment, determining to establish a second communication connection with the stylus includes:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
performing security verification according to the configuration information and establishing second communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a second communication connection with the second device in response to the response signal.
In an embodiment, determining to establish a second communication connection with the stylus includes:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the second equipment;
identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the second device and determines to establish second communication connection with the second device after the security verification is passed; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
In an embodiment, determining to establish a second communication connection with the stylus includes:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
And in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
In an embodiment, determining to establish a second communication connection with the stylus includes:
generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
It should be noted that, the method shown in this embodiment matches with the content of the method embodiment shown in fig. 1, and the execution scheme of the second device is also described while describing the execution scheme of the stylus, which may be referred to the content of the method embodiment and will not be described herein.
The embodiment of the disclosure further provides a device interconnection control apparatus, which is applied to a first device, see fig. 14, and the apparatus includes:
a first connection determining module 141 for determining to establish a first communication connection with the stylus in response to detecting that the stylus is directed towards the first device;
A control instruction acquisition module 142, configured to acquire a control instruction sent by the stylus; the control instruction comprises a sharing instruction for representing the shared content;
and the sharing data sending module 143 is configured to send the data to be shared to the stylus or the second device in response to detecting the sharing instruction.
The embodiment of the disclosure further provides a device interconnection control apparatus, which is applied to a second device, see fig. 15, and the apparatus includes:
a second connection determining module 151 configured to determine, in response to detecting that the stylus is directed to the second device, to establish a second communication connection with the stylus;
and the shared data sending module 152 is configured to obtain, through the second connection, data to be shared sent by the stylus or the first device.
It should be noted that, the apparatuses and devices shown in the embodiments match the content of the method embodiments, and reference may be made to the content of the method embodiments described above, which is not described herein.
Fig. 16 is a block diagram of an electronic device, according to an example embodiment. For example, electronic device 1600 may be a smart phone, computer, digital broadcast terminal, tablet device, medical device, exercise device, personal digital assistant, or the like. It is understood that the electronic device described above may be used as either the first device or the second device.
Referring to fig. 16, the electronic device 1600 may include one or more of the following components: a processing component 1602, a memory 1604, a power component 1606, a multimedia component 1608, an audio component 1610, an input/output (I/O) interface 1612, a sensor component 1614, a communication component 1616, and an image acquisition component 1618.
The processing component 1602 generally controls overall operation of the electronic device 1600, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 1602 may include one or more processors 1620 to execute computer programs. In addition, the processing component 1602 may include one or more modules that facilitate interactions between the processing component 1602 and other components. For example, the processing component 1602 may include a multimedia module to facilitate interactions between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operations at the electronic device 1600. Examples of such data include computer programs, contact data, phonebook data, messages, pictures, videos, and the like for any application or method operating on electronic device 1600. The memory 1604 may be implemented by any type of volatile or nonvolatile memory device or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 1606 provides power to the various components of the electronic device 1600. Power supply component 1606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 1600. The power component 1606 may include a power chip and the controller may communicate with the power chip to control the power chip to turn on or off the switching device, causing the battery to power the motherboard circuit or not.
The multimedia component 1608 includes a screen between the electronic device 1600 and the target object that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input information from a target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation.
The audio component 1610 is configured to output and/or input audio file information. For example, the audio component 1610 includes a Microphone (MIC) configured to receive external audio file information when the electronic device 1600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio file information may be further stored in the memory 1604 or transmitted via the communication component 1616. In some embodiments, the audio component 1610 further includes a speaker for outputting audio file information.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects of the electronic device 1600. For example, the sensor assembly 1614 may detect an on/off state of the electronic device 1600, a relative positioning of the assemblies, such as a display and keypad of the electronic device 1600, the sensor assembly 1614 may also detect a change in position of the electronic device 1600 or one of the assemblies, the presence or absence of a target object in contact with the electronic device 1600, an orientation or acceleration/deceleration of the electronic device 1600, and a change in temperature of the electronic device 1600. In this example, the sensor assembly 1614 may include a magnetic force sensor, a gyroscope, and a magnetic field sensor, wherein the magnetic field sensor includes at least one of: hall sensors, thin film magneto-resistive sensors, and magnetic liquid acceleration sensors.
The communication component 1616 is configured to facilitate communication between the electronic device 1600 and other devices, either wired or wireless. The electronic device 1600 may access a wireless network based on a communication standard, such as WiFi,2G, 3G, 4G, 5G, or a combination thereof. In one exemplary embodiment, the communication component 1616 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1616 also 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 electronic device 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital information processors (DSPs), digital information processing devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements.
The embodiment of the disclosure also provides a stylus, including:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method described above.
The embodiment of the disclosure also provides a first device, including:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method described above.
The embodiment of the disclosure also provides a second device, including:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method described above.
In an exemplary embodiment, a non-transitory readable storage medium is also provided that includes an executable computer program, such as memory 1604 including instructions, the executable computer program being executable by a processor. The readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (33)

1. A device interconnection control method, applied to a stylus, the method comprising:
In response to detecting that the stylus is directed towards a first device and a second device, respectively, determining a data transmission channel between the first device and the second device;
and controlling the first equipment to send the data to be shared to the second equipment through the data transmission channel.
2. The method of claim 1, wherein determining a data transmission channel between a first device and a second device in response to detecting that the stylus is facing the first device and the second device, respectively, comprises:
in response to detecting that the stylus is directed towards the first device, determining to establish a first communication connection with the first device;
in response to detecting that the stylus is directed towards the second device, determining to establish a second communication connection with the second device;
forwarding data of the first device and the second device based on the first communication connection and the second communication connection.
3. The method of claim 2, wherein controlling the first device to send the data to be shared to the second device through the data transmission channel comprises:
sending a control instruction to the first device through the first communication connection so that the first device generates a popup window in a display area and sends data to be shared in the popup window to the touch pen;
Obtaining data to be shared sent by the first equipment and caching the data to be shared to a local area;
and sending the data cached locally to the second device through the second communication connection.
4. The method of claim 2, wherein controlling the first device to send the data to be shared to the second device through the data transmission channel comprises:
sending a control instruction to the first device through the first communication connection so that the first device generates a popup window in a display area and sends data to be shared in the popup window to the touch pen;
and responding to the acquired data to be shared sent by the first equipment, and forwarding the data to be shared to the second equipment through the second communication connection.
5. The method of claim 1, wherein determining a data transmission channel between a first device and a second device in response to detecting that the stylus is facing the first device and the second device, respectively, comprises:
in response to detecting that the stylus is directed to the first device, determining to establish a first communication connection with the first device and acquiring configuration information of the first device;
In response to detecting that the stylus is directed towards the second device, determining to establish a second communication connection with the second device;
and the second device establishes communication connection with the first device through the configuration information of the first device, and the communication connection is a data transmission channel between the first device and the second device.
6. The method of claim 5, wherein controlling the first device to send the data to be shared to the second device through the data transmission channel comprises:
a control instruction is sent to the first device, so that the first device generates a popup window in a display area, the data to be shared in the popup window is sent to the second device, and after the data to be shared in the popup window is sent successfully, sharing success information is sent to the touch pen;
and acquiring the sharing success information to determine that the first device successfully shares the data to be shared with the second device.
7. The method of claim 2 or 5, wherein determining to establish a first communication connection with the first device in response to detecting that the stylus is oriented toward the first device comprises:
Acquiring positioning signals transmitted by positioning modules on all devices in a preset space range;
determining the space relative position of the touch pen and each device according to the positioning signals; the spatial relative position includes the stylus being directed toward a first device;
in response to detecting that the stylus is directed to the first device, sending a broadcast signal to the first device, wherein the broadcast signal comprises configuration information of the stylus, so that the first device performs security verification according to the configuration information and establishes communication connection with the stylus after the security verification is passed, and sending a response signal for establishing communication connection to the stylus;
in response to acquiring the response signal, it is determined to establish a first communication connection with the first device.
8. The method of claim 2 or 5, wherein determining to establish a first communication connection with the first device in response to detecting that the stylus is oriented toward the first device comprises:
responding to the detection that a designated key representing shared content on a touch pen is triggered, radiating a positioning request signal to a space, so that each device determines the space relative position of the touch pen according to the positioning request signal, acquires the space posture of the touch pen contained in the positioning request signal, determines the orientation between the touch pen and the touch pen according to the space relative position and the space posture, and sends a connection establishment request to the touch pen when the orientation is within a preset range; the connection establishment request comprises configuration information of the first equipment;
In response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
9. The method of claim 2 or 5, wherein determining to establish a first communication connection with the first device in response to detecting that the stylus is oriented toward the first device comprises:
responding to the detection that a designated key representing shared content on a touch pen is triggered, radiating a positioning request signal to a space, enabling each device to start a camera module according to the positioning request signal, identifying the orientation of the touch pen according to images in a field of view acquired by the camera module, determining whether the orientation is positioned in a display range of each device, and sending a connection establishment request to the touch pen when the orientation of the touch pen is positioned in the display range; the connection establishment request comprises configuration information of the first equipment;
in response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
10. The method of claim 2 or 5, wherein determining to establish a first communication connection with the first device in response to detecting that the stylus is oriented toward the first device comprises:
transmitting a laser signal in response to the detection that a designated key representing shared content on a touch pen is triggered, so that a first device receiving the laser signal transmits a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
in response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
11. The method of claim 2 or 5, wherein determining to establish a first communication connection with the first device in response to detecting that the stylus is oriented toward the first device comprises:
transmitting a Bluetooth signal to a specific space range in response to the detection of the triggering of a designated key representing shared content on a touch pen, so that equipment in the specific space range generates a popup window, and transmitting a connection establishment request to the touch pen after the triggering of the key in the popup window; the connection establishment request comprises configuration information of the first equipment;
In response to acquiring the configuration information of the first device, performing security verification on the configuration information;
in response to passing the security verification, it is determined to establish a first communication connection with the first device.
12. A device interconnection control method, applied to a first device, the method comprising:
in response to detecting that the stylus is facing the first device, determining to establish a first communication connection with the stylus;
acquiring a control instruction sent by the touch pen; the control instruction comprises a sharing instruction for representing the shared content;
and responding to the detection of the sharing instruction, and sending the data to be shared to the touch pen or the second device.
13. The method of claim 12, wherein obtaining the control command sent by the stylus comprises:
acquiring a movement track of the touch pen within a preset time period;
and acquiring a control instruction corresponding to the movement track based on a corresponding relation between the preset movement track and the control instruction.
14. The method of claim 12, wherein obtaining the control command sent by the stylus comprises:
generating a control menu in the display area; the control menu at least comprises a content sharing key;
And responding to the detection that the sharing key is triggered, and determining a control instruction sent by the touch control pen.
15. The method of claim 12, wherein prior to sending the data to be shared to the stylus or second device, the method further comprises:
generating a popup window in the display area;
and determining the content in the popup window as data to be shared.
16. The method of claim 12, wherein prior to sending the data to be shared to the stylus or second device, the method further comprises:
and acquiring the touch position of the touch pen on the first device and taking the content corresponding to the touch position as data to be shared.
17. The method of claim 12, wherein determining to establish a first communication connection with the stylus comprises:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
performing security verification according to the configuration information and establishing a first communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a first communication connection with the first device in response to the response signal.
18. The method of claim 12, wherein determining to establish a first communication connection with the stylus comprises:
responding to the obtained radiation positioning request signal sent by the touch pen, determining the space relative position of the touch pen according to the positioning request signal, and obtaining the space gesture of the touch pen contained in the positioning request signal;
determining the orientation between the stylus and the stylus according to the spatial relative position and the spatial gesture;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
19. The method of claim 12, wherein determining to establish a first communication connection with the stylus comprises:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the first equipment;
Identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the first device and determines to establish first communication connection with the first device after the security verification is passed; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
20. The method of claim 12, wherein determining to establish a first communication connection with the stylus comprises:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
21. The method of claim 12, wherein determining to establish a first communication connection with the stylus comprises:
Generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the first equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a first communication connection with the first device.
22. A device interconnection control method, applied to a second device, the method comprising:
in response to detecting that the stylus is facing the second device, determining to establish a second communication connection with the stylus;
and acquiring data to be shared sent by the touch pen or the first equipment through the second communication connection.
23. The method of claim 22, wherein determining to establish a second communication connection with the stylus comprises:
acquiring a broadcast signal sent by the touch pen, wherein the broadcast signal comprises configuration information of the touch pen;
performing security verification according to the configuration information and establishing second communication connection with the touch pen after the security verification is passed;
and sending a response signal for establishing communication connection to the touch control pen, so that the touch control pen determines to establish a second communication connection with the second device in response to the response signal.
24. The method of claim 22, wherein determining to establish a second communication connection with the stylus comprises:
responding to the radiation positioning request signal sent by the touch pen, and starting a camera module in the second equipment;
identifying the orientation of the touch pen according to the image in the field of view acquired by the camera module, and judging whether the orientation is positioned in the display range of each device;
when the orientation is within a preset range, a connection establishment request is sent to the touch pen, so that the touch pen performs security verification on configuration information of the second device and determines to establish second communication connection with the second device after the security verification is passed; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
25. The method of claim 22, wherein determining to establish a second communication connection with the stylus comprises:
responding to the detection of a laser signal sent by the touch pen, and sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
And in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
26. The method of claim 22, wherein determining to establish a second communication connection with the stylus comprises:
generating a popup window in response to detecting a Bluetooth signal sent by the touch pen;
responding to the trigger of the button in the popup window, and then sending a connection establishment request to the touch pen; the connection establishment request comprises configuration information of the second equipment;
and in response to obtaining the connection success response information returned by the touch pen, determining to establish a second communication connection with the second equipment.
27. A device interconnection control apparatus, characterized by being applied to a stylus, the apparatus comprising:
a channel determining module, configured to determine a data transmission channel between a first device and a second device in response to detecting that the stylus is directed to the first device and the second device, respectively;
and the data transmission module is used for controlling the first equipment to transmit the data to be shared to the second equipment through the data transmission channel.
28. A device interconnection control apparatus, characterized by being applied to a first device, the apparatus comprising:
A first connection determination module for determining to establish a first communication connection with a stylus in response to detecting that the stylus is oriented towards the first device;
the control instruction acquisition module is used for acquiring a control instruction sent by the touch pen; the control instruction comprises a sharing instruction for representing the shared content;
and the sharing data sending module is used for responding to the detection of the sharing instruction and sending the data to be shared to the touch pen or the second equipment.
29. A device interconnection control apparatus, characterized by being applied to a second device, the apparatus comprising:
a second connection determination module for determining to establish a second communication connection with the stylus in response to detecting that the stylus is facing the second device;
and the shared data sending module is used for obtaining the data to be shared sent by the touch pen or the first equipment through the second communication connection.
30. A stylus, comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute a computer program in the memory to implement the method of any of claims 1-11.
31. A first device, comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute a computer program in the memory to implement the method of any of claims 12-21.
32. A second device, comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method of any of claims 22-26.
33. A computer readable storage medium, characterized in that a computer program executable in said storage medium, when executed by a processor, is capable of implementing the method according to any one of claims 1-26.
CN202111667147.2A 2021-12-31 2021-12-31 Device interconnection control method and system, touch pen, first device and second device Pending CN116414240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111667147.2A CN116414240A (en) 2021-12-31 2021-12-31 Device interconnection control method and system, touch pen, first device and second device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111667147.2A CN116414240A (en) 2021-12-31 2021-12-31 Device interconnection control method and system, touch pen, first device and second device

Publications (1)

Publication Number Publication Date
CN116414240A true CN116414240A (en) 2023-07-11

Family

ID=87051794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111667147.2A Pending CN116414240A (en) 2021-12-31 2021-12-31 Device interconnection control method and system, touch pen, first device and second device

Country Status (1)

Country Link
CN (1) CN116414240A (en)

Similar Documents

Publication Publication Date Title
EP3872611A1 (en) Multi-screen interaction method and apparatus, and storage medium
KR102266674B1 (en) Filming method and terminal
CN111078655B (en) Document content sharing method, device, terminal and storage medium
CN107908351B (en) Application interface display method and device and storage medium
US20180091660A1 (en) Content sharing method and device, and medium
KR101343587B1 (en) Data transfering method using direction information and mobile device using the method
KR20140075997A (en) Mobile terminal and method for controlling of the same
EP3147802B1 (en) Method and apparatus for processing information
CN105739857A (en) Mobile terminal control method and apparatus
WO2021121265A1 (en) Camera starting method and electronic device
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
CN112905089B (en) Equipment control method and device
JP2017525076A (en) Character identification method, apparatus, program, and recording medium
CN108874450B (en) Method and device for waking up voice assistant
CN104572230B (en) Script file loading method and device and script file generating method and device
CN112181265A (en) Touch signal processing method, device and medium
CN111953852B (en) Call record generation method, device, terminal and storage medium
CN111124175A (en) Terminal, display processing method, device and storage medium
US11625143B1 (en) Method and device for sharing data, electronic device, and storage medium
CN112954596B (en) Data sharing method, device, equipment and storage medium
CN116414240A (en) Device interconnection control method and system, touch pen, first device and second device
US20210258627A1 (en) Information processing method and device, electronic device, and storage medium
CN114296587A (en) Cursor control method and device, electronic equipment and storage medium
US20170185366A1 (en) Method and device for inputting information
CN114442789A (en) Dark screen control 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