WO2015070434A1 - Communication method, first electronic device, and second electronic device - Google Patents

Communication method, first electronic device, and second electronic device Download PDF

Info

Publication number
WO2015070434A1
WO2015070434A1 PCT/CN2013/087223 CN2013087223W WO2015070434A1 WO 2015070434 A1 WO2015070434 A1 WO 2015070434A1 CN 2013087223 W CN2013087223 W CN 2013087223W WO 2015070434 A1 WO2015070434 A1 WO 2015070434A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
touch screen
capacitive touch
capacitive
preset
Prior art date
Application number
PCT/CN2013/087223
Other languages
French (fr)
Chinese (zh)
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/CN2013/087223 priority Critical patent/WO2015070434A1/en
Publication of WO2015070434A1 publication Critical patent/WO2015070434A1/en

Links

Classifications

    • H04B5/72
    • H04B5/22

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a communication method, a first electronic device, and a second electronic device. Background technique
  • Near field communication is a close-range wireless communication technology that can realize data transmission between electronic devices and is a safe and reliable communication technology.
  • NFC Near Field Communication
  • the embodiment of the present application solves the problem that the NFC antenna affects the overall layout of the electronic device by using the NFC chip to implement near field communication in the prior art by providing a communication method, the first electronic device, and the second electronic device. technical problem.
  • a communication method including:
  • the first electronic device When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes a proximity to the second electronic device by the capacitive sensing Field communication
  • the first electronic device transmits a to-be-transmitted data to the second electronic device by using the near field communication.
  • the first electronic device when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes near field communication with the second electronic device by using the capacitive sensing, and includes:
  • the first electronic device detects whether the capacitive sensing is present through the first capacitive touch screen
  • the first electronic device When the first electronic device detects that the capacitive sensing is present, the first electronic device transmits, by the capacitive sensing, request information for establishing the near field communication to the second electronic device;
  • the first electronic device establishes the near field communication with the second electronic device based on the response information.
  • the first electronic device sends, by the capacitive sensing, the second electronic device to establish the near field Request information for communication, including:
  • the first electronic device modulates the request information to obtain a modulation request signal corresponding to the request information
  • the first electronic device by using a transmit channel of the first capacitive touch screen, couples the modulation request signal to the The receiving channel of the second capacitive touch screen includes:
  • the first electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation request signal to a receive channel of the second capacitive touch screen. Minimum transmit power; When the current transmit power is greater than or equal to the preset transmit power, the first electronic device couples the modulation request signal to the second capacitive touch screen through a transmit channel of the first capacitive touch screen On the receiving channel;
  • the first electronic device When the current transmit power is less than the preset transmit power, the first electronic device increases the current transmit power to the preset transmit power, and then passes through a transmit channel of the first capacitive touch screen.
  • the modulation request signal is coupled to a receive channel of the second capacitive touch screen.
  • the receiving, by the first electronic device, the response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication includes:
  • the first electronic device demodulates the modulation response signal to obtain the response information.
  • the first electronic device receives, by the receiving channel of the first capacitive touch screen, the second electronic device
  • the modulation response signal corresponding to the response information includes:
  • the first electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the first capacitive touch screen receives the modulation The minimum induced threshold of the response signal;
  • the first electronic device receives the modulation response signal through a receiving channel of the first capacitive touch screen when the current sensing threshold is greater than or equal to the preset sensing threshold;
  • the first electronic device When the current sensing threshold is less than the preset sensing threshold, the first electronic device increases the current sensing threshold to the preset sensing threshold, and then receives the first capacitive touch screen. a channel, receiving the modulation response signal.
  • the first electronic device transmits data to be transmitted to the second electronic device by using the near field communication, including:
  • the first electronic device modulates the data to be transmitted, and obtains a modulated signal to be transmitted corresponding to the data to be transmitted;
  • the second aspect provides a communication method, including:
  • the second electronic device When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second electronic device establishes a proximity to the first electronic device by the capacitive sensing Field communication
  • the second electronic device receives, by the near field communication, a data to be transmitted from the first electronic device.
  • the second The electronic device when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second The electronic device establishes near field communication with the first electronic device by using the capacitive sensing, including:
  • the second electronic device detects, by the second capacitive touch screen, whether the capacitive sensing is present
  • the second electronic device When the second electronic device detects that the capacitive sensing is present, the second electronic device receives, by the capacitive sensing, request information from the first electronic device for establishing the near field communication;
  • the second electronic device establishes the near field communication with the first electronic device.
  • the second electronic device receives, by the capacitive sensing, the first electronic device from the first electronic device to establish the near Request information for field communication, including:
  • the second electronic device receives, by the capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device;
  • the second electronic device demodulates the modulation request signal to obtain the request information.
  • the second electronic device receives, by the capacitive sensing, the request information from the first electronic device Corresponding modulation request signals, including:
  • the second electronic device determines whether the current sensing threshold is greater than or equal to a predetermined sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the second capacitive touch screen receives the modulation The minimum inductance of the request signal;
  • the second electronic device receives the modulation request signal through a receiving channel of the second capacitive touch screen when the current sensing threshold is greater than or equal to the preset sensing threshold;
  • the second electronic device When the current sensing threshold is less than the preset sensing threshold, the second electronic device increases the current sensing threshold to the preset sensing threshold, and then receives the second capacitive touch screen.
  • the channel receives the modulation request signal.
  • the second electronic device sends the response information to the first electronic device by using the capacitive sensing, including :
  • the second electronic device modulates the response information to obtain a modulation response signal corresponding to the response information
  • the second electronic device couples the modulation response signal to a receiving channel of the first capacitive touch screen through a transmitting channel of the second capacitive touch screen, so as to send the response information to the first An electronic device.
  • the second electronic device by using a transmit channel of the second capacitive touch screen, couples the modulation response signal to the
  • the receiving channel of the first capacitive touch screen includes:
  • the second electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation response signal to a receive channel of the second capacitive touch screen.
  • Minimum transmit power
  • the second electronic device couples the modulation response signal to the second capacitive touch screen through a transmit channel of the second capacitive touch screen. On the receiving channel;
  • the second electronic device When the current transmit power is less than the preset transmit power, the second electronic device increases the current transmit power to the preset transmit power, and then passes through a transmit channel of the second capacitive touch screen.
  • the modulation response signal is coupled to a receive channel of the first capacitive touch screen.
  • the second electronic device receives, by the near field communication, a waiting from the first electronic device Transfer data, including:
  • the second electronic device receives, by using a receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to the to-be-transmitted data from the first electronic device;
  • a third electronic device includes: an establishing unit, configured to be used between a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device In the presence of capacitive sensing, establishing near field communication with the second electronic device through the capacitive sensing;
  • a transmission unit configured to transmit, by the near field communication, a to-be-transmitted data to the second electronic device.
  • the establishing unit includes: a detecting module, configured to detect, by using the first capacitive touch screen, whether the capacitive sensing is present;
  • a sending module configured to send request information for establishing the near field communication to the second electronic device by using the capacitive sensing when detecting the presence of the capacitive sensing
  • a receiving module configured to receive, by the capacitive sensing, a response message from the second electronic device indicating that the second electronic device agrees to establish the near field communication
  • a establishing module configured to establish the near field communication with the second electronic device based on the response information.
  • the sending module is specifically configured to:
  • Modulating the request information to obtain a modulation request signal corresponding to the request information Modulating the request information to obtain a modulation request signal corresponding to the request information; coupling the modulation request signal to a receiving channel of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen, The sending the request information to the second electronic device is implemented.
  • the sending module is further configured to:
  • the receiving module is specifically configured to:
  • the receiving module is further configured to:
  • the receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the first capacitive touch screen is Receiving the modulation response signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and then passing through the first capacitive touch screen Receiving a channel, receiving the modulation response signal.
  • the transmitting unit is specifically configured to:
  • Modulating the data to be transmitted obtaining a modulated signal to be transmitted corresponding to the data to be transmitted; coupling the modulation request signal to the receiving of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen And transmitting, on the channel, the data to be transmitted to the second electronic device.
  • a second electronic device includes: an establishing unit, configured to be used between a second capacitive touch screen of the second electronic device and a first capacitive touch screen of the first electronic device When there is capacitive sensing, establishing near field communication with the first electronic device by the capacitive sensing;
  • a receiving unit configured to receive, by the near field communication, a to-be-transmitted data from the first electronic device.
  • the establishing unit includes: a detecting module, configured to detect, by using the second capacitive touch screen, whether the capacitive sensing is present;
  • a receiving module configured to perform sensing by using the capacitor when detecting the presence of the capacitive sensing
  • a generating module configured to generate, according to the request information, a response indicating that the second electronic device agrees to establish the near field communication information
  • a sending module configured to send the response information to the first electronic device by using the capacitive sensing
  • the receiving module is specifically configured to:
  • the receiving module is further configured to:
  • the receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the second capacitive touch screen is Receiving the modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and then passing the second capacitive touch screen
  • the receiving channel receives the modulation request signal.
  • the sending module is specifically configured to:
  • Modulating the response information to obtain a modulation response signal corresponding to the response information Modulating the response information to obtain a modulation response signal corresponding to the response information; coupling the modulation response signal to a receiving channel of the first capacitive touch screen through a transmission channel of the second capacitive touch screen, The sending of the response information to the first electronic device is implemented.
  • the sending module is further configured to:
  • the receiving unit is specifically configured to:
  • a first electronic device including: a first capacitive touch screen;
  • a first processor connected to the first capacitive touch screen, when the capacitive sensing is performed between the first capacitive touch screen and the second capacitive touch screen of the second electronic device, by the capacitive sensing,
  • the second electronic device establishes near field communication; and transmits, by the near field communication, a to-be-transmitted data to the second electronic device.
  • the first processor is further configured to: detect, by using the first capacitive touch screen, whether the capacitive sensing is present; Transmitting, by the capacitive sensing, transmitting, to the second electronic device, request information for establishing the near field communication; receiving, by the capacitive sensing, receiving a second representation from the second electronic device The electronic device agrees to establish response information of the near field communication; and establishes the near field communication with the second electronic device based on the response information.
  • the first processor is further configured to:
  • the transmitting channel of the first capacitive touch screen couples the modulation request signal to the receiving channel of the second capacitive touch screen to enable the request information to be sent to the second electronic device.
  • the first processor is further configured to:
  • the first processor is also used to:
  • the first processor is further configured to:
  • the first processor is further configured to:
  • Modulating the data to be transmitted obtaining a modulated signal to be transmitted corresponding to the data to be transmitted; coupling the modulation request signal to the receiving of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen And transmitting, on the channel, the data to be transmitted to the second electronic device.
  • a second electronic device including: a second capacitive touch screen;
  • the first electronic device establishes near field communication; and receives, by the near field communication, a data to be transmitted from the first electronic device.
  • the second processor is further configured to: detect, by using the second capacitive touch screen, whether the capacitive sensing is present; detecting that the capacitive sensing is present Receiving, by the capacitive sensing, request information from the first electronic device for establishing the near field communication; generating, based on the request information, a representation that the second electronic device agrees to establish the near field The response information of the communication; transmitting, by the capacitive sensing, the response information to the first electronic device; establishing the near field communication with the first electronic device.
  • the second processor is further configured to:
  • the second processor is further configured to:
  • the receiving channel of the capacitive touch screen receives the minimum sensing width of the modulation request signal Receiving, by the receiving channel of the second capacitive touch screen, the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold; When the sensing threshold is described, the current sensing threshold is increased to the preset sensing threshold, and the modulation request signal is received through the receiving channel of the second capacitive touch screen.
  • the second processor is further configured to:
  • Modulating the response information to obtain a modulation response signal corresponding to the response information Modulating the response information to obtain a modulation response signal corresponding to the response information; coupling the modulation response signal to a receiving channel of the first capacitive touch screen through a transmission channel of the second capacitive touch screen, The sending of the response information to the first electronic device is implemented.
  • the second processor is further configured to:
  • Obtaining a current transmit power of the transmit channel of the second capacitive touch screen determining whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation response signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation response signal is sent through the transmit channel of the second capacitive touch screen Coupling to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing the second capacitor A transmit channel of the touch screen couples the modulation response signal to a receive channel of the first capacitive touch screen.
  • the second processor is further configured to:
  • the embodiment of the present application discloses a communication method, including: when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electrical The sub-device establishes near field communication with the second electronic device by capacitive sensing; the first electronic device transmits the data to be transmitted to the second electronic device by using near field communication. Because the capacitive sensing between the capacitive touch screens of the two electronic devices is used to establish the near field communication to realize the data transmission between the two electronic devices, the prior art is realized by using the NFC chip. Near field communication, so there is a technical problem that the NFC antenna affects the overall layout of the electronic device. The technical effect of implementing near field communication through a capacitive touch screen widely deployed in electronic devices is realized.
  • Embodiment 1 is a flowchart of a communication method in Embodiment 1 of the present application.
  • FIG. 1A is a detailed flowchart of step 101 in the first embodiment of the present application.
  • FIG. 1B is a detailed flowchart of step 102A in the first embodiment of the present application.
  • 1C is a detailed flowchart of step 102B in the first embodiment of the present application.
  • 1D is a detailed flowchart of step 103A in the first embodiment of the present application.
  • 1E is a detailed flowchart of step 101D in the first embodiment of the present application.
  • 1F is a detailed flowchart of step 102 in the first embodiment of the present application.
  • Embodiment 2 is a flowchart of a communication method in Embodiment 2 of the present application.
  • step 201 is a detailed flowchart of step 201 in the second embodiment of the present application.
  • step 202 of the second embodiment of the present application is a detailed flowchart of step 202 of the second embodiment of the present application.
  • step 201B is a detailed flowchart of step 201B in the second embodiment of the present application.
  • step 204 of the second embodiment of the present application is a detailed flowchart of step 204 of the second embodiment of the present application.
  • step 202D is a detailed flowchart of step 202D in the second embodiment of the present application.
  • step 202 is a detailed flowchart of step 202 in the second embodiment of the present application.
  • Embodiment 3 is a flowchart of a communication method in Embodiment 3 of the present application.
  • FIG. 4 is a functional block diagram of four first electronic devices according to an embodiment of the present application.
  • 5 is a functional block diagram of five second electronic devices according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram showing an example of hardware implementation of a first electronic device in Embodiment 6 of the present application
  • FIG. 7 is a schematic conceptual diagram of hardware implementation of a second electronic device in Embodiment 7 of the present application. detailed description
  • the embodiment of the present application solves the problem that the NFC antenna realizes the near-field communication of the electronic device by using the NFC chip in the prior art by providing a communication method, the first electronic device, and the second electronic device. Technical issues affected.
  • a communication method includes: when there is capacitive sensing between a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device, the first electronic device establishes with the second electronic device by capacitive sensing Near field communication; the first electronic device transmits a data to be transmitted to the second electronic device through near field communication.
  • the "first electronic device” appearing in this document is configured with a first capacitive touch screen
  • the “second electronic device” is configured with a second capacitive touch screen.
  • the first capacitive touch screen and the second capacitive touch screen may be two screens of the same specification (or different specifications).
  • the first and second electronic devices may be: a mobile phone, or a tablet computer, or an in-vehicle computer, a digital camera, or a game machine, etc., and the electronic device of the first and second electronic devices, the embodiment of the present application No specific restrictions are imposed.
  • Embodiment 1 This embodiment provides a communication method, as shown in FIG. 1, including:
  • Step 101 When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes near field communication with the second electronic device by capacitive sensing;
  • Step 102 The first electronic device transmits a to-be-transmitted data to the second electronic device by using near field communication.
  • a first capacitive touch screen is mounted on the first electronic device.
  • a second capacitive touch screen is mounted on the second electronic device.
  • a capacitive sensing is generated between the first capacitive touch screen and the second capacitive touch screen, and the embodiment of the present application establishes a near sound based on the capacitive sensing.
  • Field communication Because the capacitive sensing between the capacitive touch screens of the two electronic devices is used to establish the near field communication to realize the data transmission between the two electronic devices, the prior art is effectively solved by using the NFC chip. Near field communication, so there is a technical problem that the NFC antenna affects the overall layout of the electronic device. The technical effect of near field communication realized by a capacitive touch screen widely deployed in current electronic devices is realized.
  • step 101 includes:
  • Step 101A The first electronic device detects, by using the first capacitive touch screen, whether there is a capacitive sense
  • Step 102A When the first electronic device detects that there is capacitive sensing, the first electronic device sends the request information for establishing the near field communication to the second electronic device by capacitive sensing;
  • Step 103A The first electronic device receives the response information from the second electronic device by capacitive sensing, and the second electronic device agrees to establish the response information of the near field communication;
  • Step 104A The first electronic device establishes near field communication with the second electronic device based on the response information.
  • the first capacitive touch screen can face and be close to the second capacitive touch screen, capacitive sensing occurs between the first capacitive touch screen and the second capacitive touch screen.
  • the first electronic The device can detect the capacitive sensing through the first capacitive touch screen, and send the request information for establishing the near field communication to the second electronic device through the capacitive sensing, and wait for the second electronic device After replying to agree to establish the response information of the near field communication, the first electronic device can establish near field communication with the second electronic device based on the response information.
  • the technical effect of establishing a safe and reliable near field communication based on the capacitive touch screen is realized. .
  • step 102A includes:
  • Step 101B The first electronic device modulates the request information, and obtains a modulation request signal corresponding to the request information.
  • Step 102B The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen to implement sending the request information to the second electronic device.
  • the modulation request signal is coupled to the receiving channel of the second capacitive touch screen by using the transmitting channel to achieve the purpose of transmitting the request information to the second electronic device.
  • the modulation request signal is composed of signals of different frequencies, thereby transmitting different information.
  • 120 KHz stands for “0”
  • 180KHz stands for " ⁇ ;
  • 80 KHz stands for "0”
  • 100 KHz stands for "1”
  • 120 KHz stands for "2”
  • 360 KHz stands for "E”
  • 380 KHz stands for "F”.
  • Which coding format is used for the modulation request signal, which can be customized according to the operating frequency of different capacitive touch screens, and is not specifically limited in this embodiment.
  • step 102B includes:
  • Step 101C The first electronic device acquires a current transmit power of a transmit channel of the first capacitive touch screen.
  • Step 102C The first electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen;
  • Step 103C When the current transmit power is greater than or equal to the preset transmit power, the first electronic device couples the modulation request signal to the receive channel of the second capacitive touch screen through the transmit channel of the first capacitive touch screen;
  • Step 104C When the current transmit power is less than the preset transmit power, the first electronic device increases the current transmit power to the preset transmit power, and then couples the modulation request signal to the second capacitive touch screen through the transmit channel of the first capacitive touch screen. On the receiving channel.
  • the transmission power on the transmission channel is generally small, and may not meet the requirements of near field communication.
  • the first electronic device before the first electronic device sends the modulation request signal to the second electronic device based on the capacitive sensing, the first electronic device needs to determine whether the current transmit power of the transmit channel of the first capacitive touch screen is greater than or equal to a preset. Transmit power, the preset transmit power being the minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen.
  • the modulation request signal can be coupled to the receive channel of the second capacitive touch screen through the transmit channel of the first capacitive touch screen.
  • the first electronic device is established to establish near field communication with the second electronic device.
  • the transmit power on the transmit channel can be increased by increasing the voltage on the transmit channel.
  • step 103A includes:
  • Step 101D The first electronic device receives a modulation response signal corresponding to the response information from the second electronic device by using a receiving channel of the first capacitive touch screen;
  • Step 102D The first electronic device demodulates the modulation response signal to obtain response information. Further, as shown in FIG. 1E, step 101D includes:
  • Step 101E The first electronic device acquires a current sensing threshold of the receiving channel of the first capacitive touch screen
  • Step 102E The first electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing width. a value, where the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal;
  • Step 103E When the current sensing threshold is greater than or equal to the preset sensing threshold, the first electronic device receives the modulation response signal through the receiving channel of the first capacitive touch screen;
  • Step 104E When the current sensing threshold is less than the preset sensing threshold, the first electronic device increases the current sensing threshold to the preset sensing threshold, and receives the modulation response signal through the receiving channel of the first capacitive touch screen.
  • the sensing threshold on the receiving channel is generally small, and the requirements for near field communication cannot be met.
  • the first electronic device needs to determine whether the current sensing threshold of the receiving channel of the first capacitive touch screen is greater than It is equal to a preset sensing threshold, and the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal.
  • the receiving response signal can be received through the receiving channel of the first capacitive touch screen, thereby implementing the first electronic device and The second electronic device establishes near field communication.
  • the upper limit of the preset sensing threshold should not be too large, otherwise the signal anti-interference ability will be reduced.
  • step 102 includes:
  • Step 101F The first electronic device modulates data to be transmitted, and obtains a modulated to-be-transmitted signal corresponding to the data to be transmitted.
  • Step 102F The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen, so as to transmit the data to be transmitted to the second electronic device.
  • the premise of implementing step 102F is: The current transmit power of the transmit channel of the first capacitive touch screen is greater than or equal to the preset transmit power.
  • the first electronic device and the second device should turn off the touch function of the capacitive touch screen of the first electronic device, otherwise
  • the data transmission of the near field communication such as: increase the transmission error rate.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the present embodiment provides a communication method.
  • the method includes: Step 201: When a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device exist During capacitive sensing, the second electronic device establishes near field communication with the first electronic device through capacitive sensing;
  • Step 202 The second electronic device receives a to-be-transmitted data from the first electronic device by using near field communication.
  • a first capacitive touch screen is mounted on the first electronic device, and a second capacitive touch screen is mounted on the second electronic device.
  • capacitive sensing is generated on the first capacitive touch screen and the second capacitive touch screen, and the embodiment of the present application establishes near field communication based on the capacitive sensing. Therefore, the prior art uses the NFC chip to implement near field communication, and there is a technical problem that the NFC antenna has a great influence on the overall layout of the electronic device. The technical effect of implementing near field communication through a capacitive touch screen widely deployed in electronic devices is realized.
  • step 201 includes:
  • Step 201A The second electronic device detects, by using the second capacitive touch screen, whether there is a capacitive sense
  • Step 202 When the second electronic device detects that there is capacitive sensing, the second electronic device receives, by capacitive sensing, request information for establishing near field communication from the first electronic device;
  • Step 203 The second electronic device generates, according to the request information, response information indicating that the second electronic device agrees to establish a near field communication;
  • Step 204 The second electronic device sends the response information to the first electronic device by capacitive sensing
  • Step 205 The second electronic device establishes near field communication with the first electronic device.
  • step 202 ⁇ includes:
  • Step 201B The second electronic device receives the slave device from the first electronic device through capacitive sensing. a modulation request signal corresponding to the request information;
  • Step 202B The second electronic device demodulates the modulation request signal to obtain request information. Further, as shown in FIG. 2C, step 201B includes:
  • Step 201C The second electronic device acquires a current sensing threshold of the receiving channel of the second capacitive touch screen
  • Step 202C The second electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is a minimum sensing that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal. Wide value
  • Step 203C When the current sensing threshold is greater than or equal to the preset sensing threshold, the second electronic device receives the modulation request signal through the receiving channel of the second capacitive touch screen;
  • Step 204C When the current sensing threshold is less than the preset sensing threshold, the second electronic device increases the current sensing threshold to the preset sensing threshold, and receives the modulation request signal through the receiving channel of the second capacitive touch screen.
  • the sensing threshold on the receiving channel is generally small, and the requirements for near field communication cannot be met.
  • the second electronic device before the second electronic device receives the modulation request signal through the receiving channel of the second capacitive touch screen, the second electronic device needs to determine whether the current sensing threshold of the receiving channel of the second capacitive touch screen is greater than It is equal to a preset sensing threshold, and the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal.
  • the receiving response signal can be received through the receiving channel of the second capacitive touch screen, thereby implementing the first electronic device and The second electronic device establishes near field communication.
  • step 204A includes:
  • Step 201D The second electronic device modulates the response information, and obtains a modulation response signal corresponding to the response information.
  • Step 202D The second electronic device couples the modulation request signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, so as to send the response information to the first An electronic device.
  • the modulation response signal is composed of signals of different frequencies, thereby transmitting different information.
  • 120 KHz stands for “0”
  • 180KHz stands for “ ⁇ ;
  • 80 KHz stands for "0”
  • 100 KHz stands for "1”
  • 120 KHz stands for "2”
  • 360 KHz stands for "E”
  • 380 KHz stands for "F”.
  • Which coding format is used for the modulation response signal, which can be customized according to the operating frequency of the different capacitive touch screens, which is not specifically limited in the embodiment of the present application.
  • step 202D includes:
  • Step 201E The second electronic device acquires a current transmit power of a transmit channel of the second capacitive touch screen
  • Step 202E The second electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen;
  • Step 203E When the current transmit power is greater than or equal to the preset transmit power, the second electronic device couples the modulation response signal to the receive channel of the first capacitive touch screen through the transmit channel of the second capacitive touch screen;
  • Step 204E When the current transmit power is less than the preset transmit power, the second electronic device increases the current transmit power to the preset transmit power, and then couples the modulation request signal to the first capacitive touch screen through the transmit channel of the second capacitive touch screen. On the receiving channel.
  • the transmission power on the transmission channel is generally small, and cannot meet the requirements of near field communication.
  • the second electronic device before the second electronic device couples the modulation response signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, the second electronic device needs to determine the second capacitive type. Whether the current transmit power of the transmit channel of the touch screen is greater than or equal to a preset transmit power, and the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen.
  • the modulation response signal can be modulated by the transmit channel of the second capacitive touch screen.
  • the first electronic device establishes near field communication with the second electronic device by being coupled to the receiving channel of the first capacitive touch screen.
  • the transmit power on the transmit channel can be increased by increasing the voltage on the transmit channel.
  • step 202 includes:
  • Step 201F The second electronic device receives a modulated to-be-transmitted signal corresponding to the data to be transmitted from the first electronic device;
  • Step 202F The second electronic device demodulates the signal to be transmitted to obtain data to be transmitted.
  • the pre-requisite of step 202F is: The current sensing threshold of the receiving channel of the second capacitive touch screen is greater than or equal to the preset sensing threshold.
  • the second device should turn off the touch function of the capacitive touch screen of the second electronic device, otherwise the data transmission of the near field communication may be affected, such as: Transmission error rate, etc.
  • the embodiment provides a communication method. As shown in FIG. 3, the method includes: Step 301: The first electronic device selects information to be transmitted.
  • Step 302 The first electronic device turns on the near field communication mode.
  • the step 302 includes: the first electronic device turns off the touch function of the first capacitive touch screen of the first electronic device to avoid increasing the near field communication. Transmitting a bit error rate to thereby transmit data of a near field communication; the first electronic device increases a transmit power of a transmit channel of the first capacitive touch screen to a predetermined transmit power, wherein the preset transmit power is a first capacitor The signal of the near field communication generated by the touch screen is coupled to the minimum transmit power on the receiving channel of the second capacitive touch screen; the first electronic device increases the sensing threshold of the receiving channel of the first capacitive touch screen, wherein the preset sensing The threshold is the smallest sensed threshold that enables the receive channel of the first capacitive touch screen to receive the near field communication signal from the second capacitive touch screen.
  • Step 303 When the first electronic device detects the capacitive sensing between the first capacitive touch screen and the second capacitive touch screen, the first electronic device sends a request for establishing the near field communication to the second electronic device by capacitive sensing. information.
  • Step 304 The second electronic device receives the request information and enters a near field communication mode.
  • the step 304 includes: the second electronic device turns off the touch function of the second capacitive touch screen of the second electronic device to avoid increasing the transmission error rate when the near field communication is performed, thereby transmitting data transmission of the near field communication.
  • the second electronic device increases the transmit power of the transmit channel of the second capacitive touch screen to a predetermined transmit power, wherein the preset transmit power is a signal capable of coupling the near field communication generated by the second capacitive touch screen to the first The minimum transmit power on the receiving channel of the capacitive touch screen; the second electronic device increases the sensing threshold of the receiving channel of the second capacitive touch screen, wherein the preset sensing threshold is a receiving channel capable of enabling the second capacitive touch screen A minimum induced threshold of the signal of the near field communication from the first capacitive touch screen is received.
  • Step 305 The second electronic device sends, to the first electronic device, response information indicating that the second electronic device agrees to establish a near field communication.
  • Step 306 The first electronic device receives the response information, and successfully establishes near field communication with the second electronic device.
  • Step 307 The first electronic device modulates the information to be transmitted to obtain a modulated signal to be transmitted.
  • Step 309 The second electronic device receives the modulated signal to be transmitted through near field communication, and demodulates the received modulated signal to obtain data to be transmitted.
  • Step 310 The first electronic device displays information indicating that the data to be transmitted has been successfully transmitted through the first capacitive touch screen; and/or the second electronic device displays information indicating that the data to be transmitted has been successfully transmitted through the second capacitive touch screen.
  • the first and second electronic devices should pass their respective The capacitive touch screen outputs a message indicating that the data transmission failed.
  • Step 311 The first electronic device and/or the second electronic device turn off the near field communication mode.
  • the step 311 includes: the first and second electronic devices recover the transmit power of the transmit channel on the respective capacitive touch screen, and the sensing threshold on the receiving channel, and restore the respective touch functions.
  • the embodiment provides a first electronic device, as shown in FIG. 4, including:
  • the establishing unit 401 is configured to establish a near field communication with the second electronic device by capacitive sensing when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device; 402.
  • the method is configured to transmit, by using near field communication, data to be transmitted to a second electronic device.
  • the establishing unit 401 includes: a detecting module, configured to detect whether there is capacitive sensing through the first capacitive touch screen; and a sending module, configured to perform capacitive sensing when detecting the presence of capacitive sensing Sending, to the second electronic device, the request information for establishing the near field communication; the receiving module, configured to receive, by the capacitive sensing, the response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication; And configured to establish near field communication with the second electronic device based on the response information.
  • the sending module is specifically configured to: modulate the request information, obtain a modulation request signal corresponding to the request information; and couple the modulation request signal to the second capacitor by using a transmit channel of the first capacitive touch screen On the receiving channel of the touch screen, to send request information to the second electronic device.
  • the sending module is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen; determine whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen; coupling the modulation request signal through the transmit channel of the first capacitive touch screen when the current transmit power is greater than or equal to the preset transmit power Going to the receiving channel of the second capacitive touch screen; when the current transmitting power is less than the preset transmitting power, increasing the current transmitting power to the preset transmitting power, and coupling the modulation request signal to the transmitting channel through the transmitting channel of the first capacitive touch screen The receiving channel of the two capacitive touch screen.
  • the receiving module is specifically configured to: receive, by using a receiving channel of the first capacitive touch screen, a modulation response signal corresponding to the response information from the second electronic device; The response signal is modulated to obtain response information.
  • the receiving module is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, where The sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal.
  • the sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal.
  • the receiving channel of the first capacitive touch screen is adopted. Receiving a modulation response signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and receiving the modulation response signal through the receiving channel of the first capacitive touch screen.
  • the transmitting unit 402 is specifically configured to: modulate data to be transmitted, obtain a modulated signal to be transmitted corresponding to the data to be transmitted; and couple the modulation request signal by using a transmitting channel of the first capacitive touch screen And a receiving channel of the second capacitive touch screen is configured to transmit data to be transmitted to the second electronic device.
  • the embodiment provides a second electronic device, as shown in FIG. 5, including: an establishing unit 501, configured to: when the second capacitive touch screen of the second electronic device and the first capacitor of the first electronic device When there is capacitive sensing between the touch screens, the near field communication is established with the first electronic device by capacitive sensing; and the receiving unit 502 is configured to receive, by the near field communication, a data to be transmitted from the first electronic device.
  • an establishing unit 501 configured to: when the second capacitive touch screen of the second electronic device and the first capacitor of the first electronic device When there is capacitive sensing between the touch screens, the near field communication is established with the first electronic device by capacitive sensing; and the receiving unit 502 is configured to receive, by the near field communication, a data to be transmitted from the first electronic device.
  • the establishing unit 501 includes: a detecting module, configured to detect whether there is capacitive sensing through the second capacitive touch screen; and a receiving module, configured to perform capacitive sensing when detecting the presence of capacitive sensing Receiving request information for establishing near field communication from the first electronic device; generating a module, configured to generate, according to the request information, response information indicating that the second electronic device agrees to establish near field communication; and sending module, configured to pass the capacitor Sensing, sending the response information to the first electronic device; establishing a module, configured to establish near field communication with the first electronic device.
  • the receiving module is specifically configured to: receive, by using capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; and demodulate the modulation request signal to obtain the request information.
  • the receiving module is further configured to: obtain a current sensing threshold of the receiving channel of the second capacitive touch screen; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, where The sensing threshold is a minimum sensing threshold that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal; and when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the second capacitive touch screen is adopted. Receiving a modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and receiving the modulation request signal through the receiving channel of the second capacitive touch screen.
  • the sending module is specifically configured to: modulate the response information to obtain a modulation response signal corresponding to the response information; and couple the modulation response signal to the first capacitor through the transmit channel of the second capacitive touch screen
  • the receiving channel of the touch screen is configured to send the response information to the first electronic device.
  • the sending module is further configured to: acquire a current transmit power of a transmit channel of the second capacitive touch screen; determine whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the second capacitive touch screen; coupling the modulation response signal through the transmit channel of the second capacitive touch screen when the current transmit power is greater than or equal to the preset transmit power Going to the receiving channel of the second capacitive touch screen; when the current transmitting power is less than the preset transmitting power, increasing the current transmitting power to the preset transmitting power, and coupling the modulation response signal to the transmitting channel through the transmitting channel of the second capacitive touch screen A capacitive touch screen is received on the channel.
  • the receiving unit 502 is specifically configured to: receive, by using a receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to data to be transmitted from the first electronic device; The signal to be transmitted is obtained, and the data to be transmitted is obtained.
  • the embodiment provides a first electronic device 600, including: a first capacitive touch screen 610; a first processor 602, coupled to the first capacitive touch screen 610, for When there is capacitive sensing between the first capacitive touch screen 610 and the second capacitive touch screen of the second electronic device, establishing near field communication with the second electronic device through capacitive sensing; and passing the near field The communication transmits a to-be-transmitted data to the second electronic device.
  • the first processor 620 is further configured to: detect, by using the first capacitive touch screen 610, whether there is capacitive sensing; when detecting the presence of capacitive sensing, by capacitive sensing to the second electronic device Sending request information for establishing near field communication; receiving, by capacitive sensing, response information from the second electronic device indicating that the second electronic device agrees to establish near field communication; and establishing near field communication with the second electronic device based on the response information.
  • the first processor 620 is further configured to: modulate request information, obtain a modulation request signal corresponding to the request information; and couple the modulation request signal by using a transmit channel of the first capacitive touch screen 610 Going to the receiving channel of the second capacitive touch screen to transmit the request information to the second electronic device.
  • the first processor 620 is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen 610; and determine whether the current transmit power is greater than or equal to a preset transmit power, where The preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the transmit channel of the first capacitive touch screen 610 is Coupling the modulation request signal to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing through the transmit channel of the first capacitive touch screen 610, A modulation request signal is coupled to the receive channel of the second capacitive touch screen.
  • the preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen
  • the transmit channel of the first capacitive touch screen 610 is Coup
  • the first processor 620 is further configured to: receive, by using a receiving channel of the first capacitive touch screen 610, a modulation response signal corresponding to the response information from the second electronic device; Acknowledge the signal and obtain the response message.
  • the first processor 620 is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen 610; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold
  • the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen 610 to receive the modulation response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the first capacitor is passed.
  • the receiving channel of the touch screen 610 receives the modulation response signal; when the current sensing threshold is less than the preset sensing threshold, the current sensing threshold is increased to the preset sensing threshold, and then The receiving channel of the first capacitive touch screen 610 receives the modulation response signal.
  • the first processor 620 is further configured to: modulate data to be transmitted, obtain a modulated to-be-transmitted signal corresponding to the data to be transmitted; and perform modulation by using a transmit channel of the first capacitive touch screen 610.
  • the request signal is coupled to the receiving channel of the second capacitive touch screen to enable transmission of the data to be transmitted to the second electronic device.
  • the first electronic device 600 further includes: a first memory 630, connected to the second processor 620, configured to: store the data to be transmitted mentioned above, and/or request information, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.
  • a first memory 630 connected to the second processor 620, configured to: store the data to be transmitted mentioned above, and/or request information, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.
  • the embodiment provides a second electronic device 700, including: a second capacitive touch screen 710; a second processor 720 connected to the second capacitive touch screen 710, When there is capacitive sensing between the second capacitive touch screen and the first capacitive touch screen of the first electronic device, establishing near field communication with the first electronic device through capacitive sensing; receiving a waiting from the first electronic device by near field communication transfer data.
  • the second processor 720 is further configured to: detect, by the first capacitive touch screen 710, whether there is capacitive sensing; when detecting the presence of capacitive sensing, receive the capacitive sensing from the first electronic device.
  • Request information for establishing near field communication generating response information indicating that the second electronic device agrees to establish near field communication based on the request information; transmitting the response information to the first electronic device by capacitive sensing; establishing proximity to the first electronic device Field communication.
  • the second processor 720 is further configured to: receive, by capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; and demodulate the modulation request signal to obtain the request information.
  • the second processor 720 is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen 710; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold
  • the preset sensing threshold is a receiving channel that enables the first capacitive touch screen 710.
  • the minimum sensing threshold of the modulation request signal is received; when the current sensing threshold is greater than or equal to the preset sensing threshold, the modulation request signal is received through the receiving channel of the first capacitive touch screen 710;
  • the sensing threshold is increased, the current sensing threshold is increased to a preset sensing threshold, and the modulation request signal is received through the receiving channel of the first capacitive touch screen 710.
  • the second processor 720 is further configured to: modulate the response information to obtain a modulation response signal corresponding to the response information; and couple the modulation response signal by using a transmit channel of the first capacitive touch screen 710. Going to the receiving channel of the first capacitive touch screen to transmit the response information to the first electronic device.
  • the second processor 720 is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen 710; and determine whether the current transmit power is greater than or equal to a preset transmit power, where The preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen 710; and the transmit channel of the first capacitive touch screen 710 when the current transmit power is greater than or equal to the preset transmit power And modulating the modulation response signal to the receiving channel of the first capacitive touch screen 710; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing through the transmit channel of the first capacitive touch screen 710 And coupling the modulation response signal to the receiving channel of the first capacitive touch screen.
  • the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen 710; and the transmit channel of the first capacitive touch screen
  • the second processor 720 is further configured to: receive, by using a receiving channel of the first capacitive touch screen 710, a modulated to-be-transmitted signal corresponding to data to be transmitted from the first electronic device;
  • the signal to be transmitted is demodulated and modulated to obtain data to be transmitted.
  • the second electronic device 700 further includes: a second memory 730, connected to the second processor 720, configured to: store the data to be transmitted, and/or request information mentioned above, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.
  • a second memory 730 connected to the second processor 720, configured to: store the data to be transmitted, and/or request information mentioned above, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.

Abstract

Disclosed is a communication method comprising: when a capacitive sensing is present between a first capacitive touch screen of a first electronic device and a second capacitive touch screen of a second electronic device, the first electronic device establishes a near field communication with the second electronic device via the capacitive sensing; and, the first electronic device transmits to-be-transmitted data to the second electronic device via the near field communication. At the same time, also disclosed are the first electronic device and the second electronic device.

Description

一种通信方法、 第一电子设备及第二电子设备 技术领域  Communication method, first electronic device and second electronic device
本申请涉及通信技术领域, 特别涉及一种通信方法、 第一电子设备及第 二电子设备。 背景技术  The present application relates to the field of communications technologies, and in particular, to a communication method, a first electronic device, and a second electronic device. Background technique
近场通信是一种近距离的无线通信技术, 可以实现电子设备之间的数据 传输, 是一种安全可靠的通信技术。  Near field communication is a close-range wireless communication technology that can realize data transmission between electronic devices and is a safe and reliable communication technology.
现有技术中的近场通信, 主要^ ^于 NFC ( Near Field Communication, 近距离无线通讯) 芯片来实现的。  Near field communication in the prior art is mainly implemented by NFC (Near Field Communication) chip.
但, 在基于 NFC 芯片实现近场通信的两部电子设备上, 都需要有安装 NFC天线, 而 NFC天线存在一定的体积和避让区, 这会对电子设备整机布局 产生很大影响。 发明内容  However, in two electronic devices based on NFC chip for near field communication, it is necessary to install an NFC antenna, and the NFC antenna has a certain volume and a escaping area, which has a great influence on the overall layout of the electronic device. Summary of the invention
本申请实施例通过提供一种通信方法、 第一电子设备及第二电子设备, 解决了现有技术中由于釆用 NFC芯片实现近场通信,从而存在 NFC天线对电 子设备整机布局产生影响的技术问题。  The embodiment of the present application solves the problem that the NFC antenna affects the overall layout of the electronic device by using the NFC chip to implement near field communication in the prior art by providing a communication method, the first electronic device, and the second electronic device. technical problem.
第一方面, 提供一种通信方法, 包括:  In a first aspect, a communication method is provided, including:
当第一电子设备的第一电容式触摸屏与第二电子设备的第二电容式触摸 屏之间存在电容感应时, 所述第一电子设备通过所述电容感应, 与所述第二 电子设备建立近场通信;  When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes a proximity to the second electronic device by the capacitive sensing Field communication
所述第一电子设备通过所述近场通信, 将一待传输数据传输给所述第二 电子设备。  The first electronic device transmits a to-be-transmitted data to the second electronic device by using the near field communication.
结合第一方面, 在第一种可能的实施方式中, 所述当第一电子设备的第 一电容式触摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 所述第一电子设备通过所述电容感应, 与所述第二电子设备建立近场通信, 包括: With reference to the first aspect, in a first possible implementation manner, when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, The first electronic device establishes near field communication with the second electronic device by using the capacitive sensing, and includes:
所述第一电子设备通过所述第一电容式触摸屏, 检测是否存在所述电容 感应;  The first electronic device detects whether the capacitive sensing is present through the first capacitive touch screen;
在所述第一电子设备检测到存在所述电容感应时, 所述第一电子设备通 过所述电容感应, 向所述第二电子设备发送用于建立所述近场通信的请求信 息;  When the first electronic device detects that the capacitive sensing is present, the first electronic device transmits, by the capacitive sensing, request information for establishing the near field communication to the second electronic device;
所述第一电子设备通过所述电容感应, 接收来自所述第二电子设备的表 示所述第二电子设备同意建立所述近场通信的应答信息;  Receiving, by the capacitive sensing, the first electronic device, the second electronic device from the second electronic device, agreeing to establish the response information of the near field communication;
所述第一电子设备基于所述应答信息, 与所述第二电子设备建立所述近 场通信。  The first electronic device establishes the near field communication with the second electronic device based on the response information.
结合第一方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第一电子设备通过所述电容感应, 向所述第二电子设备发送用于建立所 述近场通信的请求信息, 包括:  In conjunction with the first possible implementation of the first aspect, in a second possible implementation, the first electronic device sends, by the capacitive sensing, the second electronic device to establish the near field Request information for communication, including:
所述第一电子设备调制所述请求信息, 获得与所述请求信息对应的调制 请求信号;  The first electronic device modulates the request information to obtain a modulation request signal corresponding to the request information;
所述第一电子设备通过所述第一电容式触摸屏的发射通道, 将所述调制 请求信号耦合到所述第二电容式触摸屏的接收通道上, 以实现向所述第二电 子设备发送所述请求信息。  Transmitting, by the first electronic device, the modulation request signal to a receiving channel of the second capacitive touch screen by using a transmitting channel of the first capacitive touch screen, to send the Request information.
结合第一方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第一电子设备通过所述第一电容式触摸屏的发射通道, 将所述调制请求 信号耦合到所述第二电容式触摸屏的接收通道上, 包括:  In conjunction with the second possible implementation of the first aspect, in a third possible implementation, the first electronic device, by using a transmit channel of the first capacitive touch screen, couples the modulation request signal to the The receiving channel of the second capacitive touch screen includes:
所述第一电子设备获取所述第一电容式触摸屏的发射通道的当前发射功 率;  Obtaining, by the first electronic device, a current transmit power of a transmit channel of the first capacitive touch screen;
所述第一电子设备判断所述当前发射功率是否大于等于一预设发射功 率, 其中, 所述预设发射功率为能够使所述调制请求信号耦合到所述第二电 容式触摸屏的接收通道上的最小的发射功率; 在所述当前发射功率大于等于所述预设发射功率时, 所述第一电子设备 通过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第 二电容式触摸屏的接收通道上; The first electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation request signal to a receive channel of the second capacitive touch screen. Minimum transmit power; When the current transmit power is greater than or equal to the preset transmit power, the first electronic device couples the modulation request signal to the second capacitive touch screen through a transmit channel of the first capacitive touch screen On the receiving channel;
在所述当前发射功率小于所述预设发射功率时, 所述第一电子设备提高 所述当前发射功率至所述预设发射功率, 再通过所述第一电容式触摸屏的发 射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上。  When the current transmit power is less than the preset transmit power, the first electronic device increases the current transmit power to the preset transmit power, and then passes through a transmit channel of the first capacitive touch screen. The modulation request signal is coupled to a receive channel of the second capacitive touch screen.
结合第一方面的第一种可能的实施方式、 或第一方面的第二种可能的实 施方式、 或第一方面的第三种可能的实施方式, 在第四种可能的实施方式中, 所述第一电子设备通过所述电容感应, 接收来自所述第二电子设备的表示所 述第二电子设备同意建立所述近场通信的应答信息, 包括:  With reference to the first possible implementation of the first aspect, or the second possible implementation of the first aspect, or the third possible implementation of the first aspect, in a fourth possible implementation manner, The receiving, by the first electronic device, the response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication, includes:
所述第一电子设备通过所述第一电容式触摸屏的收通道, 接收来自所述 第二电子设备的与所述应答信息对应的调制应答信号;  Receiving, by the first electronic device, a modulation response signal corresponding to the response information from the second electronic device by using a receiving channel of the first capacitive touch screen;
所述第一电子设备解调所述调制应答信号, 获得所述应答信息。  The first electronic device demodulates the modulation response signal to obtain the response information.
结合第一方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述第一电子设备通过所述第一电容式触摸屏的接收通道, 接收来自所述第 二电子设备的与所述应答信息对应的调制应答信号, 包括:  With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation, the first electronic device receives, by the receiving channel of the first capacitive touch screen, the second electronic device The modulation response signal corresponding to the response information includes:
所述第一电子设备获取所述第一电容式触摸屏的接收通道的当前感应阔 值;  Obtaining, by the first electronic device, a current sensing threshold of a receiving channel of the first capacitive touch screen;
所述第一电子设备判断所述当前感应阔值是否大于等于一预设感应阔 值, 其中, 所述预设感应阔值为能够使所述第一电容式触摸屏的接收通道接 收到所述调制应答信号的最小的感应阔值;  The first electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the first capacitive touch screen receives the modulation The minimum induced threshold of the response signal;
在所述当前感应阔值大于等于所述预设感应阔值时, 所述第一电子设备 通过所述第一电容式触摸屏的接收通道, 接收所述调制应答信号;  The first electronic device receives the modulation response signal through a receiving channel of the first capacitive touch screen when the current sensing threshold is greater than or equal to the preset sensing threshold;
在所述当前感应阔值小于预设所述感应阔值时, 所述第一电子设备提高 所述当前感应阔值至所述预设感应阔值, 再通过所述第一电容式触摸屏的接 收通道, 接收所述调制应答信号。  When the current sensing threshold is less than the preset sensing threshold, the first electronic device increases the current sensing threshold to the preset sensing threshold, and then receives the first capacitive touch screen. a channel, receiving the modulation response signal.
结合第一方面, 或第一方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述第一电子设备通过所述近场通信, 将待传输数据传输给所述第 二电子设备, 包括: In conjunction with the first aspect, or the various embodiments of the first aspect described above, in a sixth possible implementation In the manner, the first electronic device transmits data to be transmitted to the second electronic device by using the near field communication, including:
所述第一电子设备调制所述待传输数据, 获得与所述待传输数据对应的 调制待传输信号;  The first electronic device modulates the data to be transmitted, and obtains a modulated signal to be transmitted corresponding to the data to be transmitted;
所述第一电子设备通过所述第一电容式触摸屏的发射通道, 将所述调制 请求信号耦合到所述第二电容式触摸屏的接收通道上, 以实现将所述待传输 数据传输给所述第二电子设备。  Transmitting, by the first electronic device, the modulation request signal to a receiving channel of the second capacitive touch screen by using a transmitting channel of the first capacitive touch screen, to transmit the data to be transmitted to the Second electronic device.
基于同一发明构思, 第二方面, 提供一种通信方法, 包括:  Based on the same inventive concept, the second aspect provides a communication method, including:
当第一电子设备的第一电容式触摸屏与第二电子设备的第二电容式触摸 屏之间存在电容感应时, 所述第二电子设备通过所述电容感应, 与所述第一 电子设备建立近场通信;  When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second electronic device establishes a proximity to the first electronic device by the capacitive sensing Field communication
所述第二电子设备通过所述近场通信, 接收来自所述第一电子设备的一 待传输数据。  The second electronic device receives, by the near field communication, a data to be transmitted from the first electronic device.
结合第二方面, 在第一种可能的实施方式中, 所述当第一电子设备的第 一电容式触摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 所述第二电子设备通过所述电容感应, 与所述第一电子设备建立近场通信, 包括:  With reference to the second aspect, in a first possible implementation, when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second The electronic device establishes near field communication with the first electronic device by using the capacitive sensing, including:
所述第二电子设备通过所述第二电容式触摸屏, 检测是否存在所述电容 感应;  The second electronic device detects, by the second capacitive touch screen, whether the capacitive sensing is present;
在所述第二电子设备检测到存在所述电容感应时, 所述第二电子设备通 过所述电容感应, 接收来自所述第一电子设备的用于建立所述近场通信的请 求信息;  When the second electronic device detects that the capacitive sensing is present, the second electronic device receives, by the capacitive sensing, request information from the first electronic device for establishing the near field communication;
所述第二电子设备基于所述请求信息, 生成一表示所述第二电子设备同 意建立所述近场通信的应答信息;  And generating, by the second electronic device, response information indicating that the second electronic device agrees to establish the near field communication based on the request information;
所述第二电子设备通过所述电容感应, 将所述应答信息发送给所述第一 电子设备;  Transmitting, by the capacitive sensing, the response information to the first electronic device;
所述第二电子设备与所述第一电子设备建立所述近场通信。 结合第二方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第二电子设备通过所述电容感应, 接收来自所述第一电子设备的用于建 立所述近场通信的请求信息, 包括: The second electronic device establishes the near field communication with the first electronic device. With reference to the first possible implementation of the second aspect, in a second possible implementation, the second electronic device receives, by the capacitive sensing, the first electronic device from the first electronic device to establish the near Request information for field communication, including:
所述第二电子设备通过所述电容感应, 接收从来自所述第一电子设备的 与所述请求信息对应的调制请求信号;  The second electronic device receives, by the capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device;
所述第二电子设备解调所述调制请求信号, 获得所述请求信息。  The second electronic device demodulates the modulation request signal to obtain the request information.
结合第二方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第二电子设备通过所述电容感应, 接收从来自所述第一电子设备的与所 述请求信息对应的调制请求信号, 包括:  With reference to the second possible implementation manner of the second aspect, in a third possible implementation, the second electronic device receives, by the capacitive sensing, the request information from the first electronic device Corresponding modulation request signals, including:
所述第二电子设备获取所述第二电容式触摸屏的接收通道的当前感应阔 值;  Obtaining, by the second electronic device, a current sensing threshold of the receiving channel of the second capacitive touch screen;
所述第二电子设备判断所述当前感应阔值是否大于等于一预设感应阔 值, 其中, 所述预设感应阔值为能够使所述第二电容式触摸屏的接收通道接 收到所述调制请求信号的最小的感应阔值;  The second electronic device determines whether the current sensing threshold is greater than or equal to a predetermined sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the second capacitive touch screen receives the modulation The minimum inductance of the request signal;
在所述当前感应阔值大于等于所述预设感应阔值时, 所述第二电子设备 通过所述第二电容式触摸屏的接收通道, 接收所述调制请求信号;  The second electronic device receives the modulation request signal through a receiving channel of the second capacitive touch screen when the current sensing threshold is greater than or equal to the preset sensing threshold;
在所述当前感应阔值小于预设所述感应阔值时, 所述第二电子设备提高 所述当前感应阔值至所述预设感应阔值, 再通过所述第二电容式触摸屏的接 收通道接收所述调制请求信号。  When the current sensing threshold is less than the preset sensing threshold, the second electronic device increases the current sensing threshold to the preset sensing threshold, and then receives the second capacitive touch screen. The channel receives the modulation request signal.
结合第二方面的第一种可能的实施方式, 在第四种可能的实施方式中, 所述第二电子设备通过所述电容感应, 将所述应答信息发送给所述第一电子 设备, 包括:  With reference to the first possible implementation manner of the second aspect, in a fourth possible implementation, the second electronic device sends the response information to the first electronic device by using the capacitive sensing, including :
所述第二电子设备调制所述应答信息, 获得与所述应答信息对应的调制 应答信号;  The second electronic device modulates the response information to obtain a modulation response signal corresponding to the response information;
所述第二电子设备通过所述第二电容式触摸屏的发射通道, 将所述调制 应答信号耦合到所述第一电容式触摸屏的接收通道上, 以实现将所述应答信 息发送给所述第一电子设备。 结合第二方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述第二电子设备通过所述第二电容式触摸屏的发射通道, 将所述调制应答 信号耦合到所述第一电容式触摸屏的接收通道上, 包括: The second electronic device couples the modulation response signal to a receiving channel of the first capacitive touch screen through a transmitting channel of the second capacitive touch screen, so as to send the response information to the first An electronic device. In conjunction with the fourth possible implementation of the second aspect, in a fifth possible implementation, the second electronic device, by using a transmit channel of the second capacitive touch screen, couples the modulation response signal to the The receiving channel of the first capacitive touch screen includes:
所述第二电子设备获取所述第二电容式触摸屏的发射通道的当前发射功 率;  Obtaining, by the second electronic device, a current transmit power of a transmit channel of the second capacitive touch screen;
所述第二电子设备判断所述当前发射功率是否大于等于一预设发射功 率, 其中, 所述预设发射功率为能够使所述调制应答信号耦合到所述第二电 容式触摸屏的接收通道上的最小的发射功率;  The second electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation response signal to a receive channel of the second capacitive touch screen. Minimum transmit power;
在所述当前发射功率大于等于所述预设发射功率时, 所述第二电子设备 通过所述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第 二电容式触摸屏的接收通道上;  When the current transmit power is greater than or equal to the preset transmit power, the second electronic device couples the modulation response signal to the second capacitive touch screen through a transmit channel of the second capacitive touch screen. On the receiving channel;
在所述当前发射功率小于所述预设发射功率时, 所述第二电子设备提高 所述当前发射功率至所述预设发射功率, 再通过所述第二电容式触摸屏的发 射通道, 将所述调制应答信号耦合到所述第一电容式触摸屏的接收通道上。  When the current transmit power is less than the preset transmit power, the second electronic device increases the current transmit power to the preset transmit power, and then passes through a transmit channel of the second capacitive touch screen. The modulation response signal is coupled to a receive channel of the first capacitive touch screen.
结合第二方面、 或第二方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述第二电子设备通过所述近场通信, 接收来自所述第一电子设备 的一待传输数据, 包括:  With reference to the second aspect, or the foregoing various embodiments of the second aspect, in a sixth possible implementation, the second electronic device receives, by the near field communication, a waiting from the first electronic device Transfer data, including:
所述第二电子设备通过所述第二电容式触摸屏的接收通道, 接收从来自 所述第一电子设备的与所述待传输数据对应的调制待传输信号;  The second electronic device receives, by using a receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to the to-be-transmitted data from the first electronic device;
所述第二电子设备解调所述调制待传输信号 , 获得所述待传输数据。 基于同一发明构思, 第三方面, 提供一种第一电子设备, 包括: 建立单元, 用于当所述第一电子设备的第一电容式触摸屏与第二电子设 备的第二电容式触摸屏之间存在电容感应时, 通过所述电容感应与所述第二 电子设备建立近场通信;  The second electronic device demodulates the modulated signal to be transmitted to obtain the data to be transmitted. According to the third aspect of the present invention, a third electronic device includes: an establishing unit, configured to be used between a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device In the presence of capacitive sensing, establishing near field communication with the second electronic device through the capacitive sensing;
传输单元, 用于通过所述近场通信, 将一待传输数据传输给所述第二电 子设备。  And a transmission unit, configured to transmit, by the near field communication, a to-be-transmitted data to the second electronic device.
结合第三方面, 在第一种可能的实施方式中, 所述建立单元, 包括: 检测模块, 用于通过所述第一电容式触摸屏, 检测是否存在所述电容感 应; With reference to the third aspect, in a first possible implementation, the establishing unit includes: a detecting module, configured to detect, by using the first capacitive touch screen, whether the capacitive sensing is present;
发送模块, 用于在检测到存在所述电容感应时, 通过所述电容感应, 向 所述第二电子设备发送用于建立所述近场通信的请求信息;  a sending module, configured to send request information for establishing the near field communication to the second electronic device by using the capacitive sensing when detecting the presence of the capacitive sensing;
接收模块, 用于通过所述电容感应, 接收来自所述第二电子设备的表示 所述第二电子设备同意建立所述近场通信的应答信息;  a receiving module, configured to receive, by the capacitive sensing, a response message from the second electronic device indicating that the second electronic device agrees to establish the near field communication;
建立模块, 用于基于所述应答信息, 与所述第二电子设备建立所述近场 通信。  And a establishing module, configured to establish the near field communication with the second electronic device based on the response information.
结合第三方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述发送模块, 具体用于:  With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the sending module is specifically configured to:
调制所述请求信息, 获得与所述请求信息对应的调制请求信号; 通过所 述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容 式触摸屏的接收通道上, 以实现向所述第二电子设备发送所述请求信息。  Modulating the request information to obtain a modulation request signal corresponding to the request information; coupling the modulation request signal to a receiving channel of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen, The sending the request information to the second electronic device is implemented.
结合第三方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述发送模块, 还用于:  In conjunction with the second possible implementation of the third aspect, in a third possible implementation, the sending module is further configured to:
获取所述第一电容式触摸屏的发射通道的当前发射功率; 判断所述当前 发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使 所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射 功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第一电 容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏 的接收通道上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当 前发射功率至所述预设发射功率, 再通过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上。  Obtaining a current transmit power of the transmit channel of the first capacitive touch screen; determining whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation request signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation request signal is sent through the transmit channel of the first capacitive touch screen And being coupled to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing the first capacitor A transmit channel of the touch screen couples the modulation request signal to a receive channel of the second capacitive touch screen.
结合第三方面的第一种可能的实施方式、 或第三方面的第二种可能的实 施方式、 或第三方面的第三种可能的实施方式, 在第四种可能的实施方式中, 所述接收模块, 具体用于:  With reference to the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner, The receiving module is specifically configured to:
通过所述第一电容式触摸屏的收通道, 接收来自所述第二电子设备的与 所述应答信息对应的调制应答信号; 解调所述调制应答信号, 获得所述应答 信息。 Receiving from the second electronic device through the receiving channel of the first capacitive touch screen a modulation response signal corresponding to the response information; demodulating the modulation response signal to obtain the response information.
结合第三方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述接收模块, 还用于:  In conjunction with the fourth possible implementation of the third aspect, in a fifth possible implementation, the receiving module is further configured to:
获取所述第一电容式触摸屏的接收通道的当前感应阔值; 判断所述当前 感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使 所述第一电容式触摸屏的接收通道接收到所述调制应答信号的最小的感应阔 值; 在所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第一电容 式触摸屏的接收通道, 接收所述调制应答信号; 在所述当前感应阔值小于预 设所述感应阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所 述第一电容式触摸屏的接收通道, 接收所述调制应答信号。  Obtaining a current sensing threshold of the receiving channel of the first capacitive touch screen; determining whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is capable of enabling the first The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the first capacitive touch screen is Receiving the modulation response signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and then passing through the first capacitive touch screen Receiving a channel, receiving the modulation response signal.
结合第三方面, 或第三方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述传输单元, 具体用于:  With reference to the third aspect, or the foregoing various implementation manners of the third aspect, in the sixth possible implementation manner, the transmitting unit is specifically configured to:
调制所述待传输数据, 获得与所述待传输数据对应的调制待传输信号; 通过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第 二电容式触摸屏的接收通道上, 以实现将所述待传输数据传输给所述第二电 子设备。  Modulating the data to be transmitted, obtaining a modulated signal to be transmitted corresponding to the data to be transmitted; coupling the modulation request signal to the receiving of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen And transmitting, on the channel, the data to be transmitted to the second electronic device.
基于同一发明构思, 第四方面, 提供一种第二电子设备, 包括: 建立单元, 用于当所述第二电子设备的第二电容式触摸屏与第一电子设 备的第一电容式触摸屏之间存在电容感应时, 通过所述电容感应, 与所述第 一电子设备建立近场通信;  According to the fourth aspect of the present invention, a second electronic device includes: an establishing unit, configured to be used between a second capacitive touch screen of the second electronic device and a first capacitive touch screen of the first electronic device When there is capacitive sensing, establishing near field communication with the first electronic device by the capacitive sensing;
接收单元, 用于通过所述近场通信, 接收来自所述第一电子设备的一待 传输数据。  And a receiving unit, configured to receive, by the near field communication, a to-be-transmitted data from the first electronic device.
结合第四方面, 在第一种可能的实施方式中, 所述建立单元, 包括: 检测模块, 用于通过所述第二电容式触摸屏, 检测是否存在所述电容感 应;  With reference to the fourth aspect, in a first possible implementation, the establishing unit includes: a detecting module, configured to detect, by using the second capacitive touch screen, whether the capacitive sensing is present;
接收模块, 用于在检测到存在所述电容感应时, 通过所述电容感应, 接 收来自所述第一电子设备的用于建立所述近场通信的请求信息; 生成模块, 用于基于所述请求信息, 生成一表示所述第二电子设备同意 建立所述近场通信的应答信息; a receiving module, configured to perform sensing by using the capacitor when detecting the presence of the capacitive sensing Receiving, from the first electronic device, request information for establishing the near field communication; and a generating module, configured to generate, according to the request information, a response indicating that the second electronic device agrees to establish the near field communication information;
发送模块, 用于通过所述电容感应, 将所述应答信息发送给所述第一电 子设备;  a sending module, configured to send the response information to the first electronic device by using the capacitive sensing;
建立模块, 用于与所述第一电子设备建立所述近场通信。  And establishing a module, configured to establish the near field communication with the first electronic device.
结合第四方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述接收模块, 具体用于:  With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the receiving module is specifically configured to:
通过所述电容感应, 接收从来自所述第一电子设备的与所述请求信息对 应的调制请求信号; 解调所述调制请求信号, 获得所述请求信息。  Receiving, by the capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; demodulating the modulation request signal to obtain the request information.
结合第四方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述接收模块, 还用于:  With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation, the receiving module is further configured to:
获取所述第二电容式触摸屏的接收通道的当前感应阔值; 判断所述当前 感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使 所述第二电容式触摸屏的接收通道接收到所述调制请求信号的最小的感应阔 值; 在所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第二电容 式触摸屏的接收通道, 接收所述调制请求信号; 在所述当前感应阔值小于预 设所述感应阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所 述第二电容式触摸屏的接收通道接收所述调制请求信号。  Obtaining a current sensing threshold of the receiving channel of the second capacitive touch screen; determining whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is capable of enabling the second The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the second capacitive touch screen is Receiving the modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and then passing the second capacitive touch screen The receiving channel receives the modulation request signal.
结合第四方面的第一种可能的实施方式, 在第四种可能的实施方式中, 所述发送模块, 具体用于:  With reference to the first possible implementation manner of the fourth aspect, in a fourth possible implementation, the sending module is specifically configured to:
调制所述应答信息, 获得与所述应答信息对应的调制应答信号; 通过所 述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容 式触摸屏的接收通道上, 以实现将所述应答信息发送给所述第一电子设备。  Modulating the response information to obtain a modulation response signal corresponding to the response information; coupling the modulation response signal to a receiving channel of the first capacitive touch screen through a transmission channel of the second capacitive touch screen, The sending of the response information to the first electronic device is implemented.
结合第四方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述发送模块, 还用于:  With reference to the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation, the sending module is further configured to:
获取所述第二电容式触摸屏的发射通道的当前发射功率; 判断所述当前 发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使 所述调制应答信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射 功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第二电 容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第二电容式触摸屏 的接收通道上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当 前发射功率至所述预设发射功率, 再通过所述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容式触摸屏的接收通道上。 Obtaining a current transmit power of a transmit channel of the second capacitive touch screen; determining the current Whether the transmit power is greater than or equal to a predetermined transmit power, wherein the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to a receive channel of the second capacitive touch screen; When the transmit power is greater than or equal to the preset transmit power, the modulation response signal is coupled to the receive channel of the second capacitive touch screen through the transmit channel of the second capacitive touch screen; When the preset transmit power is smaller than the preset transmit power, the current transmit power is increased to the preset transmit power, and the modulation response signal is coupled to the first capacitive mode through a transmit channel of the second capacitive touch screen. On the receiving channel of the touch screen.
结合第四方面、 或第四方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述接收单元, 具体用于:  With reference to the fourth aspect, or the foregoing various embodiments of the fourth aspect, in the sixth possible implementation manner, the receiving unit is specifically configured to:
通过所述第二电容式触摸屏的接收通道, 接收从来自所述第一电子设备 的与所述待传输数据对应的调制待传输信号; 解调所述调制待传输信号, 获 得所述待传输数据。  Receiving, by the receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to the to-be-transmitted data from the first electronic device; demodulating the modulated to-be-transmitted signal to obtain the to-be-transmitted data .
基于同一发明构思, 第五方面, 提供一种第一电子设备, 包括: 第一电容式触摸屏;  Based on the same inventive concept, a fifth aspect, a first electronic device is provided, including: a first capacitive touch screen;
第一处理器, 与所述第一电容式触摸屏连接, 用于当所述第一电容式触 摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 通过所述电 容感应, 与所述第二电子设备建立近场通信; 并通过所述近场通信, 将一待 传输数据传输给所述第二电子设备。  a first processor, connected to the first capacitive touch screen, when the capacitive sensing is performed between the first capacitive touch screen and the second capacitive touch screen of the second electronic device, by the capacitive sensing, The second electronic device establishes near field communication; and transmits, by the near field communication, a to-be-transmitted data to the second electronic device.
结合第五方面,在第一种可能的实施方式中,, 所述第一处理器,还用于: 通过所述第一电容式触摸屏, 检测是否存在所述电容感应; 在检测到存 在所述电容感应时, 通过所述电容感应, 向所述第二电子设备发送用于建立 所述近场通信的请求信息; 通过所述电容感应, 接收来自所述第二电子设备 的表示所述第二电子设备同意建立所述近场通信的应答信息; 基于所述应答 信息, 与所述第二电子设备建立所述近场通信。  With reference to the fifth aspect, in a first possible implementation, the first processor is further configured to: detect, by using the first capacitive touch screen, whether the capacitive sensing is present; Transmitting, by the capacitive sensing, transmitting, to the second electronic device, request information for establishing the near field communication; receiving, by the capacitive sensing, receiving a second representation from the second electronic device The electronic device agrees to establish response information of the near field communication; and establishes the near field communication with the second electronic device based on the response information.
结合第五方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第一处理器, 还用于:  With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation, the first processor is further configured to:
调制所述请求信息, 获得与所述请求信息对应的调制请求信号; 通过所 述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容 式触摸屏的接收通道上, 以实现向所述第二电子设备发送所述请求信息。 Modulating the request information to obtain a modulation request signal corresponding to the request information; The transmitting channel of the first capacitive touch screen couples the modulation request signal to the receiving channel of the second capacitive touch screen to enable the request information to be sent to the second electronic device.
结合第五方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第一处理器, 还用于:  With reference to the second possible implementation manner of the fifth aspect, in a third possible implementation, the first processor is further configured to:
获取所述第一电容式触摸屏的发射通道的当前发射功率; 判断所述当前 发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使 所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射 功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第一电 容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏 的接收通道上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当 前发射功率至所述预设发射功率, 再通过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上。  Obtaining a current transmit power of the transmit channel of the first capacitive touch screen; determining whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation request signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation request signal is sent through the transmit channel of the first capacitive touch screen And being coupled to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing the first capacitor A transmit channel of the touch screen couples the modulation request signal to a receive channel of the second capacitive touch screen.
结合第五方面的第一种可能的实施方式、 或第五方面的第二种可能的实 施方式、 或第五方面的第三种可能的实施方式, 在第四种可能的实施方式中, 所述第一处理器, 还用于:  With reference to the first possible implementation manner of the fifth aspect, or the second possible implementation manner of the fifth aspect, or the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner, The first processor is also used to:
通过所述第一电容式触摸屏的收通道, 接收来自所述第二电子设备的与 所述应答信息对应的调制应答信号; 解调所述调制应答信号, 获得所述应答 信息。  And receiving, by the receiving channel of the first capacitive touch screen, a modulation response signal corresponding to the response information from the second electronic device; and demodulating the modulation response signal to obtain the response information.
结合第五方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述第一处理器, 还用于:  With reference to the fourth possible implementation manner of the fifth aspect, in a fifth possible implementation, the first processor is further configured to:
获取所述第一电容式触摸屏的接收通道的当前感应阔值; 判断所述当前 感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使 所述第一电容式触摸屏的接收通道接收到所述调制应答信号的最小的感应阔 值; 在所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第一电容 式触摸屏的接收通道, 接收所述调制应答信号; 在所述当前感应阔值小于预 设所述感应阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所 述第一电容式触摸屏的接收通道, 接收所述调制应答信号。 结合第五方面, 或第五方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述第一处理器, 还用于: Obtaining a current sensing threshold of the receiving channel of the first capacitive touch screen; determining whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is capable of enabling the first The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the first capacitive touch screen is Receiving the modulation response signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and then passing through the first capacitive touch screen Receiving a channel, receiving the modulation response signal. With reference to the fifth aspect, or the foregoing various embodiments of the fifth aspect, in a sixth possible implementation, the first processor is further configured to:
调制所述待传输数据, 获得与所述待传输数据对应的调制待传输信号; 通过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第 二电容式触摸屏的接收通道上, 以实现将所述待传输数据传输给所述第二电 子设备。  Modulating the data to be transmitted, obtaining a modulated signal to be transmitted corresponding to the data to be transmitted; coupling the modulation request signal to the receiving of the second capacitive touch screen through a transmitting channel of the first capacitive touch screen And transmitting, on the channel, the data to be transmitted to the second electronic device.
基于同一发明构思, 第六方面, 提供一种第二电子设备, 包括: 第二电容式触摸屏;  Based on the same inventive concept, a sixth aspect, a second electronic device is provided, including: a second capacitive touch screen;
第二处理器, 与所述第二电容式触摸屏连接, 用于当所述第二电容式触 摸屏与第一电子设备的第一电容式触摸屏之间存在电容感应时, 通过所述电 容感应, 与所述第一电子设备建立近场通信; 通过所述近场通信, 接收来自 所述第一电子设备的一待传输数据。  a second processor, connected to the second capacitive touch screen, when the capacitive sensing is performed between the second capacitive touch screen and the first capacitive touch screen of the first electronic device, by the capacitive sensing, The first electronic device establishes near field communication; and receives, by the near field communication, a data to be transmitted from the first electronic device.
结合第六方面, 在第一种可能的实施方式中, 所述第二处理器, 还用于: 通过所述第二电容式触摸屏, 检测是否存在所述电容感应; 检测到存在 所述电容感应时, 通过所述电容感应, 接收来自所述第一电子设备的用于建 立所述近场通信的请求信息; 基于所述请求信息, 生成一表示所述第二电子 设备同意建立所述近场通信的应答信息; 通过所述电容感应, 将所述应答信 息发送给所述第一电子设备; 与所述第一电子设备建立所述近场通信。  With reference to the sixth aspect, in a first possible implementation, the second processor is further configured to: detect, by using the second capacitive touch screen, whether the capacitive sensing is present; detecting that the capacitive sensing is present Receiving, by the capacitive sensing, request information from the first electronic device for establishing the near field communication; generating, based on the request information, a representation that the second electronic device agrees to establish the near field The response information of the communication; transmitting, by the capacitive sensing, the response information to the first electronic device; establishing the near field communication with the first electronic device.
结合第六方面的第一种可能的实施方式, 在第二种可能的实施方式中, 所述第二处理器, 还用于:  In conjunction with the first possible implementation of the sixth aspect, in a second possible implementation, the second processor is further configured to:
通过所述电容感应, 接收从来自所述第一电子设备的与所述请求信息对 应的调制请求信号; 解调所述调制请求信号, 获得所述请求信息。  Receiving, by the capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; demodulating the modulation request signal to obtain the request information.
结合第六方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所述第二处理器, 还用于:  With reference to the second possible implementation manner of the sixth aspect, in a third possible implementation, the second processor is further configured to:
获取所述第二电容式触摸屏的接收通道的当前感应阔值; 判断所述当前 感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使 所述第二电容式触摸屏的接收通道接收到所述调制请求信号的最小的感应阔 值; 在所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第二电容 式触摸屏的接收通道, 接收所述调制请求信号; 在所述当前感应阔值小于预 设所述感应阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所 述第二电容式触摸屏的接收通道接收所述调制请求信号。 Obtaining a current sensing threshold of the receiving channel of the second capacitive touch screen; determining whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is capable of enabling the second The receiving channel of the capacitive touch screen receives the minimum sensing width of the modulation request signal Receiving, by the receiving channel of the second capacitive touch screen, the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold; When the sensing threshold is described, the current sensing threshold is increased to the preset sensing threshold, and the modulation request signal is received through the receiving channel of the second capacitive touch screen.
结合第六方面的第一种可能的实施方式, 在第四种可能的实施方式中, 所述第二处理器, 还用于:  With reference to the first possible implementation manner of the sixth aspect, in a fourth possible implementation, the second processor is further configured to:
调制所述应答信息, 获得与所述应答信息对应的调制应答信号; 通过所 述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容 式触摸屏的接收通道上, 以实现将所述应答信息发送给所述第一电子设备。  Modulating the response information to obtain a modulation response signal corresponding to the response information; coupling the modulation response signal to a receiving channel of the first capacitive touch screen through a transmission channel of the second capacitive touch screen, The sending of the response information to the first electronic device is implemented.
结合第六方面的第四种可能的实施方式, 在第五种可能的实施方式中,, 所述第二处理器, 还用于:  With reference to the fourth possible implementation manner of the sixth aspect, in a fifth possible implementation, the second processor is further configured to:
获取所述第二电容式触摸屏的发射通道的当前发射功率; 判断所述当前 发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使 所述调制应答信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射 功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第二电 容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第二电容式触摸屏 的接收通道上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当 前发射功率至所述预设发射功率, 再通过所述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容式触摸屏的接收通道上。  Obtaining a current transmit power of the transmit channel of the second capacitive touch screen; determining whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is capable of coupling the modulation response signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation response signal is sent through the transmit channel of the second capacitive touch screen Coupling to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing the second capacitor A transmit channel of the touch screen couples the modulation response signal to a receive channel of the first capacitive touch screen.
结合第六方面、 或第六方面的上述各种实施方式, 在第六种可能的实施 方式中, 所述第二处理器, 还用于:  With reference to the sixth aspect, or the foregoing various embodiments of the sixth aspect, in a sixth possible implementation, the second processor is further configured to:
通过所述第二电容式触摸屏的接收通道, 接收从来自所述第一电子设备 的与所述待传输数据对应的调制待传输信号; 解调所述调制待传输信号, 获 得所述待传输数据。  Receiving, by the receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to the to-be-transmitted data from the first electronic device; demodulating the modulated to-be-transmitted signal to obtain the to-be-transmitted data .
本申请实施例中技术方案的有益效果如下:  The beneficial effects of the technical solution in the embodiments of the present application are as follows:
本申请实施例公开了一种通信方法, 包括: 当第一电子设备的第一电容 式触摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 第一电 子设备通过电容感应, 与第二电子设备建立近场通信; 第一电子设备通过近 场通信, 将一待传输数据传输给第二电子设备。 由于, 釆用基于两电子设备 的电容式触摸屏之间的电容感应来建立近场通信, 以实现两电子设备之间的 数据传输,所以,有效地解决了现有技术中由于釆用 NFC芯片实现近场通信, 从而存在 NFC天线对电子设备整机布局产生影响的技术问题。 实现了通过目 前电子设备广泛配置的电容式触摸屏实现近场通信的技术效果。 附图说明 The embodiment of the present application discloses a communication method, including: when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electrical The sub-device establishes near field communication with the second electronic device by capacitive sensing; the first electronic device transmits the data to be transmitted to the second electronic device by using near field communication. Because the capacitive sensing between the capacitive touch screens of the two electronic devices is used to establish the near field communication to realize the data transmission between the two electronic devices, the prior art is realized by using the NFC chip. Near field communication, so there is a technical problem that the NFC antenna affects the overall layout of the electronic device. The technical effect of implementing near field communication through a capacitive touch screen widely deployed in electronic devices is realized. DRAWINGS
图 1为本申请实施例一中通信方法的流程图;  1 is a flowchart of a communication method in Embodiment 1 of the present application;
图 1A为本申请实施例一中步骤 101的细化流程图;  1A is a detailed flowchart of step 101 in the first embodiment of the present application;
图 1B为本申请实施例一中步骤 102A的细化流程图;  FIG. 1B is a detailed flowchart of step 102A in the first embodiment of the present application;
图 1C为本申请实施例一中步骤 102B的细化流程图;  1C is a detailed flowchart of step 102B in the first embodiment of the present application;
图 1D为本申请实施例一中步骤 103A的细化流程图;  1D is a detailed flowchart of step 103A in the first embodiment of the present application;
图 1E为本申请实施例一中步骤 101D的细化流程图;  1E is a detailed flowchart of step 101D in the first embodiment of the present application;
图 1F为本申请实施例一中步骤 102的细化流程图;  1F is a detailed flowchart of step 102 in the first embodiment of the present application;
图 2为本申请实施例二中通信方法的流程图;  2 is a flowchart of a communication method in Embodiment 2 of the present application;
图 2Α为本申请实施例二中步骤 201的细化流程图;  2 is a detailed flowchart of step 201 in the second embodiment of the present application;
图 2Β为本申请实施例二中步骤 202Α的细化流程图;  2 is a detailed flowchart of step 202 of the second embodiment of the present application;
图 2C为本申请实施例二中步骤 201B的细化流程图;  2C is a detailed flowchart of step 201B in the second embodiment of the present application;
图 2D为本申请实施例二中步骤 204 Α的细化流程图;  2D is a detailed flowchart of step 204 of the second embodiment of the present application;
图 2E为本申请实施例二中步骤 202D的细化流程图;  2E is a detailed flowchart of step 202D in the second embodiment of the present application;
图 2F为本申请实施例二中步骤 202的细化流程图;  2F is a detailed flowchart of step 202 in the second embodiment of the present application;
图 3为本申请实施例三中通信方法的流程图;  3 is a flowchart of a communication method in Embodiment 3 of the present application;
图 4为本申请实施例四种第一电子设备的功能框图;  4 is a functional block diagram of four first electronic devices according to an embodiment of the present application;
图 5为本申请实施例五种第二电子设备的功能框图;  5 is a functional block diagram of five second electronic devices according to an embodiment of the present application;
图 6为本申请实施例六中第一电子设备的硬件实现的示例概念图; 图 7为本申请实施例七中第二电子设备的硬件实现的示例概念图。 具体实施方式 FIG. 6 is a schematic diagram showing an example of hardware implementation of a first electronic device in Embodiment 6 of the present application; FIG. 7 is a schematic conceptual diagram of hardware implementation of a second electronic device in Embodiment 7 of the present application. detailed description
本申请实施例通过提供一种通信方法、 第一电子设备及第二电子设备, 解决了现有技术中由于釆用 NFC芯片实现近场通信,从而存在 NFC天线对电 子设备整机布局产生很大影响的技术问题。  The embodiment of the present application solves the problem that the NFC antenna realizes the near-field communication of the electronic device by using the NFC chip in the prior art by providing a communication method, the first electronic device, and the second electronic device. Technical issues affected.
本申请实施例的技术方案为解决上述技术问题, 总体思路如下:  The technical solution of the embodiment of the present application is to solve the above technical problem, and the general idea is as follows:
一种通信方法, 包括: 当第一电子设备的第一电容式触摸屏与第二电子 设备的第二电容式触摸屏之间存在电容感应时, 第一电子设备通过电容感应, 与第二电子设备建立近场通信; 第一电子设备通过近场通信, 将一待传输数 据传输给第二电子设备。  A communication method includes: when there is capacitive sensing between a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device, the first electronic device establishes with the second electronic device by capacitive sensing Near field communication; the first electronic device transmits a data to be transmitted to the second electronic device through near field communication.
为使本申请一实施例的目的、 技术方案和优点更加清楚, 下面将结合本 申请实施例中的附图, 对本申请实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本申请一部分实施例, 而不是全部的实施例。 基于 本申请中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本申请保护的范围。  The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. Examples are some embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present invention.
首先说明, 本文中出现的术语"和 /或", 仅仅是一种描述关联对象的关联 关系, 表示可以存在三种关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符" /,,, 一般表示 前后关联对象是一种 "或"的关系。  First of all, the term "and/or" appearing in this article is merely an association describing the associated object, indicating that there can be three relationships, for example, A and / or B, which can mean: A exists separately, and A exists at the same time. And B, there are three cases of B alone. In addition, the character " /,,, in this article, generally means that the contextual object is an "or" relationship.
其次说明,本文中出现的 "第一电子设备"配置有第一电容式触摸屏, "第 二电子设备" 配置有第二电容式触摸屏。 其中, 第一电容式触摸屏和第二电 容式触摸屏可以是相同规格(或不同规格) 的两块屏幕。 第一、 及第二电子 设备可以是: 手机、 或平板电脑、 或车载电脑、 数码相机、 或游戏机等等, 对于第一、 及第二电子设备具体是何种电子设备, 本申请实施例不做具体限 制。  Secondly, the "first electronic device" appearing in this document is configured with a first capacitive touch screen, and the "second electronic device" is configured with a second capacitive touch screen. The first capacitive touch screen and the second capacitive touch screen may be two screens of the same specification (or different specifications). The first and second electronic devices may be: a mobile phone, or a tablet computer, or an in-vehicle computer, a digital camera, or a game machine, etc., and the electronic device of the first and second electronic devices, the embodiment of the present application No specific restrictions are imposed.
实施例一 本实施例提供一种通信方法, 如图 1所示, 包括: Embodiment 1 This embodiment provides a communication method, as shown in FIG. 1, including:
步骤 101 : 当第一电子设备的第一电容式触摸屏与第二电子设备的第二电 容式触摸屏之间存在电容感应时, 第一电子设备通过电容感应, 与第二电子 设备建立近场通信;  Step 101: When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes near field communication with the second electronic device by capacitive sensing;
步骤 102: 第一电子设备通过近场通信, 将一待传输数据传输给第二电子 设备。  Step 102: The first electronic device transmits a to-be-transmitted data to the second electronic device by using near field communication.
在具体实施过程中, 在第一电子设备上安装有第一电容式触摸屏。 在第 二电子设备上安装有第二电容式触摸屏。 在第一电容式触摸屏与第二电容式 触摸屏正对且贴近时, 在第一电容式触摸屏和第二电容式触摸屏之间会产生 电容感应, 本申请实施例正是基于该电容感应建立了近场通信。 由于, 釆用 基于两电子设备的电容式触摸屏之间的电容感应来建立近场通信, 以实现两 电子设备之间的数据传输, 所以, 有效地解决了现有技术中由于釆用 NFC芯 片实现近场通信, 从而存在 NFC天线对电子设备整机布局产生影响的技术问 题。 实现了通过目前电子设备广泛配置的电容式触摸屏实现近场通信的技术 效果。  In a specific implementation process, a first capacitive touch screen is mounted on the first electronic device. A second capacitive touch screen is mounted on the second electronic device. When the first capacitive touch screen and the second capacitive touch screen are facing and close to each other, a capacitive sensing is generated between the first capacitive touch screen and the second capacitive touch screen, and the embodiment of the present application establishes a near sound based on the capacitive sensing. Field communication. Because the capacitive sensing between the capacitive touch screens of the two electronic devices is used to establish the near field communication to realize the data transmission between the two electronic devices, the prior art is effectively solved by using the NFC chip. Near field communication, so there is a technical problem that the NFC antenna affects the overall layout of the electronic device. The technical effect of near field communication realized by a capacitive touch screen widely deployed in current electronic devices is realized.
进一步, 如图 1A所示, 步骤 101 , 包括:  Further, as shown in FIG. 1A, step 101 includes:
步骤 101A: 第一电子设备通过第一电容式触摸屏, 检测是否存在电容感 应;  Step 101A: The first electronic device detects, by using the first capacitive touch screen, whether there is a capacitive sense;
步骤 102A: 在第一电子设备检测到存在电容感应时, 第一电子设备通过 电容感应, 向第二电子设备发送用于建立近场通信的请求信息;  Step 102A: When the first electronic device detects that there is capacitive sensing, the first electronic device sends the request information for establishing the near field communication to the second electronic device by capacitive sensing;
步骤 103A: 第一电子设备通过电容感应, 接收来自第二电子设备的表示 第二电子设备同意建立近场通信的应答信息;  Step 103A: The first electronic device receives the response information from the second electronic device by capacitive sensing, and the second electronic device agrees to establish the response information of the near field communication;
步骤 104A:第一电子设备基于应答信息,与第二电子设备建立近场通信。 在具体实施过程中, 在第一电容式触摸屏可以与第二电容式触摸屏正对 且贴近时, 在第一电容式触摸屏和第二电容式触摸屏之间会产生电容感应, 此时, 第一电子设备能够通过第一电容式触摸屏检测到电容感应, 并通过电 容感应向第二电子设备发送请求建立近场通信的请求信息, 待第二电子设备 回复同意建立近场通信的应答信息后, 第一电子设备即可基于该应答信息与 第二电子设备建立近场通信。 在本实施例中, 由于第一电子设备需要基于第 二电子设备回复的应答信息与第二电子设备建立近场通信, 所以, 实现了基 于电容式触摸屏建立安全、 可靠的近场通信的技术效果。 Step 104A: The first electronic device establishes near field communication with the second electronic device based on the response information. In a specific implementation process, when the first capacitive touch screen can face and be close to the second capacitive touch screen, capacitive sensing occurs between the first capacitive touch screen and the second capacitive touch screen. At this time, the first electronic The device can detect the capacitive sensing through the first capacitive touch screen, and send the request information for establishing the near field communication to the second electronic device through the capacitive sensing, and wait for the second electronic device After replying to agree to establish the response information of the near field communication, the first electronic device can establish near field communication with the second electronic device based on the response information. In this embodiment, since the first electronic device needs to establish near field communication with the second electronic device based on the response information replied by the second electronic device, the technical effect of establishing a safe and reliable near field communication based on the capacitive touch screen is realized. .
进一步, 如图 1B所示, 步骤 102A, 包括:  Further, as shown in FIG. 1B, step 102A includes:
步骤 101B: 第一电子设备对请求信息进行调制, 获得与请求信息对应的 调制请求信号;  Step 101B: The first electronic device modulates the request information, and obtains a modulation request signal corresponding to the request information.
步骤 102B: 第一电子设备通过第一电容式触摸屏的发射通道, 将调制请 求信号耦合到第二电容式触摸屏的接收通道上, 以实现向第二电子设备发送 请求信息。  Step 102B: The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen to implement sending the request information to the second electronic device.
在现有技术中的基于 "互容" 触控方案的电容式触摸屏中, 具有多个发 射通道和多个接收通道, 用于在用户进行触控操作时, 感应手指的位置及触 控操作。 在本申请实施例中, 利用该发射通道将调制请求信号耦合到第二电 容式触摸屏的接收通道上, 以实现向第二电子设备发送请求信息的目的。 可 见, 在本实施例中, 在实现基于电容式触摸屏建立近场通信时, 无需对现有 技术中带有电容式触摸屏的电子设备的硬件做改造, 从而实现了在不改变电 子设备硬件结构的前提下, 通过目前电子设备广泛配置的电容式触摸屏实现 近场通信的技术效果。  In the capacitive touch screen based on the “compatibility” touch scheme in the prior art, there are multiple transmission channels and multiple receiving channels for sensing the position and the touch operation of the finger when the user performs the touch operation. In the embodiment of the present application, the modulation request signal is coupled to the receiving channel of the second capacitive touch screen by using the transmitting channel to achieve the purpose of transmitting the request information to the second electronic device. It can be seen that, in the embodiment, when the near field communication based on the capacitive touch screen is implemented, the hardware of the electronic device with the capacitive touch screen in the prior art is not required to be modified, thereby realizing that the hardware structure of the electronic device is not changed. Under the premise, the technical effect of near field communication is realized by a capacitive touch screen widely deployed in electronic devices.
在具体实施过程中, 调制请求信号由不同频率的信号组成, 从而传递不 同的信息。 例如: 对于二进制, 120 KHz代表 "0" , 180KHz代表 "Γ ; 对十 六进制, 80 KHz代表 "0"、 100 KHz代表 "1"、 120 KHz代表 "2" ... ...360 KHz 代表 "E"、 380 KHz代表 "F"。 对于调制请求信号具体釆用哪种编码形式, 可根据不同的电容式触摸屏的工作频率进行自定义, 本申请实施例不做具体 限制。  In a specific implementation process, the modulation request signal is composed of signals of different frequencies, thereby transmitting different information. For example: For binary, 120 KHz stands for "0", 180KHz stands for "Γ; for hexadecimal, 80 KHz stands for "0", 100 KHz stands for "1", 120 KHz stands for "2"...360 KHz stands for "E", and 380 KHz stands for "F". Which coding format is used for the modulation request signal, which can be customized according to the operating frequency of different capacitive touch screens, and is not specifically limited in this embodiment.
进一步, 如图 1C所示, 步骤 102B, 包括:  Further, as shown in FIG. 1C, step 102B includes:
步骤 101C: 第一电子设备获取第一电容式触摸屏的发射通道的当前发射 功率; 步骤 102C: 第一电子设备判断当前发射功率是否大于等于一预设发射功 率, 其中, 该预设发射功率为能够使调制请求信号耦合到第二电容式触摸屏 的接收通道上的最小的发射功率; Step 101C: The first electronic device acquires a current transmit power of a transmit channel of the first capacitive touch screen. Step 102C: The first electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen;
步骤 103C: 在当前发射功率大于等于预设发射功率时, 第一电子设备通 过第一电容式触摸屏的发射通道, 将调制请求信号耦合到第二电容式触摸屏 的接收通道上;  Step 103C: When the current transmit power is greater than or equal to the preset transmit power, the first electronic device couples the modulation request signal to the receive channel of the second capacitive touch screen through the transmit channel of the first capacitive touch screen;
步骤 104C: 在当前发射功率小于预设发射功率时, 第一电子设备提高当 前发射功率至预设发射功率, 再通过第一电容式触摸屏的发射通道, 将调制 请求信号耦合到第二电容式触摸屏的接收通道上。  Step 104C: When the current transmit power is less than the preset transmit power, the first electronic device increases the current transmit power to the preset transmit power, and then couples the modulation request signal to the second capacitive touch screen through the transmit channel of the first capacitive touch screen. On the receiving channel.
在现有技术中, 电容式触摸屏在进行用户的触控检测操作时, 发射通道 上的发射功率一般都比较小, 可能不能够满足近场通信的要求。 而在本申请 实施例中, 在第一电子设备基于电容感应向第二电子设备发送调制请求信号 之前, 第一电子设备需要判断第一电容式触摸屏的发射通道的当前发射功率 是否大于等于预设发射功率, 该预设发射功率为能够使调制请求信号耦合到 第二电容式触摸屏的接收通道上的最小的发射功率。 在保证第一电容式触摸 屏的发射通道的当前发射功率大于等于该预设功率后, 才能够通过第一电容 式触摸屏的发射通道, 将调制请求信号耦合到第二电容式触摸屏的接收通道 上, 从而实现第一电子设备与第二电子设备建立近场通信。 在具体实施过程 中, 可以通过提高发射通道上的电压, 来提高发射通道上的发射功率。  In the prior art, when the capacitive touch screen performs the touch detection operation of the user, the transmission power on the transmission channel is generally small, and may not meet the requirements of near field communication. In the embodiment of the present application, before the first electronic device sends the modulation request signal to the second electronic device based on the capacitive sensing, the first electronic device needs to determine whether the current transmit power of the transmit channel of the first capacitive touch screen is greater than or equal to a preset. Transmit power, the preset transmit power being the minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen. After the current transmit power of the transmit channel of the first capacitive touch screen is greater than or equal to the preset power, the modulation request signal can be coupled to the receive channel of the second capacitive touch screen through the transmit channel of the first capacitive touch screen. Thereby, the first electronic device is established to establish near field communication with the second electronic device. In a specific implementation process, the transmit power on the transmit channel can be increased by increasing the voltage on the transmit channel.
进一步, 如图 1D所示, 步骤 103A, 包括:  Further, as shown in FIG. 1D, step 103A includes:
步骤 101D: 第一电子设备通过第一电容式触摸屏的收通道, 接收来自第 二电子设备的与应答信息对应的调制应答信号;  Step 101D: The first electronic device receives a modulation response signal corresponding to the response information from the second electronic device by using a receiving channel of the first capacitive touch screen;
步骤 102D: 第一电子设备对调制应答信号进行解调, 获得应答信息。 进一步, 如图 1E所示, 步骤 101D, 包括:  Step 102D: The first electronic device demodulates the modulation response signal to obtain response information. Further, as shown in FIG. 1E, step 101D includes:
步骤 101E: 第一电子设备获取第一电容式触摸屏的接收通道的当前感应 阔值;  Step 101E: The first electronic device acquires a current sensing threshold of the receiving channel of the first capacitive touch screen;
步骤 102E: 第一电子设备判断当前感应阔值是否大于等于一预设感应阔 值, 其中, 预设感应阔值为能够使第一电容式触摸屏的接收通道接收到调制 应答信号的最小的感应阔值; Step 102E: The first electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing width. a value, where the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal;
步骤 103E: 在当前感应阔值大于等于预设感应阔值时, 第一电子设备通 过第一电容式触摸屏的接收通道, 接收调制应答信号;  Step 103E: When the current sensing threshold is greater than or equal to the preset sensing threshold, the first electronic device receives the modulation response signal through the receiving channel of the first capacitive touch screen;
步骤 104E: 在当前感应阔值小于预设感应阔值时, 第一电子设备提高当 前感应阔值至预设感应阔值, 再通过第一电容式触摸屏的接收通道, 接收调 制应答信号。  Step 104E: When the current sensing threshold is less than the preset sensing threshold, the first electronic device increases the current sensing threshold to the preset sensing threshold, and receives the modulation response signal through the receiving channel of the first capacitive touch screen.
在现有技术中, 电容式触摸屏在进行用户的触控检测操作时, 接收通道 上的感应阔值一般都比较小, 不能够满足近场通信的要求。 而在本申请实施 例中, 在第一电子设备通过第一电容式触摸屏的接收通道, 接收调制应答信 号之前, 第一电子设备需要判断第一电容式触摸屏的接收通道的当前感应阔 值是否大于等于一预设感应阔值, 该预设感应阔值为能够使第一电容式触摸 屏的接收通道接收到调制应答信号的最小的感应阔值。 在保证第一电容式触 摸屏的接收通道的当前感应阔值大于等于该预设感应阔值后, 才能够通过第 一电容式触摸屏的接收通道, 接收到调制应答信号, 从而实现第一电子设备 与第二电子设备建立近场通信。 此处应注意: 该预设感应阔值的上限值不宜 过大, 否则信号抗干扰能力将会下降。  In the prior art, when the capacitive touch screen performs the touch detection operation of the user, the sensing threshold on the receiving channel is generally small, and the requirements for near field communication cannot be met. In the embodiment of the present application, before the first electronic device receives the modulation response signal through the receiving channel of the first capacitive touch screen, the first electronic device needs to determine whether the current sensing threshold of the receiving channel of the first capacitive touch screen is greater than It is equal to a preset sensing threshold, and the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal. After the current sensing threshold of the receiving channel of the first capacitive touch screen is greater than or equal to the preset sensing threshold, the receiving response signal can be received through the receiving channel of the first capacitive touch screen, thereby implementing the first electronic device and The second electronic device establishes near field communication. Note here: The upper limit of the preset sensing threshold should not be too large, otherwise the signal anti-interference ability will be reduced.
进一步, 如图 1F所示, 步骤 102 , 包括:  Further, as shown in FIG. 1F, step 102 includes:
步骤 101F: 第一电子设备调制待传输数据, 获得与待传输数据对应的调 制待传输信号;  Step 101F: The first electronic device modulates data to be transmitted, and obtains a modulated to-be-transmitted signal corresponding to the data to be transmitted.
步骤 102F: 第一电子设备通过第一电容式触摸屏的发射通道, 将调制请 求信号耦合到第二电容式触摸屏的接收通道上, 以实现将待传输数据传输给 第二电子设备。  Step 102F: The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen, so as to transmit the data to be transmitted to the second electronic device.
在具体实施过程中, 实施步骤 102F的前提是: 第一电容式触摸屏的发射 通道的当前发射功率大于等于预设发射功率。  In a specific implementation process, the premise of implementing step 102F is: The current transmit power of the transmit channel of the first capacitive touch screen is greater than or equal to the preset transmit power.
在具体实施过程中, 在第一电子设备与第二电子设备建立近场通信后, 第一电子设备与第二设备应该关闭自身的电容式触摸屏的触控功能, 否则会 影近场通信的数据传输, 如: 增加传输误码率等。 In a specific implementation process, after the first electronic device establishes near field communication with the second electronic device, the first electronic device and the second device should turn off the touch function of the capacitive touch screen of the first electronic device, otherwise The data transmission of the near field communication, such as: increase the transmission error rate.
实施例二:  Embodiment 2:
基于同一发明构思, 本实施例提供一种通信方法, 如图 2所示, 包括: 步骤 201 : 当第一电子设备的第一电容式触摸屏与第二电子设备的第二电 容式触摸屏之间存在电容感应时, 第二电子设备通过电容感应, 与第一电子 设备建立近场通信;  Based on the same inventive concept, the present embodiment provides a communication method. As shown in FIG. 2, the method includes: Step 201: When a first capacitive touch screen of the first electronic device and a second capacitive touch screen of the second electronic device exist During capacitive sensing, the second electronic device establishes near field communication with the first electronic device through capacitive sensing;
步骤 202: 第二电子设备通过近场通信,接收来自第一电子设备的一待传 输数据。  Step 202: The second electronic device receives a to-be-transmitted data from the first electronic device by using near field communication.
在具体实施过程中, 在第一电子设备上安装有第一电容式触摸屏, 在第 二电子设备上安装有第二电容式触摸屏。 在第一电容式触摸屏与第二电容式 触摸屏正对且贴近时, 在第一电容式触摸屏和第二电容式触摸屏会产生电容 感应, 本申请实施例正是基于该电容感应建立了近场通信, 从而解决了现有 技术中釆用 NFC芯片实现近场通信,而存在 NFC天线对电子设备整机布局产 生很大影响的技术问题。 实现了通过目前电子设备广泛配置的电容式触摸屏 实现近场通信的技术效果。  In a specific implementation process, a first capacitive touch screen is mounted on the first electronic device, and a second capacitive touch screen is mounted on the second electronic device. When the first capacitive touch screen and the second capacitive touch screen are facing and close to each other, capacitive sensing is generated on the first capacitive touch screen and the second capacitive touch screen, and the embodiment of the present application establishes near field communication based on the capacitive sensing. Therefore, the prior art uses the NFC chip to implement near field communication, and there is a technical problem that the NFC antenna has a great influence on the overall layout of the electronic device. The technical effect of implementing near field communication through a capacitive touch screen widely deployed in electronic devices is realized.
进一步, 如图 2Α所示, 步骤 201 , 包括:  Further, as shown in FIG. 2A, step 201 includes:
步骤 201A: 第二电子设备通过第二电容式触摸屏, 检测是否存在电容感 应;  Step 201A: The second electronic device detects, by using the second capacitive touch screen, whether there is a capacitive sense;
步骤 202Α: 在第二电子设备检测到存在电容感应时, 第二电子设备通过 电容感应, 接收来自第一电子设备的用于建立近场通信的请求信息;  Step 202: When the second electronic device detects that there is capacitive sensing, the second electronic device receives, by capacitive sensing, request information for establishing near field communication from the first electronic device;
步骤 203Α: 第二电子设备基于请求信息, 生成一表示第二电子设备同意 建立近场通信的应答信息;  Step 203: The second electronic device generates, according to the request information, response information indicating that the second electronic device agrees to establish a near field communication;
步骤 204Α: 第二电子设备通过电容感应, 将应答信息发送给第一电子设 备;  Step 204: The second electronic device sends the response information to the first electronic device by capacitive sensing;
步骤 205Α: 第二电子设备与第一电子设备建立近场通信。  Step 205: The second electronic device establishes near field communication with the first electronic device.
进一步, 如图 2Β所示, 步骤 202Α, 包括:  Further, as shown in FIG. 2A, step 202Α includes:
步骤 201B: 第二电子设备通过电容感应, 接收从来自第一电子设备的与 请求信息对应的调制请求信号; Step 201B: The second electronic device receives the slave device from the first electronic device through capacitive sensing. a modulation request signal corresponding to the request information;
步骤 202B: 第二电子设备对该调制请求信号进行解调, 获得请求信息。 进一步, 如图 2C所示, 步骤 201B, 包括:  Step 202B: The second electronic device demodulates the modulation request signal to obtain request information. Further, as shown in FIG. 2C, step 201B includes:
步骤 201C: 第二电子设备获取第二电容式触摸屏的接收通道的当前感应 阔值;  Step 201C: The second electronic device acquires a current sensing threshold of the receiving channel of the second capacitive touch screen;
步骤 202C: 第二电子设备判断当前感应阔值是否大于等于一预设感应阔 值, 其中, 该预设感应阔值为能够使第二电容式触摸屏的接收通道接收到调 制请求信号的最小的感应阔值;  Step 202C: The second electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is a minimum sensing that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal. Wide value
步骤 203C: 在当前感应阔值大于等于预设感应阔值时, 第二电子设备通 过第二电容式触摸屏的接收通道, 接收调制请求信号;  Step 203C: When the current sensing threshold is greater than or equal to the preset sensing threshold, the second electronic device receives the modulation request signal through the receiving channel of the second capacitive touch screen;
步骤 204C: 在当前感应阔值小于预设感应阔值时, 第二电子设备提高当 前感应阔值至预设感应阔值, 再通过第二电容式触摸屏的接收通道接收调制 请求信号。  Step 204C: When the current sensing threshold is less than the preset sensing threshold, the second electronic device increases the current sensing threshold to the preset sensing threshold, and receives the modulation request signal through the receiving channel of the second capacitive touch screen.
在现有技术中, 电容式触摸屏在进行用户的触控检测操作时, 接收通道 上的感应阔值一般都比较小, 不能够满足近场通信的要求。 而在本申请实施 例中, 在第二电子设备通过第二电容式触摸屏的接收通道, 接收调制请求信 号之前, 第二电子设备需要判断第二电容式触摸屏的接收通道的当前感应阔 值是否大于等于一预设感应阔值, 该预设感应阔值为能够使第二电容式触摸 屏的接收通道接收到调制请求信号的最小的感应阔值。 在保证第二电容式触 摸屏的接收通道的当前感应阔值大于等于该预设感应阔值后, 才能够通过第 二电容式触摸屏的接收通道, 接收到调制应答信号, 从而实现第一电子设备 与第二电子设备建立近场通信。  In the prior art, when the capacitive touch screen performs the touch detection operation of the user, the sensing threshold on the receiving channel is generally small, and the requirements for near field communication cannot be met. In the embodiment of the present application, before the second electronic device receives the modulation request signal through the receiving channel of the second capacitive touch screen, the second electronic device needs to determine whether the current sensing threshold of the receiving channel of the second capacitive touch screen is greater than It is equal to a preset sensing threshold, and the preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal. After the current sensing threshold of the receiving channel of the second capacitive touch screen is greater than or equal to the preset sensing threshold, the receiving response signal can be received through the receiving channel of the second capacitive touch screen, thereby implementing the first electronic device and The second electronic device establishes near field communication.
进一步, 如图 2D所示, 步骤 204A, 包括:  Further, as shown in FIG. 2D, step 204A includes:
步骤 201D: 第二电子设备调制应答信息, 获得与应答信息对应的调制应 答信号;  Step 201D: The second electronic device modulates the response information, and obtains a modulation response signal corresponding to the response information.
步骤 202D: 第二电子设备通过第二电容式触摸屏的发射通道, 将调制请 求信号耦合到第一电容式触摸屏的接收通道上, 以实现将应答信息发送给第 一电子设备。 Step 202D: The second electronic device couples the modulation request signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, so as to send the response information to the first An electronic device.
在具体实施过程中, 调制应答信号由不同频率的信号组成, 从而传递不 同的信息。 例如: 对于二进制, 120 KHz代表 "0" , 180KHz代表 "Γ ; 对十 六进制, 80 KHz代表 "0"、 100 KHz代表 "1"、 120 KHz代表 "2" ... ...360 KHz 代表 "E"、 380 KHz代表 "F"。 对于调制应答信号具体釆用哪种编码形式, 可根据不同的电容式触摸屏的工作频率进行自定义, 本申请实施例不做具体 限制。  In a specific implementation process, the modulation response signal is composed of signals of different frequencies, thereby transmitting different information. For example: For binary, 120 KHz stands for "0", 180KHz stands for "Γ; for hexadecimal, 80 KHz stands for "0", 100 KHz stands for "1", 120 KHz stands for "2"...360 KHz stands for "E" and 380 KHz stands for "F". Which coding format is used for the modulation response signal, which can be customized according to the operating frequency of the different capacitive touch screens, which is not specifically limited in the embodiment of the present application.
进一步, 如图 2E所示, 步骤 202D, 包括:  Further, as shown in FIG. 2E, step 202D includes:
步骤 201E: 第二电子设备获取第二电容式触摸屏的发射通道的当前发射 功率;  Step 201E: The second electronic device acquires a current transmit power of a transmit channel of the second capacitive touch screen;
步骤 202E: 第二电子设备判断当前发射功率是否大于等于一预设发射功 率, 其中, 预设发射功率为能够使调制应答信号耦合到第一电容式触摸屏的 接收通道上的最小的发射功率;  Step 202E: The second electronic device determines whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen;
步骤 203E: 在当前发射功率大于等于预设发射功率时, 第二电子设备通 过第二电容式触摸屏的发射通道, 将调制应答信号耦合到第一电容式触摸屏 的接收通道上;  Step 203E: When the current transmit power is greater than or equal to the preset transmit power, the second electronic device couples the modulation response signal to the receive channel of the first capacitive touch screen through the transmit channel of the second capacitive touch screen;
步骤 204E: 在当前发射功率小于预设发射功率时, 第二电子设备提高当 前发射功率至预设发射功率, 再通过第二电容式触摸屏的发射通道, 将调制 请求信号耦合到第一电容式触摸屏的接收通道上。  Step 204E: When the current transmit power is less than the preset transmit power, the second electronic device increases the current transmit power to the preset transmit power, and then couples the modulation request signal to the first capacitive touch screen through the transmit channel of the second capacitive touch screen. On the receiving channel.
在现有技术中, 电容式触摸屏在进行用户的触控检测操作时, 发射通道 上的发射功率一般都比较小, 不能够满足近场通信的要求。 而在本申请实施 例中, 在第二电子设备通过第二电容式触摸屏的发射通道, 将调制应答信号 耦合到第一电容式触摸屏的接收通道上之前, 第二电子设备需要判断第二电 容式触摸屏的发射通道的当前发射功率是否大于等于预设发射功率, 该预设 发射功率为能够使调制应答信号耦合到第一电容式触摸屏的接收通道上的最 小的发射功率。 在保证第二电容式触摸屏的发射通道的当前发射功率大于等 于该预设功率后, 才能够通过第二电容式触摸屏的发射通道将调制应答信号 耦合到第一电容式触摸屏的接收通道上, 从而实现第一电子设备与第二电子 设备建立近场通信。 在具体实施过程中, 可以通过提高发射通道上的电压, 来提高发射通道上的发射功率。 In the prior art, when the capacitive touch screen performs the touch detection operation of the user, the transmission power on the transmission channel is generally small, and cannot meet the requirements of near field communication. In the embodiment of the present application, before the second electronic device couples the modulation response signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, the second electronic device needs to determine the second capacitive type. Whether the current transmit power of the transmit channel of the touch screen is greater than or equal to a preset transmit power, and the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen. After the current transmit power of the transmit channel of the second capacitive touch screen is greater than or equal to the preset power, the modulation response signal can be modulated by the transmit channel of the second capacitive touch screen. The first electronic device establishes near field communication with the second electronic device by being coupled to the receiving channel of the first capacitive touch screen. In a specific implementation process, the transmit power on the transmit channel can be increased by increasing the voltage on the transmit channel.
进一步, 如图 2F所示, 步骤 202 , 包括:  Further, as shown in FIG. 2F, step 202 includes:
步骤 201F: 第二电子设备接收从来自第一电子设备的与待传输数据对应 的调制待传输信号;  Step 201F: The second electronic device receives a modulated to-be-transmitted signal corresponding to the data to be transmitted from the first electronic device;
步骤 202F: 第二电子设备对调制待传输信号进行解调,获得待传输数据。 在具体实施过程中, 实施步骤 202F的前提是: 第二电容式触摸屏的接收 通道的当前发感应阔值大于等于预设感应阔值。  Step 202F: The second electronic device demodulates the signal to be transmitted to obtain data to be transmitted. In the specific implementation process, the pre-requisite of step 202F is: The current sensing threshold of the receiving channel of the second capacitive touch screen is greater than or equal to the preset sensing threshold.
在具体实施过程中, 在第一电子设备与第二电子设备建立近场通信后, 第二设备应该关闭自身的电容式触摸屏的触控功能, 否则会影近场通信的数 据传输, 如: 增加传输误码率等。  In a specific implementation process, after the first electronic device establishes near field communication with the second electronic device, the second device should turn off the touch function of the capacitive touch screen of the second electronic device, otherwise the data transmission of the near field communication may be affected, such as: Transmission error rate, etc.
实施例三  Embodiment 3
基于同一发明构思, 本实施例提供一种通信方法, 如图 3所示, 包括: 步骤 301 : 第一电子设备选择待传输信息。  Based on the same inventive concept, the embodiment provides a communication method. As shown in FIG. 3, the method includes: Step 301: The first electronic device selects information to be transmitted.
步骤 302: 第一电子设备开启近场通信模式; 在具体实施过程中, 步骤 302, 包括: 第一电子设备关闭自身的第一电容式触摸屏的触控功能, 以避免 在近场通信时, 增加传输误码率, 从而影近场通信的数据传输; 第一电子设 备提高第一电容式触摸屏的发射通道的发射功率至一预设发射功率, 其中, 该预设发射功率为能够使第一电容式触摸屏产生的近场通信的信号耦合到第 二电容式触摸屏的接收通道上的最小的发射功率; 第一电子设备提高第一电 容式触摸屏的接受通道的感应阔值, 其中, 该预设感应阔值为能够使第一电 容式触摸屏的接收通道接收到来自第二电容式触摸屏的近场通信的信号的最 小的感应阔值。  Step 302: The first electronic device turns on the near field communication mode. In a specific implementation, the step 302 includes: the first electronic device turns off the touch function of the first capacitive touch screen of the first electronic device to avoid increasing the near field communication. Transmitting a bit error rate to thereby transmit data of a near field communication; the first electronic device increases a transmit power of a transmit channel of the first capacitive touch screen to a predetermined transmit power, wherein the preset transmit power is a first capacitor The signal of the near field communication generated by the touch screen is coupled to the minimum transmit power on the receiving channel of the second capacitive touch screen; the first electronic device increases the sensing threshold of the receiving channel of the first capacitive touch screen, wherein the preset sensing The threshold is the smallest sensed threshold that enables the receive channel of the first capacitive touch screen to receive the near field communication signal from the second capacitive touch screen.
步骤 303:在第一电子设备检测到第一电容式触摸屏和第二电容式触摸屏 之间的电容感应时, 第一电子设备通过电容感应, 向第二电子设备发送用于 建立近场通信的请求信息。 步骤 304: 第二电子设备收到该请求信息, 并进入近场通信模式。 在具体 实施过程中, 步骤 304 , 包括: 第二电子设备关闭自身的第二电容式触摸屏的 触控功能, 以避免在近场通信时, 增加传输误码率, 从而影近场通信的数据 传输; 第二电子设备提高第二电容式触摸屏的发射通道的发射功率至一预设 发射功率, 其中, 该预设发射功率为能够使第二电容式触摸屏产生的近场通 信的信号耦合到第一电容式触摸屏的接收通道上的最小的发射功率; 第二电 子设备提高第二电容式触摸屏的接受通道的感应阔值, 其中, 该预设感应阔 值为能够使第二电容式触摸屏的接收通道接收到来自第一电容式触摸屏的近 场通信的信号的最小的感应阔值。 Step 303: When the first electronic device detects the capacitive sensing between the first capacitive touch screen and the second capacitive touch screen, the first electronic device sends a request for establishing the near field communication to the second electronic device by capacitive sensing. information. Step 304: The second electronic device receives the request information and enters a near field communication mode. In a specific implementation process, the step 304 includes: the second electronic device turns off the touch function of the second capacitive touch screen of the second electronic device to avoid increasing the transmission error rate when the near field communication is performed, thereby transmitting data transmission of the near field communication. The second electronic device increases the transmit power of the transmit channel of the second capacitive touch screen to a predetermined transmit power, wherein the preset transmit power is a signal capable of coupling the near field communication generated by the second capacitive touch screen to the first The minimum transmit power on the receiving channel of the capacitive touch screen; the second electronic device increases the sensing threshold of the receiving channel of the second capacitive touch screen, wherein the preset sensing threshold is a receiving channel capable of enabling the second capacitive touch screen A minimum induced threshold of the signal of the near field communication from the first capacitive touch screen is received.
步骤 305:第二电子设备向第一电子设备发送表示第二电子设备同意建立 近场通信的应答信息。  Step 305: The second electronic device sends, to the first electronic device, response information indicating that the second electronic device agrees to establish a near field communication.
步骤 306: 第一电子设备接收应答信息, 与第二电子设备成功建立近场通 信。  Step 306: The first electronic device receives the response information, and successfully establishes near field communication with the second electronic device.
步骤 307: 第一电子设备对待传输信息进行调制, 获得调制待传输信号。 步骤 308: 第一电子设备通过近场通信, 将调制待传输调制信号传输给第 二电子设备。  Step 307: The first electronic device modulates the information to be transmitted to obtain a modulated signal to be transmitted. Step 308: The first electronic device transmits the modulated modulation signal to be transmitted to the second electronic device by using near field communication.
步骤 309: 第二电子设备通过近场通信, 接收待传输调制信号, 并解调该 收待传输调制信号, 获得待传输数据。  Step 309: The second electronic device receives the modulated signal to be transmitted through near field communication, and demodulates the received modulated signal to obtain data to be transmitted.
步骤 310:第一电子设备通过第一电容式触摸屏显示表示待传输数据已经 成功传输的信息; 和 /或第二电子设备通过第二电容式触摸屏显示表示待传输 数据已经成功传输的信息。 在具体实施过程中, 在第一电子设备通过电容式 触摸屏建立的近场通信进行数据传输时, 也可能会出现数据传输失败的情况 , 此时, 第一、 及第二电子设备应该通过各自的电容式触摸屏输出一表示数据 传输失败的信息。  Step 310: The first electronic device displays information indicating that the data to be transmitted has been successfully transmitted through the first capacitive touch screen; and/or the second electronic device displays information indicating that the data to be transmitted has been successfully transmitted through the second capacitive touch screen. In a specific implementation process, when data transmission is performed by the near field communication established by the first electronic device through the capacitive touch screen, data transmission failure may occur. At this time, the first and second electronic devices should pass their respective The capacitive touch screen outputs a message indicating that the data transmission failed.
步骤 311 : 第一电子设备和 /或第二电子设备关闭近场通信模式。 在具体 实施过程中, 步骤 311 包括: 第一及第二电子设备恢复各自电容式触摸屏上 的发射通道的发射功率、 及接收通道上的感应阔值, 并恢复各自的触控功能。 实施例四 Step 311: The first electronic device and/or the second electronic device turn off the near field communication mode. In a specific implementation, the step 311 includes: the first and second electronic devices recover the transmit power of the transmit channel on the respective capacitive touch screen, and the sensing threshold on the receiving channel, and restore the respective touch functions. Embodiment 4
基于同一发明构思, 本实施例提供一种第一电子设备, 如图 4所示, 包 括:  Based on the same inventive concept, the embodiment provides a first electronic device, as shown in FIG. 4, including:
建立单元 401 ,用于当第一电子设备的第一电容式触摸屏与第二电子设备 的第二电容式触摸屏之间存在电容感应时, 通过电容感应与第二电子设备建 立近场通信; 传输单元 402, 用于通过近场通信, 将一待传输数据传输给第二 电子设备。  The establishing unit 401 is configured to establish a near field communication with the second electronic device by capacitive sensing when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device; 402. The method is configured to transmit, by using near field communication, data to be transmitted to a second electronic device.
在本实施例中, 可选地, 建立单元 401 , 包括: 检测模块, 用于通过第一 电容式触摸屏, 检测是否存在电容感应; 发送模块, 用于在检测到存在电容 感应时, 通过电容感应, 向第二电子设备发送用于建立近场通信的请求信息; 接收模块, 用于通过电容感应, 接收来自第二电子设备的表示第二电子设备 同意建立近场通信的应答信息; 建立模块, 用于基于应答信息, 与第二电子 设备建立近场通信。  In this embodiment, the establishing unit 401 includes: a detecting module, configured to detect whether there is capacitive sensing through the first capacitive touch screen; and a sending module, configured to perform capacitive sensing when detecting the presence of capacitive sensing Sending, to the second electronic device, the request information for establishing the near field communication; the receiving module, configured to receive, by the capacitive sensing, the response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication; And configured to establish near field communication with the second electronic device based on the response information.
在本实施例中, 可选地, 发送模块, 具体用于: 调制请求信息, 获得与 请求信息对应的调制请求信号; 通过第一电容式触摸屏的发射通道, 将调制 请求信号耦合到第二电容式触摸屏的接收通道上, 以实现向第二电子设备发 送请求信息。  In this embodiment, optionally, the sending module is specifically configured to: modulate the request information, obtain a modulation request signal corresponding to the request information; and couple the modulation request signal to the second capacitor by using a transmit channel of the first capacitive touch screen On the receiving channel of the touch screen, to send request information to the second electronic device.
在本实施例中, 可选地, 发送模块, 还用于: 获取第一电容式触摸屏的 发射通道的当前发射功率; 判断当前发射功率是否大于等于一预设发射功率, 其中, 预设发射功率为能够使调制请求信号耦合到第二电容式触摸屏的接收 通道上的最小的发射功率; 在当前发射功率大于等于预设发射功率时, 通过 第一电容式触摸屏的发射通道, 将调制请求信号耦合到第二电容式触摸屏的 接收通道上; 在当前发射功率小于预设发射功率时, 提高当前发射功率至预 设发射功率, 再通过第一电容式触摸屏的发射通道, 将调制请求信号耦合到 第二电容式触摸屏的接收通道上。  In this embodiment, the sending module is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen; determine whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen; coupling the modulation request signal through the transmit channel of the first capacitive touch screen when the current transmit power is greater than or equal to the preset transmit power Going to the receiving channel of the second capacitive touch screen; when the current transmitting power is less than the preset transmitting power, increasing the current transmitting power to the preset transmitting power, and coupling the modulation request signal to the transmitting channel through the transmitting channel of the first capacitive touch screen The receiving channel of the two capacitive touch screen.
在本实施例中, 可选地, 接收模块, 具体用于: 通过第一电容式触摸屏 的收通道, 接收来自第二电子设备的与应答信息对应的调制应答信号; 解调 调制应答信号, 获得应答信息。 In this embodiment, the receiving module is specifically configured to: receive, by using a receiving channel of the first capacitive touch screen, a modulation response signal corresponding to the response information from the second electronic device; The response signal is modulated to obtain response information.
在本实施例中, 可选地, 接收模块, 还用于: 获取第一电容式触摸屏的 接收通道的当前感应阔值; 判断当前感应阔值是否大于等于一预设感应阔值, 其中, 预设感应阔值为能够使第一电容式触摸屏的接收通道接收到调制应答 信号的最小的感应阔值; 在当前感应阔值大于等于预设感应阔值时, 通过第 一电容式触摸屏的接收通道, 接收调制应答信号; 在当前感应阔值小于预设 感应阔值时, 提高当前感应阔值至预设感应阔值, 再通过第一电容式触摸屏 的接收通道, 接收调制应答信号。  In this embodiment, the receiving module is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, where The sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen to receive the modulation response signal. When the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the first capacitive touch screen is adopted. Receiving a modulation response signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and receiving the modulation response signal through the receiving channel of the first capacitive touch screen.
在本实施例中, 可选地, 传输单元 402, 具体用于: 调制待传输数据, 获 得与待传输数据对应的调制待传输信号; 通过第一电容式触摸屏的发射通道, 将调制请求信号耦合到第二电容式触摸屏的接收通道上, 以实现将待传输数 据传输给第二电子设备。  In this embodiment, the transmitting unit 402 is specifically configured to: modulate data to be transmitted, obtain a modulated signal to be transmitted corresponding to the data to be transmitted; and couple the modulation request signal by using a transmitting channel of the first capacitive touch screen And a receiving channel of the second capacitive touch screen is configured to transmit data to be transmitted to the second electronic device.
实施例五  Embodiment 5
基于同一发明构思, 本实施例提供一种第二电子设备, 如图 5 所示, 包 括: 建立单元 501 , 用于当第二电子设备的第二电容式触摸屏与第一电子设备 的第一电容式触摸屏之间存在电容感应时, 通过电容感应, 与第一电子设备 建立近场通信; 接收单元 502 , 用于通过近场通信, 接收来自第一电子设备的 一待传输数据。  Based on the same inventive concept, the embodiment provides a second electronic device, as shown in FIG. 5, including: an establishing unit 501, configured to: when the second capacitive touch screen of the second electronic device and the first capacitor of the first electronic device When there is capacitive sensing between the touch screens, the near field communication is established with the first electronic device by capacitive sensing; and the receiving unit 502 is configured to receive, by the near field communication, a data to be transmitted from the first electronic device.
在本实施例中, 可选地, 建立单元 501 , 包括: 检测模块, 用于通过第二 电容式触摸屏, 检测是否存在电容感应; 接收模块, 用于在检测到存在电容 感应时, 通过电容感应, 接收来自第一电子设备的用于建立近场通信的请求 信息; 生成模块, 用于基于请求信息, 生成一表示第二电子设备同意建立近 场通信的应答信息; 发送模块, 用于通过电容感应, 将应答信息发送给第一 电子设备; 建立模块, 用于与第一电子设备建立近场通信。  In this embodiment, the establishing unit 501 includes: a detecting module, configured to detect whether there is capacitive sensing through the second capacitive touch screen; and a receiving module, configured to perform capacitive sensing when detecting the presence of capacitive sensing Receiving request information for establishing near field communication from the first electronic device; generating a module, configured to generate, according to the request information, response information indicating that the second electronic device agrees to establish near field communication; and sending module, configured to pass the capacitor Sensing, sending the response information to the first electronic device; establishing a module, configured to establish near field communication with the first electronic device.
在本实施例中, 可选地, 接收模块, 具体用于: 通过电容感应, 接收从 来自第一电子设备的与请求信息对应的调制请求信号; 解调调制请求信号, 获得请求信息。 在本实施例中, 可选地, 接收模块, 还用于: 获取第二电容式触摸屏的 接收通道的当前感应阔值; 判断当前感应阔值是否大于等于一预设感应阔值, 其中, 预设感应阔值为能够使第二电容式触摸屏的接收通道接收到调制请求 信号的最小的感应阔值; 在当前感应阔值大于等于预设感应阔值时, 通过第 二电容式触摸屏的接收通道, 接收调制请求信号; 在当前感应阔值小于预设 感应阔值时, 提高当前感应阔值至预设感应阔值, 再通过第二电容式触摸屏 的接收通道接收调制请求信号。 In this embodiment, the receiving module is specifically configured to: receive, by using capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; and demodulate the modulation request signal to obtain the request information. In this embodiment, the receiving module is further configured to: obtain a current sensing threshold of the receiving channel of the second capacitive touch screen; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, where The sensing threshold is a minimum sensing threshold that enables the receiving channel of the second capacitive touch screen to receive the modulation request signal; and when the current sensing threshold is greater than or equal to the preset sensing threshold, the receiving channel of the second capacitive touch screen is adopted. Receiving a modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increasing the current sensing threshold to the preset sensing threshold, and receiving the modulation request signal through the receiving channel of the second capacitive touch screen.
在本实施例中, 可选地, 发送模块, 具体用于: 调制应答信息, 获得与 应答信息对应的调制应答信号; 通过第二电容式触摸屏的发射通道, 将调制 应答信号耦合到第一电容式触摸屏的接收通道上, 以实现将应答信息发送给 第一电子设备。  In this embodiment, the sending module is specifically configured to: modulate the response information to obtain a modulation response signal corresponding to the response information; and couple the modulation response signal to the first capacitor through the transmit channel of the second capacitive touch screen The receiving channel of the touch screen is configured to send the response information to the first electronic device.
在本实施例中, 可选地, 发送模块, 还用于: 获取第二电容式触摸屏的 发射通道的当前发射功率; 判断当前发射功率是否大于等于一预设发射功率, 其中, 预设发射功率为能够使调制应答信号耦合到第二电容式触摸屏的接收 通道上的最小的发射功率; 在当前发射功率大于等于预设发射功率时, 通过 第二电容式触摸屏的发射通道, 将调制应答信号耦合到第二电容式触摸屏的 接收通道上; 在当前发射功率小于预设发射功率时, 提高当前发射功率至预 设发射功率, 再通过第二电容式触摸屏的发射通道, 将调制应答信号耦合到 第一电容式触摸屏的接收通道上。  In this embodiment, the sending module is further configured to: acquire a current transmit power of a transmit channel of the second capacitive touch screen; determine whether the current transmit power is greater than or equal to a preset transmit power, where the preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the second capacitive touch screen; coupling the modulation response signal through the transmit channel of the second capacitive touch screen when the current transmit power is greater than or equal to the preset transmit power Going to the receiving channel of the second capacitive touch screen; when the current transmitting power is less than the preset transmitting power, increasing the current transmitting power to the preset transmitting power, and coupling the modulation response signal to the transmitting channel through the transmitting channel of the second capacitive touch screen A capacitive touch screen is received on the channel.
在本实施例中, 可选地, 接收单元 502, 具体用于: 通过第二电容式触摸 屏的接收通道, 接收从来自第一电子设备的与待传输数据对应的调制待传输 信号; 解调调制待传输信号, 获得待传输数据。  In this embodiment, the receiving unit 502 is specifically configured to: receive, by using a receiving channel of the second capacitive touch screen, a modulated to-be-transmitted signal corresponding to data to be transmitted from the first electronic device; The signal to be transmitted is obtained, and the data to be transmitted is obtained.
实施例六  Embodiment 6
基于同一发明构思, 如图 6所示, 本实施例提供一种第一电子设备 600, 包括: 第一电容式触摸屏 610; 第一处理器 602, 与第一电容式触摸屏 610连 接, 用于当第一电容式触摸屏 610与第二电子设备的第二电容式触摸屏之间 存在电容感应时, 通过电容感应与第二电子设备建立近场通信; 并通过近场 通信将一待传输数据传输给第二电子设备。 Based on the same inventive concept, as shown in FIG. 6, the embodiment provides a first electronic device 600, including: a first capacitive touch screen 610; a first processor 602, coupled to the first capacitive touch screen 610, for When there is capacitive sensing between the first capacitive touch screen 610 and the second capacitive touch screen of the second electronic device, establishing near field communication with the second electronic device through capacitive sensing; and passing the near field The communication transmits a to-be-transmitted data to the second electronic device.
在本实施例中, 可选地, 第一处理器 620, 还用于: 通过第一电容式触摸 屏 610, 检测是否存在电容感应; 在检测到存在电容感应时, 通过电容感应向 第二电子设备发送用于建立近场通信的请求信息; 通过电容感应接收来自第 二电子设备的表示第二电子设备同意建立近场通信的应答信息; 基于应答信 息, 与第二电子设备建立近场通信。  In this embodiment, the first processor 620 is further configured to: detect, by using the first capacitive touch screen 610, whether there is capacitive sensing; when detecting the presence of capacitive sensing, by capacitive sensing to the second electronic device Sending request information for establishing near field communication; receiving, by capacitive sensing, response information from the second electronic device indicating that the second electronic device agrees to establish near field communication; and establishing near field communication with the second electronic device based on the response information.
在本实施例中, 可选地, 第一处理器 620, 还用于: 调制请求信息, 获得 与请求信息对应的调制请求信号; 通过第一电容式触摸屏 610 的发射通道, 将调制请求信号耦合到第二电容式触摸屏的接收通道上, 以实现向第二电子 设备发送请求信息。  In this embodiment, the first processor 620 is further configured to: modulate request information, obtain a modulation request signal corresponding to the request information; and couple the modulation request signal by using a transmit channel of the first capacitive touch screen 610 Going to the receiving channel of the second capacitive touch screen to transmit the request information to the second electronic device.
在本实施例中, 可选地, 第一处理器 620, 还用于: 获取第一电容式触摸 屏 610 的发射通道的当前发射功率; 判断当前发射功率是否大于等于一预设 发射功率, 其中, 预设发射功率为能够使调制请求信号耦合到第二电容式触 摸屏的接收通道上的最小的发射功率; 在当前发射功率大于等于预设发射功 率时, 通过第一电容式触摸屏 610 的发射通道, 将调制请求信号耦合到第二 电容式触摸屏的接收通道上; 在当前发射功率小于预设发射功率时, 提高当 前发射功率至预设发射功率, 再通过第一电容式触摸屏 610 的发射通道, 将 调制请求信号耦合到第二电容式触摸屏的接收通道上。  In this embodiment, the first processor 620 is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen 610; and determine whether the current transmit power is greater than or equal to a preset transmit power, where The preset transmit power is a minimum transmit power capable of coupling the modulation request signal to the receive channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the transmit channel of the first capacitive touch screen 610 is Coupling the modulation request signal to the receiving channel of the second capacitive touch screen; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing through the transmit channel of the first capacitive touch screen 610, A modulation request signal is coupled to the receive channel of the second capacitive touch screen.
在本实施例中, 可选地, 第一处理器 620, 还用于: 通过第一电容式触摸 屏 610的收通道, 接收来自第二电子设备的与应答信息对应的调制应答信号; 解调调制应答信号, 获得应答信息。  In this embodiment, the first processor 620 is further configured to: receive, by using a receiving channel of the first capacitive touch screen 610, a modulation response signal corresponding to the response information from the second electronic device; Acknowledge the signal and obtain the response message.
在本实施例中, 可选地, 第一处理器 620, 还用于: 获取第一电容式触摸 屏 610 的接收通道的当前感应阔值; 判断当前感应阔值是否大于等于一预设 感应阔值, 其中, 预设感应阔值为能够使第一电容式触摸屏 610 的接收通道 接收到调制应答信号的最小的感应阔值; 在当前感应阔值大于等于预设感应 阔值时, 通过第一电容式触摸屏 610 的接收通道, 接收调制应答信号; 在当 前感应阔值小于预设感应阔值时, 提高当前感应阔值至预设感应阔值, 再通 过第一电容式触摸屏 610的接收通道, 接收调制应答信号。 In this embodiment, the first processor 620 is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen 610; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold The preset sensing threshold is a minimum sensing threshold that enables the receiving channel of the first capacitive touch screen 610 to receive the modulation response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, the first capacitor is passed. The receiving channel of the touch screen 610 receives the modulation response signal; when the current sensing threshold is less than the preset sensing threshold, the current sensing threshold is increased to the preset sensing threshold, and then The receiving channel of the first capacitive touch screen 610 receives the modulation response signal.
在本实施例中, 可选地, 第一处理器 620, 还用于: 调制待传输数据, 获 得与待传输数据对应的调制待传输信号; 通过第一电容式触摸屏 610 的发射 通道, 将调制请求信号耦合到第二电容式触摸屏的接收通道上, 以实现将待 传输数据传输给第二电子设备。  In this embodiment, the first processor 620 is further configured to: modulate data to be transmitted, obtain a modulated to-be-transmitted signal corresponding to the data to be transmitted; and perform modulation by using a transmit channel of the first capacitive touch screen 610. The request signal is coupled to the receiving channel of the second capacitive touch screen to enable transmission of the data to be transmitted to the second electronic device.
在本实施例中, 可选地, 第一电子设备 600还包括: 第一存储器 630, 与 第二处理器 620连接, 用于: 存储上述提及的待传输数据、 和 /或请求信息、 和 /或应答信息、 和 /或调制请求信号、 和 /或当前感应阔值、 和 /或预设感应阔 值、 和 /或调制应答信息、 和 /或当前发射功率、 和 /或预设发射功率、 和 /或调 制待传输信号等等。  In this embodiment, the first electronic device 600 further includes: a first memory 630, connected to the second processor 620, configured to: store the data to be transmitted mentioned above, and/or request information, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.
实施例七  Example 7
基于同一发明构思, 如图 7所示, 本实施例提供一种第二电子设备 700, 包括: 第二电容式触摸屏 710; 第二处理器 720, 与第二电容式触摸屏 710连 接, 用于当第二电容式触摸屏与第一电子设备的第一电容式触摸屏之间存在 电容感应时, 通过电容感应与第一电子设备建立近场通信; 通过近场通信, 接收来自第一电子设备的一待传输数据。  Based on the same inventive concept, as shown in FIG. 7, the embodiment provides a second electronic device 700, including: a second capacitive touch screen 710; a second processor 720 connected to the second capacitive touch screen 710, When there is capacitive sensing between the second capacitive touch screen and the first capacitive touch screen of the first electronic device, establishing near field communication with the first electronic device through capacitive sensing; receiving a waiting from the first electronic device by near field communication transfer data.
在本实施例中, 可选地, 第二处理器 720, 还用于: 通过第一电容式触摸 屏 710, 检测是否存在电容感应; 检测到存在电容感应时, 通过电容感应接收 来自第一电子设备的用于建立近场通信的请求信息; 基于请求信息生成一表 示第二电子设备同意建立近场通信的应答信息; 通过电容感应将应答信息发 送给第一电子设备; 与第一电子设备建立近场通信。  In this embodiment, the second processor 720 is further configured to: detect, by the first capacitive touch screen 710, whether there is capacitive sensing; when detecting the presence of capacitive sensing, receive the capacitive sensing from the first electronic device. Request information for establishing near field communication; generating response information indicating that the second electronic device agrees to establish near field communication based on the request information; transmitting the response information to the first electronic device by capacitive sensing; establishing proximity to the first electronic device Field communication.
在本实施例中, 可选地, 第二处理器 720, 还用于: 通过电容感应接收 从来自第一电子设备的与请求信息对应的调制请求信号; 解调调制请求信号, 获得请求信息。  In this embodiment, the second processor 720 is further configured to: receive, by capacitive sensing, a modulation request signal corresponding to the request information from the first electronic device; and demodulate the modulation request signal to obtain the request information.
在本实施例中, 可选地, 第二处理器 720, 还用于: 获取第一电容式触摸 屏 710 的接收通道的当前感应阔值; 判断当前感应阔值是否大于等于一预设 感应阔值, 其中, 预设感应阔值为能够使第一电容式触摸屏 710 的接收通道 接收到调制请求信号的最小的感应阔值; 在当前感应阔值大于等于预设感应 阔值时, 通过第一电容式触摸屏 710 的接收通道, 接收调制请求信号; 在当 前感应阔值小于预设感应阔值时, 提高当前感应阔值至预设感应阔值, 再通 过第一电容式触摸屏 710的接收通道接收调制请求信号。 In this embodiment, the second processor 720 is further configured to: obtain a current sensing threshold of the receiving channel of the first capacitive touch screen 710; and determine whether the current sensing threshold is greater than or equal to a preset sensing threshold The preset sensing threshold is a receiving channel that enables the first capacitive touch screen 710. The minimum sensing threshold of the modulation request signal is received; when the current sensing threshold is greater than or equal to the preset sensing threshold, the modulation request signal is received through the receiving channel of the first capacitive touch screen 710; When the sensing threshold is increased, the current sensing threshold is increased to a preset sensing threshold, and the modulation request signal is received through the receiving channel of the first capacitive touch screen 710.
在本实施例中, 可选地, 第二处理器 720, 还用于: 调制应答信息, 获得 与应答信息对应的调制应答信号; 通过第一电容式触摸屏 710 的发射通道, 将调制应答信号耦合到第一电容式触摸屏的接收通道上, 以实现将应答信息 发送给第一电子设备。  In this embodiment, the second processor 720 is further configured to: modulate the response information to obtain a modulation response signal corresponding to the response information; and couple the modulation response signal by using a transmit channel of the first capacitive touch screen 710. Going to the receiving channel of the first capacitive touch screen to transmit the response information to the first electronic device.
在本实施例中, 可选地, 第二处理器 720, 还用于: 获取第一电容式触摸 屏 710 的发射通道的当前发射功率; 判断当前发射功率是否大于等于一预设 发射功率, 其中, 预设发射功率为能够使调制应答信号耦合到第一电容式触 摸屏 710 的接收通道上的最小的发射功率; 在当前发射功率大于等于预设发 射功率时, 通过第一电容式触摸屏 710 的发射通道, 将调制应答信号耦合到 第一电容式触摸屏 710的接收通道上; 在当前发射功率小于预设发射功率时, 提高当前发射功率至预设发射功率, 再通过第一电容式触摸屏 710 的发射通 道, 将调制应答信号耦合到第一电容式触摸屏的接收通道上。  In this embodiment, the second processor 720 is further configured to: obtain a current transmit power of a transmit channel of the first capacitive touch screen 710; and determine whether the current transmit power is greater than or equal to a preset transmit power, where The preset transmit power is a minimum transmit power capable of coupling the modulation response signal to the receive channel of the first capacitive touch screen 710; and the transmit channel of the first capacitive touch screen 710 when the current transmit power is greater than or equal to the preset transmit power And modulating the modulation response signal to the receiving channel of the first capacitive touch screen 710; when the current transmit power is less than the preset transmit power, increasing the current transmit power to the preset transmit power, and then passing through the transmit channel of the first capacitive touch screen 710 And coupling the modulation response signal to the receiving channel of the first capacitive touch screen.
在本实施例中, 可选地, 第二处理器 720, 还用于: 通过第一电容式触摸 屏 710 的接收通道, 接收从来自第一电子设备的与待传输数据对应的调制待 传输信号; 解调调制待传输信号, 获得待传输数据。  In this embodiment, the second processor 720 is further configured to: receive, by using a receiving channel of the first capacitive touch screen 710, a modulated to-be-transmitted signal corresponding to data to be transmitted from the first electronic device; The signal to be transmitted is demodulated and modulated to obtain data to be transmitted.
在本实施例中, 可选地, 第二电子设备 700还包括: 第二存储器 730, 与 第二处理器 720连接, 用于: 存储上述提及的待传输数据、 和 /或请求信息、 和 /或应答信息、 和 /或调制请求信号、 和 /或当前感应阔值、 和 /或预设感应阔 值、 和 /或调制应答信息、 和 /或当前发射功率、 和 /或预设发射功率、 和 /或调 制待传输信号等等。  In this embodiment, the second electronic device 700 further includes: a second memory 730, connected to the second processor 720, configured to: store the data to be transmitted, and/or request information mentioned above, and / or response information, and / or modulation request signal, and / or current sensing threshold, and / or preset sensing threshold, and / or modulation response information, and / or current transmit power, and / or preset transmit power And/or modulate the signal to be transmitted and the like.
尽管已描述了本申请的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。 显然, 本领域的技术人员可以对本申请进行各种改动和变型而不脱离本 申请的精神和范围。 这样, 倘若本申请的这些修改和变型属于本申请权利要 求及其等同技术的范围之内, 则本申请也意图包含这些改动和变型在内。 While the preferred embodiment of the present application has been described, those skilled in the art can make further changes and modifications to these embodiments once they are aware of the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims

权 利 要 求 Rights request
1、 一种通信方法, 其特征在于, 包括: 1. A communication method, characterized by including:
当第一电子设备的第一电容式触摸屏与第二电子设备的第二电容式触摸屏 之间存在电容感应时, 所述第一电子设备通过所述电容感应, 与所述第二电子 设备建立近场通信; When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first electronic device establishes proximity with the second electronic device through the capacitive sensing. field communication;
所述第一电子设备通过所述近场通信, 将待传输数据传输给所述第二电子 设备。 The first electronic device transmits the data to be transmitted to the second electronic device through the near field communication.
2、 如权利要求 1所述的方法, 其特征在于, 所述当第一电子设备的第一电 容式触摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 所述第 一电子设备通过所述电容感应, 与所述第二电子设备建立近场通信, 包括: 所述第一电子设备通过所述第一电容式触摸屏, 检测是否存在所述电容感 应; 2. The method of claim 1, wherein when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the first The electronic device establishes near-field communication with the second electronic device through the capacitive sensing, including: the first electronic device detects whether the capacitive sensing exists through the first capacitive touch screen;
在所述第一电子设备检测到存在所述电容感应时, 所述第一电子设备通过 所述电容感应, 向所述第二电子设备发送用于建立所述近场通信的请求信息; 所述第一电子设备通过所述电容感应, 接收来自所述第二电子设备的表示 所述第二电子设备同意建立所述近场通信的应答信息; When the first electronic device detects the presence of the capacitive sensing, the first electronic device sends request information for establishing the near field communication to the second electronic device through the capacitive sensing; The first electronic device receives response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication through the capacitive sensing;
所述第一电子设备基于所述应答信息, 与所述第二电子设备建立所述近场 通信。 The first electronic device establishes the near field communication with the second electronic device based on the response information.
3、 如权利要求 2所述的方法, 其特征在于, 所述第一电子设备通过所述电 容感应, 向所述第二电子设备发送用于建立所述近场通信的请求信息, 包括: 所述第一电子设备调制所述请求信息, 获得与所述请求信息对应的调制请 求信号; 3. The method of claim 2, wherein the first electronic device sends request information for establishing the near field communication to the second electronic device through the capacitive sensing, including: The first electronic device modulates the request information and obtains a modulation request signal corresponding to the request information;
所述第一电子设备通过所述第一电容式触摸屏的发射通道, 将所述调制请 求信号耦合到所述第二电容式触摸屏的接收通道上, 以实现向所述第二电子设 备发送所述请求信息。 The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen, so as to transmit the modulation request signal to the second electronic device. Request information.
4、 如权利要求 3所述的方法, 其特征在于, 所述第一电子设备通过所述第 一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸 屏的接收通道上, 包括: 4. The method of claim 3, wherein the first electronic device operates through the A transmitting channel of a capacitive touch screen, coupling the modulation request signal to a receiving channel of the second capacitive touch screen, including:
所述第一电子设备获取所述第一电容式触摸屏的发射通道的当前发射功 率; The first electronic device obtains the current transmission power of the transmission channel of the first capacitive touch screen;
所述第一电子设备判断所述当前发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述调制请求信号耦合到所述第二电容式触 摸屏的接收通道上的最小的发射功率; The first electronic device determines whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is capable of coupling the modulation request signal to the receiving channel of the second capacitive touch screen. The minimum transmit power;
在所述当前发射功率大于等于所述预设发射功率时, 所述第一电子设备通 过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电 容式触摸屏的接收通道上; When the current transmission power is greater than or equal to the preset transmission power, the first electronic device couples the modulation request signal to the second capacitive touch screen through the transmission channel of the first capacitive touch screen. on the receiving channel;
在所述当前发射功率小于所述预设发射功率时, 所述第一电子设备提高所 述当前发射功率至所述预设发射功率, 再通过所述第一电容式触摸屏的发射通 道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道上。 When the current transmission power is less than the preset transmission power, the first electronic device increases the current transmission power to the preset transmission power, and then transmits the current transmission power through the transmission channel of the first capacitive touch screen. The modulation request signal is coupled to the receiving channel of the second capacitive touch screen.
5、 如权利要求 2~4任一所述的方法, 其特征在于, 所述第一电子设备通过 所述电容感应, 接收来自所述第二电子设备的表示所述第二电子设备同意建立 所述近场通信的应答信息, 包括: 5. The method according to any one of claims 2 to 4, wherein the first electronic device receives a signal from the second electronic device indicating that the second electronic device agrees to establish the The response information of near field communication includes:
所述第一电子设备通过所述第一电容式触摸屏的收通道, 接收来自所述第 二电子设备的与所述应答信息对应的调制应答信号; The first electronic device receives a modulated response signal corresponding to the response information from the second electronic device through the receiving channel of the first capacitive touch screen;
所述第一电子设备解调所述调制应答信号, 获得所述应答信息。 The first electronic device demodulates the modulated response signal to obtain the response information.
6、 如权利要求 5所述的方法, 其特征在于, 所述第一电子设备通过所述第 一电容式触摸屏的接收通道, 接收来自所述第二电子设备的与所述应答信息对 应的调制应答信号, 包括: 6. The method of claim 5, wherein the first electronic device receives the modulation corresponding to the response information from the second electronic device through the receiving channel of the first capacitive touch screen. Response signals include:
所述第一电子设备获取所述第一电容式触摸屏的接收通道的当前感应阔 值; The first electronic device obtains the current sensing threshold of the receiving channel of the first capacitive touch screen;
所述第一电子设备判断所述当前感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述第一电容式触摸屏的接收通道接收到所 述调制应答信号的最小的感应阔值; The first electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the first capacitive touch screen receives all The minimum sensing threshold of the modulated response signal;
在所述当前感应阔值大于等于所述预设感应阔值时, 所述第一电子设备通 过所述第一电容式触摸屏的接收通道, 接收所述调制应答信号; When the current sensing threshold is greater than or equal to the preset sensing threshold, the first electronic device receives the modulated response signal through the receiving channel of the first capacitive touch screen;
在所述当前感应阔值小于预设所述感应阔值时, 所述第一电子设备提高所 述当前感应阔值至所述预设感应阔值, 再通过所述第一电容式触摸屏的接收通 道, 接收所述调制应答信号。 When the current sensing threshold is less than the preset sensing threshold, the first electronic device increases the current sensing threshold to the preset sensing threshold, and then uses the reception of the first capacitive touch screen to channel to receive the modulated response signal.
7、 如权利要求 1~6任一所述的方法, 其特征在于, 所述第一电子设备通过 所述近场通信, 将待传输数据传输给所述第二电子设备, 包括: 7. The method according to any one of claims 1 to 6, characterized in that the first electronic device transmits the data to be transmitted to the second electronic device through the near field communication, including:
所述第一电子设备调制所述待传输数据, 获得与所述待传输数据对应的调 制待传输信号; The first electronic device modulates the data to be transmitted, and obtains a modulated signal to be transmitted corresponding to the data to be transmitted;
所述第一电子设备通过所述第一电容式触摸屏的发射通道, 将所述调制请 求信号耦合到所述第二电容式触摸屏的接收通道上, 以实现将所述待传输数据 传输给所述第二电子设备。 The first electronic device couples the modulation request signal to the receiving channel of the second capacitive touch screen through the transmitting channel of the first capacitive touch screen, so as to transmit the data to be transmitted to the Second electronic device.
8、 一种通信方法, 其特征在于, 包括: 8. A communication method, characterized by including:
当第一电子设备的第一电容式触摸屏与第二电子设备的第二电容式触摸屏 之间存在电容感应时, 所述第二电子设备通过所述电容感应, 与所述第一电子 设备建立近场通信; When there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second electronic device establishes proximity with the first electronic device through the capacitive sensing. field communication;
所述第二电子设备通过所述近场通信, 接收来自所述第一电子设备的一待 传输数据。 The second electronic device receives data to be transmitted from the first electronic device through the near field communication.
9、 如权利要求 8所述的方法, 其特征在于, 所述当第一电子设备的第一电 容式触摸屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 所述第 二电子设备通过所述电容感应, 与所述第一电子设备建立近场通信, 包括: 所述第二电子设备通过所述第二电容式触摸屏, 检测是否存在所述电容感 应; 9. The method of claim 8, wherein when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device, the second The electronic device establishes near-field communication with the first electronic device through the capacitive sensing, including: the second electronic device detects whether the capacitive sensing exists through the second capacitive touch screen;
在所述第二电子设备检测到存在所述电容感应时, 所述第二电子设备通过 所述电容感应, 接收来自所述第一电子设备的用于建立所述近场通信的请求信 息; When the second electronic device detects the presence of the capacitive sensing, the second electronic device receives a request signal from the first electronic device for establishing the near field communication through the capacitive sensing. interest;
所述第二电子设备基于所述请求信息, 生成一表示所述第二电子设备同意 建立所述近场通信的应答信息; The second electronic device generates response information indicating that the second electronic device agrees to establish the near field communication based on the request information;
所述第二电子设备通过所述电容感应, 将所述应答信息发送给所述第一电 子设备; The second electronic device sends the response information to the first electronic device through the capacitive induction;
所述第二电子设备与所述第一电子设备建立所述近场通信。 The second electronic device establishes the near field communication with the first electronic device.
10、 如权利要求 9 所述的方法, 其特征在于, 所述第二电子设备通过所述 电容感应, 接收来自所述第一电子设备的用于建立所述近场通信的请求信息, 包括: 10. The method of claim 9, wherein the second electronic device receives request information from the first electronic device for establishing the near field communication through the capacitive sensing, including:
所述第二电子设备通过所述电容感应, 接收从来自所述第一电子设备的与 所述请求信息对应的调制请求信号; The second electronic device receives a modulation request signal corresponding to the request information from the first electronic device through the capacitive induction;
所述第二电子设备解调所述调制请求信号, 获得所述请求信息。 The second electronic device demodulates the modulation request signal to obtain the request information.
11、 如权利要求 10所述的方法, 其特征在于, 所述第二电子设备通过所述 电容感应, 接收从来自所述第一电子设备的与所述请求信息对应的调制请求信 号, 包括: 11. The method of claim 10, wherein the second electronic device receives a modulation request signal corresponding to the request information from the first electronic device through the capacitive induction, including:
所述第二电子设备获取所述第二电容式触摸屏的接收通道的当前感应阔 值; The second electronic device obtains the current sensing threshold of the receiving channel of the second capacitive touch screen;
所述第二电子设备判断所述当前感应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述第二电容式触摸屏的接收通道接收到所 述调制请求信号的最小的感应阔值; The second electronic device determines whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the receiving channel of the second capacitive touch screen receives the modulation. The minimum sensing threshold of the request signal;
在所述当前感应阔值大于等于所述预设感应阔值时, 所述第二电子设备通 过所述第二电容式触摸屏的接收通道, 接收所述调制请求信号; When the current sensing threshold is greater than or equal to the preset sensing threshold, the second electronic device receives the modulation request signal through the receiving channel of the second capacitive touch screen;
在所述当前感应阔值小于预设所述感应阔值时, 所述第二电子设备提高所 述当前感应阔值至所述预设感应阔值, 再通过所述第二电容式触摸屏的接收通 道接收所述调制请求信号。 When the current sensing threshold is less than the preset sensing threshold, the second electronic device increases the current sensing threshold to the preset sensing threshold, and then uses the reception of the second capacitive touch screen to The channel receives the modulation request signal.
12、 如权利要求 9 所述的方法, 其特征在于, 所述第二电子设备通过所述 电容感应, 将所述应答信息发送给所述第一电子设备, 包括: 12. The method of claim 9, wherein the second electronic device operates through the Capacitive sensing, sending the response information to the first electronic device, including:
所述第二电子设备调制所述应答信息, 获得与所述应答信息对应的调制应 答信号; The second electronic device modulates the response information to obtain a modulated response signal corresponding to the response information;
所述第二电子设备通过所述第二电容式触摸屏的发射通道, 将所述调制应 答信号耦合到所述第一电容式触摸屏的接收通道上, 以实现将所述应答信息发 送给所述第一电子设备。 The second electronic device couples the modulated response signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, so as to send the response information to the third capacitive touch screen. An electronic device.
13、 如权利要求 12所述的方法, 其特征在于, 所述第二电子设备通过所述 第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容式触 摸屏的接收通道上, 包括: 13. The method of claim 12, wherein the second electronic device couples the modulated response signal to the receiving end of the first capacitive touch screen through a transmission channel of the second capacitive touch screen. Channels include:
所述第二电子设备获取所述第二电容式触摸屏的发射通道的当前发射功 率; The second electronic device obtains the current transmission power of the transmission channel of the second capacitive touch screen;
所述第二电子设备判断所述当前发射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述调制应答信号耦合到所述第二电容式触 摸屏的接收通道上的最小的发射功率; The second electronic device determines whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is capable of coupling the modulated response signal to the receiving channel of the second capacitive touch screen. The minimum transmit power;
在所述当前发射功率大于等于所述预设发射功率时, 所述第二电子设备通 过所述第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第二电 容式触摸屏的接收通道上; When the current transmission power is greater than or equal to the preset transmission power, the second electronic device couples the modulation response signal to the second capacitive touch screen through the transmission channel of the second capacitive touch screen. on the receiving channel;
在所述当前发射功率小于所述预设发射功率时, 所述第二电子设备提高所 述当前发射功率至所述预设发射功率, 再通过所述第二电容式触摸屏的发射通 道, 将所述调制应答信号耦合到所述第一电容式触摸屏的接收通道上。 When the current transmission power is less than the preset transmission power, the second electronic device increases the current transmission power to the preset transmission power, and then transmits the current transmission power through the transmission channel of the second capacitive touch screen. The modulated response signal is coupled to the receiving channel of the first capacitive touch screen.
14、 如权利要求 8~13任一所述的方法, 其特征在于, 所述第二电子设备通 过所述近场通信, 接收来自所述第一电子设备的一待传输数据, 包括: 14. The method according to any one of claims 8 to 13, wherein the second electronic device receives data to be transmitted from the first electronic device through the near field communication, including:
所述第二电子设备通过所述第二电容式触摸屏的接收通道, 接收从来自所 述第一电子设备的与所述待传输数据对应的调制待传输信号; The second electronic device receives the modulated signal to be transmitted corresponding to the data to be transmitted from the first electronic device through the receiving channel of the second capacitive touch screen;
所述第二电子设备解调所述调制待传输信号 , 获得所述待传输数据。 The second electronic device demodulates the modulated signal to be transmitted to obtain the data to be transmitted.
15、 一种第一电子设备, 其特征在于, 包括: 建立单元, 用于当所述第一电子设备的第一电容式触摸屏与第二电子设备 的第二电容式触摸屏之间存在电容感应时, 通过所述电容感应与所述第二电子 设备建立近场通信; 15. A first electronic device, characterized in that it includes: An establishing unit configured to establish proximity with the second electronic device through the capacitive sensing when there is capacitive sensing between the first capacitive touch screen of the first electronic device and the second capacitive touch screen of the second electronic device. field communication;
传输单元, 用于通过所述近场通信, 将一待传输数据传输给所述第二电子 设备。 A transmission unit, configured to transmit data to be transmitted to the second electronic device through the near field communication.
16、 如权利要求 15所述的第一电子设备, 其特征在于, 所述建立单元, 包 括: 16. The first electronic device according to claim 15, wherein the establishing unit includes:
检测模块, 用于通过所述第一电容式触摸屏, 检测是否存在所述电容感应; 发送模块, 用于在检测到存在所述电容感应时, 通过所述电容感应, 向所 述第二电子设备发送用于建立所述近场通信的请求信息; A detection module, configured to detect whether the capacitive sensing exists through the first capacitive touch screen; a sending module, used to send a message to the second electronic device through the capacitive sensing when detecting the presence of the capacitive sensing. Send request information for establishing the near field communication;
接收模块, 用于通过所述电容感应, 接收来自所述第二电子设备的表示所 述第二电子设备同意建立所述近场通信的应答信息; A receiving module, configured to receive response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication through the capacitive sensing;
建立模块, 用于基于所述应答信息, 与所述第二电子设备建立所述近场通 信。 An establishment module, configured to establish the near field communication with the second electronic device based on the response information.
17、 如权利要求 16所述的第一电子设备, 其特征在于, 所述发送模块, 具 体用于: 17. The first electronic device according to claim 16, characterized in that the sending module is specifically used for:
调制所述请求信息, 获得与所述请求信息对应的调制请求信号; 通过所述 第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触 摸屏的接收通道上, 以实现向所述第二电子设备发送所述请求信息。 Modulate the request information to obtain a modulation request signal corresponding to the request information; Couple the modulation request signal to the reception channel of the second capacitive touch screen through the transmission channel of the first capacitive touch screen, To implement sending the request information to the second electronic device.
18、 如权利要求 17所述的第一电子设备, 其特征在于, 所述发送模块, 还 用于: 18. The first electronic device according to claim 17, characterized in that the sending module is also used to:
获取所述第一电容式触摸屏的发射通道的当前发射功率; 判断所述当前发 射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述 调制请求信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第一电容式触摸 屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道 上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当前发射功率至 所述预设发射功率, 再通过所述第一电容式触摸屏的发射通道, 将所述调制请 求信号耦合到所述第二电容式触摸屏的接收通道上。 Obtain the current transmission power of the transmission channel of the first capacitive touch screen; Determine whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is such that the modulation request signal can be coupled to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation request signal is transmitted through the transmit channel of the first capacitive touch screen. a receive channel coupled to the second capacitive touch screen When the current transmission power is less than the preset transmission power, increase the current transmission power to the preset transmission power, and then transmit the modulation request signal through the transmission channel of the first capacitive touch screen. Coupled to the receiving channel of the second capacitive touch screen.
19、 如权利要求 16~18任一所述的第一电子设备, 其特征在于, 所述接收 模块, 具体用于: 19. The first electronic device according to any one of claims 16 to 18, characterized in that the receiving module is specifically used for:
通过所述第一电容式触摸屏的收通道, 接收来自所述第二电子设备的与所 述应答信息对应的调制应答信号; 解调所述调制应答信号, 获得所述应答信息。 Receive a modulated response signal corresponding to the response information from the second electronic device through the receiving channel of the first capacitive touch screen; demodulate the modulated response signal to obtain the response information.
20、 如权利要求 19所述的第一电子设备, 其特征在于, 所述接收模块, 还 用于: 20. The first electronic device according to claim 19, characterized in that the receiving module is also used for:
获取所述第一电容式触摸屏的接收通道的当前感应阔值; 判断所述当前感 应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述 第一电容式触摸屏的接收通道接收到所述调制应答信号的最小的感应阔值; 在 所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第一电容式触摸屏 的接收通道, 接收所述调制应答信号; 在所述当前感应阔值小于预设所述感应 阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所述第一电容式 触摸屏的接收通道, 接收所述调制应答信号。 Obtain the current sensing threshold of the receiving channel of the first capacitive touch screen; determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the first sensing threshold can The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulated response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, through the receiving channel of the first capacitive touch screen, Receive the modulated response signal; when the current sensing threshold is less than the preset sensing threshold, increase the current sensing threshold to the preset sensing threshold, and then pass the first capacitive touch screen The receiving channel receives the modulated response signal.
21、 如权利要求 15~20任一所述的第一电子设备, 其特征在于, 所述传输 单元, 具体用于: 21. The first electronic device according to any one of claims 15 to 20, characterized in that the transmission unit is specifically used for:
调制所述待传输数据, 获得与所述待传输数据对应的调制待传输信号; 通 过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电 容式触摸屏的接收通道上, 以实现将所述待传输数据传输给所述第二电子设备。 Modulate the data to be transmitted, and obtain a modulated signal to be transmitted corresponding to the data to be transmitted; Couple the modulation request signal to the reception of the second capacitive touch screen through the transmission channel of the first capacitive touch screen channel to transmit the data to be transmitted to the second electronic device.
22、 一种第二电子设备, 其特征在于, 包括: 22. A second electronic device, characterized by: including:
建立单元, 用于当所述第二电子设备的第二电容式触摸屏与第一电子设备 的第一电容式触摸屏之间存在电容感应时, 通过所述电容感应, 与所述第一电 子设备建立近场通信; An establishing unit, configured to, when capacitive sensing exists between the second capacitive touch screen of the second electronic device and the first capacitive touch screen of the first electronic device, establish with the first electronic device through the capacitive sensing. near field communication;
接收单元, 用于通过所述近场通信, 接收来自所述第一电子设备的一待传 输数据。 A receiving unit, configured to receive a to-be-transmitted message from the first electronic device through the near field communication. Enter data.
23、 如权利要求 22所述的第二电子设备, 其特征在于, 所述建立单元, 包 括: 23. The second electronic device according to claim 22, wherein the establishing unit includes:
检测模块, 用于通过所述第二电容式触摸屏, 检测是否存在所述电容感应; 接收模块, 用于在检测到存在所述电容感应时, 通过所述电容感应, 接收 来自所述第一电子设备的用于建立所述近场通信的请求信息; a detection module, configured to detect whether there is the capacitive sensing through the second capacitive touch screen; a receiving module, used to receive information from the first electronic device through the capacitive sensing when detecting the presence of the capacitive sensing Request information of the device for establishing the near field communication;
生成模块, 用于基于所述请求信息, 生成一表示所述第二电子设备同意建 立所述近场通信的应答信息; A generating module, configured to generate a response information indicating that the second electronic device agrees to establish the near field communication based on the request information;
发送模块, 用于通过所述电容感应, 将所述应答信息发送给所述第一电子 设备; A sending module, configured to send the response information to the first electronic device through the capacitive sensing;
建立模块, 用于与所述第一电子设备建立所述近场通信。 An establishment module, configured to establish the near field communication with the first electronic device.
24、 如权利要求 23所述的第二电子设备, 其特征在于, 所述接收模块, 具 体用于: 24. The second electronic device according to claim 23, characterized in that the receiving module is specifically used for:
通过所述电容感应, 接收从来自所述第一电子设备的与所述请求信息对应 的调制请求信号; 解调所述调制请求信号, 获得所述请求信息。 Through the capacitive induction, receive a modulation request signal corresponding to the request information from the first electronic device; demodulate the modulation request signal to obtain the request information.
25、 如权利要求 24所述的第二电子设备, 其特征在于, 所述接收模块, 还 用于: 25. The second electronic device according to claim 24, characterized in that the receiving module is also used for:
获取所述第二电容式触摸屏的接收通道的当前感应阔值; 判断所述当前感 应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述 第二电容式触摸屏的接收通道接收到所述调制请求信号的最小的感应阔值; 在 所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第二电容式触摸屏 的接收通道, 接收所述调制请求信号; 在所述当前感应阔值小于预设所述感应 阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所述第二电容式 触摸屏的接收通道接收所述调制请求信号。 Obtain the current sensing threshold of the receiving channel of the second capacitive touch screen; Determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the second sensing threshold can The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, through the receiving channel of the second capacitive touch screen, Receive the modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increase the current sensing threshold to the preset sensing threshold, and then pass the second capacitive touch screen The receiving channel receives the modulation request signal.
26、 如权利要求 23所述的第二电子设备, 其特征在于, 所述发送模块, 具 体用于: 调制所述应答信息, 获得与所述应答信息对应的调制应答信号; 通过所述 第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容式触 摸屏的接收通道上, 以实现将所述应答信息发送给所述第一电子设备。 26. The second electronic device according to claim 23, characterized in that the sending module is specifically used for: Modulate the response information to obtain a modulated response signal corresponding to the response information; Couple the modulated response signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, To achieve sending the response information to the first electronic device.
27、 如权利要求 26所述的第二电子设备, 其特征在于, 所述发送模块, 还 用于: 27. The second electronic device according to claim 26, characterized in that the sending module is also used to:
获取所述第二电容式触摸屏的发射通道的当前发射功率; 判断所述当前发 射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述 调制应答信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第二电容式触摸 屏的发射通道, 将所述调制应答信号耦合到所述第二电容式触摸屏的接收通道 上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当前发射功率至 所述预设发射功率, 再通过所述第二电容式触摸屏的发射通道, 将所述调制应 答信号耦合到所述第一电容式触摸屏的接收通道上。 Obtain the current transmission power of the transmission channel of the second capacitive touch screen; determine whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is capable of coupling the modulation response signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulated response signal is transmitted through the transmit channel of the second capacitive touch screen. Coupled to the receiving channel of the second capacitive touch screen; when the current transmission power is less than the preset transmission power, increase the current transmission power to the preset transmission power, and then pass the second capacitor The transmitting channel of the first capacitive touch screen couples the modulated response signal to the receiving channel of the first capacitive touch screen.
28、 如权利要求 22~27任一所述的第二电子设备, 其特征在于, 所述接收 单元, 具体用于: 28. The second electronic device according to any one of claims 22 to 27, characterized in that the receiving unit is specifically used for:
通过所述第二电容式触摸屏的接收通道, 接收从来自所述第一电子设备的 与所述待传输数据对应的调制待传输信号; 解调所述调制待传输信号, 获得所 述待传输数据。 Receive, through the receiving channel of the second capacitive touch screen, a modulated signal to be transmitted corresponding to the data to be transmitted from the first electronic device; demodulate the modulated signal to be transmitted to obtain the data to be transmitted. .
29、 一种第一电子设备, 其特征在于, 包括: 29. A first electronic device, characterized by: including:
第一电容式触摸屏; The first capacitive touch screen;
第一处理器, 与所述第一电容式触摸屏连接, 用于当所述第一电容式触摸 屏与第二电子设备的第二电容式触摸屏之间存在电容感应时, 通过所述电容感 应, 与所述第二电子设备建立近场通信; 并通过所述近场通信, 将一待传输数 据传输给所述第二电子设备。 A first processor, connected to the first capacitive touch screen, configured to use the capacitive sensing when there is capacitive sensing between the first capacitive touch screen and the second capacitive touch screen of the second electronic device, and The second electronic device establishes near field communication; and transmits data to be transmitted to the second electronic device through the near field communication.
30、 如权利要求 29所述的第一电子设备, 其特征在于, 所述第一处理器, 还用于: 通过所述第一电容式触摸屏, 检测是否存在所述电容感应; 在检测到存在 所述电容感应时, 通过所述电容感应, 向所述第二电子设备发送用于建立所述 近场通信的请求信息; 通过所述电容感应, 接收来自所述第二电子设备的表示 所述第二电子设备同意建立所述近场通信的应答信息; 基于所述应答信息, 与 所述第二电子设备建立所述近场通信。 30. The first electronic device according to claim 29, characterized in that, the first processor is also used for: Through the first capacitive touch screen, detect whether the capacitive sensing exists; when detecting the presence of the capacitive sensing, sending a message for establishing the near field communication to the second electronic device through the capacitive sensing Requesting information; Through the capacitive sensing, receiving response information from the second electronic device indicating that the second electronic device agrees to establish the near field communication; Based on the response information, establishing a relationship with the second electronic device The near field communication.
31、 如权利要求 30所述的第一电子设备, 其特征在于, 所述第一处理器, 还用于: 31. The first electronic device according to claim 30, wherein the first processor is also used for:
调制所述请求信息, 获得与所述请求信息对应的调制请求信号; 通过所述 第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触 摸屏的接收通道上, 以实现向所述第二电子设备发送所述请求信息。 Modulate the request information to obtain a modulation request signal corresponding to the request information; Couple the modulation request signal to the reception channel of the second capacitive touch screen through the transmission channel of the first capacitive touch screen, To implement sending the request information to the second electronic device.
32、 如权利要求 31所述的第一电子设备, 其特征在于, 所述第一处理器, 还用于: 32. The first electronic device according to claim 31, characterized in that the first processor is also used for:
获取所述第一电容式触摸屏的发射通道的当前发射功率; 判断所述当前发 射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述 调制请求信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第一电容式触摸 屏的发射通道, 将所述调制请求信号耦合到所述第二电容式触摸屏的接收通道 上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当前发射功率至 所述预设发射功率, 再通过所述第一电容式触摸屏的发射通道, 将所述调制请 求信号耦合到所述第二电容式触摸屏的接收通道上。 Obtain the current transmission power of the transmission channel of the first capacitive touch screen; Determine whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is such that the modulation request signal can be coupled to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulation request signal is transmitted through the transmit channel of the first capacitive touch screen. Coupled to the receiving channel of the second capacitive touch screen; when the current transmission power is less than the preset transmission power, increase the current transmission power to the preset transmission power, and then pass the first capacitor The transmitting channel of the second capacitive touch screen couples the modulation request signal to the receiving channel of the second capacitive touch screen.
33、 如权利要求 30~32任一所述的第一电子设备, 其特征在于, 所述第一 处理器, 还用于: 33. The first electronic device according to any one of claims 30 to 32, characterized in that the first processor is also used for:
通过所述第一电容式触摸屏的收通道, 接收来自所述第二电子设备的与所 述应答信息对应的调制应答信号; 解调所述调制应答信号, 获得所述应答信息。 Receive a modulated response signal corresponding to the response information from the second electronic device through the receiving channel of the first capacitive touch screen; demodulate the modulated response signal to obtain the response information.
34、 如权利要求 33所述的第一电子设备, 其特征在于, 所述第一处理器, 还用于: 获取所述第一电容式触摸屏的接收通道的当前感应阔值; 判断所述当前感 应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述 第一电容式触摸屏的接收通道接收到所述调制应答信号的最小的感应阔值; 在 所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第一电容式触摸屏 的接收通道, 接收所述调制应答信号; 在所述当前感应阔值小于预设所述感应 阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所述第一电容式 触摸屏的接收通道, 接收所述调制应答信号。 34. The first electronic device according to claim 33, wherein the first processor is also used for: Obtain the current sensing threshold of the receiving channel of the first capacitive touch screen; determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the first sensing threshold can The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulated response signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, through the receiving channel of the first capacitive touch screen, Receive the modulated response signal; when the current sensing threshold is less than the preset sensing threshold, increase the current sensing threshold to the preset sensing threshold, and then pass the first capacitive touch screen The receiving channel receives the modulated response signal.
35、 如权利要求 29~34任一所述的第一电子设备, 其特征在于, 所述第一 处理器, 还用于: 35. The first electronic device according to any one of claims 29 to 34, characterized in that the first processor is also used for:
调制所述待传输数据, 获得与所述待传输数据对应的调制待传输信号; 通 过所述第一电容式触摸屏的发射通道, 将所述调制请求信号耦合到所述第二电 容式触摸屏的接收通道上, 以实现将所述待传输数据传输给所述第二电子设备。 Modulate the data to be transmitted, and obtain a modulated signal to be transmitted corresponding to the data to be transmitted; Couple the modulation request signal to the reception of the second capacitive touch screen through the transmission channel of the first capacitive touch screen channel to transmit the data to be transmitted to the second electronic device.
36、 一种第二电子设备, 其特征在于, 包括: 36. A second electronic device, characterized by: including:
第二电容式触摸屏; second capacitive touch screen;
第二处理器, 与所述第二电容式触摸屏连接, 用于当所述第二电容式触摸 屏与第一电子设备的第一电容式触摸屏之间存在电容感应时, 通过所述电容感 应, 与所述第一电子设备建立近场通信; 通过所述近场通信, 接收来自所述第 一电子设备的一待传输数据。 A second processor, connected to the second capacitive touch screen, configured to use the capacitive sensing when there is capacitive sensing between the second capacitive touch screen and the first capacitive touch screen of the first electronic device, and The first electronic device establishes near field communication; and receives data to be transmitted from the first electronic device through the near field communication.
37、 如权利要求 36所述的第二电子设备, 其特征在于, 所述第二处理器, 还用于: 37. The second electronic device according to claim 36, characterized in that the second processor is also used to:
通过所述第二电容式触摸屏, 检测是否存在所述电容感应; 检测到存在所 述电容感应时, 通过所述电容感应, 接收来自所述第一电子设备的用于建立所 述近场通信的请求信息; 基于所述请求信息, 生成一表示所述第二电子设备同 意建立所述近场通信的应答信息; 通过所述电容感应, 将所述应答信息发送给 所述第一电子设备; 与所述第一电子设备建立所述近场通信。 Through the second capacitive touch screen, detect whether the capacitive sensing exists; when detecting the presence of the capacitive sensing, receive a signal from the first electronic device for establishing the near field communication through the capacitive sensing. Request information; Based on the request information, generate a response information indicating that the second electronic device agrees to establish the near field communication; Send the response information to the first electronic device through the capacitive sensing; and The first electronic device establishes the near field communication.
38、 如权利要求 37所述的第二电子设备, 其特征在于, 所述第二处理器, 还用于: 38. The second electronic device according to claim 37, characterized in that, the second processor, Also used for:
通过所述电容感应, 接收从来自所述第一电子设备的与所述请求信息对应 的调制请求信号; 解调所述调制请求信号, 获得所述请求信息。 Through the capacitive induction, receive a modulation request signal corresponding to the request information from the first electronic device; demodulate the modulation request signal to obtain the request information.
39、 如权利要求 38所述的第二电子设备, 其特征在于, 所述第二处理器, 还用于: 39. The second electronic device according to claim 38, characterized in that the second processor is also used to:
获取所述第二电容式触摸屏的接收通道的当前感应阔值; 判断所述当前感 应阔值是否大于等于一预设感应阔值, 其中, 所述预设感应阔值为能够使所述 第二电容式触摸屏的接收通道接收到所述调制请求信号的最小的感应阔值; 在 所述当前感应阔值大于等于所述预设感应阔值时, 通过所述第二电容式触摸屏 的接收通道, 接收所述调制请求信号; 在所述当前感应阔值小于预设所述感应 阔值时, 提高所述当前感应阔值至所述预设感应阔值, 再通过所述第二电容式 触摸屏的接收通道接收所述调制请求信号。 Obtain the current sensing threshold of the receiving channel of the second capacitive touch screen; Determine whether the current sensing threshold is greater than or equal to a preset sensing threshold, wherein the preset sensing threshold is such that the second sensing threshold can The receiving channel of the capacitive touch screen receives the minimum sensing threshold of the modulation request signal; when the current sensing threshold is greater than or equal to the preset sensing threshold, through the receiving channel of the second capacitive touch screen, Receive the modulation request signal; when the current sensing threshold is less than the preset sensing threshold, increase the current sensing threshold to the preset sensing threshold, and then pass the second capacitive touch screen The receiving channel receives the modulation request signal.
40、 如权利要求 37所述的第二电子设备, 其特征在于, 所述第二处理器, 还用于: 40. The second electronic device according to claim 37, characterized in that the second processor is also used to:
调制所述应答信息, 获得与所述应答信息对应的调制应答信号; 通过所述 第二电容式触摸屏的发射通道, 将所述调制应答信号耦合到所述第一电容式触 摸屏的接收通道上, 以实现将所述应答信息发送给所述第一电子设备。 Modulate the response information to obtain a modulated response signal corresponding to the response information; Couple the modulated response signal to the receiving channel of the first capacitive touch screen through the transmitting channel of the second capacitive touch screen, To achieve sending the response information to the first electronic device.
41、 如权利要求 40所述的第二电子设备, 其特征在于, 所述第二处理器, 还用于: 41. The second electronic device according to claim 40, characterized in that the second processor is also used to:
获取所述第二电容式触摸屏的发射通道的当前发射功率; 判断所述当前发 射功率是否大于等于一预设发射功率, 其中, 所述预设发射功率为能够使所述 调制应答信号耦合到所述第二电容式触摸屏的接收通道上的最小的发射功率; 在所述当前发射功率大于等于所述预设发射功率时, 通过所述第二电容式触摸 屏的发射通道, 将所述调制应答信号耦合到所述第二电容式触摸屏的接收通道 上; 在所述当前发射功率小于所述预设发射功率时, 提高所述当前发射功率至 所述预设发射功率, 再通过所述第二电容式触摸屏的发射通道, 将所述调制应 答信号耦合到所述第一电容式触摸屏的接收通道上。 Obtain the current transmission power of the transmission channel of the second capacitive touch screen; determine whether the current transmission power is greater than or equal to a preset transmission power, wherein the preset transmission power is capable of coupling the modulation response signal to the The minimum transmit power on the receiving channel of the second capacitive touch screen; when the current transmit power is greater than or equal to the preset transmit power, the modulated response signal is transmitted through the transmit channel of the second capacitive touch screen. Coupled to the receiving channel of the second capacitive touch screen; when the current transmission power is less than the preset transmission power, increase the current transmission power to the preset transmission power, and then pass the second capacitor type touch screen transmit channel, the modulation should be The answer signal is coupled to the receiving channel of the first capacitive touch screen.
42、 如权利要求 36~41 任一所述的第二电子设备, 其特征在于, 所述第二 处理器, 还用于: 42. The second electronic device according to any one of claims 36 to 41, characterized in that the second processor is also used for:
通过所述第二电容式触摸屏的接收通道, 接收从来自所述第一电子设备的 与所述待传输数据对应的调制待传输信号; 解调所述调制待传输信号, 获得所 述待传输数据。 Receive, through the receiving channel of the second capacitive touch screen, a modulated signal to be transmitted corresponding to the data to be transmitted from the first electronic device; demodulate the modulated signal to be transmitted to obtain the data to be transmitted. .
PCT/CN2013/087223 2013-11-15 2013-11-15 Communication method, first electronic device, and second electronic device WO2015070434A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/087223 WO2015070434A1 (en) 2013-11-15 2013-11-15 Communication method, first electronic device, and second electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/087223 WO2015070434A1 (en) 2013-11-15 2013-11-15 Communication method, first electronic device, and second electronic device

Publications (1)

Publication Number Publication Date
WO2015070434A1 true WO2015070434A1 (en) 2015-05-21

Family

ID=53056651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087223 WO2015070434A1 (en) 2013-11-15 2013-11-15 Communication method, first electronic device, and second electronic device

Country Status (1)

Country Link
WO (1) WO2015070434A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882545A (en) * 2012-09-21 2013-01-16 敦泰科技有限公司 Communication equipment
CN102916729A (en) * 2012-09-04 2013-02-06 深圳市汇顶科技股份有限公司 Near-field communication method and system of touch panel terminal as well as touch panel terminal
CN103259569A (en) * 2013-05-14 2013-08-21 深圳市汇顶科技股份有限公司 Touch terminals and near-field communication method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916729A (en) * 2012-09-04 2013-02-06 深圳市汇顶科技股份有限公司 Near-field communication method and system of touch panel terminal as well as touch panel terminal
CN102882545A (en) * 2012-09-21 2013-01-16 敦泰科技有限公司 Communication equipment
CN103259569A (en) * 2013-05-14 2013-08-21 深圳市汇顶科技股份有限公司 Touch terminals and near-field communication method and system thereof

Similar Documents

Publication Publication Date Title
CN103207717B (en) Touch screen terminal, based on the communication system of human body electric field conduction and communication means
US11310848B2 (en) Pairing method, unpairing method, terminal device, and externally-connected device
US10429985B2 (en) Touch terminal, a near-field communication method and system of the touch terminal
US8625557B2 (en) Communication device, communication system, mode switching method, and program
JP5310077B2 (en) Wireless communication apparatus, wireless communication method and program
US20100211685A1 (en) Pairing exchange
JP2016042693A (en) Method for detecting manipulation by user of device provided with communication tag, corresponding computer program product, user terminal, device and system
SG189531A1 (en) Wireless device detection and communication apparatus and system
JP2016181953A (en) Wireless power supply system, power transmission device, and power reception device
WO2015100888A1 (en) Near field communication method and system for electronic device
WO2012037751A1 (en) Quick access short distance radio communication system and method for controlling communication range
JP2011182110A (en) Electronic apparatus, and communication control method
CN111315035B (en) WiFi network connection method and device
WO2014134787A1 (en) Radio frequency communication method, device and terminal device for near field communication
JP2016111487A (en) Communication device, control method of communication device, and program
JP2023011919A (en) Apparatus and method for transmitting or receiving data in wireless power transmission system
WO2020048526A1 (en) Sidelink information feedback method and terminal
JP2010050652A (en) Communication device, communication system, communication method, and program
WO2015070434A1 (en) Communication method, first electronic device, and second electronic device
JP6447625B2 (en) COMMUNICATION CIRCUIT, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM
JP5098694B2 (en) Communication system and communication apparatus
JP2012016050A (en) Electronic apparatus, and communication control method
JP2009284355A (en) Communication device, communication system, communication method, and program
JP2004015455A (en) Network receptacle
WO2022083546A1 (en) Method and apparatus for multiplexing relay link, relay device, communication devices, and medium

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: 13897346

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: 13897346

Country of ref document: EP

Kind code of ref document: A1