Communication method and system based on equipment interaction

By obtaining the identity information of the electronic pen and building a signal channel, the problems of instability and insufficient security of the electronic whiteboard and the electronic pen are solved, and more efficient and secure communication is achieved.

CN120161965APending Publication Date: 2025-06-17GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510233599.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

The interaction between the electronic whiteboard and the electronic pen is easily disturbed by external interference and lacks security guarantees, resulting in unstable communication.

Method used

By obtaining the identity identification information of the electronic pen, sending a pairing prompt to the electronic whiteboard, and building a signal channel based on the pairing results to ensure the safe and stable communication between the electronic pen and the electronic whiteboard.

Benefits of technology

Improve the communication security and stability between the electronic whiteboard and the electronic pen, prevent intrusion of unsafe electronic pens and ensure the accuracy of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120161965A_ABST
    Figure CN120161965A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method and system based on equipment interaction, which are applied to electronic equipment, and the communication method comprises the following steps: obtaining identity information of an electronic pen under the condition of determining to establish connection with an electronic whiteboard and establish first pairing with the electronic pen; sending a pairing prompt to an electronic whiteboard based on the identity identification information, and receiving a pairing result fed back by the electronic whiteboard; and according to the pairing result, constructing a signal channel for connecting the electronic pen with the electronic whiteboard, so that the electronic pen communicates with the electronic whiteboard based on the signal channel, thereby improving the security and stability of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic whiteboards, and specifically, to a communication method and system based on device interaction. Background Art

[0002] With the rapid development of information technology and the increasing diversification and intelligence of the demand for tools for communication in all walks of life, interactive electronic whiteboards have become important modern tools. Interactive electronic whiteboards not only retain the basic functions of traditional blackboards, such as chalk writing, but also achieve seamless switching between traditional blackboards and intelligent electronic blackboards through nano-touch technology. This technology not only improves the interactivity of communication, but also enables the communication content to be instantaneously saved and flexibly called, greatly improving the communication efficiency.

[0003] With the increasing development of electronic whiteboards, electronic pens can be used as input devices to input operations to the electronic whiteboard because they can communicate and connect with electronic devices such as tablet computers, thereby further improving the use efficiency of electronic whiteboards.

[0004] However, since there are many manufacturers producing electronic pens and electronic whiteboard devices, when the electronic whiteboard interacts with the electronic pen, it is not only easily interfered by external electronic pens, resulting in inaccurate content display, but also likely to receive the intrusion of dangerous electronic pens when receiving the operations of the electronic pen, thereby causing damage to the electronic whiteboard itself. As a result, the interaction between the electronic pen and the electronic whiteboard has no guarantee of security and communication stability. Summary of the Invention

[0005] In order to solve the above technical problems, the present invention discloses a communication method and system based on device interaction, which are used to improve the communication security and communication stability between an electronic whiteboard and an electronic pen.

[0006] In order to achieve the above object, the present invention discloses a communication method based on device interaction, which is applied to an electronic device. The communication method includes:

[0007] When it is determined that a connection is established with the electronic whiteboard and a first pairing is established with the electronic pen, obtaining the identity identification information of the electronic pen;

[0008] Sending a pairing prompt to the electronic whiteboard based on the identity identification information, and receiving the pairing result fed back by the electronic whiteboard;

[0009] Constructing a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

[0010] A communication method based on device interaction disclosed by the present invention is applied to an electronic device connected to an electronic whiteboard and paired with an electronic pen, so as to complete the communication interaction between the electronic pen and the electronic whiteboard through the electronic device, thereby ensuring the security and stability of communication. Among them, during communication, the identity identification information of the paired electronic pen is obtained, and a pairing prompt is sent to the electronic whiteboard according to the identity identification information for authorized pairing, improving the security of pairing and avoiding the electronic whiteboard directly receiving the input of the electronic pen, thereby improving the security of communication. Secondly, in the case of successful pairing, a signal channel between the electronic pen and the electronic whiteboard is built in the electronic device, so that the electronic pen and the electronic whiteboard communicate through the electronic device, improving the stability of communication.

[0011] As a preferred example, sending the pairing prompt to the electronic whiteboard based on the identity identification information includes:

[0012] According to the identity identification information, read and retrieve the electronic pen matching list saved in the electronic device;

[0013] When the identity identification information does not exist in the electronic pen matching list, determine that the electronic pen is an unfamiliar device, and generate a pairing request based on the identity identification information;

[0014] Send the pairing request to the electronic whiteboard so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

[0015] In the above solution, when identifying the identity of the currently paired electronic pen, the electronic pen matching list saved inside the electronic device is used to perform a security check on the currently paired electronic pen, and when it is identified that the current electronic pen is an unfamiliar device, the electronic device sends a pairing prompt to the electronic whiteboard, separating the direct communication between the unfamiliar electronic pen and the electronic whiteboard, and improving the security of communication.

[0016] As a preferred example, according to the identity identification information, reading and retrieving the electronic pen matching list saved in the electronic device includes:

[0017] Convert the identity identification information into an identity coding value that can be used for comparison according to a preset coding algorithm;

[0018] Obtain several matching coding values in the electronic pen matching list;

[0019] Obtain the comparison result after each of the matching coding values is compared with the identity coding value.

[0020] In the above solution, when performing identity recognition, the identity identification information is converted into an encoding form that can be used for comparison, which not only improves the efficiency of identity recognition but also enhances the accuracy of identity recognition.

[0021] As a preferred example, constructing a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result includes:

[0022] When it is determined according to the pairing result to pair with the electronic pen or when it is determined that the electronic pen is a familiar device according to the identity identification information, obtain the port information of the electronic whiteboard;

[0023] Generate connection information according to the port information and the identity identification information, and send the connection information to the electronic pen and the electronic whiteboard respectively to guide the electronic pen and the electronic whiteboard to perform connection operations, thereby obtaining a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard;

[0024] Retrieve a preset communication protocol and send the communication protocol to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

[0025] In the above solution, whether it is recognized that the electronic pen is a familiar device within the safe range or when it is determined according to the pairing information currently fed back by the electronic whiteboard that it can communicate with the current unfamiliar electronic pen, dedicated data paths for communicating with the electronic pen and the electronic whiteboard are respectively constructed inside the electronic device, so that the electronic whiteboard receives the instructions sent by the electronic pen with the electronic device as the communication transfer point, thereby improving the communication security between the electronic whiteboard and the electronic pen.

[0026] As a preferred example, before determining the situation of establishing a connection with the electronic whiteboard and establishing the first pairing with the electronic pen, it includes:

[0027] Respond to the induction signal sent by the induction area of the electronic pen and determine to pair with the electronic pen;

[0028] When the pairing signal sent by the electronic pen is not received within a preset time period, determine to establish the first pairing with the electronic pen.

[0029] In the above solution, when constructing a signal channel between the electronic pen and the electronic whiteboard through the electronic device, in order to prevent the electronic pen from being paired to an occupied electronic device, pairing induction can be performed before the electronic device pairs with the electronic device, thereby improving the pairing efficiency and accuracy.

[0030] On the other hand, the present invention also discloses a communication system based on device interaction, which is applied to an electronic device and includes an identity recognition module, a pairing selection module, and an interactive communication module;

[0031] The identity recognition module is configured to obtain the identity identification information of the electronic pen when it is determined that a connection with the electronic whiteboard is established and the first pairing with the electronic pen is completed;

[0032] The pairing selection module is configured to send a pairing prompt to the electronic whiteboard based on the identity identification information and receive the pairing result feedback by the electronic whiteboard;

[0033] The interactive communication module is configured to construct a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

[0034] A communication system based on device interaction disclosed by the present invention is applied to an electronic device that is connected to an electronic whiteboard and paired with an electronic pen, so as to complete the communication interaction between the electronic pen and the electronic whiteboard through the electronic device, thereby ensuring the security and stability of communication. Among them, during communication, the identity identification information of the paired electronic pen is obtained, and a pairing prompt is sent to the electronic whiteboard according to the identity identification information for authorized pairing, which improves the security of pairing and avoids the electronic whiteboard directly receiving the input of the electronic pen, thereby improving the security of communication. Secondly, in the case of successful pairing, a signal channel between the electronic pen and the electronic whiteboard is constructed in the electronic device, so that the electronic pen and the electronic whiteboard communicate through the electronic device, improving the stability of communication.

[0035] As a preferred example, the pairing selection module includes a device recognition unit and a pairing prompt unit;

[0036] The device recognition unit is configured to read and retrieve an electronic pen matching list stored in the electronic device according to the identity identification information;

[0037] The pairing prompt unit is configured to determine that the electronic pen is an unknown device when the identity identification information does not exist in the electronic pen matching list, and generate a pairing request based on the identity identification information; send the pairing request to the electronic whiteboard, so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

[0038] In the above solution, when identifying the identity of the electronic pen currently being paired, the electronic pen matching list stored inside the electronic device is used to perform a security check on the electronic pen currently being paired. When it is recognized that the current electronic pen is an unfamiliar device, the electronic device sends a pairing prompt to the electronic whiteboard, separating the direct communication between the unfamiliar electronic pen and the electronic whiteboard, thereby improving the security of communication.

[0039] As a preferred example, the device identification unit further includes an encoding component and a matching component;

[0040] The encoding component is used to convert the identity identification information into an identity coding value that can be used for comparison according to a preset encoding algorithm;

[0041] The matching component is used to obtain several matching coding values in the electronic pen matching list; obtain the comparison results after comparing each of the matching coding values with the identity coding value respectively.

[0042] In the above solution, when performing identity identification, the identity identification information is converted into a coding form that can be used for comparison, which not only improves the efficiency of identity identification but also improves the accuracy of identity identification.

[0043] As a preferred example, the interactive communication module includes an interactive connection unit and a communication unit;

[0044] The interactive connection unit is used to obtain the port information of the electronic whiteboard when it is determined to be paired with the electronic pen according to the pairing result or when it is determined that the electronic pen is a familiar device according to the identity identification information; generate connection information according to the port information and the identity identification information, and send the connection information to the electronic pen and the electronic whiteboard respectively to guide the electronic pen and the electronic whiteboard to perform a connection operation, thereby obtaining a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard;

[0045] The communication unit is used to retrieve a preset communication protocol and send the communication protocol to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

[0046] In the above solution, whether it is recognized that the electronic pen is a familiar device within a safe range or it is determined that communication can be performed with the current unfamiliar electronic pen based on the pairing information currently fed back by the electronic whiteboard, dedicated data paths for communicating with the electronic pen and the electronic whiteboard are respectively constructed inside the electronic device, so that the electronic whiteboard receives the instructions sent by the electronic pen with the electronic device as the communication transfer point, thereby improving the security of communication between the electronic whiteboard and the electronic pen.

[0047] 10. A communication system based on device interaction according to any one of claims 6-9, characterized in that it further comprises a pairing determination module; wherein, the pairing determination module includes a sensing unit and an identification unit;

[0048] The sensing unit is used to determine pairing with the electronic pen in response to a sensing signal sent by the electronic pen sensing area;

[0049] The identification unit is used to determine the establishment of the first pairing with the electronic pen when no pairing signal sent by the electronic pen is received within a preset time period.

[0050] In the above solution, when constructing a signal channel between the electronic pen and the electronic whiteboard through the electronic device, in order to prevent the electronic pen from being paired to an occupied electronic device, pairing induction can be performed before the electronic device is paired with the electronic device, thereby improving the pairing efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 : A flowchart of a communication method based on device interaction provided by an embodiment of the present invention;

[0052] Figure 2 : A structural diagram of a communication system based on device interaction provided by an embodiment of the present invention;

[0053] Figure 3 : A flowchart of a communication method based on device interaction provided by another embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0054] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0055] Embodiment 1

[0056] This embodiment discloses a communication method based on device interaction, which is applied to an electronic device connected to an electronic whiteboard to improve the security and stability when the electronic whiteboard communicates with an electronic pen. Specifically, the specific implementation process of the communication method is as follows with reference to Figure 1 , mainly including steps 101 to 103, and the steps are as follows:

[0057] Step 101: When it is determined that a connection is established with the electronic whiteboard and the first pairing is established with the electronic pen, obtain the identity identification information of the electronic pen;

[0058] Step 102: Send a pairing prompt to the electronic whiteboard based on the identity identification information, and receive the pairing result feedback by the electronic whiteboard;

[0059] Step 103: Construct a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

[0060] In the above solution, in the electronic device, when it is determined that the electronic device establishes a connection with the electronic whiteboard and there is a situation where an electronic pen establishes a first pairing with itself, in order to ensure that the electronic device communicates with a secure electronic pen, the identity information of the electronic pen is obtained, and according to the identity information, the electronic whiteboard is prompted that there is a pairing request from the electronic pen, so as to use the authorization mechanism, that is, receive the pairing indication feedback by the electronic whiteboard and pair with the electronic pen to improve the security of pairing. When pairing, the electronic device constructs a signal channel between the electronic pen and the electronic whiteboard to avoid direct communication between the electronic pen and the electronic whiteboard, thereby improving the stability of communication.

[0061] In a certain implementation manner of this embodiment, in order to avoid interference from an insecure electronic pen to the electronic device, the electronic device can perform identity recognition on the electronic pen to improve the security of communication. Specifically, when performing identity recognition, step 102 can improve the efficiency and accuracy of identity recognition through the following steps, and the steps are as follows:

[0062] Step 1021: According to the identity identification information, read and retrieve the electronic pen matching list saved in the electronic device;

[0063] Step 1022: When the identity identification information does not exist in the electronic pen matching list, determine that the electronic pen is an unknown device, and generate a pairing request based on the identity identification information;

[0064] Step 1023: Send the pairing request to the electronic whiteboard, so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

[0065] Further, when performing identity recognition based on the identity identification information, in order to improve the efficiency and accuracy of matching, step 1021 can be implemented through the following steps:

[0066] Step 10211: Convert the identity identification information into an identity coding value that can be used for comparison according to a preset coding algorithm;

[0067] Step 10212: Obtain several matching coding values in the electronic pen matching list;

[0068] Step 10213: Obtain the comparison results after comparing each of the matching code values with the identity code value respectively.

[0069] In this embodiment, when performing identity recognition on the electronic pen currently being paired, steps 1021 to 1023 use the electronic pen matching list stored inside the electronic device to perform security verification on the electronic pen currently being paired. When it is recognized that the current electronic pen is an unfamiliar device, the electronic device sends a pairing prompt to the electronic whiteboard to separate the direct communication between the unfamiliar electronic pen and the electronic whiteboard, thereby improving the security of communication.

[0070] In a certain implementation manner of this embodiment, to improve the stability of communication between the electronic pen and the electronic whiteboard, a private signal channel can be constructed between the electronic pen and the electronic whiteboard, so as to ensure that the electronic whiteboard can only obtain the instructions sent by the successfully paired electronic pen through the private signal channel. Specifically, when constructing the signal channel, step 103 ensures the stability and security of communication through the following steps. The steps are as follows:

[0071] Step 1031: When it is determined according to the pairing result that the electronic pen is to be paired or it is determined according to the identity identification information that the electronic pen is a familiar device, obtain the port information of the electronic whiteboard;

[0072] Step 1032: Generate connection information according to the port information and the identity identification information, and send the connection information to the electronic pen and the electronic whiteboard respectively to guide the electronic pen and the electronic whiteboard to perform connection operations, thereby obtaining a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard;

[0073] Step 1033: Retrieve a preset communication protocol, and send the communication protocol to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

[0074] In this embodiment, whether it is recognized that the electronic pen is a familiar device within a safe range or it is determined according to the pairing information currently fed back by the electronic whiteboard that communication can be performed with the current unfamiliar electronic pen, dedicated data paths for communicating with the electronic pen and the electronic whiteboard are respectively constructed inside the electronic device, so that the electronic whiteboard receives the instructions sent by the electronic pen with the electronic device as the communication transfer point, thereby improving the security of communication between the electronic whiteboard and the electronic pen.

[0075] In a certain implementation manner of this embodiment, when using the electronic device for communication between the electronic pen and the electronic whiteboard, it is also necessary to prevent the electronic pen from pairing with a paired electronic device. Specifically, when the electronic pen sends a pairing request, the occupancy situation of the electronic device can be identified through the following steps. The steps are as follows:

[0076] Step 1001: In response to the induction signal sent by the electronic pen induction area, determine to pair with the electronic pen;

[0077] Step 1002: When no pairing signal sent by the electronic pen is received within a preset time period, determine to establish the first pairing with the electronic pen.

[0078] In this embodiment, when building a signal channel between the electronic pen and the electronic whiteboard through the electronic device, in order to prevent the electronic pen from pairing with an occupied electronic device, pairing induction can be performed before the electronic device pairs with the electronic device, thereby improving the pairing efficiency and accuracy.

[0079] On the other hand, this embodiment also discloses a communication system based on device interaction, which is applied to an electronic device. Among them, for the specific structural composition of the communication system, please refer to Figure 2 , which mainly includes an identity recognition module 201, a pairing selection module 202, and an interactive communication module 203.

[0080] The identity recognition module 201 is used to obtain the identity identification information of the electronic pen when it is determined that a connection is established with the electronic whiteboard and the first pairing is established with the electronic pen.

[0081] The pairing selection module 202 is used to send a pairing prompt to the electronic whiteboard based on the identity identification information and receive the pairing result feedback by the electronic whiteboard.

[0082] The interactive communication module 203 is used to construct a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

[0083] In this embodiment, the pairing selection module 202 includes a device recognition unit and a pairing prompt unit.

[0084] The device recognition unit is used to read and retrieve the electronic pen matching list stored in the electronic device according to the identity identification information.

[0085] The pairing prompt unit is used to determine that the electronic pen is an unfamiliar device when the identity identification information does not exist in the electronic pen matching list, generate a pairing request based on the identity identification information, and send the pairing request to the electronic whiteboard so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

[0086] In this embodiment, the device identification unit further includes an encoding component and a matching component.

[0087] The encoding component is used to convert the identity identification information into an identity coding value that can be used for comparison according to a preset encoding algorithm.

[0088] The matching component is used to obtain several matching coding values in the electronic pen matching list, and obtain the comparison results after comparing each of the matching coding values with the identity coding value respectively.

[0089] In this embodiment, the interactive communication module 203 includes an interactive connection unit and a communication unit.

[0090] The interactive connection unit is used to obtain the port information of the electronic whiteboard when it is determined to pair with the electronic pen according to the pairing result or when it is determined that the electronic pen is a familiar device according to the identity identification information; generate connection information according to the port information and the identity identification information, and send the connection information to the electronic pen and the electronic whiteboard respectively to guide the electronic pen and the electronic whiteboard to perform a connection operation, so as to obtain a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard.

[0091] The communication unit is used to retrieve a preset communication protocol and send the communication protocol to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

[0092] In this embodiment, the communication system further includes a pairing determination module; wherein, the pairing determination module includes a sensing unit and an identification unit.

[0093] The sensing unit is used to determine to pair with the electronic pen in response to the sensing signal sent by the electronic pen sensing area.

[0094] The identification unit is used to determine to establish a first pairing with the electronic pen when no pairing signal sent by the electronic pen is received within a preset time period.

[0095] In addition to the above methods and systems, embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium includes a stored program. When the program runs, it controls the device where the storage medium is located to execute the steps of the embodiments of the above communication method based on device interaction. For specific descriptions, reference can be made to the embodiments of the communication method based on device interaction above.

[0096] Embodiments of the present application also provide an electronic device, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, the steps of the embodiments of the above communication method based on device interaction are implemented. For specific descriptions, reference can be made to the embodiments of the communication method based on device interaction above.

[0097] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, indirect couplings or communication connections of devices or units, and can be in electrical, mechanical, or other forms.

[0098] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0099] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0100] The integrated unit implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium and include several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0101] A communication method, system, device, and medium based on device interaction provided in this embodiment are applied to an electronic device connected to an electronic whiteboard and paired with an electronic pen, so as to complete the communication interaction between the electronic pen and the electronic whiteboard through the electronic device, thereby ensuring the security and stability of communication. Among them, during communication, the identity identification information of the paired electronic pen is obtained, and a pairing prompt is sent to the electronic whiteboard according to the identity identification information for authorized pairing, improving the security of pairing while preventing the electronic whiteboard from directly receiving the input of the electronic pen, thereby improving the security of communication. Secondly, in the case of successful pairing, a signal channel between the electronic pen and the electronic whiteboard is established in the electronic device, so that the electronic pen and the electronic whiteboard communicate through the electronic device, improving the stability of communication.

[0102] Embodiment 2

[0103] In the existing signal interaction process between an electronic pen and an electronic whiteboard, the electronic whiteboard is prone to accepting executions from irrelevant or insecure electronic pens. It not only fails to accurately display the content required by the user, but is also vulnerable to the intrusion of insecure electronic pens, thereby interfering with the communication between the electronic pen and the electronic whiteboard and reducing the stability of communication.

[0104] To solve the above technical problems, a communication method based on device interaction provided in this embodiment aims to optimize the connection process between devices through an identity recognition and fast connection mechanism, and ensure the security of the connection through intelligent prompts, thereby enhancing the user experience and system stability.

[0105] Specifically, the implementation process of a communication method based on device interaction provided in this embodiment can refer to Figure 3 and mainly includes steps 301 to 304. The steps are as follows:

[0106] Step 301: In response to the induction signal generated by the electronic pen induction area, identify the electronic pen to be paired and determine whether it is the first pairing with the electronic pen.

[0107] Specifically, in this embodiment, when the electronic pen is placed on the electronic device, since a Hall sensor is provided inside the electronic pen and in the electronic pen sensing area preset on the electronic device, after the electronic pen is placed on the electronic device, the electronic pen and the electronic device will simultaneously activate the pairing mechanism.

[0108] Among them, the electronic pen will send a group of specific signals with HID to the electronic device. If the electronic device can receive this signal within a preset time period, it proves that the current electronic pen is already in a connected state with the electronic device. Then, at this time, the electronic device will turn off the pairing operation; if the electronic device cannot receive this signal within the preset time period, it proves that the current electronic pen is not in a connected state with the electronic device. Then, at this time, the electronic device will start the pairing operation to pair with the electronic pen. Preferably, a wireless charging module can also be installed inside the electronic device, so that when the electronic device turns off the pairing operation, only the charging function is turned on.

[0109] In a certain embodiment, the latter electronic pen will send a specific signal with an identity identifier, and at the same time, the electronic device will also be ready for pairing. If the electronic device receives a specific signal sent by the already paired electronic pen within 1S, the signal receiving device will not activate the pairing mechanism; however, if the signal receiving device does not receive a specific signal sent by the already paired electronic pen after 1S, the signal receiving device will default this electronic pen as an unknown device and pair with it.

[0110] Step 302: When determining the first pairing with the electronic pen, obtain the identity identifier information of the electronic pen, and identify the attribute information of the electronic pen according to the identity identifier information.

[0111] Specifically, in this embodiment, first, the electronic device receives and parses the identity identifier information sent by the electronic pen. The identity identifier information may include a unique ID, a MAC address, or an identifier generated by an encryption method. An identity comparison module is provided inside the electronic device to be responsible for reading and retrieving the "matching list" stored in the device. Among them, the matching list stores the identity information of the electronic pens registered in the system, and is used to compare and identify the access devices.

[0112] Specifically, the identity comparison module compares the received electronic pen identity identifier item by item with the information in the matching list. If the list contains the identity identifier of the electronic pen, the system determines that the electronic pen is a "familiar" device, otherwise it determines that it is a "strange" device.

[0113] During the comparison process, the electronic device can convert the identity identifier information into a coding form available for comparison. For example, an independent hash value H_{ID} is generated through a hash algorithm, and the calculation is as follows:

[0114] H_{ID}=hash(ID + salt)

[0115] Wherein, ID represents the original identity identifier of the electronic pen; salt is the added security encryption parameter used to improve the recognition uniqueness; H_{ID} is the hash value.

[0116] Step 303: When the electronic pen is recognized as an unfamiliar device, send a pairing request to the electronic whiteboard and receive the pairing information sent by the electronic whiteboard.

[0117] Specifically, in this embodiment, when the electronic device recognizes an access request sent by an unfamiliar electronic pen currently connected, the electronic device starts the security prompt module, generates a pairing request according to the identity identifier information, and sends the pairing request to the electronic whiteboard.

[0118] Wherein, after receiving the request, the electronic whiteboard is presented in a pop-up window on the interface so that the user can select to establish a connection or not.

[0119] Step 304: When the electronic pen is recognized as a familiar device or it is determined to establish a connection with the electronic pen according to the pairing information, establish a signal channel connecting the electronic pen and the electronic whiteboard according to the port information of the electronic whiteboard and the identity identifier information of the electronic pen.

[0120] Specifically, after the user selects "Connect", the user interface of the electronic whiteboard transmits the connection instruction to the authorization control module of the electronic device. The authorization control module updates the device connection status in real time and allows an unfamiliar electronic pen to establish communication with the whiteboard. If the user selects "Reject", the signal receiving device does not perform any operation and continues to maintain the disconnected state. Preferably, if the electronic device does not receive the pairing information feedback by the electronic whiteboard within a preset time period, it is default not to establish a connection with the electronic pen. Secondly, after the identity verification is a "familiar" device, the electronic device will start the communication connection between the electronic pen and the electronic whiteboard.

[0121] Specifically, when establishing a communication connection between the electronic pen and the electronic whiteboard inside the electronic device, the connection establishment process includes communication port initialization, signal channel startup, and selection of a specific communication protocol to reduce communication latency. First, the electronic device calls the fast direct connection function, maps the electronic pen signal channel to the receiving port of the whiteboard, and selects a low-latency transmission protocol (such as UDP). Wherein, when the electronic device maps the electronic pen signal channel to the receiving port of the whiteboard, it uses the device identifier and port information to generate a unique connection code Key_{conn} for identifying the connection and maintaining the connection status; wherein, the connection code is:

[0122] Key_{conn}=H_{ID}\oplusP_{connect}

[0123] Among them, H_{ID} is the identity hash value of the electronic pen; P_{connect} is the communication port identifier; -\oplus represents the exclusive OR operation, which is used to generate a unique connection key.

[0124] A communication method based on device interaction provided in this embodiment optimizes the connection process between devices through an identity recognition and fast connection mechanism, and ensures the security of the connection through intelligent prompts. Among them, the electronic pen is classified into "familiar" and "strange" devices, and security mechanisms for fast connection and user authorization are designed respectively to improve the user experience and system stability.

[0125] The specific embodiments described above further elaborate on the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. In particular, for those skilled in the art, any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A communication method based on device interaction, applied to electronic equipment, characterized in that: The communication method comprises: When it is determined that a connection is established with the electronic whiteboard and the first pairing is established with the electronic pen, obtaining the identity information of the electronic pen; Sending a pairing prompt to the electronic whiteboard based on the identity information, and receiving a pairing result fed back by the electronic whiteboard; A signal channel connecting the electronic pen and the electronic whiteboard is constructed according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

2. A communication method based on device interaction according to claim 1, characterized in that: The sending a pairing prompt to the electronic whiteboard based on the identity information includes: Reading and retrieving an electronic pen matching list stored in the electronic device according to the identity identification information; When the identity information does not exist in the electronic pen matching list, determining that the electronic pen is a strange device to generate a pairing request based on the identity information; The pairing request is sent to the electronic whiteboard, so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

3. A communication method based on device interaction according to claim 2, characterized in that: The step of reading and retrieving the electronic pen matching list stored in the electronic device according to the identity information includes: Convert the identity information into an identity code value that can be used for comparison according to a preset coding algorithm; Obtaining a plurality of matching code values ​​in the electronic pen matching list; Obtain a comparison result after each of the matching code values ​​is compared with the identity code value.

4. A communication method based on device interaction according to claim 1, characterized in that: The step of constructing a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result includes: When it is determined according to the pairing result that the electronic pen is to be paired or it is determined according to the identity information that the electronic pen is a familiar device, acquiring the port information of the electronic whiteboard; Generate connection information according to the port information and the identity information, and send the connection information to the electronic pen and the electronic whiteboard respectively to instruct the electronic pen and the electronic whiteboard to perform a connection operation, thereby obtaining a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard; A preset communication protocol is retrieved, and the communication protocol is sent to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

5. A communication method based on device interaction according to any one of claims 1 to 4, characterized in that: Before determining to establish connection with the electronic whiteboard and to establish first pairing with the electronic pen, the method includes: In response to a sensing signal sent by the electronic pen sensing area, determining to pair with the electronic pen; When no pairing signal sent by the electronic pen is received within a preset time period, it is determined that the first pairing with the electronic pen is established.

6. A communication system based on device interaction, applied to electronic equipment, characterized in that: It includes an identity recognition module, a pairing selection module and an interactive communication module; The identity recognition module is used to obtain the identity information of the electronic pen when it is determined that the connection with the electronic whiteboard is established and the first pairing with the electronic pen is established; The pairing selection module is used to send a pairing prompt to the electronic whiteboard based on the identity information, and receive a pairing result fed back by the electronic whiteboard; The interactive communication module is used to construct a signal channel connecting the electronic pen and the electronic whiteboard according to the pairing result, so that the electronic pen communicates with the electronic whiteboard based on the signal channel.

7. A communication system based on device interaction according to claim 6, characterized in that: The pairing selection module includes a device identification unit and a pairing prompt unit; The device identification unit is used to read and retrieve the electronic pen matching list stored in the electronic device according to the identity identification information; The pairing prompt unit is used to determine that the electronic pen is a strange device when the identity identification information does not exist in the electronic pen matching list, so as to generate a pairing request based on the identity identification information; The pairing request is sent to the electronic whiteboard, so that the electronic whiteboard generates and displays a pairing pop-up window for the electronic pen.

8. A communication system based on device interaction according to claim 7, characterized in that: The device identification unit also includes a coding component and a matching component; The encoding component is used to convert the identity identification information into an identity code value that can be used for comparison according to a preset encoding algorithm; The matching component is used to obtain a plurality of matching code values ​​in the electronic pen matching list; and obtain a comparison result after each matching code value is compared with the identity code value.

9. A communication system based on device interaction according to claim 6, characterized in that: The interactive communication module includes an interactive connection unit and a communication unit; The interactive connection unit is used for acquiring the port information of the electronic whiteboard when it is determined to pair with the electronic pen according to the pairing result or when it is determined that the electronic pen is a familiar device according to the identity information; Generate connection information according to the port information and the identity information, and send the connection information to the electronic pen and the electronic whiteboard respectively to instruct the electronic pen and the electronic whiteboard to perform a connection operation, thereby obtaining a first data path formed after connecting with the electronic pen and a second data path formed after connecting with the electronic whiteboard; The communication unit is used to call a preset communication protocol and send the communication protocol to the electronic pen and the electronic whiteboard through the first data path and the second data channel, so that the electronic pen and the electronic whiteboard communicate with the electronic device according to the communication protocol.

10. A communication system based on device interaction according to any one of claims 6 to 9, characterized in that: It also includes a pairing determination module; wherein the pairing determination module includes a sensing unit and an identification unit; The sensing unit is used to respond to the sensing signal sent by the electronic pen sensing area to determine whether to pair with the electronic pen; The identification unit is used for determining to establish the first pairing with the electronic pen when no pairing signal sent by the electronic pen is received within a preset time period.