WO2020024273A1 - 近距离无线通信连接方法、系统、主动笔及触摸屏 - Google Patents

近距离无线通信连接方法、系统、主动笔及触摸屏 Download PDF

Info

Publication number
WO2020024273A1
WO2020024273A1 PCT/CN2018/098571 CN2018098571W WO2020024273A1 WO 2020024273 A1 WO2020024273 A1 WO 2020024273A1 CN 2018098571 W CN2018098571 W CN 2018098571W WO 2020024273 A1 WO2020024273 A1 WO 2020024273A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
active pen
wireless communication
short
range wireless
Prior art date
Application number
PCT/CN2018/098571
Other languages
English (en)
French (fr)
Inventor
李轩
李帅
邓英捷
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2018/098571 priority Critical patent/WO2020024273A1/zh
Priority to CN201880001018.XA priority patent/CN111083943B/zh
Publication of WO2020024273A1 publication Critical patent/WO2020024273A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and system for short-range wireless communication connection, and an active pen and touch screen.
  • the active pen is a device in which a short-range wireless communication circuit is set in the pen and can actively transmit signals to the touch screen, and the touch screen detects related information such as the coordinates of the active pen according to the received transmission signal.
  • the first communication process between the current active pen and an electronic device such as a computer includes: (1) turning on the Bluetooth device in the active pen and putting the active pen into a pairing mode; (2 ) Turn on the Bluetooth device on the computer, wait for the computer to scan and list all the Bluetooth devices found; (3) From all the Bluetooth devices scanned by the computer, manually select the corresponding active pen device for pairing operation; (4) During pairing After successful, the active pen communicates with the computer via Bluetooth.
  • the first connection operation between devices must be manually completed by the user, which is cumbersome to operate; on the other hand, when there are many Bluetooth devices, especially multiple Bluetooth devices with the same name Sometimes, for example, when there is another Bluetooth device that is consistent with the Bluetooth name of the current active pen, it may make it difficult for the user to select the correct device.
  • Embodiments of the present invention provide a short-range wireless communication connection method, system, active pen, and touch screen to solve the foregoing problems.
  • a short-range wireless communication connection method including: an active pen sends a connection trigger signal to a touch screen, wherein the connection trigger signal is used to trigger establishment of the active pen and the The short-range wireless communication connection between the devices where the touch screen is located; receiving a first request sent by the touch screen according to the trigger signal, wherein the first request is used to request identification information of the active pen; according to the first Requesting to send identification information of the active pen to the touch screen, and receiving a second request fed back by the touch screen according to the identification information, wherein the second request is for requesting the active pen for short-range wireless communication Communication pairing information; according to the second request, sending the pairing information of the active pen to the touch screen to establish a short-range wireless communication connection with a device where the touch screen is located.
  • another short-range wireless communication connection method including: a touch screen receiving a connection trigger signal sent by an active pen, wherein the connection trigger signal is used to trigger establishment of the active pen A short-range wireless communication connection with the device where the touch screen is located; obtaining the identification information of the active pen through a first request according to the connection trigger signal; determining the active pen and the touch screen according to the identification information
  • the local device has not established a short-range wireless communication connection; sending a second request to the active pen to obtain pairing information of the short-range wireless communication of the active pen; and establishing the active pen and the pair according to the pairing information
  • an active pen including: a first wireless transceiver for sending a connection trigger signal to a touch screen, wherein the connection trigger signal is used to trigger establishment of the active pen A short-range wireless communication connection with a device where the touch screen is located; the first wireless transceiver is further configured to receive a first request sent by the touch screen according to the trigger signal and send the first request to a first short-range wireless communication unit Processing, wherein the first request is used to request identification information of the active pen; the first wireless transceiver is further configured to obtain the first short-range wireless communication unit according to the first request Identification information of the active pen and sending the identification information of the active pen to the touch screen; the first wireless transceiver is further configured to receive a second request fed back by the touch screen according to the identification information and send the second request to the touch screen; A first short-range wireless communication unit processing, wherein the second request is used to request pairing information of the active pen for short-range wireless communication; the first request
  • a touch screen including: a second wireless transceiver for receiving a connection trigger signal sent by an active pen, wherein the connection trigger signal is used to trigger establishment of the active A short-range wireless communication connection between the pen and the device where the touch screen is located; and further configured to obtain the identification information of the active pen through a first request according to the connection trigger signal, and send the identification information to the touch screen
  • the second request is to obtain the pairing information of the short-range wireless communication of the active pen, and send the pairing information to the second short-range wireless communication unit of the device where the touch screen is located through the processor.
  • Two short-range wireless communication units establish a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • a short-range wireless communication connection system including: the electronic device and the active pen according to the third aspect, wherein the electronic device includes a processor, a second proximity A distance wireless communication unit and the touch screen according to the fourth aspect; the processor, configured to obtain identification information of the active pen from the touch screen, and determine the electronic device and the active pen according to the identification information;
  • the processor is further configured to The touch screen obtains a response message of the active pen to the request message, obtains the pairing information of the active pen from the response message, and establishes, based on the pairing information, the second short-range wireless communication unit.
  • a short-range wireless communication connection between the electronic device and the active pen includes a processor, a second proximity A distance wireless communication unit and the touch screen according to the fourth aspect; the processor, configured to obtain identification information of the active pen from the touch screen, and determine the electronic device and the active pen according to the identification information;
  • the processor is further configured to The touch screen obtains a response message of the active pen to the request message, obtains the pairing information of the active pen
  • the active pen sends a connection trigger signal when approaching or touching the touch screen to trigger the establishment of a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • the touch screen and the device on which the touch screen is located both have a short-range wireless communication function; then, the active pen sends identification information of the active pen to the touch screen according to the request of the touch screen (that is, the first request); and further, receives a second request returned by the touch screen according to the identification information,
  • the active pen sends pairing information of the active pen for short-range wireless communication to the touch screen according to the second request, so as to establish a short-range wireless communication connection between the active pen and the device where the touch screen is located according to the pairing information.
  • the solution provided by the embodiment of the present invention performs the first connection operation between devices, according to the connection trigger signal of the active pen, the automatic interaction between the active pen and the touch screen can be realized, so that the touch screen and the device where it is located can be used It is used to establish the pairing information of the short-range wireless communication connection to realize the first pairing connection between devices.
  • This process does not require user participation, simplifies user operations, and reduces the user's operation burden.
  • the touch screen and its device can be activated directly from the initiative. The pen side obtains the pairing information, and then the device where the touch screen is located is paired with the active pen according to the pairing information. There is no need to determine the device to be connected from multiple devices, which can effectively avoid connection errors when the device is renamed, and improves the pairing connection. s efficiency.
  • FIG. 1 is a flowchart of steps of a short-range wireless communication connection method according to the first embodiment of the present invention
  • FIG. 2 is a flowchart of steps of a short-range wireless communication connection method according to Embodiment 2 of the present invention
  • FIG. 3 is a sequence diagram of a short-range wireless communication connection method according to the third embodiment of the present invention.
  • FIG. 4 is a structural block diagram of an active pen according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a structure of a touch screen and its relationship with other structures in a device according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a short-range wireless communication connection system according to Embodiment 6 of the present invention.
  • FIG. 1 there is shown a flowchart of steps of a method for connecting a short-range wireless communication according to a first embodiment of the present invention.
  • This embodiment describes the short-range wireless communication connection method provided by the present invention from the side of the active pen.
  • the short-range wireless communication connection method in this embodiment includes the following steps:
  • Step S102 The active pen sends a connection trigger signal to the touch screen.
  • connection trigger signal is used to trigger the establishment of a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • both the active pen and the touch screen have a short-range wireless communication function, and this function can be implemented by a person skilled in the art in any appropriate manner according to actual needs.
  • connection trigger signal may be any suitable trigger signal suitable for an active pen, including but not limited to one of a pulse signal, a set character, a set number, and a set shape.
  • a code signal (a pulse signal to send information) is transmitted, and the active pen can use this signal to implement a connection trigger to trigger the active pen and the touch screen to perform the The pairing and connection process; or, when the active pen writes the shape of the set character on the touch screen, the active pen and the touch screen are triggered to perform the pairing and connecting process of this embodiment; or, when the active pen writes the setting data on the touch screen Then, the active pen and the touch screen are triggered to perform the pairing and connection process of this embodiment; or, after the active pen draws a set shape on the touch screen, the active pen and the touch screen are triggered to perform the pairing and connection process of this embodiment.
  • the setting characters include but are not limited to: set Chinese characters, set foreign characters; set shapes include, but are not limited to: circles, rectangles, triangles, irregular shapes, straight lines, regular or irregular curves, and so on.
  • the pulse method is used to maximize the performance of the active pen, which reduces the implementation cost and simplifies the implementation process; by setting characters, numbers or shapes, it is convenient for users to trigger and operate, and allows users to control The timing of the connection trigger improves the user experience.
  • the active pen can send a connection trigger signal to the touch screen through the pen tip.
  • the pen tip is a part of the active pen, and the connection trigger signal is sent to the touch screen through the pen tip, which effectively utilizes the structure of the active pen and saves solution implementation costs. , Which improves the utilization efficiency of the active pen.
  • the connection trigger signal is sent to the touch screen through the pen tip, which effectively utilizes the structure of the active pen and saves solution implementation costs. , which improves the utilization efficiency of the active pen.
  • it is not limited to this.
  • those skilled in the art can also use the structure or functional modules of other parts of the active pen according to actual needs to implement the sending of the connection trigger signal.
  • the short-range wireless communication connection includes, but is not limited to, a Bluetooth connection, an NFC connection, a Hotknot connection, and the like.
  • Step S104 The active pen receives a first request sent by the touch screen according to the trigger signal.
  • the first request is used to request identification information of the active pen.
  • the touch screen After receiving the connection trigger signal of the active pen requesting to establish a short-range wireless communication connection, the touch screen sends a first request to the active pen to request identification information of the active pen to prepare for the subsequent establishment of the short-range wireless communication connection.
  • Step S106 The active pen sends identification information of the active pen to the touch screen according to the first request, and receives a second request fed back by the touch screen according to the identification information.
  • the second request is used to request pairing information of the active pen for short-range wireless communication.
  • the identification information of the active pen may be any appropriate information, and the active pen may be uniquely identified.
  • the touch screen can determine whether a short-range wireless communication connection has been established with the active pen according to the identification information. If it has not been established, a second request will be sent to the active pen.
  • the touch screen requests pairing information for short-range wireless communication from the active pen to achieve pairing between devices and subsequent communication connections.
  • this step may be implemented as follows: the active pen sends identification information of the active pen to the touch screen according to the first request, and sends the identification information to the service process of the device where the touch screen is located through the touch screen, so that the service process Determining, according to the identification information, whether the active pen and the device where the touch screen is located have established a close-range wireless communication connection; further, receiving a second request for feedback from the touch screen, wherein the second request feedbacks the device where the active pen and the touch screen are located in the service process Fired when a short-range wireless communication connection has not been established.
  • the operation of determining whether the active pen and the touch screen device have established a close-range wireless communication connection can be left to the service process of the device where the touch screen is located, without increasing the touch screen operation. Burden, and can quickly and accurately judge through the service process of the device where the touch screen is located. But it is not limited to this. If the performance of the touch screen is sufficient to support the judgment, the judgment may be performed by the touch screen itself, for example, by the touch screen driver of the touch screen, and so on.
  • the active pen can send the identification information of the active pen to the touch screen through the pen tip, so as to effectively utilize the structure of the active pen, improve the efficiency of solution implementation, and save the implementation cost.
  • Step S108 According to the second request, the active pen sends pairing information of the active pen for short-range wireless communication to the touch screen to establish a short-range wireless communication connection with the device where the touch screen is located.
  • the active pen sends its pairing information to the touch screen, and the touch screen performs subsequent operations accordingly to achieve a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • the active pen sends the pairing information to the touch screen according to the second request; receives connection information generated according to the pairing information from the touch screen, and pairs with the device where the touch screen is located according to the connection information, and after the pairing is successful Establish a short-range wireless communication connection with the device where the touch screen is located.
  • the connection information may carry pairing information of the device where the touch screen is located for short-range wireless communication.
  • the active pen can send the pairing information of the active pen to the touch screen through the pen tip, so as to effectively utilize the structure of the active pen, improve the solution implementation efficiency, and save the implementation cost.
  • connection mode When the active pen is in the connection mode, it interacts with the touch screen and sends related information to the touch screen to establish a short-range wireless communication connection.
  • the active pen When the active pen is in the working mode, it can mainly send corresponding signals, such as high-voltage drive signals, to the touch screen.
  • signals such as high-voltage drive signals
  • the active pen switches to the connected mode, and sends the pairing information of the active pen to the touch screen according to the second request.
  • the active pen After the active pen sends the pairing information of the active pen to the touch screen according to the second request to establish a short-range wireless communication connection with the device where the touch screen is located, the active pen switches to the working mode and interacts with the touch screen through a high-voltage driving signal.
  • a touch screen driver is provided in the touch screen, and the operations related to the touch screen in the above process can be implemented by the touch screen driver, that is, the active pen interacts with the touch screen driver of the touch screen to achieve corresponding short-range wireless communication.
  • the touch screen driver may be a function module burned into a touch screen chip, or it may be a function module independent of the touch screen chip.
  • the active pen sends a connection trigger signal when approaching or touching the touch screen to trigger the establishment of a short-range wireless communication connection between the active pen and the device where the touch screen is located, where the active pen, the touch screen, and the device where the touch screen is located are all It has a short-range wireless communication function; then, the active pen sends identification information of the active pen to the touch screen according to the request of the touch screen (that is, the first request); further, it receives a second request returned by the touch screen according to the identification information, and the active pen according to the second request Request to send pairing information of the active pen for short-range wireless communication to the touch screen, so as to establish a short-range wireless communication connection between the active pen and the device where the touch screen is located according to the pairing information.
  • the solution provided in this embodiment performs the first connection operation between devices, according to the connection trigger signal of the active pen, automatic interaction between the active pen and the touch screen can be achieved, so that the touch screen and the device where the touch screen is located can be used for Establish the pairing information of the short-range wireless communication connection to realize the first pairing connection between the devices.
  • This process does not require user participation, which simplifies user operations and reduces the user's operating burden.
  • the touch screen and its device can be directly accessed from the active pen. Obtain pairing information on one side, and then perform pairing connection between the device where the touch screen is located and the active pen according to the pairing information. There is no need to determine the device to be connected from multiple devices. effectiveness.
  • FIG. 2 a flowchart of a method for a short-range wireless communication connection method according to a second embodiment of the present invention is shown.
  • This embodiment describes the short-range wireless communication connection method provided by the present invention from the touch screen side.
  • the short-range wireless communication connection method in this embodiment includes the following steps:
  • Step S202 The touch screen receives a connection trigger signal sent by the active pen.
  • the connection trigger signal is used to trigger the establishment of a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • the short-range wireless communication connection includes, but is not limited to, a Bluetooth connection, an NFC connection, a Hotknot connection, and the like.
  • connection trigger signal may be any suitable signal, including but not limited to one of a pulse signal, a set character, a set number, and a set shape.
  • the active pen can send a connection trigger signal to the touch screen through the pen tip, that is, the touch screen receives the connection trigger signal sent by the active pen through the pen tip, so as to effectively utilize the active pen's own structure, improve the solution implementation efficiency, and save the implementation cost.
  • Step S204 The touch screen acquires the identification information of the active pen through the first request according to the connection trigger signal.
  • the touch screen After receiving the connection trigger signal sent by the active pen, the touch screen sends a first request to the active pen, where the first request is used to request to obtain identification information of the active pen. After receiving the first request, the active pen sends identification information of the active pen to the touch screen.
  • the identification information of the active pen may be any appropriate identification information, and the active pen may be uniquely identified for easy identification.
  • Step S206 According to the identification information, the touch screen determines that the active pen and the device where the touch screen is located have not established a short-range wireless communication connection.
  • the touch screen may send the identification information to a service process of a device where the touch screen is located, and receive feedback information of the service process, wherein the feedback information is used to indicate whether an active pen is established with the device where the touch screen is located.
  • a short-range wireless communication connection based on the feedback information, it is determined that the short-range wireless communication connection has not been established between the active pen and the device where the touch screen is located.
  • the operation of determining whether the active pen and the touch screen device have established a close-range wireless communication connection can be left to the service process of the device where the touch screen is located, without increasing the touch screen operation. Burden, and can quickly and accurately judge through the service process of the device where the touch screen is located. But it is not limited to this. If the performance of the touch screen is sufficient to support the judgment, the judgment may be performed by the touch screen itself, for example, by the touch screen driver of the touch screen, and so on.
  • Step S208 The touch screen sends a second request to the active pen to obtain pairing information of the short-range wireless communication of the active pen.
  • the touch screen When it is determined that the device where the touch screen is located has not established a short-range wireless communication connection with the active pen, that is, this time the connection is the first connection, the touch screen sends a second request to the active pen, wherein the second request is used to request an active pen. Pen-based pairing information for short-range wireless communication. After receiving the second request, the active pen sends response information to the touch screen, and carries the pairing information in the response information to the touch screen.
  • Step S210 The touch screen establishes a short-range wireless communication connection between the active pen and the device where the touch screen is located according to the pairing information.
  • the touch screen After knowing the pairing information of the active pen, the touch screen sends the pairing information to the device where the touch screen is located, and then the device where the touch screen is located establishes a short-range wireless communication connection with the active pen. In an implementation manner, the touch screen also sends pairing information of the device where the touch screen is located to the active pen, so as to smoothly connect with the active pen.
  • a touch screen driver is provided in the touch screen, and the above processes can be implemented by the touch screen driver, that is, the touch screen driver of the touch screen interacts with the active pen and the service process to achieve the corresponding short-range wireless communication connection.
  • the touch screen driver may be a function module burned into a touch screen chip, or it may be a function module independent of the touch screen chip.
  • the touch screen after receiving the connection trigger signal sent by the active pen, the touch screen interacts with the active pen and obtains corresponding information in the active pen to establish close-range wireless communication between the device where the touch screen is located and the active pen. connection.
  • the solution provided in this embodiment performs the first connection operation between devices, according to the connection trigger signal of the active pen, automatic interaction between the active pen and the touch screen can be achieved, so that the touch screen and the device where the touch screen is located can be used for Establish the pairing information of the short-range wireless communication connection to realize the first pairing connection between the devices.
  • This process does not require user participation, which simplifies user operations and reduces the user's operation burden.
  • the touch screen can obtain pairing directly from the active pen side. Information, and then perform pairing connection between the device where the touch screen is located and the active pen according to the pairing information. It is not necessary to determine the device to be connected from multiple devices, which can effectively avoid connection errors when the device has the same name, and improve the efficiency of pairing and connection.
  • FIG. 3 a timing diagram of a short-range wireless communication connection method according to a third embodiment of the present invention is shown.
  • This embodiment describes the short-range wireless communication connection method provided by the present invention in the form of a specific example from the perspective of interaction between the active pen, the touch screen, and the device where the touch screen is located.
  • Step S302 The pen tip of the active pen approaches the touch screen, and sends a coding signal to the touch screen driver.
  • the active pen is a Bluetooth active pen as an example.
  • the Bluetooth active pen integrates a short-range wireless communication function. In this embodiment, it is specifically a Bluetooth function, but is not limited thereto.
  • the short-range wireless communication function may also be NFC function, Hotknot function, and other appropriate short-range wireless communication functions.
  • the Bluetooth active pen is a separate device, and the pen tip can directly perform signal interaction with other devices such as the touch screen of a laptop computer, and the Bluetooth device at the tail end can be interconnected with the Bluetooth of the laptop computer to realize information interaction.
  • the Bluetooth active pen can also automatically connect the Bluetooth device on the pen with the notebook computer.
  • the active pen serves as the information sending end and is responsible for transmitting the relevant information of the Bluetooth device on the pen to the touch screen through the pen tip.
  • a touch screen is a component of an electronic device, such as a notebook computer. It can respond to touch events on various media, such as hands and pens, and provide coordinate information to the operating system.
  • the touch screen in this embodiment is integrated with a short-range wireless communication function, which is specifically a Bluetooth function in this embodiment, but the short-range wireless communication function may also be an NFC function or a Hotknot function.
  • the short-range wireless communication functions used by the active pen and the touch screen are the same, such as Bluetooth.
  • the ability of the touch screen to interact with the active pen is effectively utilized, and as the information receiving end, receives identification information from the active pen, such as a device identification code, and Bluetooth information of the active pen.
  • the coding of the pen of the active pen is a short-range wireless communication technology in which the pen emits codes.
  • the active pen sends a coding signal to the touch screen through this technology.
  • the short-range wireless communication connection scheme of this embodiment also supports customization of various gestures during the automatic connection process to enrich the user's operating experience.
  • a short-range wireless communication connection between the active pen and the touch screen is implemented by using a gesture connection method.
  • the active pen draws a specified simple graphic on the touch screen, such as drawing a letter "O"
  • the touch screen will notify the service process of the system service layer of the device where the touch screen is located.
  • the active pen needs to perform a pairing operation, and the service process
  • the information of the currently connected Bluetooth device will be obtained and matched with the current Bluetooth information of the active pen. If they match, then the active pen will be displayed directly on the desktop. If no matching information is found, the service process informs the active pen through the touch screen that the active pen needs to enter the broadcast mode, and then the service process turns on the system's Bluetooth search function.
  • Bluetooth devices finds a match with the active pen's Bluetooth information. Device and then pair it with it. If the pairing is not completed at the set time T1, the connection failure can be displayed on the desktop. During the whole process, you only need to draw a letter "O" on the touch screen with an active pen.
  • a gesture disconnection manner may also be used to disconnect the short-range wireless communication connection between the active pen and the touch screen. For example, if you need to disconnect, the active pen only needs to draw another specified simple graphic, such as the letter "C". After the touch screen recognizes the graphic, it sends a disconnection command to the service process of the system service of the device where the touch screen is located. The service process automatically disconnects according to the obtained Bluetooth information and displays it on the desktop.
  • the touch screen driver of the touch screen is used, so that the touch screen driver is responsible for interacting with the service process of the device where the touch screen is located and the pen tip. On the one hand, it sends a request to the pen tip and receives various information transmitted by the pen tip; Interact with the service process and pass the Bluetooth information on the pen to the service process.
  • Step S304 The touch screen driver receives the coding signal sent by the active pen, sends a request message to the active pen, and requests a pen identification code of the active pen.
  • the touch screen driver learns the event and sends a request message to the active pen to request the pen identification code.
  • Step S306 After receiving the request message sent by the touch screen driver, the active pen transmits the pen identification code to the touch screen driver.
  • Step S308 After receiving the pen identification code, the touch screen driver determines whether it is connected to the active pen.
  • Step S310 When the touch screen driver determines that it is not connected to the active pen, it will notify the service process of the device where the touch screen is located, and pass the identification code to the service process.
  • the service process is resident on the device where the touch screen is located, such as a laptop computer. It monitors various information uploaded by the touch screen driver and completes the pairing or disconnecting operation of Bluetooth.
  • Step S312 The service process judges whether the relevant information of the active pen has been saved according to the pen identification code. If so, the saved Bluetooth information is directly used for Bluetooth connection. If not, step S314 is performed.
  • Step S314 The service process sends a request to the touch screen driver to request Bluetooth information of the active pen.
  • Step S316 The touch screen driver sends a request for Bluetooth information to the active pen.
  • Step S318 After receiving the request, the active pen prepares Bluetooth information and switches the pen tip to the connection mode.
  • Step S320 The active pen sends related Bluetooth information to the touch screen driver.
  • Step S322 The touch screen driver performs information verification on the acquired Bluetooth information. After passing the verification, the Bluetooth information is passed to the service process, and a stop sign is also sent to the active pen.
  • the data carried in the Bluetooth information is checked and judged to verify whether the obtained Bluetooth information is complete and so on.
  • Step S324 After receiving the Bluetooth information, the service process records the Bluetooth information, turns on the Bluetooth device of the device where the touch screen is located, and performs Bluetooth connection with the active pen.
  • Step S326 The touch screen driver records the connection status.
  • Step S328 Complete the pairing operation between the active pen and the device where the touch screen is located, and establish a Bluetooth connection between the active pen and the device where the touch screen is located.
  • the active pen receives the stop sign and switches the pen tip back to the working mode.
  • both the pen tip and the touch screen enable the short-range wireless communication function, and when the pen tip leaves the touch screen, the short-range wireless communication is turned off.
  • the active pen and the touch screen establish a connection through the short-range wireless communication function, the active pen sends a unique identification code to the touch screen. If the identification code already exists in the service process, it means that the active pen has established a connection with the touch screen. At this time, the basic information of the Bluetooth device of the active pen can be found in the service process through the identification code, and then the connection and Pairing operation; if the identification code does not exist in the service process, the touch screen requests the basic information of the Bluetooth device from the active pen. After receiving the request, the active pen sends Bluetooth information to the touch screen and finally passes it to the service process. To complete the Bluetooth connection operation.
  • the pairing operation process between the Bluetooth active pen and the computer can be greatly simplified, and the user can automatically open, scan, select and pair the Bluetooth device without user intervention, providing users with a simple, fast, and accurate device connection. solution.
  • FIG. 4 a structural block diagram of an active pen according to the present invention is shown.
  • the active pen of this embodiment includes a first wireless transceiver 402 and a first short-range wireless communication unit 404.
  • the first wireless transceiver 402 is configured to send a connection trigger signal to the touch screen.
  • the connection trigger signal is used to trigger the establishment of a short-range wireless communication connection between the active pen and the device where the touch screen is located.
  • the wireless transceiver 402 is further configured to receive a first request sent by the touch screen according to the trigger signal and send the first request to the first short-range wireless communication unit 404 for processing, where the first request is used to request the active pen.
  • the first wireless transceiver 402 is further configured to obtain identification information of the active pen from the first short-range wireless communication unit 404 according to the first request, and send the identification information of the active pen to the touch screen;
  • a wireless transceiver 402 is further configured to receive a second request fed back by the touch screen according to the identification information and send it to the first short-range wireless communication unit 404 for processing, where the second request is used to request the active pen Pairing information for short-range wireless communication;
  • the first wireless transceiver 402 is further configured to, from the first short-range wireless communication unit 4 according to the second request 04 Obtain pairing information of the active pen, and send the pairing information of the active pen to the touch screen, so that the first short-range wireless communication unit 404 establishes a short-range wireless communication connection with the device where the touch screen is located.
  • the first wireless transceiver 402 is further configured to receive the connection information generated according to the pairing information from the touch screen and send the connection information to the first short-range wireless communication unit 404.
  • the communication unit 404 performs pairing with the device where the touch screen is located according to the connection information, and establishes a short-range wireless communication connection with the device where the touch screen is located after successful pairing.
  • the first wireless transceiver 402 sends a connection trigger signal to the touch screen through the pen tip of the active pen; sends the identification information of the active pen to the touch screen through the pen tip; The touch screen sends the pairing information.
  • connection trigger signal is one of a pulse signal, a set character, a set number, and a set shape.
  • the touch screen sends the identification information to a service process of a device where the touch screen is located, so that Determining, by the service process, whether the active pen has established a short-range wireless communication connection with a device on which the touch screen is located according to the identification information; the second request for feedback on the service process on the device where the active pen and the touch screen are located Fired when a short-range wireless communication connection has not been established.
  • the first short-range wireless communication unit 404 is further configured to switch the active pen to a connected mode according to the second request, and at the same time, the first wireless transceiver 402 sends a request to all the wireless pens according to the second request.
  • the touch screen sends the pairing information of the active pen.
  • the active pen of this embodiment further includes a processor 406, configured to establish a short-range wireless communication connection between the active pen and a device where the touch screen is located, and after the active pen switches to a working mode, a high-voltage driving signal is used. Interact with the touch screen.
  • a processor 406 configured to establish a short-range wireless communication connection between the active pen and a device where the touch screen is located, and after the active pen switches to a working mode, a high-voltage driving signal is used. Interact with the touch screen.
  • the active pen of this embodiment is used to implement the short-range wireless communication connection method on the side of the corresponding active pen in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
  • FIG. 5 a schematic diagram of a structure of a touch screen according to Embodiment 5 of the present invention and the relationship between the structure and other structures in the device is shown.
  • the touch screen of this embodiment includes a second wireless transceiver 502 configured to receive a connection trigger signal sent by an active pen, wherein the connection trigger signal is used to trigger establishment of a proximity between the active pen and a device where the touch screen is located.
  • Distance wireless communication connection further configured to obtain the identification information of the active pen through a first request according to the connection trigger signal, and send the identification information to the processor of the device where the touch screen is located;
  • the identification information after determining that the active pen and the device where the touch screen is located have not established a short-range wireless communication connection, the second wireless transceiver 502 sends a second request to the active pen to obtain the close range of the active pen Wireless communication pairing information, and sending the pairing information to the second short-range wireless communication unit of the device where the touch screen is located through the processor, and the second short-range wireless communication unit establishes the active pen and the The short-range wireless communication connection of the device where the touch screen is located is described.
  • the second wireless transceiver 502 sends the identification information to a service process of a processor of a device where the touch screen is located, and receives feedback information sent by the service process; and instructs the service information according to the feedback information. Whether the active pen has established a short-range wireless communication connection with the device where the touch screen is located.
  • connection trigger signal is one of a pulse signal, a set character, a set number, and a set shape.
  • the second wireless transceiver 502 receives a connection trigger signal sent by the active pen through the pen tip.
  • the second wireless transceiver 502 may be used in combination with a touch screen driver, and the second wireless transceiver 502 is driven by the touch screen driver to implement the foregoing functions.
  • the touch screen of this embodiment is used to implement the short-range wireless communication connection method on the corresponding touch screen side in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
  • FIG. 6 there is shown a schematic structural diagram of a short-range wireless communication connection system according to Embodiment 6 of the present invention.
  • the short-range wireless communication connection system of this embodiment includes an electronic device 602 and an active pen 604.
  • the electronic device 602 includes a processor 6022, a touch screen 6024, and a second short-range wireless communication unit 6026.
  • the active pen 604 may be the active pen described in the fourth embodiment, and the touch screen 6024 may be the touch screen described in the fifth embodiment.
  • a processor 6022 of the electronic device 602 is configured to obtain identification information of the active pen 604 from the touch screen 6024, and determine that the electronic device 602 and the active pen 604 have not established a short-range wireless communication according to the identification information.
  • a request message is sent to the touch screen 6024, and the pairing information of the active pen 604 for short-range wireless communication is requested through the request message;
  • the processor 6022 is further configured to obtain from the touch screen 6024 A response message of the active pen 604 to the request message, obtaining the pairing information of the active pen 604 from the response message, and establishing the second short-range wireless communication unit 6026 according to the pairing information A short-range wireless communication connection between the electronic device 602 and the active pen 604.
  • the active pen 604 controls the structures in the active pen 604 through its processor, wherein the first wireless transceiver is controlled to send a connection trigger signal to the touch screen 6024, wherein the connection trigger signal is used to trigger the establishment of the active pen 604 A short-range wireless communication connection with the electronic device 602;
  • the touch screen 6024 receives a connection trigger signal sent by the active pen 604 through a second wireless transceiver, and according to the connection trigger signal, requests to obtain the active signal through a first request Identification information of the pen 604;
  • the active pen 604 receives the first request sent by the touch screen 6024 through the second wireless transceiver according to the trigger signal through the first wireless transceiver, and communicates from the first short-range wireless communication according to the first request.
  • the unit obtains the identification information of the active pen 604 and sends the identification information of the active pen 604 to the touch screen 6024; the touch screen 6024 obtains the identification information of the active pen 604 through a second wireless transceiver, and sends the identification information to the processing Controller 6022, so that the processor 6022 determines that the active pen 604 and the electronic device 602 are not based on the identification information.
  • a close-range wireless communication connection has been established; the processor 6022 sends a request for obtaining the pairing information of the active pen 604 to the touch screen 6024; according to the request, the touch screen 6024 sends a second request to the active pen 604 through the second wireless transceiver to Acquire pairing information of short-range wireless communication of the active pen 604; the active pen 604 receives a second request fed back by the touch screen 6024 according to the identification information through a first wireless transceiver, and obtains an active message from a first short-range wireless communication unit.
  • the processor 6022 establishes a short-range wireless communication connection between the active pen 604 and the electronic device 602 through the second short-range wireless communication unit 6026.
  • the first short-range wireless communication connection between the active pen and the electronic device without user involvement can be achieved, simplifying the user's operation and reducing the user's operating burden;
  • the interaction is more targeted, which can effectively avoid connection errors when the device has the same name, and improves the efficiency of pairing connections.
  • the device embodiments described above are only schematic, and the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, which may be located in One place, or can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative labor.
  • each embodiment can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware.
  • the above-mentioned technical solution in essence or a part that contributes to the existing technology may be embodied in the form of a software product, and the computer software product may be stored in a computer-readable storage medium, the computer-readable record A medium includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer).
  • machine-readable media include read-only memory (ROM), random-access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (e.g., carrier waves , Infrared signals, digital signals, etc.), the computer software product includes a number of instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute various embodiments or certain parts of the embodiments Methods.

Landscapes

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

Abstract

一种近距离无线通信连接方法、系统、主动笔(604)及触摸屏(6024),其中,近距离无线通信连接方法包括:主动笔(604)向触摸屏(6024)发送连接触发信号(S102),其中,所述连接触发信号用于触发建立所述主动笔(604)与所述触摸屏(6024)所在设备之间的近距离无线通信连接;接收所述触摸屏(6024)根据所述触发信号发送的第一请求(S104),其中,所述第一请求用于请求所述主动笔(604)的标识信息;根据所述第一请求向所述触摸屏(6024)发送所述主动笔(604)的标识信息,并接收所述触摸屏(6024)根据所述标识信息反馈的第二请求(S106),其中,所述第二请求用于请求所述主动笔(604)的用于近距离无线通信的配对信息;根据所述第二请求,向所述触摸屏(6024)发送所述主动笔(604)的所述配对信息,以与所述触摸屏(6024)所在设备建立近距离无线通信连接(S108)。

Description

近距离无线通信连接方法、系统、主动笔及触摸屏 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种近距离无线通信连接方法及系统,以及,一种主动笔和触摸屏。
背景技术
随着通信技术的发展,近距离无线通信技术被广泛应用于各种设备,主动笔便是其中的一种。主动笔是一种在笔中设置近距离无线通信电路,并可向触摸屏主动发射信号的设备,触摸屏根据接收到的发射信号检测诸如主动笔的坐标等相关信息。
以使用蓝牙近距离无线通信电路的主动笔为例,目前的主动笔与电子设备如电脑的首次连接通信过程包括:(1)打开主动笔中的蓝牙设备,使主动笔进入配对模式;(2)打开电脑上的蓝牙设备,等待电脑扫描并列出搜索到的所有蓝牙设备;(3)从电脑扫描到的所有蓝牙设备中,手动选择相应的主动笔设备进行配对操作;(4)在配对成功后,主动笔和电脑进行蓝牙通信。
由上可见,一方面,现有的蓝牙通信方式中,对于设备间的首次连接操作,必须由用户手动完成,操作繁琐;另一方面,当蓝牙设备较多,特别是有多个同名蓝牙设备时,例如,有其它的蓝牙设备与当前主动笔的蓝牙名称一致时,会造成用户难以选择正确的设备。
发明内容
本发明实施例提供一种近距离无线通信连接方法、系统、主动笔及触摸屏,以解决上述问题。
根据本发明实施例的第一方面,提供了一种近距离无线通信连接方法,包括:主动笔向触摸屏发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;接收所述触摸屏根据所述触发信号发送的第一请求,其中,所述第一请求用于请求所述主动笔的标识信息;根据所述第一请求向所述触摸屏发送所述主动笔的标识信息,并接收所述触摸屏根据所述标识信息反馈的第二请求,其中, 所述第二请求用于请求所述主动笔的用于近距离无线通信的配对信息;根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息,以与所述触摸屏所在设备建立近距离无线通信连接。
根据本发明实施例的第二方面,还提供了另一种近距离无线通信连接方法,包括:触摸屏接收主动笔发送的连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;根据所述连接触发信号,通过第一请求获取所述主动笔的标识信息;根据所述标识信息,确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接;向所述主动笔发送第二请求,以获取所述主动笔的近距离无线通信的配对信息;根据所述配对信息,建立所述主动笔与所述触摸屏所在设备的近距离无线通信连接。
根据本发明实施例的第三方面,还提供了一种主动笔,包括:第一无线收发器,用于向触摸屏发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;所述第一无线收发器,还用于接收所述触摸屏根据所述触发信号发送的第一请求并发送至第一近距离无线通信单元处理,其中,所述第一请求用于请求所述主动笔的标识信息;所述第一无线收发器,还用于根据所述第一请求从所述第一近距离无线通信单元获取所述主动笔的标识信息,并向所述触摸屏发送所述主动笔的标识信息;所述第一无线收发器,还用于接收所述触摸屏根据所述标识信息反馈的第二请求并发送至所述第一近距离无线通信单元处理,其中,所述第二请求用于请求所述主动笔的用于近距离无线通信的配对信息;所述第一无线收发器,还用于根据所述第二请求,从所述第一近距离无线通信单元获取所述主动笔的所述配对信息,并向所述触摸屏发送所述主动笔的所述配对信息,以使所述第一近距离无线通信单元与所述触摸屏所在设备建立近距离无线通信连接。
根据本发明实施例的第四方面,还提供了一种触摸屏,包括:第二无线收发器,用于接收主动笔发送的连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;还用于根据所述连接触发信号,通过第一请求获取所述主动笔的标识信息,并将所述标识信息发送给所述触摸屏所在设备的处理器;在所述处理器根 据所述标识信息确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接后,所述第二无线收发器向所述主动笔发送第二请求,以获取所述主动笔的近距离无线通信的配对信息,并将所述配对信息通过所述处理器发送给所述触摸屏所在设备的第二近距离无线通信单元,由所述第二近距离无线通信单元建立所述主动笔与所述触摸屏所在设备的近距离无线通信连接。
根据本发明实施例的第五方面,还提供了一种近距离无线通信连接系统,包括:如电子设备和第三方面所述的主动笔,其中,所述电子设备包括处理器、第二近距离无线通信单元和如第四方面所述的触摸屏;所述处理器,用于从所述触摸屏获取所述主动笔的标识信息,并在根据所述标识信息确定所述电子设备和所述主动笔未建立过近距离无线通信连接时,向所述触摸屏发送请求消息,通过所述请求消息请求所述主动笔的用于近距离无线通信的配对信息;所述处理器,还用于从所述触摸屏获取所述主动笔对所述请求消息的响应消息,从所述响应消息中获取所述主动笔的所述配对信息,根据所述配对信息,通过所述第二近距离无线通信单元建立所述电子设备和所述主动笔的近距离无线通信连接。
通过本发明实施例提供的近距离无线通信连接方案,主动笔在接近或接触触摸屏时发送连接触发信号,以触发建立主动笔与触摸屏所在设备之间的近距离无线通信连接,其中,主动笔、触摸屏和触摸屏所在设备均具有近距离无线通信功能;然后,主动笔根据触摸屏的请求(即第一请求)向触摸屏发送主动笔的标识信息;进而,接收触摸屏根据该标识信息返回的第二请求,主动笔根据该第二请求将主动笔的用于近距离无线通信的配对信息发送给触摸屏,以根据该配对信息建立主动笔和触摸屏所在设备之间的近距离无线通信连接。
可见,一方面,本发明实施例提供的方案在设备间进行首次连接操作时,根据主动笔的连接触发信号,即可实现主动笔与触摸屏之间的自动交互,使触摸屏及其所在设备获得用于建立近距离无线通信连接的配对信息,实现设备间的首次配对连接,该过程无需用户参与,简化了用户操作,减轻了用户的操作负担;另一方面,触摸屏及其所在设备可以直接从主动笔一侧获得配对信息,进而针对该配对信息进行触摸屏所在设备与主动笔的配对连接,无 需从多个设备中确定需要连接的设备,可以有效避免设备重名时的连接错误,提高了配对连接的效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为根据本发明实施例一的一种近距离无线通信连接方法的步骤流程图;
图2为根据本发明实施例二的一种近距离无线通信连接方法的步骤流程图;
图3为根据本发明实施例三的一种近距离无线通信连接方法的时序图;
图4为根据本发明实施例四的一种主动笔的结构框图;
图5为根据本发明实施例五的一种触摸屏的结构及其与所在设备中其它结构的关系示意图;
图6为根据本发明实施例六的一种近距离无线通信连接系统的结构示意图。
具体实施方式
为使得本发明实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而非全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
实施例一
参照图1,示出了根据本发明实施例一的一种近距离无线通信连接方法的步骤流程图。
本实施例从主动笔一侧对本发明提供的近距离无线通信连接方法进行说 明。本实施例的近距离无线通信连接方法包括以下步骤:
步骤S102:主动笔向触摸屏发送连接触发信号。
其中,所述连接触发信号用于触发建立主动笔与触摸屏所在设备之间的近距离无线通信连接。本发明实施例中,主动笔和触摸屏均具有近距离无线通信功能,该功能可以由本领域技术人员根据实际需求采用任意适当的方式实现。
在实际应用中,连接触发信号可以是适用于主动笔的、任意适当的触发信号,包括但不限于:脉冲信号、设定字符、设定数字、设定形状中的一种。例如,当主动笔距离触摸屏一定距离或者接触触摸屏时,便会发射打码信号(一种发送信息的脉冲信号),主动笔可利用该信号实现连接触发,触发主动笔和触摸屏进行本实施例的配对连接过程;又或者,当主动笔在触摸屏上写出设定字符的形状后,触发主动笔和触摸屏进行本实施例的配对连接过程;再或者,当主动笔在触摸屏上写出设定数据后,触发主动笔和触摸屏进行本实施例的配对连接过程;又或者,当主动笔在触摸屏上画出设定形状后,触发主动笔和触摸屏进行本实施例的配对连接过程。其中,设定字符、设定数据和设定形状均可由本领域技术人员根据实际需求适当设置,本发明实施例对此不作限制。其中,设定字符包括但不限于:设定中文字符、设定外文字符;设定形状包括但不限于:圆形、矩形、三角形、不规则形状、直线、规则或不规则曲线,等等。通过脉冲方式最大程度地利用了主动笔自身的性能,降低了实现成本,且简化了实现流程;通过设定字符、设定数字或设定形状的方式,便于用户触发和操作,可以让用户控制连接触发的时机,提升了用户体验。
在一种可选方式中,主动笔可以通过笔尖向触摸屏发送连接触发信号,笔尖是主动笔的一部分,通过笔尖向触摸屏发送连接触发信号,有效利用了主动笔自身的结构,节约了方案实现成本,提高了主动笔利用效率。但不限于此,在实际应用中,本领域技术人员也可以根据实际需要,使用主动笔的其它部分的结构或功能模块,实现连接触发信号的发送。
本实施例中,所述近距离无线通信连接包括但不限于:蓝牙连接、NFC连接、Hotknot连接等。
步骤S104:主动笔接收触摸屏根据所述触发信号发送的第一请求。
其中,所述第一请求用于请求主动笔的标识信息。
触摸屏在接收到主动笔要求建立近距离无线通信连接的连接触发信号后,会向主动笔发送第一请求,以请求获得主动笔的标识信息,以为后续建立近距离无线通信连接提供准备。
步骤S106:主动笔根据第一请求向触摸屏发送主动笔的标识信息,并接收触摸屏根据所述标识信息反馈的第二请求。
其中,所述第二请求用于请求主动笔的、用于近距离无线通信的配对信息。
主动笔的标识信息可以是任意适当的信息,可唯一标识主动笔即可。触摸屏在接收到主动笔的标识信息后,可以根据该标识信息判断是否与该主动笔建立过近距离无线通信连接。若未建立过,则会向主动笔发送第二请求。设备间首次连接时,触摸屏会向主动笔请求用于近距离无线通信的配对信息,以实现设备间的配对及后续的通信连接。
在一种可行方式中,本步骤可以实现为:主动笔根据第一请求向触摸屏发送主动笔的标识信息,通过触摸屏将所述标识信息发送至触摸屏所在设备的服务进程,以由所述服务进程根据所述标识信息确定主动笔与触摸屏所在设备是否建立过近距离无线通信连接;进而,接收触摸屏反馈的第二请求,其中,所述第二请求在所述服务进程反馈主动笔与触摸屏所在设备未建立过近距离无线通信连接时生成。
对于目前的大部分触摸屏,受限于其硬件性能,可以将判断主动笔与触摸屏所在设备是否建立过近距离无线通信连接的操作交给触摸屏所在设备的服务进程来做,不会增加触摸屏的操作负担,且可以通过触摸屏所在设备的服务进程进行快速、准确地判断。但不限于此,若触摸屏自身性能足够支持该判断,则该判断可以由触摸屏自身执行,如,通过触摸屏的触摸屏驱动执行,等等。
可选地,主动笔可以通过笔尖向触摸屏发送主动笔的标识信息,以有效利用主动笔自身结构,提高方案实现效率,节约实现成本。
步骤S108:主动笔根据第二请求,向触摸屏发送主动笔的用于近距离无线通信的配对信息,以与触摸屏所在设备建立近距离无线通信连接。
主动笔将其配对信息发送给触摸屏,触摸屏据此进行后续操作,以实现 主动笔与触摸屏所在设备的近距离无线通信连接。
在一种可行方式中,主动笔根据第二请求向触摸屏发送所述配对信息;从触摸屏接收根据所述配对信息生成的连接信息,根据所述连接信息与触摸屏所在设备进行配对并在配对成功后建立与触摸屏所在设备的近距离无线通信连接。可选地,所述连接信息中可以携带有触摸屏所在设备的用于近距离无线通信的配对信息。
可选地,主动笔可以过笔尖向触摸屏发送主动笔的配对信息,以有效利用主动笔自身结构,提高方案实现效率,节约实现成本。
此外,还可以预先为主动笔设置相应的模式,如连接模式、工作模式等。当主动笔处于连接模式下,与触摸屏交互并向触摸屏发送用于建立近距离无线通信连接的相关信息;当主动笔处于工作模式下,则可以主要向触摸屏发送相应的信号,如高压驱动信号,以实现主动笔作为笔的功能,如书写、点选等功能。
此种情况下,主动笔切换至连接模式,并根据第二请求,向触摸屏发送主动笔的所述配对信息。而在主动笔根据第二请求,向触摸屏发送主动笔的所述配对信息,以与触摸屏所在设备建立近距离无线通信连接之后,主动笔切换至工作模式,并通过高压驱动信号与触摸屏进行交互。通过设置连接模式和工作模式,可以对主动笔的操作进行有效区分,也便于触摸屏易于识别主动笔发送的信号。
此外,还需要说明的是,触摸屏中设置有触摸屏驱动,上述过程中与触摸屏有关的操作均可通过触摸屏驱动实现,也即,主动笔与触摸屏的触摸屏驱动进行交互,实现相应的近距离无线通信连接。触摸屏驱动可以是烧制于触摸屏芯片中的功能模块,也可以是独立与触摸屏芯片的功能模块。
通过本实施例提供的方案,主动笔在接近或接触触摸屏时发送连接触发信号,以触发建立主动笔与触摸屏所在设备之间的近距离无线通信连接,其中,主动笔、触摸屏和触摸屏所在设备均具有近距离无线通信功能;然后,主动笔根据触摸屏的请求(即第一请求)向触摸屏发送主动笔的标识信息;进而,接收触摸屏根据该标识信息返回的第二请求,主动笔根据该第二请求将主动笔的用于近距离无线通信的配对信息发送给触摸屏,以根据该配对信息建立主动笔和触摸屏所在设备之间的近距离无线通信连接。
可见,一方面,本实施例提供的方案在设备间进行首次连接操作时,根据主动笔的连接触发信号,即可实现主动笔与触摸屏之间的自动交互,使触摸屏及其所在设备获得用于建立近距离无线通信连接的配对信息,实现设备间的首次配对连接,该过程无需用户参与,简化了用户操作,减轻了用户的操作负担;另一方面,触摸屏及其所在设备可以直接从主动笔一侧获得配对信息,进而针对该配对信息进行触摸屏所在设备与主动笔的配对连接,无需从多个设备中确定需要连接的设备,可以有效避免设备重名时的连接错误,提高了配对连接的效率。
实施例二
参照图2,示出了根据本发明实施例二的一种近距离无线通信连接方法的步骤流程图。
本实施例从触摸屏一侧,对本发明提供的近距离无线通信连接方法进行说明。本实施例的近距离无线通信连接方法包括以下步骤:
步骤S202:触摸屏接收主动笔发送的连接触发信号。
其中,所述连接触发信号用于触发建立主动笔与触摸屏所在设备之间的近距离无线通信连接。本实施例中,所述近距离无线通信连接包括但不限于:蓝牙连接、NFC连接、Hotknot连接等。
如实施例一中所述,连接触发信号可以是任意适当的信号,包括但不限于:脉冲信号、设定字符、设定数字、设定形状中的一种。
可选地,主动笔可以通过笔尖向触摸屏发送连接触发信号,也即,触摸屏接收主动笔通过笔尖发送的连接触发信号,以有效利用主动笔自身结构,提高方案实现效率,节约实现成本。
步骤S204:触摸屏根据连接触发信号,通过第一请求获取主动笔的标识信息。
触摸屏在接收到主动笔发送的连接触发信号后,会向主动笔发送第一请求,其中,所述第一请求用于请求获得主动笔的标识信息。主动笔在接收到第一请求后,会向主动笔的标识信息发送给触摸屏。
其中,主动笔的标识信息可以是任意适当的标识信息,可唯一标识主动笔,以便于识别即可。
步骤S206:触摸屏根据所述标识信息,确定主动笔与触摸屏所在设备未建立过近距离无线通信连接。
在一种可行方式中,触摸屏可以将所述标识信息发送给触摸屏所在设备的服务进程,并接收所述服务进程的反馈信息,其中,所述反馈信息用于指示主动笔与触摸屏所在设备是否建立过近距离无线通信连接;根据所述反馈信息,确定主动笔与触摸屏所在设备未建立过近距离无线通信连接。
对于目前的大部分触摸屏,受限于其硬件性能,可以将判断主动笔与触摸屏所在设备是否建立过近距离无线通信连接的操作交给触摸屏所在设备的服务进程来做,不会增加触摸屏的操作负担,且可以通过触摸屏所在设备的服务进程进行快速、准确地判断。但不限于此,若触摸屏自身性能足够支持该判断,则该判断可以由触摸屏自身执行,如,通过触摸屏的触摸屏驱动执行,等等。
步骤S208:触摸屏向主动笔发送第二请求,以获取主动笔的近距离无线通信的配对信息。
在确定触摸屏所在设备未和主动笔建立过近距离无线通信连接,也即,本次连接为首次连接时,触摸屏会向主动笔发送第二请求,其中,所述第二请求用于请求获得主动笔的、用于近距离无线通信的配对信息。主动笔在接收到该第二请求后,会向触摸屏发送响应信息,将其配对信息携带在响应信息中发送给触摸屏。
步骤S210:触摸屏根据所述配对信息,建立主动笔与触摸屏所在设备的近距离无线通信连接。
在获知主动笔的配对信息后,触摸屏会将该配对信息发送给触摸屏所在设备,进而启动触摸屏所在设备与主动笔建立近距离无线通信连接。在一种实现方式中,触摸屏还会把触摸屏所在设备的配对信息也发送给主动笔,以与主动笔顺利进行连接。
此外,还需要说明的是,触摸屏中设置有触摸屏驱动,上述过程均可由触摸屏驱动实现,也即,触摸屏的触摸屏驱动与主动笔及服务进程进行交互,实现相应的近距离无线通信连接。触摸屏驱动可以是烧制于触摸屏芯片中的功能模块,也可以是独立与触摸屏芯片的功能模块。
通过本实施例提供的方案,触摸屏在接收到主动笔发送的连接触发信号 后,与主动笔进行交互,获取主动笔中相应的信息,以建立触摸屏所在设备与主动笔之间的近距离无线通信连接。可见,一方面,本实施例提供的方案在设备间进行首次连接操作时,根据主动笔的连接触发信号,即可实现主动笔与触摸屏之间的自动交互,使触摸屏及其所在设备获得用于建立近距离无线通信连接的配对信息,实现设备间的首次配对连接,该过程无需用户参与,简化了用户操作,减轻了用户的操作负担;另一方面,触摸屏可以直接从主动笔一侧获得配对信息,进而针对该配对信息进行触摸屏所在设备与主动笔的配对连接,无需从多个设备中确定需要连接的设备,可以有效避免设备重名时的连接错误,提高了配对连接的效率。
实施例三
参照图3,示出了根据本发明实施例三的一种近距离无线通信连接方法的时序图。
本实施例从主动笔、触摸屏和触摸屏所在设备的交互角度,以一个具体实例的形式,对本发明提供的近距离无线通信连接方法进行说明。
本实施例的近距离无线通信连接方法包括以下步骤:
步骤S302:主动笔的笔尖靠近触摸屏,向触摸屏驱动发送打码信号。
本实施例中,以主动笔为蓝牙主动笔为例,该蓝牙主动笔集成了近距离无线通信功能,本实施例中具体为蓝牙功能,但不限于此,该近距离无线通信功能也可以是NFC功能、Hotknot功能,等其它适当的近距离无线通信功能。
具体到本实施例,蓝牙主动笔是一个单独的设备,其笔尖可直接与其它设备如笔记本电脑的触摸屏进行信号交互,其尾端的蓝牙设备可与笔记本电脑的蓝牙互连进而实现信息交互。而本实施例中,该蓝牙主动笔还可以自动将笔上的蓝牙设备与笔记本电脑自动连接,主动笔作为信息的发送端,负责将笔上蓝牙设备的相关信息透过笔尖传递给触摸屏。
触摸屏是电子设备如笔记本电脑的一个部件,它可响应手、笔等多种介质的触摸事件,并为操作系统提供坐标信息。本实施例中的触摸屏集成有近距离无线通信功能,本实施例中具体为蓝牙功能,但该近距离无线通信功能也可以是NFC功能、Hotknot功能。在一次连接中,主动笔和触摸屏使用的 近距离无线通信功能相同,如均为蓝牙。本实施例的方案中,有效利用了触摸屏可与主动笔进行信息交互的能力,作为信息的接收端,接收来自主动笔的标识信息如设备标识码,以及,主动笔的蓝牙信息等。
主动笔的笔尖打码是通过笔尖发射编码的近距离无线通信技术,本实施例中,主动笔通过该技术向触摸屏发送打码信号。
但不限于发送打码信号的方式,本实施例的近距离无线通信连接方案还支持在自动连接的过程定制多种手势,以丰富用户的操作体验。
例如,采用手势连接方式实现主动笔与触摸屏的近距离无线通信连接。如,当主动笔在触摸屏上画一个指定的简单的图形,例如画一个字母“O”,触摸屏就会通知触摸屏所在设备的系统服务层的服务进程,该主动笔要进行配对操作,该服务进程会获取当前已经连接的蓝牙设备信息并与当前主动笔的蓝牙信息匹配,如果相匹配,那么直接在桌面显示主动笔已经连接。如果未找到匹配的信息,那么服务进程通过触摸屏告知主动笔需要进入广播模式,然后该服务进程打开系统的蓝牙搜索功能,在搜索到的蓝牙设备中,找到与该主动笔的蓝牙信息相符合的设备,然后与之完成配对的动作。如果在设定的时间T1没有完成配对工作,那么可以在桌面显示连接失败。整个过程中,只需要用主动笔在触摸屏上画一个字母“O”即可。
又例如,还可以采用手势断开方式实现主动笔与触摸屏的近距离无线通信连接的断开。如,如果需要断开连接,主动笔只需要画另一个指定的简单图形即可,例如字母“C”。触摸屏识别出该图形后,将断开连接命令发送到触摸屏所在设备的系统服务的服务进程,该服务进程根据获取到的蓝牙信息,自动断开连接,并在桌面显示。
此外,本实施例中,使用触摸屏的触摸屏驱动,使该触摸屏驱动负责与触摸屏所在设备的服务进程以及笔尖的交互,一方面向笔尖发送请求并接收由笔尖传递过来的各种信息;另一方面与服务进程进行交互,将笔上的蓝牙信息传递给服务进程。
步骤S304:触摸屏驱动接收到主动笔发送的打码信号,向主动笔发送请求消息,请求主动笔的笔标识码。
当主动笔靠近触摸屏时,触摸屏驱动会获知到该事件,并向主动笔发送请求消息以请求笔标识码。
步骤S306:主动笔收到触摸屏驱动发送的请求消息后,将笔标识码传递给触摸屏驱动。
步骤S308:触摸屏驱动在接收完笔标识码后,判断是否已与主动笔连接。
步骤S310:触摸屏驱动在判断未与主动笔连接的情况下,会通知触摸屏所在设备的服务进程,并将标识码传递给服务进程。
服务进程常驻在触摸屏所在的设备如笔记本电脑上,会监测由触摸屏驱动上传过来的各种信息并完成蓝牙的配对或断开操作。
步骤S312:服务进程依据笔标识码判断是否已保存有主动笔的相关信息,如有,则直接使用保存有的蓝牙信息进行蓝牙连接,如没有,则执行步骤S314。
步骤S314:服务进程给触摸屏驱动发送请求,以请求主动笔的蓝牙信息。
步骤S316:触摸屏驱动将请求蓝牙信息的请求发送到主动笔。
步骤S318:主动笔在收到请求后,准备蓝牙信息并将笔尖切换至连接模式。
步骤S320:主动笔将相关蓝牙信息发送给触摸屏驱动。
步骤S322:触摸屏驱动对获取到的蓝牙信息进行信息校验,校验通过后将该蓝牙信息传递给服务进程,同时也向主动笔发送停止标志。
例如,通过对蓝牙信息中携带的数据进行检验和判断,以校验获取的蓝牙信息是否完整等。
步骤S324:服务进程接收到蓝牙信息后,记录该蓝牙信息,打开触摸屏所在设备的蓝牙设备,以与主动笔进行蓝牙连接。
步骤S326:触摸屏驱动记录连接状态。
步骤S328:完成主动笔与触摸屏所在设备的配对操作,建立主动笔与触摸屏所在设备的蓝牙连接。
需要说明的是,在步骤S322触摸屏驱动向主动笔发送停止标志后,主动笔接收到该停止标志,将笔尖切换回工作模式。
通过本实施例,当主动笔的笔尖接触触摸屏时,笔尖和触摸屏都会开启近距离无线通信功能,当笔尖离开触摸屏时,近距离无线通信会被关闭。当主动笔与触摸屏通过近距离无线通信功能建立连接后,主动笔会发送唯一的标识码给触摸屏。如果该标识码在服务进程中已存在,那么表示该主动笔已经和触摸屏建立过连接,此时通过该识别码即可在服务进程里找到该主动笔 的蓝牙设备的基本信息,然后进行连接和配对操作;如果该标识码在服务进程中没有存在,那么触摸屏向主动笔请求蓝牙设备的基本信息,主动笔在接收到该请求后,会将蓝牙信息发送给触摸屏,并最终传递给服务进程用于完成蓝牙连接操作。
可见,通过本实施例,可以极大简化蓝牙主动笔与电脑的配对操作流程,无需用户介入,自动完成蓝牙设备的打开、扫描、选择及配对操作,为用户提供简单、快捷、准确的设备连接解决方案。
实施例四
参照图4,示出了根据本发明的一种主动笔的结构框图。
本实施例的主动笔包括第一无线收发器402和第一近距离无线通信单元404。其中:第一无线收发器402,用于向触摸屏发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;第一无线收发器402,还用于接收所述触摸屏根据所述触发信号发送的第一请求并发送至第一近距离无线通信单元404处理,其中,所述第一请求用于请求所述主动笔的标识信息;第一无线收发器402,还用于根据所述第一请求从第一近距离无线通信单元404获取主动笔的标识信息,并向所述触摸屏发送所述主动笔的标识信息;第一无线收发器402,还用于接收所述触摸屏根据所述标识信息反馈的第二请求并发送至第一近距离无线通信单元404处理,其中,所述第二请求用于请求所述主动笔的用于近距离无线通信的配对信息;第一无线收发器402,还用于根据所述第二请求,从第一近距离无线通信单元404获取主动笔的配对信息,并向所述触摸屏发送所述主动笔的所述配对信息,以使第一近距离无线通信单元404与所述触摸屏所在设备建立近距离无线通信连接。
可选地,所述第一无线收发器402还用于从所述触摸屏接收根据所述配对信息生成的连接信息并发送至所述第一近距离无线通信单元404,所述第一近距离无线通信单元404根据所述连接信息与所述触摸屏所在设备进行配对,并在配对成功后建立与所述触摸屏所在设备的近距离无线通信连接。
可选地,所述第一无线收发器402通过所述主动笔的笔尖向所述触摸屏发送连接触发信号;通过所述笔尖向所述触摸屏发送所述主动笔的标识信息; 通过所述笔尖向所述触摸屏发送所述配对信息。
可选地,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
可选地,所述第一无线收发器402在将所述主动笔的标识信息发送给所述触摸屏后,由所述触摸屏将所述标识信息发送至所述触摸屏所在设备的服务进程,以由所述服务进程根据所述标识信息确定所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接;所述第二请求在所述服务进程反馈所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接时生成。
可选地,所述第一近距离无线通信单元404还用于根据所述第二请求将所述主动笔切换至连接模式,同时所述第一无线收发器402根据所述第二请求向所述触摸屏发送所述主动笔的所述配对信息。
可选地,本实施例的主动笔还包括处理器406,用于在所述主动笔与所述触摸屏所在设备建立近距离无线通信连接,所述主动笔切换至工作模式之后,通过高压驱动信号与所述触摸屏进行交互。
本实施例的主动笔用于实现前述多个方法实施例中相应的主动笔一侧的近距离无线通信连接方法,并具有相应的方法实施例的有益效果,在此不再赘述。
实施例五
参照图5,示出了根据本发明实施例五的一种触摸屏的结构及其与所在设备中其它结构的关系示意图。
本实施例的触摸屏包括:第二无线收发器502,用于接收主动笔发送的连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;还用于根据所述连接触发信号,通过第一请求获取所述主动笔的标识信息,并将所述标识信息发送给所述触摸屏所在设备的处理器;在处理器根据所述标识信息,确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接后,第二无线收发器502向所述主动笔发送第二请求,以获取所述主动笔的近距离无线通信的配对信息,并将所述配对信息通过所述处理器发送给所述触摸屏所在设备的第二近距离无线通信单元,由所述第二近距离无线通信单元建立所述主动笔 与所述触摸屏所在设备的近距离无线通信连接。
可选地,所述第二无线收发器502将所述标识信息发送给所述触摸屏所在设备的处理器的服务进程,并接收所述服务进程发送的反馈信息;根据所述反馈信息指示所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接。
可选地,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
可选地,所述第二无线收发器502接收主动笔通过笔尖发送的连接触发信号。
在一种可行方式中,第二无线收发器502可以和触摸屏驱动程序结合使用,通过触摸屏驱动程序驱动第二无线收发器502实现上述功能。
本实施例的触摸屏用于实现前述多个方法实施例中相应的触摸屏一侧的近距离无线通信连接方法,并具有相应方法实施例的有益效果,在此不再赘述。
实施例六
参照图6,示出了根据本发明实施例六的一种近距离无线通信连接系统的结构示意图。
本实施例的近距离无线通信连接系统包括:电子设备602和主动笔604,其中,电子设备602包括处理器6022、触摸屏6024和第二近距离无线通信单元6026。
其中,主动笔604可以为如实施例四中所述的主动笔,触摸屏6024可以为如实施例五中所述的触摸屏。
电子设备602的处理器6022,用于从所述触摸屏6024获取所述主动笔604的标识信息,并在根据所述标识信息确定所述电子设备602和所述主动笔604未建立过近距离无线通信连接时,向所述触摸屏6024发送请求消息,通过所述请求消息请求所述主动笔604的用于近距离无线通信的配对信息;所述处理器6022,还用于从所述触摸屏6024获取所述主动笔604对所述请求消息的响应消息,从所述响应消息中获取所述主动笔604的所述配对信息,根据所述配对信息,通过所述第二近距离无线通信单元6026建立所述 电子设备602和所述主动笔604的近距离无线通信连接。
例如,主动笔604通过其处理器控制主动笔604中的各结构,其中,控制第一无线收发器向触摸屏6024发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔604与所述电子设备602之间的近距离无线通信连接;触摸屏6024通过第二无线收发器接收主动笔604发送的连接触发信号,根据所述连接触发信号,通过第一请求来请求获取所述主动笔604的标识信息;主动笔604通过第一无线收发器接收所述触摸屏6024根据所述触发信号通过第二无线收发器发送的第一请求,根据所述第一请求从第一近距离无线通信单元获取主动笔604的标识信息,并向所述触摸屏6024发送所述主动笔604的标识信息;触摸屏6024通过第二无线收发器获取所述主动笔604的标识信息,将该标识信息发送给处理器6022,以使处理器6022根据所述标识信息,确定所述主动笔604与所述电子设备602未建立过近距离无线通信连接;处理器6022向触摸屏6024发送用于获取主动笔604的配对信息的请求;触摸屏6024根据该请求通过第二无线收发器向所述主动笔604发送第二请求,以获取所述主动笔604的近距离无线通信的配对信息;主动笔604通过第一无线收发器接收所述触摸屏6024根据所述标识信息反馈的第二请求,从第一近距离无线通信单元获取主动笔604的配对信息,并向所述触摸屏6024发送所述主动笔604的所述配对信息;触摸屏6024通过第二无线收发器接收所述配对信息,并将所述配对信息发送给处理器6022,由处理器6022通过第二近距离无线通信单元6026建立所述主动笔604与所述电子设备602的近距离无线通信连接。
可见,通过本实施例的近距离无线通信连接系统,可以实现无需用户参与的主动笔与电子设备之间的首次近距离无线通信连接,简化了用户操作,减轻了用户的操作负担;且因信息交互更有针对性,可以有效避免设备重名时的连接错误,提高了配对连接的效率。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例 方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,所述计算机可读记录介质包括用于以计算机(例如计算机)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等,该计算机软件产品包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (23)

  1. 一种近距离无线通信连接方法,包括:
    主动笔向触摸屏发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;
    接收所述触摸屏根据所述触发信号发送的第一请求,其中,所述第一请求用于请求所述主动笔的标识信息;
    根据所述第一请求向所述触摸屏发送所述主动笔的标识信息,并接收所述触摸屏根据所述标识信息反馈的第二请求,其中,所述第二请求用于请求所述主动笔的用于近距离无线通信的配对信息;
    根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息,以与所述触摸屏所在设备建立近距离无线通信连接。
  2. 如权利要求1所述的方法,其中,所述根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息,以与所述触摸屏所在设备建立近距离无线通信连接,包括:
    根据所述第二请求向所述触摸屏发送所述配对信息;
    从所述触摸屏接收根据所述配对信息生成的连接信息,根据所述连接信息与所述触摸屏所在设备进行配对并在配对成功后建立与所述触摸屏所在设备的近距离无线通信连接。
  3. 如权利要求1所述的方法,其中,
    所述向触摸屏发送连接触发信号,包括:通过所述主动笔的笔尖向所述触摸屏发送连接触发信号;
    所述向所述触摸屏发送所述主动笔的标识信息,包括:通过所述笔尖向所述触摸屏发送所述主动笔的标识信息;
    所述向所述触摸屏发送所述配对信息,包括:通过所述笔尖向所述触摸屏发送所述配对信息。
  4. 如权利要求1-3任一项所述的方法,其中,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
  5. 如权利要求1-4任一项所述的方法,其中,所述根据所述第一请求向所述触摸屏发送所述主动笔的标识信息,并接收所述触摸屏根据所述标识信息反馈的第二请求,包括:
    根据所述第一请求向所述触摸屏发送所述主动笔的标识信息,通过所述触摸屏将所述标识信息发送至所述触摸屏所在设备的服务进程,以由所述服务进程根据所述标识信息确定所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接;
    接收所述触摸屏反馈的所述第二请求,其中,所述第二请求在所述服务进程反馈所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接时生成。
  6. 如权利要求1-5任一项所述的方法,其中,所述根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息,包括:
    所述主动笔切换至连接模式,并根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息。
  7. 如权利要求6所述的方法,其中,在所述根据所述第二请求,向所述触摸屏发送所述主动笔的所述配对信息,以与所述触摸屏所在设备建立近距离无线通信连接之后,所述方法还包括:
    所述主动笔切换至工作模式,并通过高压驱动信号与所述触摸屏进行交互。
  8. 一种近距离无线通信连接方法,包括:
    触摸屏接收主动笔发送的连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;
    根据所述连接触发信号,通过第一请求获取所述主动笔的标识信息;
    根据所述标识信息,确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接;
    向所述主动笔发送第二请求,以获取所述主动笔的近距离无线通信的配对信息;
    根据所述配对信息,建立所述主动笔与所述触摸屏所在设备的近距离无线通信连接。
  9. 如权利要求8所述的方法,其中,所述根据所述标识信息,确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接,包括:
    将所述标识信息发送给所述触摸屏所在设备的服务进程,并接收所述 服务进程的反馈信息,其中,所述反馈信息用于指示所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接;
    根据所述反馈信息,确定所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接。
  10. 如权利要求8或9所述的方法,其中,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
  11. 如权利要求8-10任一项所述的方法,其中,所述触摸屏接收主动笔发送的连接触发信号,包括:
    触摸屏接收主动笔通过笔尖发送的连接触发信号。
  12. 一种主动笔,包括:
    第一无线收发器,用于向触摸屏发送连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;
    所述第一无线收发器,还用于接收所述触摸屏根据所述连接触发信号发送的第一请求并发送至第一近距离无线通信单元,其中,所述第一请求用于请求所述主动笔的标识信息;
    所述第一无线收发器,还用于根据所述第一请求从所述第一近距离无线通信单元获取所述主动笔的标识信息,并向所述触摸屏发送所述主动笔的标识信息;
    所述第一无线收发器,还用于接收所述触摸屏根据所述标识信息反馈的第二请求并发送至所述第一近距离无线通信单元,其中,所述第二请求用于请求所述主动笔的用于近距离无线通信的配对信息;
    所述第一无线收发器,还用于根据所述第二请求,从所述第一近距离无线通信单元获取所述主动笔的所述配对信息,并向所述触摸屏发送所述主动笔的所述配对信息,以使所述第一近距离无线通信单元与所述触摸屏所在设备建立近距离无线通信连接。
  13. 如权利要求12所述的主动笔,其中,所述第一无线收发器还用于从所述触摸屏接收根据所述配对信息生成的连接信息并发送至所述第一近距离无线通信单元,所述第一近距离无线通信单元根据所述连接信息与所述触摸 屏所在设备进行配对,并在配对成功后建立与所述触摸屏所在设备的近距离无线通信连接。
  14. 如权利要求12所述的主动笔,其中,
    所述第一无线收发器,通过所述主动笔的笔尖向所述触摸屏发送连接触发信号;通过所述笔尖向所述触摸屏发送所述主动笔的标识信息;通过所述笔尖向所述触摸屏发送所述配对信息。
  15. 如权利要求12-14任一项所述的主动笔,其中,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
  16. 如权利要求12-15任一项所述的主动笔,其中,
    所述第一无线收发器在将所述主动笔的标识信息发送给所述触摸屏后,由所述触摸屏将所述标识信息发送至所述触摸屏所在设备的服务进程,以由所述服务进程根据所述标识信息确定所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接;
    所述第二请求在所述服务进程反馈所述主动笔与所述触摸屏所在设备未建立过近距离无线通信连接时生成。
  17. 如权利要求12-16任一项所述的主动笔,其中,所述第一近距离无线通信单元还用于根据所述第二请求将所述主动笔切换至连接模式,同时所述第一无线收发器根据所述第二请求向所述触摸屏发送所述主动笔的所述配对信息。
  18. 如权利要求17所述的主动笔,其中,所述主动笔还包括:
    处理器,用于在所述主动笔与所述触摸屏所在设备建立近距离无线通信连接,所述主动笔切换至工作模式之后,通过高压驱动信号与所述触摸屏进行交互。
  19. 一种触摸屏,包括:
    第二无线收发器,用于接收主动笔发送的连接触发信号,其中,所述连接触发信号用于触发建立所述主动笔与所述触摸屏所在设备之间的近距离无线通信连接;还用于根据所述连接触发信号,通过第一请求获取所述主动笔的标识信息,并将所述标识信息发送给所述触摸屏所在设备的处理器;
    在所述处理器根据所述标识信息确定所述主动笔与所述触摸屏所在设 备未建立过近距离无线通信连接后,所述第二无线收发器向所述主动笔发送第二请求,以获取所述主动笔的近距离无线通信的配对信息,并将所述配对信息通过所述处理器发送给所述触摸屏所在设备的第二近距离无线通信单元,由所述第二近距离无线通信单元建立所述主动笔与所述触摸屏所在设备的近距离无线通信连接。
  20. 如权利要求19所述的触摸屏,其中,所述第二无线收发器将所述标识信息发送给所述触摸屏所在设备的处理器的服务进程,并接收所述服务进程发送的反馈信息;根据所述反馈信息指示所述主动笔与所述触摸屏所在设备是否建立过近距离无线通信连接。
  21. 如权利要求19或20所述的触摸屏,其中,所述连接触发信号为:脉冲信号、设定字符、设定数字、设定形状中的一种。
  22. 如权利要求19-21任一项所述的触摸屏,其中,所述第二无线收发器接收主动笔通过笔尖发送的连接触发信号。
  23. 一种近距离无线通信连接系统,包括:电子设备和如权利要求12-18任一项所述的主动笔,其中,所述电子设备包括处理器、第二近距离无线通信单元和如权利要求19-22任一项所述的触摸屏;
    所述处理器,用于从所述触摸屏获取所述主动笔的标识信息,并在根据所述标识信息确定所述电子设备和所述主动笔未建立过近距离无线通信连接时,向所述触摸屏发送请求消息,通过所述请求消息请求所述主动笔的用于近距离无线通信的配对信息;
    所述处理器,还用于从所述触摸屏获取所述主动笔对所述请求消息的响应消息,从所述响应消息中获取所述主动笔的所述配对信息,根据所述配对信息,通过所述第二近距离无线通信单元建立所述电子设备和所述主动笔的近距离无线通信连接。
PCT/CN2018/098571 2018-08-03 2018-08-03 近距离无线通信连接方法、系统、主动笔及触摸屏 WO2020024273A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/098571 WO2020024273A1 (zh) 2018-08-03 2018-08-03 近距离无线通信连接方法、系统、主动笔及触摸屏
CN201880001018.XA CN111083943B (zh) 2018-08-03 2018-08-03 近距离无线通信连接方法、系统、主动笔及触摸屏

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/098571 WO2020024273A1 (zh) 2018-08-03 2018-08-03 近距离无线通信连接方法、系统、主动笔及触摸屏

Publications (1)

Publication Number Publication Date
WO2020024273A1 true WO2020024273A1 (zh) 2020-02-06

Family

ID=69232293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/098571 WO2020024273A1 (zh) 2018-08-03 2018-08-03 近距离无线通信连接方法、系统、主动笔及触摸屏

Country Status (2)

Country Link
CN (1) CN111083943B (zh)
WO (1) WO2020024273A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115294A (zh) * 2021-04-22 2021-07-13 荣耀终端有限公司 一种手写笔连接方法及蓝牙系统
CN113110763A (zh) * 2021-04-26 2021-07-13 北京集创北方科技股份有限公司 触控检测方法、装置、芯片及电子设备
WO2023279928A1 (zh) * 2021-07-08 2023-01-12 Oppo广东移动通信有限公司 信号传输方法及信息提示方法、装置、电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533543A (zh) * 2013-10-08 2014-01-22 深圳Tcl新技术有限公司 基于近场通信的终端的配对方法及装置
CN104981025A (zh) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 终端配对方法、装置、服务器和终端
CN105898678A (zh) * 2016-03-29 2016-08-24 联想(北京)有限公司 一种配对方法和电子设备
US20170111949A1 (en) * 2012-06-15 2017-04-20 Samsung Electronics Co., Ltd. Method and apparatus for performing wireless communication between terminals
CN107624247A (zh) * 2015-05-15 2018-01-23 微软技术许可有限责任公司 自动设备配对

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10782799B2 (en) * 2014-05-13 2020-09-22 Lenovo (Singapore) Pte. Ltd. Smart pen pairing and connection
EP3241098B1 (en) * 2015-01-04 2023-02-22 Microsoft Technology Licensing, LLC Active stylus communication with a digitizer
CN106211036A (zh) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 一种连接设备的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170111949A1 (en) * 2012-06-15 2017-04-20 Samsung Electronics Co., Ltd. Method and apparatus for performing wireless communication between terminals
CN103533543A (zh) * 2013-10-08 2014-01-22 深圳Tcl新技术有限公司 基于近场通信的终端的配对方法及装置
CN104981025A (zh) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 终端配对方法、装置、服务器和终端
CN107624247A (zh) * 2015-05-15 2018-01-23 微软技术许可有限责任公司 自动设备配对
CN105898678A (zh) * 2016-03-29 2016-08-24 联想(北京)有限公司 一种配对方法和电子设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115294A (zh) * 2021-04-22 2021-07-13 荣耀终端有限公司 一种手写笔连接方法及蓝牙系统
CN113115294B (zh) * 2021-04-22 2022-05-03 荣耀终端有限公司 一种手写笔连接方法及蓝牙系统
WO2022222552A1 (zh) * 2021-04-22 2022-10-27 荣耀终端有限公司 一种手写笔连接方法及蓝牙系统
CN113110763A (zh) * 2021-04-26 2021-07-13 北京集创北方科技股份有限公司 触控检测方法、装置、芯片及电子设备
WO2023279928A1 (zh) * 2021-07-08 2023-01-12 Oppo广东移动通信有限公司 信号传输方法及信息提示方法、装置、电子设备

Also Published As

Publication number Publication date
CN111083943B (zh) 2023-11-24
CN111083943A (zh) 2020-04-28

Similar Documents

Publication Publication Date Title
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
US10521373B2 (en) Input device with multi-host switching
KR101597177B1 (ko) 무선 통신 접속의 콘텍스트 인식 근접도 기반 설정
WO2020024273A1 (zh) 近距离无线通信连接方法、系统、主动笔及触摸屏
WO2017028577A1 (zh) 群组聊天内容显示方法及装置
EP2993802A1 (en) Near field communication-based data transmission method and apparatus, and near field communication device
WO2023279814A1 (zh) 蓝牙设备配对连接方法、电子设备、蓝牙设备及终端系统
JP6179157B2 (ja) 情報処理装置、通信端末装置および情報処理装置のプログラム
WO2019041278A1 (zh) 一种配对方法、取消配对方法、终端设备及外接设备
CN103209030B (zh) 电子装置及其数据传输方法
CN103634205A (zh) 集成即时通讯/社交应用的车载娱乐系统及方法
JP7320016B2 (ja) 車両呼び出し命令の送信方法、装置及び電子機器
WO2017045283A1 (zh) 终端间屏幕控制的方法、装置和存储介质
US20130162523A1 (en) Shared wireless computer user interface
WO2013174265A1 (zh) 数据传输方法和装置
WO2017114115A1 (zh) 一种车辆诊断系统的数据处理方法、装置和系统
WO2021078215A1 (zh) 一种云游戏跨终端切换的方法和相关装置
JP7107787B2 (ja) データ通信方法
WO2022228028A1 (zh) 一种文件分享方法和电子设备
WO2017075924A1 (zh) 一种组群方法、装置及系统
CN103052050A (zh) 集线器装置与通过集线器装置自动建立起联机的方法
JP2017055307A (ja) ビーコン装置、携帯端末装置、サービス提供システム、ビーコン信号送信方法、及びビーコン信号処理方法
JP2014060479A (ja) 携帯端末、その制御方法、および、その制御プログラム
CN114980044A (zh) 一种蓝牙连接方法、存储介质及相关设备
NL2030117B1 (en) Electrostatic peripheral communication for touch-sensitive display

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18928213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928213

Country of ref document: EP

Kind code of ref document: A1