WO2024002301A1 - Device binding method and apparatus, and computer readable storage medium - Google Patents

Device binding method and apparatus, and computer readable storage medium Download PDF

Info

Publication number
WO2024002301A1
WO2024002301A1 PCT/CN2023/104200 CN2023104200W WO2024002301A1 WO 2024002301 A1 WO2024002301 A1 WO 2024002301A1 CN 2023104200 W CN2023104200 W CN 2023104200W WO 2024002301 A1 WO2024002301 A1 WO 2024002301A1
Authority
WO
WIPO (PCT)
Prior art keywords
scanning device
target terminal
oral scanning
terminal
binding
Prior art date
Application number
PCT/CN2023/104200
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 先临三维科技股份有限公司
Publication of WO2024002301A1 publication Critical patent/WO2024002301A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application relates to the field of intelligent control, specifically, to a device binding method, device and computer-readable storage medium.
  • the oral scanning device After the oral scanning device is bound to the computer, the oral scanning device can be controlled through the computer to perform scanning operations.
  • connection binding between the oral scanning device and the computer is realized through the Bluetooth connection method.
  • This method can realize the binding between the oral scanning device and the computer, but the Bluetooth connection has the problem of inconvenient operation. That is, in the related technology, there is a lack of a method to quickly realize one-to-one binding between the oral scanning device and the computer.
  • Embodiments of the present application provide a device binding method, device, and computer-readable storage medium to at least solve the technical problem in related technologies of the lack of a method for quickly realizing one-to-one binding between an oral scanning device and a computer.
  • a device binding method including: an oral scanning device broadcasts a User Data Protocol UDP message, wherein the UDP message carries firmware version information of the oral scanning device , and a device identifier used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is the target terminal based on the firmware version information and the The device identification is sent to verify and verify the oral scanning device, and the device binding request carries the terminal identification of the target terminal; the oral scanning device is based on the terminal identification of the target terminal, and the The target terminal is bound one-to-one.
  • the method further includes: receiving a device information calling instruction sent by the target terminal; According to the device information calling instruction, the device information of the oral scanning device is sent to the target terminal.
  • the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device determines the said target terminal based on a mutex lock. Whether the oral scanning device is bound to other terminals except the target terminal; in the case where the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is based on the The terminal identifier of the target terminal is bound one-to-one with the target terminal.
  • the method further includes: when the oral scanning device has been bound to other terminals except the target terminal, sending an unbinding request instruction to the other terminal. ; Receive the feedback instruction sent by the other terminal; when the feedback instruction is to agree to unbind, delete the other terminal identification of the other terminal in the mutex lock, and replace the terminal identification of the target terminal Write to the mutex.
  • the method further includes: when the feedback instruction is to disagree with the unbinding, sending feedback information indicating that the binding is not agreed to the target terminal.
  • a device binding method including: the target terminal receives a UDP message broadcast by the oral scanning device, wherein the UDP message carries the ID of the oral scanning device. Firmware version information, and a device identification used to identify the oral scanning device; the target terminal verifies the oral scanning device according to the firmware version information and the device identification; when the target terminal passes the verification
  • a device binding request is sent to the oral scanning device, where the device binding request includes a terminal identification of the target terminal, and the terminal identification is used for one-to-one binding with the target terminal.
  • the method further includes: the target terminal sending a device information calling instruction to the oral scanning device; the target terminal receiving the device information sent by the oral scanning device and displaying the device information. on the interactive interface.
  • the method further includes: receiving feedback information sent by the oral scanning device, where the feedback information includes one of the following: first feedback information, where the first feedback information is used to represent The oral scanning device determines according to the mutex lock that the oral scanning device is not bound to other terminals except the target terminal, and successfully performs one-to-one binding with the target terminal; second feedback information, wherein , the second feedback information is used to indicate that the oral scanning device determines according to the mutex lock that the oral scanning device has been bound to other terminals except the target terminal, but has been unbound to the other terminal, and The one-to-one binding with the target terminal is successful; third feedback information, wherein the third feedback information is used to indicate that the oral scanning device determines the relationship between the oral scanning device and the target terminal according to the mutex lock. other terminals, and failed to unbind from the other terminals.
  • first feedback information where the first feedback information is used to represent The oral scanning device determines according to the mutex lock that the oral scanning device is not bound to other terminals except the target terminal,
  • a device binding device which is characterized in that it includes: Message broadcast module, used for the oral scanning device to broadcast user data protocol UDP messages, wherein the UDP message carries the firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device. ; Receiving module, configured for the oral scanning device to receive a device binding request sent by the target terminal, wherein the device binding request is the target terminal's scanning of the oral cavity based on the firmware version information and the device identification. The device verifies and verifies that the device binding request carries the terminal identification of the target terminal; a binding module is used for the oral scanning device to communicate with the target based on the terminal identification of the target terminal. The terminal performs one-to-one binding.
  • an oral scanning device which is characterized in that it includes: at least one processor, and a memory communicatively connected with the at least one processor; wherein the memory stores Instructions that are executable by the at least one processor, the instructions are executable by the at least one processor, and the at least one processor is capable of performing any of the methods described above.
  • the user data protocol UDP message is broadcast through the oral scanning device, wherein the UDP message carries the firmware version information of the oral scanning device and the device used to identify the oral scanning device. Identification; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is that the target terminal verifies the oral scanning device based on the firmware version information and the device identification and Verify that the device binding request carries the terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, thereby solving the problem
  • the problem is that in the related technology, there is a lack of a method for quickly realizing one-to-one binding between the oral scanning device and the computer.
  • Figure 1 is a flow chart of a device binding method according to an embodiment of the present application.
  • Figure 2 is a flow chart of another device binding method according to an embodiment of the present application.
  • Figure 3 is a flow chart of a method for a computer to discover oral scanning equipment according to an embodiment of the present application
  • Figure 4 is a flow chart of a method for binding a computer and an oral scanning device according to an embodiment of the present application
  • Figure 5 is a structural block diagram of a device binding device according to an embodiment of the present application.
  • a device binding method embodiment is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, Although a logical sequence is shown in the flowcharts, in some cases the steps shown or described may be performed in a sequence different from that herein.
  • Figure 1 is a flow chart of a device binding method according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps:
  • Step S102 The oral scanning device broadcasts a user data protocol UDP message, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device.
  • the oral scanning device there are multiple types of device identifiers used to identify the oral scanning device. For example, it may be a serial number of the device, or other device identifiers that can uniquely identify the oral scanning device.
  • Step S104 the oral scanning device receives a device binding request sent by the target terminal, where the device binding request is sent by the target terminal to verify the oral scanning device based on the firmware version information and device identification, and is carried in the device binding request. Has the terminal ID of the target terminal.
  • Step S106 The oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  • the firmware version information by authenticating the firmware version information, it can be determined whether the scanning software versions of the oral scanning device and the target terminal are compatible. If they are not compatible, the oral scanning software version can be upgraded or downgraded. The firmware version of the scanning device is compatible with the scanning software version, thereby ensuring successful control of the oral scanning device by the target terminal.
  • the oral scanning device by authenticating the device identification, it can be determined whether the oral scanning device is The target terminal has control authority over the device, thereby ensuring that the target terminal successfully controls the oral scanning device.
  • the target terminal may be of multiple types, for example, it may be a computer equipped with oral scanning device control software, or a tablet computer equipped with oral scanning device control software, etc.
  • the oral scanning device sends a message to the target terminal in the same local area network by broadcasting the message, and after receiving the device binding request sent by the target terminal, the terminal based on the target terminal Identity, one-to-one binding with the target terminal.
  • the oral scanning device does not need to set up Bluetooth. It connects to the target terminal through Bluetooth connection.
  • the method is simple and the binding speed is fast, which improves the user experience.
  • the oral scanning device is bound one-to-one with the target terminal based on the terminal identification of the target terminal, thereby avoiding the problem of poor real-time control of the oral scanning device caused by binding multiple computers to the same oral scanning device. That is, the technical problem in related technologies that lacks a method to quickly achieve one-to-one binding between the oral scanning device and the computer is solved.
  • the method further includes: receiving a device information calling instruction sent by the target terminal; and sending device information of the oral scanning device to the target terminal according to the device information calling instruction.
  • the target terminal After sending the device information of the oral scanning device to the target terminal, the target terminal can parse the detailed information in the device information and display the detailed information on the interactive interface, allowing the user to perform corresponding operations based on the detailed information on the interactive interface, which can improve user experience.
  • the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device determines, based on a mutex lock, the oral scanning device and the target terminal other than the target terminal. Whether other terminals have been bound; when the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is bound to the target terminal one-to-one based on the terminal identification of the target terminal.
  • a mutex lock is provided in the oral scanning device.
  • the mutex lock is a field used to implement exclusive binding. When the field is empty, the mutex lock is in an idle state, indicating that the oral scanning device has not end with other The terminal device is bound; when the field is bound to the terminal identification, the mutex lock is in a busy state, indicating that the oral scanning device is bound to the corresponding terminal device.
  • the terminal identifier of the terminal device is the IP address of the terminal device, and which terminal device the oral scanning device is bound to can be determined through the IP address information written in the mutex lock. Based on the mutex lock and the terminal identification of the target terminal, one-to-one binding of the oral scanning device and the target terminal is realized. The binding method is simple and the processing efficiency is high.
  • the method further includes: when the oral scanning device has been bound to other terminals except the target terminal, sending an unbinding request instruction to the other terminal; receiving a feedback instruction sent by the other terminal ; When the feedback command is to agree to unbind, delete other terminal identifiers of other terminals in the mutex lock, and write the terminal identifier of the target terminal into the mutex lock.
  • the method further includes: when the feedback instruction is to disagree with the unbinding, sending feedback information indicating that the binding is not agreed to the target terminal.
  • the target terminal can display the feedback information on the interactive interface and prompt the user to perform corresponding operations, thereby improving the user experience.
  • FIG. 2 is a flow chart of another device binding method according to an embodiment of the present application. Referring to Figure 2, the method may include the following steps:
  • Step S202 The target terminal receives a UDP message broadcast by the oral scanning device, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device;
  • Step S204 the target terminal verifies the oral scanning device according to the firmware version information and device identification
  • Step S206 When the target terminal passes the verification, it sends a device binding request to the oral scanning device, where the device binding request includes the terminal identification of the target terminal, and the terminal identification is used for one-to-one binding with the target terminal.
  • the target terminal receives the message broadcast by the oral scanning device, and after passing the verification of the oral scanning device according to the message, sends a device binding request to the oral scanning device, based on the terminal identification of the target terminal, One-to-one binding with oral scanning equipment.
  • the oral scanning device does not need to set up Bluetooth. It connects to the target terminal through Bluetooth connection.
  • the method is simple and the binding speed is fast, which improves the user experience.
  • the oral scanning device is bound one-to-one with the target terminal based on the terminal identification of the target terminal, thereby avoiding the problem of poor real-time control of the oral scanning device caused by binding multiple computers to the same oral scanning device. That is, the technical problem in related technologies that lacks a method to quickly achieve one-to-one binding between the oral scanning device and the computer is solved.
  • the method further includes: receiving feedback information sent by the oral scanning device, where the feedback information includes one of the following: first feedback information, where the first feedback information is used to indicate that the oral scanning device is based on mutual exclusion.
  • the lock determines that the oral scanning device is not bound to other terminals except the target terminal, and successfully performs one-to-one binding with the target terminal; second feedback information, wherein the second feedback information is used to indicate that the oral scanning device is based on mutual exclusion
  • the lock determines that the oral scanning device has been bound to other terminals except the target terminal, but is unbound to other terminals, and is successfully bound one-to-one with the target terminal; third feedback information, wherein the third feedback information is used Indicates that the oral scanning device determines based on the mutex lock that the oral scanning device is bound to other terminals except the target terminal, and fails to unbind from other terminals.
  • the target terminal is a computer as an example for description. It should be noted that the target terminal can also be other terminal devices, for example, it can be a mobile phone, a tablet computer, etc.
  • a device binding method is provided.
  • the target terminal is a computer and the terminal identifier is the IP address of the computer as an example for explanation.
  • methods for binding devices and computers mainly include the following two methods.
  • One is a binding method similar to a Bluetooth mouse. Specifically, to connect a Bluetooth mouse to a computer, you must first enter the pairing mode, long press the pairing button on the Bluetooth mouse to achieve pairing, and then enter the computer's Bluetooth management. , select the Bluetooth mouse to connect. After the connection is successful, you can use the Bluetooth mouse on this computer.
  • This connection method has the following disadvantages: when other computers want to connect to a Bluetooth mouse, they need to repeat the above-mentioned connection process. Two different computers cannot quickly switch the connection with the Bluetooth mouse, that is, the connection must be repeated after changing computers. .
  • the other is a binding method similar to a network printer.
  • the computer searches for network printers in the LAN through sniffing. After searching, it tries to use the standard printing protocol to connect to the network printer. If the standard protocol is not supported, the printer needs to be installed first. drive.
  • This method has the following shortcomings: the network printer is shared by multiple computers, and the real-time performance is not good. That is, in the related art, there is a technical problem that there is no method for quickly realizing one-to-one binding between the oral scanning device and the computer.
  • the oral scanning device broadcasts a user data protocol UDP message, wherein the UDP message carries the firmware version information of the oral scanning device and is used to identify the oral scanning device.
  • the device identification of the oral scanning device the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is the target terminal based on the firmware version information and the device identification.
  • the oral scanning device is authenticated and authenticated by sending the device binding request carried in the There is a terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  • the states of the oral scanning device include the following three: offline state. At this time, the device is not connected to the same WiFi network as the computer. Online non-scanning status. At this time, the device has been connected to the same WiFi network as the computer, but is in standby mode and has no ongoing scanning tasks. Scan status. At this time, the device is already performing a scanning task under the control of a scanning software.
  • the computer controls the oral scanning device through the scanning software.
  • the list can display the four states of the oral scanning device: the first is the offline state, which indicates that the oral scanning device has been connected to the current WiFi network. , but is not in the current network at this time.
  • the second is the online non-scanning state. In this state, the surface oral scanning device has been connected to the same WiFi network as the computer, but is in standby state and has no ongoing scanning tasks. In this state, the current scanning device can be connected.
  • the software performs scanning tasks.
  • the third type is the scanning state driven by other scanning software. This device is scanning under the control of scanning software on another computer. In this state, you can no longer connect to the current scanning software to perform scanning tasks. The scanning status under the current scanning software driver.
  • the fourth is that the oral scanning device is performing scanning tasks under the control of the current software. It cannot be connected by scanning software on other computers to perform other scanning tasks.
  • the method of binding the scanning device to the computer is mainly divided into two steps: the computer discovers the oral scanning device, determines the oral scanning device to be bound among the discovered oral scanning devices, and binds the oral scanning device. The details are explained below.
  • Figure 3 is a flow chart of a method for a computer to discover an oral scanning device according to an embodiment of the present application.
  • the method for the computer to discover the oral scanning device mainly includes the following steps:
  • UDP server User Datagram Protocol
  • the oral scanning device After the oral scanning device is connected to the same WiFi as the computer, it broadcasts a UDP message to the LAN.
  • the content includes: the IP address of the device under the current WiFi, the device serial number and the device firmware version.
  • the scanning software parses the information in the message and determines whether the device serial number is valid and whether the firmware version is supported by connecting to the cloud platform.
  • the method to determine whether the device serial number is valid includes the following steps: the cloud platform database has pre-stored device serial numbers with control permissions. After the device serial number is parsed by the scanning software, the parsed device serial number will be compared with the device serial number in the database. The pre-stored serial numbers are compared. If the comparison passes, it means that the device serial number is a valid device serial number, otherwise it is an invalid device serial number.
  • judging whether the firmware version can be supported specifically includes the following steps: compare the scanning software version and the firmware version of the oral scanning device. If the two are incompatible, adjust the firmware version or the scanning software version. Make the firmware versions of the scanning software and the oral scanning device compatible, thereby ensuring that the scanning software can control the oral scanning device.
  • the scanning software in the computer connects to the device through the TCP protocol through the IP address and calls the interface on the device side to obtain detailed device information. If the call is successful and the detailed information result is parsed, the device is an oral scanning device that meets the requirements, and the parsed detailed information result will be displayed in the scannable device list of the scanning software.
  • a display screen or touch screen is added to the oral scanning device, the scanning software on all discovered computers is listed, and then the scanning software of which computer is currently connected to the device is selected to perform the scanning task.
  • the key technology is that the firmware of each device (scanner) has an interactive Exclusion lock Mutex is used to control the current state. What needs to be understood is that the mutex lock has three states: idle, busy and offline (wifi is not connected).
  • the mutex lock can be understood as a field. When the field is empty, the lock is in an idle state; when the field is bound to an IP address, the lock is in a busy state. The IP address of the field can be used to determine which computer the oral scanning device is connected to. .
  • the mutex lock when the mutex lock is in the idle state, it means that the device has been connected to WiFi, but is not driven by any scanning software to perform scanning tasks; when the mutex lock is in the busy state, it means that the device has been Controlled by the scanning software on a certain computer, the scanning task is in progress.
  • one or more indicator lights are provided on the oral scanning device, and the status of the mutex lock in the oral scanning device can be indicated by the indicator lights being on or off. For example, when the mutex is idle, the light is on, and when the mutex is busy, the light is off.
  • the status of the mutex lock in the oral scanning device can also be indicated by the color of the indicator light. For example, three color indicators of red, yellow and green are set on the oral scanning device. When the mutex lock is idle, the green light lights up. The yellow light turns on when the mutex is busy, and the red light turns on when the mutex is offline.
  • the corresponding ways between whether the indicator light is on or off, and the different colors of the indicator light and the status of the mutex lock are not limited to the aforementioned ones, but also include other corresponding ways.
  • the user can also be informed of the status of the mutex lock through voice broadcast and other methods.
  • Figure 4 is a flow chart of a method for binding a computer and an oral scanning device according to an embodiment of the present application. Referring to Figure 4, the method includes the following steps:
  • the mutex lock will be released and the ownership of the mutex lock will be transferred to the scanning software that applied for the mutex lock.
  • Scanning software with a mutex lock can also actively release the lock, and the mutex lock will be idle thereafter. Specifically, when a scanning job is completed, a prompt box pops up and the user determines whether to disconnect. If so, the mutex lock field becomes empty, thereby releasing the lock and unbinding the scanning software and the oral scanning device. In addition, users can click the device management of the scanning software at any time to change the status of the oral scanning device and thereby disconnect.
  • the wireless version of the oral scanning device after the wireless version of the oral scanning device is connected to the network, it will be paired and connected with the computer scanning software located in the same WiFi network, so that the device can be controlled from the scanning software to scan.
  • the automatic sending of messages by the device is broadcast by the device itself through UDP, without the need for a computer to facilitate the local area network segment, and the speed is faster; the lock of the device can manage the computer currently performing the scanning task, ensuring that only one computer is currently performing the scanning task.
  • a single computer can perform scanning tasks; lock ownership can be easily transferred between multiple computers through lock status and query, allowing an oral scanning device to quickly switch and easily connect between scanning software on different computers. That is, in this optional implementation, the computer scanning software in the local area network automatically discovers the device, and the computer-side scanning software can quickly select which device is the current scanning device, and ensure that scanning software on different computers can use the same device mutually exclusive Carry out scanning work.
  • FIG. 5 is a structural block diagram of a device binding device according to an embodiment of the present application. As shown in Figure 5, the device binding method The specific device includes: message broadcast module 502, receiving module 504 and binding module 506, which will be described in detail below.
  • the message broadcast module 502 is used for the oral scanning device to broadcast user data protocol UDP messages, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device; the receiving module 504, Connected to the above-mentioned message broadcast module 502, it is used for the oral scanning device to receive a device binding request sent by the target terminal, where the device binding request is the target terminal's verification of the oral scanning device based on the firmware version information and the device identification and the verification is sent.
  • the device binding request carries the terminal identification of the target terminal;
  • the binding module 506 is connected to the above-mentioned receiving module 504, and is used for the oral scanning device to perform one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  • Embodiments of the present application provide an oral scanning device, including: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by at least one processor, and the instructions are processed by at least one processor. processor execution, and at least one processor capable of executing any of the above methods.
  • the memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the device binding method and device in the embodiments of the present application.
  • the processor executes various functions by running the software programs and modules stored in the memory.
  • Application and data processing that is, implementing the above device binding method.
  • Memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory may further include memory located remotely relative to the processor, and these remote memories may be connected to the computer terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
  • the processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: the oral scanning device broadcasts a user data protocol UDP message, where the UDP message carries the firmware version information of the oral scanning device and the user data.
  • the device identification used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, where the device binding request is sent by the target terminal to verify the oral scanning device based on the firmware version information and the device identification and the verification is passed.
  • the device binding request carries the terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  • the above-mentioned processor can also execute the program code of the following steps: receiving the device information calling instruction sent by the target terminal; and sending the device information of the oral scanning device to the target terminal according to the device information calling instruction.
  • the above processor can also execute the program code of the following steps: the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device uses a mutex lock , determine whether the oral scanning device is bound to other terminals except the target terminal; when the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is based on the terminal identification of the target terminal, and The target terminal performs one-to-one binding.
  • the above-mentioned processor can also execute the program code of the following steps: when the oral scanning device has been bound to other terminals except the target terminal, send an unbinding request instruction to the other terminal. ; Receive feedback instructions sent by other terminals; when the feedback instructions are to agree to unbind, delete other terminal identifiers of other terminals in the mutex lock, and write the terminal identifier of the target terminal into the mutex lock.
  • the above-mentioned processor can also execute the program code of the following steps: when the feedback instruction is to disagree with the unbinding, send feedback information indicating that the binding is not agreed to the target terminal.
  • the program can be stored in a computer-readable storage medium, and the storage medium can Including: flash disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units may be a logical functional division.
  • multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented.
  • Another point is that the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code. .
  • the user data protocol UDP message is broadcast through the oral scanning device, wherein the UDP message carries the firmware of the oral scanning device. version information, and a device identifier used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is based on the firmware version information of the target terminal.
  • the oral scanning device is verified and sent with the device identification, and the device binding request carries the terminal identification of the target terminal; the oral scanning device is based on the terminal identification of the target terminal, One-to-one binding is performed with the target terminal, thereby solving the technical problem in related technologies of the lack of a method for quickly realizing one-to-one binding between the oral scanning device and the computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application discloses a device binding method and apparatus, and a computer readable storage medium. The method comprises: an oral scanning device broadcasts a user data protocol (UDP) packet, wherein the UDP packet carries firmware version information of the oral scanning device and a device identifier for identifying the oral scanning device; the oral scanning device receives a device binding request sent by a target terminal, wherein the device binding request is sent by the target terminal after the target terminal verifies the oral scanning device on the basis of the firmware version information and the device identifier and the verification succeeds, and the device binding request carries a terminal identifier of the target terminal; and the oral scanning device is bound to the target terminal in a one-to-one mode on the basis of the terminal identifier of the target terminal.

Description

设备绑定方法、装置及计算机可读存储介质Device binding method, device and computer-readable storage medium
交叉援引cross-citation
本申请要求于2022年06月30日提交中国专利局、优先权号为202210761606.1、发明名称为“设备绑定方法、装置及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on June 30, 2022, with the priority number 202210761606.1 and the invention title "Device binding method, device and computer-readable storage medium", and its entire content has been approved This reference is incorporated into this application.
技术领域Technical field
本申请涉及智能控制领域,具体而言,涉及一种设备绑定方法、装置及计算机可读存储介质。The present application relates to the field of intelligent control, specifically, to a device binding method, device and computer-readable storage medium.
背景技术Background technique
口腔扫描设备和计算机绑定后,可以通过计算机控制口腔扫描设备进行扫描操作。After the oral scanning device is bound to the computer, the oral scanning device can be controlled through the computer to perform scanning operations.
在相关技术中,通过蓝牙连接的方法实现口腔扫描设备和计算机的连接绑定,这种方法可以实现口腔扫描设备和计算机的绑定,但通过蓝牙连接存在操作不方便的问题。即在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法。In the related technology, the connection binding between the oral scanning device and the computer is realized through the Bluetooth connection method. This method can realize the binding between the oral scanning device and the computer, but the Bluetooth connection has the problem of inconvenient operation. That is, in the related technology, there is a lack of a method to quickly realize one-to-one binding between the oral scanning device and the computer.
针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has yet been proposed.
发明内容Contents of the invention
本申请实施例提供了一种设备绑定方法、装置及计算机可读存储介质,以至少解决在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。Embodiments of the present application provide a device binding method, device, and computer-readable storage medium to at least solve the technical problem in related technologies of the lack of a method for quickly realizing one-to-one binding between an oral scanning device and a computer.
根据本申请实施例的一个方面,提供了一种设备绑定方法,包括:口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。According to an aspect of an embodiment of the present application, a device binding method is provided, including: an oral scanning device broadcasts a User Data Protocol UDP message, wherein the UDP message carries firmware version information of the oral scanning device , and a device identifier used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is the target terminal based on the firmware version information and the The device identification is sent to verify and verify the oral scanning device, and the device binding request carries the terminal identification of the target terminal; the oral scanning device is based on the terminal identification of the target terminal, and the The target terminal is bound one-to-one.
在本申请的一些实施例中,还包括:接收所述目标终端发送的设备信息调用指令; 根据所述设备信息调用指令,向所述目标终端发送所述口腔扫描设备的设备信息。In some embodiments of the present application, the method further includes: receiving a device information calling instruction sent by the target terminal; According to the device information calling instruction, the device information of the oral scanning device is sent to the target terminal.
在本申请的一些实施例中,所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定,包括:所述口腔扫描设备基于互斥锁,确定所述口腔扫描设备与除所述目标终端之外的其他终端是否已绑定;在所述口腔扫描设备与除所述目标终端之外的其他终端未绑定的情况下,所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。In some embodiments of the present application, the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device determines the said target terminal based on a mutex lock. Whether the oral scanning device is bound to other terminals except the target terminal; in the case where the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is based on the The terminal identifier of the target terminal is bound one-to-one with the target terminal.
在本申请的一些实施例中,所述方法还包括:在所述口腔扫描设备与除所述目标终端之外的其他终端已绑定的情况下,向所述其他终端发送解除绑定请求指令;接收所述其他终端发送的反馈指令;在所述反馈指令为同意解除绑定的情况下,删除所述互斥锁中所述其他终端的其他终端标识,并将所述目标终端的终端标识写入所述互斥锁中。In some embodiments of the present application, the method further includes: when the oral scanning device has been bound to other terminals except the target terminal, sending an unbinding request instruction to the other terminal. ; Receive the feedback instruction sent by the other terminal; when the feedback instruction is to agree to unbind, delete the other terminal identification of the other terminal in the mutex lock, and replace the terminal identification of the target terminal Write to the mutex.
在本申请的一些实施例中,还包括:在所述反馈指令为不同意解除绑定的情况下,向所述目标终端发送不同意绑定的反馈信息。In some embodiments of the present application, the method further includes: when the feedback instruction is to disagree with the unbinding, sending feedback information indicating that the binding is not agreed to the target terminal.
根据本申请实施例的另一方面,还提供了一种设备绑定方法,包括:目标终端接收口腔扫描设备广播的UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;所述目标终端根据所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证;在所述目标终端在验证通过的情况下,向所述口腔扫描设备发送设备绑定请求,其中,所述设备绑定请求包括所述目标终端的终端标识,所述终端标识用于与所述目标终端进行一对一绑定。According to another aspect of the embodiment of the present application, a device binding method is also provided, including: the target terminal receives a UDP message broadcast by the oral scanning device, wherein the UDP message carries the ID of the oral scanning device. Firmware version information, and a device identification used to identify the oral scanning device; the target terminal verifies the oral scanning device according to the firmware version information and the device identification; when the target terminal passes the verification In this case, a device binding request is sent to the oral scanning device, where the device binding request includes a terminal identification of the target terminal, and the terminal identification is used for one-to-one binding with the target terminal.
在本申请的一些实施例中,还包括:所述目标终端向所述口腔扫描设备发送设备信息调用指令;所述目标终端接收所述口腔扫描设备发送的设备信息,并将所述设备信息显示在交互界面上。In some embodiments of the present application, the method further includes: the target terminal sending a device information calling instruction to the oral scanning device; the target terminal receiving the device information sent by the oral scanning device and displaying the device information. on the interactive interface.
在本申请的一些实施例中,还包括:接收所述口腔扫描设备发送的反馈信息,其中,所述反馈信息包括以下之一:第一反馈信息,其中,所述第一反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备未与除所述目标终端之外的其他终端绑定,并与所述目标终端进行一对一绑定成功;第二反馈信息,其中,所述第二反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备已与除所述目标终端之外的其他终端绑定,但与所述其他终端解绑,并与所述目标终端进行一对一绑定成功;第三反馈信息,其中,所述第三反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备与除所述目标终端之外的其他终端绑定,且与所述其他终端解绑失败。In some embodiments of the present application, the method further includes: receiving feedback information sent by the oral scanning device, where the feedback information includes one of the following: first feedback information, where the first feedback information is used to represent The oral scanning device determines according to the mutex lock that the oral scanning device is not bound to other terminals except the target terminal, and successfully performs one-to-one binding with the target terminal; second feedback information, wherein , the second feedback information is used to indicate that the oral scanning device determines according to the mutex lock that the oral scanning device has been bound to other terminals except the target terminal, but has been unbound to the other terminal, and The one-to-one binding with the target terminal is successful; third feedback information, wherein the third feedback information is used to indicate that the oral scanning device determines the relationship between the oral scanning device and the target terminal according to the mutex lock. other terminals, and failed to unbind from the other terminals.
根据本申请实施例的另一方面,还提供了一种设备绑定装置,其特征在于,包括: 报文广播模块,用于口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;接收模块,用于所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;绑定模块,用于所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。According to another aspect of the embodiment of the present application, a device binding device is also provided, which is characterized in that it includes: Message broadcast module, used for the oral scanning device to broadcast user data protocol UDP messages, wherein the UDP message carries the firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device. ; Receiving module, configured for the oral scanning device to receive a device binding request sent by the target terminal, wherein the device binding request is the target terminal's scanning of the oral cavity based on the firmware version information and the device identification. The device verifies and verifies that the device binding request carries the terminal identification of the target terminal; a binding module is used for the oral scanning device to communicate with the target based on the terminal identification of the target terminal. The terminal performs one-to-one binding.
根据本申请实施例的另一方面,还提供了一种口腔扫描设备,其特征在于,包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以及所述至少一个处理器能够执行上述任一项所述的方法。According to another aspect of the embodiment of the present application, an oral scanning device is also provided, which is characterized in that it includes: at least one processor, and a memory communicatively connected with the at least one processor; wherein the memory stores Instructions that are executable by the at least one processor, the instructions are executable by the at least one processor, and the at least one processor is capable of performing any of the methods described above.
在本申请实施例中,通过口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定,进而解决了在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。In this embodiment of the present application, the user data protocol UDP message is broadcast through the oral scanning device, wherein the UDP message carries the firmware version information of the oral scanning device and the device used to identify the oral scanning device. Identification; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is that the target terminal verifies the oral scanning device based on the firmware version information and the device identification and Verify that the device binding request carries the terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, thereby solving the problem The problem is that in the related technology, there is a lack of a method for quickly realizing one-to-one binding between the oral scanning device and the computer.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the attached picture:
图1是根据本申请实施例的一种设备绑定方法的流程图;Figure 1 is a flow chart of a device binding method according to an embodiment of the present application;
图2是根据本申请实施例的另一种设备绑定方法的流程图;Figure 2 is a flow chart of another device binding method according to an embodiment of the present application;
图3是根据本申请实施例的一种计算机发现口腔扫描设备的方法流程图;Figure 3 is a flow chart of a method for a computer to discover oral scanning equipment according to an embodiment of the present application;
图4是根据本申请实施例的一种计算机和口腔扫描设备绑定的方法流程图;Figure 4 is a flow chart of a method for binding a computer and an oral scanning device according to an embodiment of the present application;
图5是根据本申请实施例的一种设备绑定装置的结构框图。Figure 5 is a structural block diagram of a device binding device according to an embodiment of the present application.
具体实施方式 Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其他步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or units may instead include other steps or units not expressly listed or inherent to the processes, methods, products or devices.
根据本申请实施例,提供了一种设备绑定的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to the embodiment of the present application, a device binding method embodiment is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, Although a logical sequence is shown in the flowcharts, in some cases the steps shown or described may be performed in a sequence different from that herein.
图1是根据本申请实施例的设备绑定方法的流程图,如图1所示,该方法包括如下步骤:Figure 1 is a flow chart of a device binding method according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps:
步骤S102,口腔扫描设备广播用户数据协议UDP报文,其中,UDP报文中携带有口腔扫描设备的固件版本信息,以及用于标识口腔扫描设备的设备标识。Step S102: The oral scanning device broadcasts a user data protocol UDP message, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device.
在一些可选实施例中,用于标识口腔扫描设备的设备标识的种类有多种,例如,可以是设备的序列号,也可以是其他能够对口腔扫描设备进行唯一标识的设备标识。In some optional embodiments, there are multiple types of device identifiers used to identify the oral scanning device. For example, it may be a serial number of the device, or other device identifiers that can uniquely identify the oral scanning device.
步骤S104,口腔扫描设备接收目标终端发送的设备绑定请求,其中,设备绑定请求是目标终端基于固件版本信息和设备标识对口腔扫描设备进行验证并验证通过发送的,设备绑定请求中携带有目标终端的终端标识。Step S104, the oral scanning device receives a device binding request sent by the target terminal, where the device binding request is sent by the target terminal to verify the oral scanning device based on the firmware version information and device identification, and is carried in the device binding request. Has the terminal ID of the target terminal.
步骤S106,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定。Step S106: The oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
在本申请的一些实施例中,通过对固件版本信息进行认证,可以确定口腔扫描设备和目标终端的扫描软件版本是否兼容,若不兼容,可以通过对描软件版本升级或降级的方法,使口腔扫描设备的固件版本和扫描软件版本兼容,由此确保目标终端对口腔扫描设备的成功控制。In some embodiments of the present application, by authenticating the firmware version information, it can be determined whether the scanning software versions of the oral scanning device and the target terminal are compatible. If they are not compatible, the oral scanning software version can be upgraded or downgraded. The firmware version of the scanning device is compatible with the scanning software version, thereby ensuring successful control of the oral scanning device by the target terminal.
在本申请的一些实施例中,通过对设备标识进行认证,可以确定口腔扫描设备是 目标终端有控制权限的设备,由此确保目标终端对口腔扫描设备的成功控制。In some embodiments of the present application, by authenticating the device identification, it can be determined whether the oral scanning device is The target terminal has control authority over the device, thereby ensuring that the target terminal successfully controls the oral scanning device.
在本申请的一些实施例中,目标终端的类型可以有多种,例如,可以是设置有口腔扫描设备控制软件的计算机,也可以是设置有口腔扫描设备控制软件的平板电脑,等等。用于和口腔扫描设备进行一对一绑定的终端标识也可以有多种,例如,可以是终端设备的IP地址信息。In some embodiments of the present application, the target terminal may be of multiple types, for example, it may be a computer equipped with oral scanning device control software, or a tablet computer equipped with oral scanning device control software, etc. There can also be multiple terminal identifiers used for one-to-one binding with the oral scanning device. For example, it can be the IP address information of the terminal device.
通过上述可选实施例,口腔扫描设备通过广播报文的方法,向与其在同一个局域网内的目标终端发送报文,并在接收到目标终端发送的设备绑定请求后,基于目标终端的终端标识,与目标终端进行一对一绑定。口腔扫描设备不需要设置蓝牙,通过蓝牙连接的方法连接目标终端,方法简单、绑定速度快,提高了用户体验。另外,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定,避免多个计算机和同一个口腔扫描设备绑定而造成的对口腔扫描设备控制实时性不好的问题。即,解决了在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。Through the above optional embodiment, the oral scanning device sends a message to the target terminal in the same local area network by broadcasting the message, and after receiving the device binding request sent by the target terminal, the terminal based on the target terminal Identity, one-to-one binding with the target terminal. The oral scanning device does not need to set up Bluetooth. It connects to the target terminal through Bluetooth connection. The method is simple and the binding speed is fast, which improves the user experience. In addition, the oral scanning device is bound one-to-one with the target terminal based on the terminal identification of the target terminal, thereby avoiding the problem of poor real-time control of the oral scanning device caused by binding multiple computers to the same oral scanning device. That is, the technical problem in related technologies that lacks a method to quickly achieve one-to-one binding between the oral scanning device and the computer is solved.
在本申请的一些实施例中,还包括:接收目标终端发送的设备信息调用指令;根据设备信息调用指令,向目标终端发送口腔扫描设备的设备信息。In some embodiments of the present application, the method further includes: receiving a device information calling instruction sent by the target terminal; and sending device information of the oral scanning device to the target terminal according to the device information calling instruction.
向目标终端发送口腔扫描设备的设备信息后,目标终端可以解析设备信息中的详细信息,并将详细信息展示在交互界面上,使用户根据交互界面上的详细信息进行对应的操作,这可以提高用户体验。After sending the device information of the oral scanning device to the target terminal, the target terminal can parse the detailed information in the device information and display the detailed information on the interactive interface, allowing the user to perform corresponding operations based on the detailed information on the interactive interface, which can improve user experience.
在本申请的一些实施例中,同一个局域网中的多个终端设备可以同时接收到多个口腔扫描设备广播的报文,并基于其中的IP地址以TCP协议,调用验证通过的多个口腔扫描设备的详细设备信息的接口,如果调用成功并解析到其中的详细信息,则对应的口腔扫描设备为符合要求的口腔扫描设备,终端设备将符合要求的口腔扫描设备的详细信息,展示在终端设备的软件列表中。同一个终端设备可能获取并展示出多个口腔扫描设备的详细信息,同一个口腔扫描设备的详细信息可能同时显示在多个终端设备上,由此,用户可以在终端设备上灵活选择目标口腔扫描设备,并对目标口腔扫描设备进行绑定,并对绑定成功的口腔扫描设备进行对应控制操作。In some embodiments of the present application, multiple terminal devices in the same local area network can receive messages broadcast by multiple oral scanning devices at the same time, and use the TCP protocol to call multiple oral scanning devices that have passed the verification based on the IP addresses. The interface for detailed device information of the device. If the call is successful and the detailed information is parsed, the corresponding oral scanning device is an oral scanning device that meets the requirements. The terminal device will display the detailed information of the oral scanning device that meets the requirements on the terminal device. in the software list. The same terminal device may obtain and display the detailed information of multiple oral scanning devices, and the detailed information of the same oral scanning device may be displayed on multiple terminal devices at the same time. Therefore, the user can flexibly select the target oral scanning on the terminal device. device, bind the target oral scanning device, and perform corresponding control operations on the successfully bound oral scanning device.
在本申请的一些实施例中,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定,包括:口腔扫描设备基于互斥锁,确定口腔扫描设备与除目标终端之外的其他终端是否已绑定;在口腔扫描设备与除目标终端之外的其他终端未绑定的情况下,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定。In some embodiments of the present application, the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device determines, based on a mutex lock, the oral scanning device and the target terminal other than the target terminal. Whether other terminals have been bound; when the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is bound to the target terminal one-to-one based on the terminal identification of the target terminal.
在本申请的一些实施例中,口腔扫描设备中设有互斥锁,互斥锁为用于实现排他性绑定的字段,当字段为空时,互斥锁处于空闲状态,表示口腔扫描设备未与其他终 端设备绑定;当字段与终端标识绑定时,互斥锁处于忙碌状态,表示口腔扫描设备与对应的终端设备绑定。在一个实施例汇总,终端设备的终端标识为终端设备的IP地址,可以通过互斥锁中写入的IP地址信息确定口腔扫描设备与哪个终端设备绑定。基于互斥锁和目标终端的终端标识,实现口腔扫描设备与目标终端的一对一绑定,绑定方法简单,处理效率高。In some embodiments of the present application, a mutex lock is provided in the oral scanning device. The mutex lock is a field used to implement exclusive binding. When the field is empty, the mutex lock is in an idle state, indicating that the oral scanning device has not end with other The terminal device is bound; when the field is bound to the terminal identification, the mutex lock is in a busy state, indicating that the oral scanning device is bound to the corresponding terminal device. In one embodiment, the terminal identifier of the terminal device is the IP address of the terminal device, and which terminal device the oral scanning device is bound to can be determined through the IP address information written in the mutex lock. Based on the mutex lock and the terminal identification of the target terminal, one-to-one binding of the oral scanning device and the target terminal is realized. The binding method is simple and the processing efficiency is high.
在本申请的一些实施例中,方法还包括:在口腔扫描设备与除目标终端之外的其他终端已绑定的情况下,向其他终端发送解除绑定请求指令;接收其他终端发送的反馈指令;在反馈指令为同意解除绑定的情况下,删除互斥锁中其他终端的其他终端标识,并将目标终端的终端标识写入互斥锁中。由此实现口腔扫描设备在不同终端设备之间的绑定切换,解决了在相关技术中,口腔扫描设备在不同终端设备之间绑定切换时存在的操作不方便,用户体验差的问题。In some embodiments of the present application, the method further includes: when the oral scanning device has been bound to other terminals except the target terminal, sending an unbinding request instruction to the other terminal; receiving a feedback instruction sent by the other terminal ; When the feedback command is to agree to unbind, delete other terminal identifiers of other terminals in the mutex lock, and write the terminal identifier of the target terminal into the mutex lock. This realizes binding and switching of the oral scanning device between different terminal devices, and solves the problems in related technologies of inconvenient operation and poor user experience when the oral scanning device is bound and switched between different terminal devices.
在本申请的一些实施例中,还包括:在反馈指令为不同意解除绑定的情况下,向目标终端发送不同意绑定的反馈信息。目标终端在接收到该反馈信息后,可以将该反馈信息显示在交互界面上,提示用户进行对应的操作,由此可以提高用户体验。In some embodiments of the present application, the method further includes: when the feedback instruction is to disagree with the unbinding, sending feedback information indicating that the binding is not agreed to the target terminal. After receiving the feedback information, the target terminal can display the feedback information on the interactive interface and prompt the user to perform corresponding operations, thereby improving the user experience.
图2是根据本申请实施例的另一种设备绑定方法的流程图。参照图2所示,方法可包括如下步骤:Figure 2 is a flow chart of another device binding method according to an embodiment of the present application. Referring to Figure 2, the method may include the following steps:
步骤S202,目标终端接收口腔扫描设备广播的UDP报文,其中,UDP报文中携带有口腔扫描设备的固件版本信息,以及用于标识口腔扫描设备的设备标识;Step S202: The target terminal receives a UDP message broadcast by the oral scanning device, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device;
步骤S204,目标终端根据固件版本信息和设备标识对口腔扫描设备进行验证;Step S204, the target terminal verifies the oral scanning device according to the firmware version information and device identification;
步骤S206,在目标终端在验证通过的情况下,向口腔扫描设备发送设备绑定请求,其中,设备绑定请求包括目标终端的终端标识,终端标识用于与目标终端进行一对一绑定。Step S206: When the target terminal passes the verification, it sends a device binding request to the oral scanning device, where the device binding request includes the terminal identification of the target terminal, and the terminal identification is used for one-to-one binding with the target terminal.
在本申请的一些实施例中,目标终端接收口腔扫描设备广播的报文,并在根据报文对口腔扫描设备验证通过后,向口腔扫描设备发送设备绑定请求,基于目标终端的终端标识,与口腔扫描设备进行一对一绑定。口腔扫描设备不需要设置蓝牙,通过蓝牙连接的方法连接目标终端,方法简单、绑定速度快,提高了用户体验。另外,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定,避免多个计算机和同一个口腔扫描设备绑定而造成的对口腔扫描设备控制实时性不好的问题。即,解决了在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。In some embodiments of the present application, the target terminal receives the message broadcast by the oral scanning device, and after passing the verification of the oral scanning device according to the message, sends a device binding request to the oral scanning device, based on the terminal identification of the target terminal, One-to-one binding with oral scanning equipment. The oral scanning device does not need to set up Bluetooth. It connects to the target terminal through Bluetooth connection. The method is simple and the binding speed is fast, which improves the user experience. In addition, the oral scanning device is bound one-to-one with the target terminal based on the terminal identification of the target terminal, thereby avoiding the problem of poor real-time control of the oral scanning device caused by binding multiple computers to the same oral scanning device. That is, the technical problem in related technologies that lacks a method to quickly achieve one-to-one binding between the oral scanning device and the computer is solved.
在本申请的一些实施例中,还包括:目标终端向口腔扫描设备发送设备信息调用指令;目标终端接收口腔扫描设备发送的设备信息,并将设备信息显示在交互界面上。 由此,使用户根据交互界面上的设备信息进行对应的操作,这可以提高用户体验。In some embodiments of the present application, the method further includes: the target terminal sending a device information calling instruction to the oral scanning device; the target terminal receiving the device information sent by the oral scanning device and displaying the device information on the interactive interface. This allows the user to perform corresponding operations based on the device information on the interactive interface, which can improve the user experience.
在本申请的一些实施例中,还包括:接收口腔扫描设备发送的反馈信息,其中,反馈信息包括以下之一:第一反馈信息,其中,第一反馈信息用于表示口腔扫描设备根据互斥锁确定口腔扫描设备未与除目标终端之外的其他终端绑定,并与目标终端进行一对一绑定成功;第二反馈信息,其中,第二反馈信息用于表示口腔扫描设备根据互斥锁确定口腔扫描设备已与除目标终端之外的其他终端绑定,但与其他终端解绑,并与目标终端进行一对一绑定成功;第三反馈信息,其中,第三反馈信息用于表示口腔扫描设备根据互斥锁确定口腔扫描设备与除目标终端之外的其他终端绑定,且与其他终端解绑失败。接收口腔扫描设备发送的反馈信息,可以使用户直观获取对口腔扫描的绑定结果信息,使用户可以根据绑定结果信息进行后续操作,提高用户体验。In some embodiments of the present application, the method further includes: receiving feedback information sent by the oral scanning device, where the feedback information includes one of the following: first feedback information, where the first feedback information is used to indicate that the oral scanning device is based on mutual exclusion. The lock determines that the oral scanning device is not bound to other terminals except the target terminal, and successfully performs one-to-one binding with the target terminal; second feedback information, wherein the second feedback information is used to indicate that the oral scanning device is based on mutual exclusion The lock determines that the oral scanning device has been bound to other terminals except the target terminal, but is unbound to other terminals, and is successfully bound one-to-one with the target terminal; third feedback information, wherein the third feedback information is used Indicates that the oral scanning device determines based on the mutex lock that the oral scanning device is bound to other terminals except the target terminal, and fails to unbind from other terminals. Receiving the feedback information sent by the oral scanning device allows the user to intuitively obtain the binding result information of the oral scan, so that the user can perform subsequent operations based on the binding result information and improve the user experience.
基于上述实施例及可选实施例,提供了一种可选实施方式,下面具体说明。Based on the above embodiments and optional embodiments, an optional implementation manner is provided, which is described in detail below.
在本申请的一些实施例中,以目标终端是计算机为例进行说明。需要说明的是,目标终端也可以是其他终端设备,比如,可以是移动手机、平板电脑,等等。In some embodiments of the present application, the target terminal is a computer as an example for description. It should be noted that the target terminal can also be other terminal devices, for example, it can be a mobile phone, a tablet computer, etc.
鉴于此,在本申请实施方式中,提供了一种设备绑定方法。In view of this, in an embodiment of the present application, a device binding method is provided.
在本申请的一些实施例中,以目标终端为计算机,以终端标识为计算机的IP地址为例进行说明。In some embodiments of the present application, the target terminal is a computer and the terminal identifier is the IP address of the computer as an example for explanation.
在相关技术中,对设备和计算机进行绑定的方法,主要包括以下两种。一种是类似蓝牙鼠标的绑定方法,具体的,要让蓝牙鼠标和计算机连接,首先要让蓝牙鼠标进入配对模式,通过长按蓝牙鼠标上的配对按钮来实现配对,然后进入计算机的蓝牙管理,选择蓝牙鼠标进行连接,连接成功后就可以在这台计算机上使用蓝牙鼠标。这种连接方法存在如下缺点:当其他计算机想要连接蓝牙鼠标时,需要重复以此前述的连接过程,两台不同的计算机不能够快速切换和蓝牙鼠标的连接,即换计算机后必须重现连接。另一种是类似网络打印机的绑定方法,具体的,计算机通过嗅探搜索局域网内的网络打印机,搜索到后尝试使用标准打印协议连接网络打印机,如果不支持标准协议,则还需要先安装打印机驱动。这种方法存在如下缺点:网络打印机是被多个计算机共享的,实时性不好。即,在相关技术中,存在无法使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。In related technologies, methods for binding devices and computers mainly include the following two methods. One is a binding method similar to a Bluetooth mouse. Specifically, to connect a Bluetooth mouse to a computer, you must first enter the pairing mode, long press the pairing button on the Bluetooth mouse to achieve pairing, and then enter the computer's Bluetooth management. , select the Bluetooth mouse to connect. After the connection is successful, you can use the Bluetooth mouse on this computer. This connection method has the following disadvantages: when other computers want to connect to a Bluetooth mouse, they need to repeat the above-mentioned connection process. Two different computers cannot quickly switch the connection with the Bluetooth mouse, that is, the connection must be repeated after changing computers. . The other is a binding method similar to a network printer. Specifically, the computer searches for network printers in the LAN through sniffing. After searching, it tries to use the standard printing protocol to connect to the network printer. If the standard protocol is not supported, the printer needs to be installed first. drive. This method has the following shortcomings: the network printer is shared by multiple computers, and the real-time performance is not good. That is, in the related art, there is a technical problem that there is no method for quickly realizing one-to-one binding between the oral scanning device and the computer.
针对相关技术中的上述问题,在本申请实施例通过口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带 有所述目标终端的终端标识;所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。以此解决在相关技术中,存在无法使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。In order to solve the above problems in the related art, in the embodiment of the present application, the oral scanning device broadcasts a user data protocol UDP message, wherein the UDP message carries the firmware version information of the oral scanning device and is used to identify the oral scanning device. The device identification of the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is the target terminal based on the firmware version information and the device identification. The oral scanning device is authenticated and authenticated by sending the device binding request carried in the There is a terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal. This solves the technical problem in related technologies that there is no way to quickly achieve one-to-one binding between the oral scanning device and the computer.
需要说明的是,在本申请的一些实施例中,口腔扫描设备的状态包括如下三种:离线状态。此时设备没有接入到和计算机相同的WiFi网络。在线非扫描状态。此时设备已经连入了和计算机相同的WiFi网络,但是处于待机状态,没有正在进行的扫描任务。扫描状态。此时设备已经在某个扫描软件的控制下正在进行扫描任务。It should be noted that in some embodiments of the present application, the states of the oral scanning device include the following three: offline state. At this time, the device is not connected to the same WiFi network as the computer. Online non-scanning status. At this time, the device has been connected to the same WiFi network as the computer, but is in standby mode and has no ongoing scanning tasks. Scan status. At this time, the device is already performing a scanning task under the control of a scanning software.
计算机通过扫描软件控制口腔扫描设备,扫描软件上设有设备列表,列表上可以展示口腔扫描设备的四种状态:第一种是离线状态,这种状态表示口腔扫描设备曾经连入过当前WiFi网络,但是此时不在当前网络中。第二种是在线非扫描状态,在这种状态下时,表面口腔扫描设备已经连入了和计算机相同的WiFi网络,但是处于待机状态,没有正在进行的扫描任务,该状态下可以连接当前扫描软件进行扫描任务。第三种是被其他扫描软件驱动下的扫描状态。这台设备正在别的计算机上的扫描软件控制下进行扫描任务。该状态下不能够再和当前扫描软件连接进行扫描任务。当前扫描软件驱动下的扫描状态。第四种是口腔扫描设备正在当前软件的控制下进行扫描任务。不能够被其他计算机上的扫描软件连接进行其他扫描任务。The computer controls the oral scanning device through the scanning software. There is a device list on the scanning software. The list can display the four states of the oral scanning device: the first is the offline state, which indicates that the oral scanning device has been connected to the current WiFi network. , but is not in the current network at this time. The second is the online non-scanning state. In this state, the surface oral scanning device has been connected to the same WiFi network as the computer, but is in standby state and has no ongoing scanning tasks. In this state, the current scanning device can be connected. The software performs scanning tasks. The third type is the scanning state driven by other scanning software. This device is scanning under the control of scanning software on another computer. In this state, you can no longer connect to the current scanning software to perform scanning tasks. The scanning status under the current scanning software driver. The fourth is that the oral scanning device is performing scanning tasks under the control of the current software. It cannot be connected by scanning software on other computers to perform other scanning tasks.
扫描设备与计算机绑定的方法主要分为两个步骤:计算机发现口腔扫描设备,并在发现的口腔扫描设备中确定要绑定的口腔扫描设备,对该口腔扫描设备进行绑定。下面具体说明。The method of binding the scanning device to the computer is mainly divided into two steps: the computer discovers the oral scanning device, determines the oral scanning device to be bound among the discovered oral scanning devices, and binds the oral scanning device. The details are explained below.
图3是根据本申请实施例的一种计算机发现口腔扫描设备的方法流程图。参照图3,计算机发现口腔扫描设备的方法主要包括如下步骤:Figure 3 is a flow chart of a method for a computer to discover an oral scanning device according to an embodiment of the present application. Referring to Figure 3, the method for the computer to discover the oral scanning device mainly includes the following steps:
计算机端扫描软件运行起来后会运行一个UDP服务器(User Datagram Protocol,用户数据报协议),监听一个固定端口号的UDP报文。After the computer-side scanning software is run, it will run a UDP server (User Datagram Protocol) and listen for UDP messages with a fixed port number.
口腔扫描设备连接到和计算机相同的WiFi之后,向局域网广播UDP报文,内容包括:设备当前WiFi下的IP地址、设备序列号和设备固件版本。After the oral scanning device is connected to the same WiFi as the computer, it broadcasts a UDP message to the LAN. The content includes: the IP address of the device under the current WiFi, the device serial number and the device firmware version.
当扫描软件收到该UDP报文时,扫描软件解析报文中的信息,并通过连接云平台判断设备序列号是否有效以及固件版本是否能够支持。其中,判断设备序列号是否有效的方法包括如下步骤:云平台的数据库中预存储有具备控制权限的设备序列号,扫描软件解析处设备序列号后,会将解析出的设备序列号和数据库中预存储的序列号进行比对,在比对通过时,说明该设备序列号为有效的设备序列号,反之则为无效的设备序列号。其中,判断固件版本是否能够支持,具体包括如下步骤:比对扫描软件版本和口腔扫描设备的固件版本,若二者不兼容,通过调整固件版本或扫描软件版本, 使扫描软件和口腔扫描设备的固件版本兼容,由此确保扫描软件可以控制口腔扫描设备。When the scanning software receives the UDP message, the scanning software parses the information in the message and determines whether the device serial number is valid and whether the firmware version is supported by connecting to the cloud platform. Among them, the method to determine whether the device serial number is valid includes the following steps: the cloud platform database has pre-stored device serial numbers with control permissions. After the device serial number is parsed by the scanning software, the parsed device serial number will be compared with the device serial number in the database. The pre-stored serial numbers are compared. If the comparison passes, it means that the device serial number is a valid device serial number, otherwise it is an invalid device serial number. Among them, judging whether the firmware version can be supported specifically includes the following steps: compare the scanning software version and the firmware version of the oral scanning device. If the two are incompatible, adjust the firmware version or the scanning software version. Make the firmware versions of the scanning software and the oral scanning device compatible, thereby ensuring that the scanning software can control the oral scanning device.
在验证通过的情况下,计算机中的扫描软件通过其中的IP地址以TCP协议连接设备,调用设备端获取详细设备信息的接口。如果调用成功并且解析到详细信息结果,则该设备是符合要求的口腔扫描设备,将解析到的详细信息结果显示在扫描软件的可扫描的设备列表中。When the verification is passed, the scanning software in the computer connects to the device through the TCP protocol through the IP address and calls the interface on the device side to obtain detailed device information. If the call is successful and the detailed information result is parsed, the device is an oral scanning device that meets the requirements, and the parsed detailed information result will be displayed in the scannable device list of the scanning software.
在一个实施方式中,在口腔扫描设备上添加显示屏或触摸屏,将所有发现的计算机上的扫描软件都列出来,然后在设备上选择当前和哪台计算机的扫描软件连接进行扫描任务。这种方法虽然需要在口腔扫描设备中增设对应的硬件,这会影响口腔扫描设备的体积,但可以使用户直观获取捕捉到口腔扫描设备报文的计算机信息。In one embodiment, a display screen or touch screen is added to the oral scanning device, the scanning software on all discovered computers is listed, and then the scanning software of which computer is currently connected to the device is selected to perform the scanning task. Although this method requires adding corresponding hardware to the oral scanning device, which will affect the size of the oral scanning device, it allows users to intuitively obtain computer information that captures messages from the oral scanning device.
由于一台设备同一时间只能连接一台计算机上的扫描软件进行扫描,所以需要管理扫描软件和当前扫描设备的对应关系,其中关键技术是每台设备(扫描仪)的固件上都有一把互斥锁Mutex,用以控制当前的状态。需要明白的是,互斥锁一共有三种状态:包括空闲、忙碌和不在线(wifi未连接)。可以将互斥锁理解为一个字段,当字段为空时,锁处于空闲状态;当字段被绑定一个IP地址时,锁处于忙碌状态,可以通过字段的IP地址确定口腔扫描设备与哪个计算机连接。Since a device can only connect to the scanning software on one computer at a time for scanning, it is necessary to manage the corresponding relationship between the scanning software and the current scanning device. The key technology is that the firmware of each device (scanner) has an interactive Exclusion lock Mutex is used to control the current state. What needs to be understood is that the mutex lock has three states: idle, busy and offline (wifi is not connected). The mutex lock can be understood as a field. When the field is empty, the lock is in an idle state; when the field is bound to an IP address, the lock is in a busy state. The IP address of the field can be used to determine which computer the oral scanning device is connected to. .
对互斥锁的状态进行进一步说明:互斥锁处于空闲状态时,表示设备已经连入WiFi,但是没有被任何扫描软件驱动进行扫描任务;互斥锁处于忙碌状态时,表示该状态表示设备已经被某台计算机上的扫描软件控制,正在进行扫描任务。Further explanation of the status of the mutex lock: when the mutex lock is in the idle state, it means that the device has been connected to WiFi, but is not driven by any scanning software to perform scanning tasks; when the mutex lock is in the busy state, it means that the device has been Controlled by the scanning software on a certain computer, the scanning task is in progress.
其中,口腔扫描设备上设置有一个或多个指示灯,可以通过指示灯亮或不亮表示口腔扫描设备中互斥锁的状态。例如,当互斥锁处于空闲状态时,指示灯亮起,在互斥锁处于忙碌状态时,指示灯不亮。也可以通过指示灯的颜色表示口腔扫描设备中互斥锁的状态,例如在口腔扫描设备上设置红色、黄色和绿色三种颜色的指示灯,当互斥锁处于空闲状态时绿灯亮起,当互斥锁处于忙碌状态时黄灯亮起,当互斥锁处于不在线状态时红灯亮起。需要明白的是,指示灯亮或不亮,以及指示灯的不同颜色和互斥锁状态之间的对应方式,并不局限于前述的几种,也包括其他对应方式。另外,也可以通过语音播报等方式告知用户互斥锁的状态。Among them, one or more indicator lights are provided on the oral scanning device, and the status of the mutex lock in the oral scanning device can be indicated by the indicator lights being on or off. For example, when the mutex is idle, the light is on, and when the mutex is busy, the light is off. The status of the mutex lock in the oral scanning device can also be indicated by the color of the indicator light. For example, three color indicators of red, yellow and green are set on the oral scanning device. When the mutex lock is idle, the green light lights up. The yellow light turns on when the mutex is busy, and the red light turns on when the mutex is offline. What needs to be understood is that the corresponding ways between whether the indicator light is on or off, and the different colors of the indicator light and the status of the mutex lock are not limited to the aforementioned ones, but also include other corresponding ways. In addition, the user can also be informed of the status of the mutex lock through voice broadcast and other methods.
图4是根据本申请实施例的一种计算机和口腔扫描设备绑定的方法流程图。参照图4,方法包括如下步骤:Figure 4 is a flow chart of a method for binding a computer and an oral scanning device according to an embodiment of the present application. Referring to Figure 4, the method includes the following steps:
如果设备当前已联网并处于非扫描状态,则该锁处于可配置状态,即可被任何计算机上的扫描软件获取;如果有扫描软件申请拿锁,则将锁分配给该扫描软件,并将锁的状态设置为已分配。 If the device is currently connected to the Internet and is in a non-scanning state, the lock is in a configurable state and can be obtained by the scanning software on any computer; if a scanning software applies for a lock, the lock is assigned to the scanning software and the lock is 's status is set to Assigned.
此时如果有其他扫描软件申请锁,则向有锁的扫描软件发出申请,询问是否释放锁;若用户点同意,则计算机A与该口腔扫描设备的连接断开,使锁的字段变为空,将算机B的IP地址写入互斥锁中。若用户点不同意,则不会断开计算机A与该口腔扫描设备的连接,互斥锁的字段还是被计算机A的IP占用,不能在互斥锁中写入计算机B的IP地址。At this time, if other scanning software applies for a lock, it will send an application to the locked scanning software and ask whether to release the lock; if the user clicks to agree, the connection between computer A and the oral scanning device is disconnected, making the lock field empty. , write the IP address of computer B into the mutex lock. If the user disagrees, the connection between computer A and the oral scanning device will not be disconnected. The field of the mutex is still occupied by the IP of computer A, and the IP address of computer B cannot be written in the mutex.
当有互斥锁的扫描软件拒绝解绑时,会向申请绑定的扫描软件返回错误。When the scanning software with a mutex lock refuses to unbind, an error will be returned to the scanning software that applied for binding.
如果有互斥锁的扫描软件同意,则会释放互斥锁,将互斥锁的所有权转移给申请互斥锁的扫描软件。If the scanning software for the mutex lock agrees, the mutex lock will be released and the ownership of the mutex lock will be transferred to the scanning software that applied for the mutex lock.
有互斥锁的扫描软件也可以主动释放锁,此后互斥锁就处于空闲状态。具体的,当一个扫描工作完成后,弹出提示框,由用户确定是否断开连接,若是,使互斥锁的字段变为空,由此实现释放锁,使扫描软件和口腔扫描设备解绑。另外,用户随时可以点击扫描软件的设备管理,更改口腔扫描设备的状态,从而断开连接。Scanning software with a mutex lock can also actively release the lock, and the mutex lock will be idle thereafter. Specifically, when a scanning job is completed, a prompt box pops up and the user determines whether to disconnect. If so, the mutex lock field becomes empty, thereby releasing the lock and unbinding the scanning software and the oral scanning device. In addition, users can click the device management of the scanning software at any time to change the status of the oral scanning device and thereby disconnect.
在本申请的一些实施例中,无线版口腔扫描设备配网之后,会和与其位于同一WiFi网络内的计算机扫描软件配对连接,从而可以从扫描软件上控制设备进行扫描。在本可选实施方式中,设备的自动发信由设备自身通过UDP广播,无需计算机便利局域网网段,速度更快;设备的锁可以管理当前正在进行扫描任务的计算机,可以确保同一时间只有一台计算机可以进行扫描任务;多台计算机之间可以通过锁的状态以及询问轻松转移锁的所有权,从而允许一台口腔扫描设备可以在不同的计算机的扫描软件之间快速切换、轻松连接。即,在本可选实施方式中,局域网内计算机扫描软件自动发现设备,计算机端扫描软件可以快速选择哪个设备作为当前扫描设备,并确保不同的计算机上的扫描软件能够互斥地使用同一台设备进行扫描工作。In some embodiments of the present application, after the wireless version of the oral scanning device is connected to the network, it will be paired and connected with the computer scanning software located in the same WiFi network, so that the device can be controlled from the scanning software to scan. In this optional implementation, the automatic sending of messages by the device is broadcast by the device itself through UDP, without the need for a computer to facilitate the local area network segment, and the speed is faster; the lock of the device can manage the computer currently performing the scanning task, ensuring that only one computer is currently performing the scanning task. A single computer can perform scanning tasks; lock ownership can be easily transferred between multiple computers through lock status and query, allowing an oral scanning device to quickly switch and easily connect between scanning software on different computers. That is, in this optional implementation, the computer scanning software in the local area network automatically discovers the device, and the computer-side scanning software can quickly select which device is the current scanning device, and ensure that scanning software on different computers can use the same device mutually exclusive Carry out scanning work.
根据本申请实施例,还提供了一种用于实施上述设备绑定方法的装置,图5是根据本申请实施例的一种设备绑定装置的结构框图,如图5所示,该设备绑定装置包括:报文广播模块502、接收模块504和绑定模块506,下面详细说明。According to an embodiment of the present application, a device for implementing the above device binding method is also provided. Figure 5 is a structural block diagram of a device binding device according to an embodiment of the present application. As shown in Figure 5, the device binding method The specific device includes: message broadcast module 502, receiving module 504 and binding module 506, which will be described in detail below.
报文广播模块502,用于口腔扫描设备广播用户数据协议UDP报文,其中,UDP报文中携带有口腔扫描设备的固件版本信息,以及用于标识口腔扫描设备的设备标识;接收模块504,连接于上述报文广播模块502,用于口腔扫描设备接收目标终端发送的设备绑定请求,其中,设备绑定请求是目标终端基于固件版本信息和设备标识对口腔扫描设备进行验证并验证通过发送的,设备绑定请求中携带有目标终端的终端标识;绑定模块506,连接于上述接收模块504,用于口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定。The message broadcast module 502 is used for the oral scanning device to broadcast user data protocol UDP messages, where the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device; the receiving module 504, Connected to the above-mentioned message broadcast module 502, it is used for the oral scanning device to receive a device binding request sent by the target terminal, where the device binding request is the target terminal's verification of the oral scanning device based on the firmware version information and the device identification and the verification is sent. , the device binding request carries the terminal identification of the target terminal; the binding module 506 is connected to the above-mentioned receiving module 504, and is used for the oral scanning device to perform one-to-one binding with the target terminal based on the terminal identification of the target terminal.
此处需要说明的是,上述报文广播模块502、接收模块504和绑定模块506对应 于前述的步骤S102至步骤S106,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例所公开的内容。It should be noted here that the above message broadcast module 502, receiving module 504 and binding module 506 correspond to In the aforementioned steps S102 to S106, the examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.
本申请的实施例提供一种口腔扫描设备,包括:至少一个处理器,以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以及至少一个处理器能够执行上述任一项的方法。Embodiments of the present application provide an oral scanning device, including: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by at least one processor, and the instructions are processed by at least one processor. processor execution, and at least one processor capable of executing any of the above methods.
其中,存储器可用于存储软件程序以及模块,如本申请实施例中的设备绑定方法和装置对应的程序指令/模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的设备绑定方法。存储器可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the device binding method and device in the embodiments of the present application. The processor executes various functions by running the software programs and modules stored in the memory. Application and data processing, that is, implementing the above device binding method. Memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely relative to the processor, and these remote memories may be connected to the computer terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:口腔扫描设备广播用户数据协议UDP报文,其中,UDP报文中携带有口腔扫描设备的固件版本信息,以及用于标识口腔扫描设备的设备标识;口腔扫描设备接收目标终端发送的设备绑定请求,其中,设备绑定请求是目标终端基于固件版本信息和设备标识对口腔扫描设备进行验证并验证通过发送的,设备绑定请求中携带有目标终端的终端标识;口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定。The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: the oral scanning device broadcasts a user data protocol UDP message, where the UDP message carries the firmware version information of the oral scanning device and the user data. The device identification used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, where the device binding request is sent by the target terminal to verify the oral scanning device based on the firmware version information and the device identification and the verification is passed. The device binding request carries the terminal identification of the target terminal; the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
在本申请的一些实施例中,上述处理器还可以执行如下步骤的程序代码:接收目标终端发送的设备信息调用指令;根据设备信息调用指令,向目标终端发送口腔扫描设备的设备信息。In some embodiments of the present application, the above-mentioned processor can also execute the program code of the following steps: receiving the device information calling instruction sent by the target terminal; and sending the device information of the oral scanning device to the target terminal according to the device information calling instruction.
在本申请的一些实施例中,上述处理器还可以执行如下步骤的程序代码:口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定,包括:口腔扫描设备基于互斥锁,确定口腔扫描设备与除目标终端之外的其他终端是否已绑定;在口腔扫描设备与除目标终端之外的其他终端未绑定的情况下,口腔扫描设备基于目标终端的终端标识,与目标终端进行一对一绑定。In some embodiments of the present application, the above processor can also execute the program code of the following steps: the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including: the oral scanning device uses a mutex lock , determine whether the oral scanning device is bound to other terminals except the target terminal; when the oral scanning device is not bound to other terminals except the target terminal, the oral scanning device is based on the terminal identification of the target terminal, and The target terminal performs one-to-one binding.
在本申请的一些实施例中,上述处理器还可以执行如下步骤的程序代码:在口腔扫描设备与除目标终端之外的其他终端已绑定的情况下,向其他终端发送解除绑定请求指令;接收其他终端发送的反馈指令;在反馈指令为同意解除绑定的情况下,删除互斥锁中其他终端的其他终端标识,并将目标终端的终端标识写入互斥锁中。In some embodiments of the present application, the above-mentioned processor can also execute the program code of the following steps: when the oral scanning device has been bound to other terminals except the target terminal, send an unbinding request instruction to the other terminal. ; Receive feedback instructions sent by other terminals; when the feedback instructions are to agree to unbind, delete other terminal identifiers of other terminals in the mutex lock, and write the terminal identifier of the target terminal into the mutex lock.
在本申请的一些实施例中,上述处理器还可以执行如下步骤的程序代码:在反馈指令为不同意解除绑定的情况下,向目标终端发送不同意绑定的反馈信息。 In some embodiments of the present application, the above-mentioned processor can also execute the program code of the following steps: when the feedback instruction is to disagree with the unbinding, send feedback information indicating that the binding is not agreed to the target terminal.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program. The program can be stored in a computer-readable storage medium, and the storage medium can Including: flash disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其他的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units may be a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code. .
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。 The above are only preferred embodiments of the present application. It should be pointed out that those of ordinary skill in the art can also make several improvements and modifications without departing from the principles of the present application. These improvements and modifications can also be made. should be regarded as the scope of protection of this application.
工业实用性Industrial applicability
本申请实施例提供的方案可应用于智能控制领域,在本申请实施例中,通过口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定,进而解决了在相关技术中,缺少使口腔扫描设备和计算机快速实现一对一绑定的方法的技术问题。 The solution provided by the embodiment of the present application can be applied to the field of intelligent control. In the embodiment of the present application, the user data protocol UDP message is broadcast through the oral scanning device, wherein the UDP message carries the firmware of the oral scanning device. version information, and a device identifier used to identify the oral scanning device; the oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is based on the firmware version information of the target terminal The oral scanning device is verified and sent with the device identification, and the device binding request carries the terminal identification of the target terminal; the oral scanning device is based on the terminal identification of the target terminal, One-to-one binding is performed with the target terminal, thereby solving the technical problem in related technologies of the lack of a method for quickly realizing one-to-one binding between the oral scanning device and the computer.

Claims (10)

  1. 一种设备绑定方法,包括:A device binding method includes:
    口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;The oral scanning device broadcasts a user data protocol UDP message, wherein the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device;
    所述口腔扫描设备接收目标终端发送的设备绑定请求,其中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;The oral scanning device receives a device binding request sent by the target terminal, wherein the device binding request is that the target terminal verifies the oral scanning device based on the firmware version information and the device identification and passes the verification. Sent, the device binding request carries the terminal identification of the target terminal;
    所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。The oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  2. 根据权利要求1所述的方法,其中,还包括:The method of claim 1, further comprising:
    接收所述目标终端发送的设备信息调用指令;Receive the device information calling instruction sent by the target terminal;
    根据所述设备信息调用指令,向所述目标终端发送所述口腔扫描设备的设备信息。According to the device information calling instruction, the device information of the oral scanning device is sent to the target terminal.
  3. 根据权利要求1所述的方法,其中,所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定,包括:The method according to claim 1, wherein the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal, including:
    所述口腔扫描设备基于互斥锁,确定所述口腔扫描设备与除所述目标终端之外的其他终端是否已绑定;The oral scanning device determines whether the oral scanning device has been bound to other terminals except the target terminal based on a mutex lock;
    在所述口腔扫描设备与除所述目标终端之外的其他终端未绑定的情况下,所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。When the oral scanning device is not bound to any terminal other than the target terminal, the oral scanning device performs one-to-one binding with the target terminal based on the terminal identification of the target terminal.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, further comprising:
    在所述口腔扫描设备与除所述目标终端之外的其他终端已绑定的情况下,向所述其他终端发送解除绑定请求指令;When the oral scanning device has been bound to other terminals except the target terminal, sending an unbinding request instruction to the other terminal;
    接收所述其他终端发送的反馈指令;Receive feedback instructions sent by the other terminals;
    在所述反馈指令为同意解除绑定的情况下,删除所述互斥锁中所述其他终端的其他终端标识,并将所述目标终端的终端标识写入所述互斥锁中。When the feedback instruction is to agree to unbind, delete the other terminal identifiers of the other terminals in the mutex lock, and write the terminal identifier of the target terminal into the mutex lock.
  5. 根据权利要求4所述的方法,其中,还包括:The method of claim 4, further comprising:
    在所述反馈指令为不同意解除绑定的情况下,向所述目标终端发送不同意绑定的反馈信息。 When the feedback instruction is that the user does not agree to unbind, feedback information indicating that the user does not agree to unbind is sent to the target terminal.
  6. 一种设备绑定方法,包括:A device binding method includes:
    目标终端接收口腔扫描设备广播的UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及用于标识所述口腔扫描设备的设备标识;The target terminal receives a UDP message broadcast by the oral scanning device, wherein the UDP message carries firmware version information of the oral scanning device and a device identifier used to identify the oral scanning device;
    所述目标终端根据所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证;The target terminal verifies the oral scanning device according to the firmware version information and the device identification;
    在所述目标终端在验证通过的情况下,向所述口腔扫描设备发送设备绑定请求,其中,所述设备绑定请求包括所述目标终端的终端标识,所述终端标识用于与所述目标终端进行一对一绑定。When the target terminal passes the verification, a device binding request is sent to the oral scanning device, wherein the device binding request includes a terminal identification of the target terminal, and the terminal identification is used to communicate with the oral scanning device. The target terminal performs one-to-one binding.
  7. 根据权利要求6所述的方法,其中,还包括:The method of claim 6, further comprising:
    所述目标终端向所述口腔扫描设备发送设备信息调用指令;The target terminal sends a device information calling instruction to the oral scanning device;
    所述目标终端接收所述口腔扫描设备发送的设备信息,并将所述设备信息显示在交互界面上。The target terminal receives the device information sent by the oral scanning device and displays the device information on the interactive interface.
  8. 根据权利要求7所述的方法,其中,还包括:The method of claim 7, further comprising:
    接收所述口腔扫描设备发送的反馈信息,其中,所述反馈信息包括以下之一:Receive feedback information sent by the oral scanning device, where the feedback information includes one of the following:
    第一反馈信息,其中,所述第一反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备未与除所述目标终端之外的其他终端绑定,并与所述目标终端进行一对一绑定成功;First feedback information, wherein the first feedback information is used to indicate that the oral scanning device determines according to the mutex lock that the oral scanning device is not bound to other terminals except the target terminal, and is bound to the target terminal. The one-to-one binding of the target terminal is successful;
    第二反馈信息,其中,所述第二反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备已与除所述目标终端之外的其他终端绑定,但与所述其他终端解绑,并与所述目标终端进行一对一绑定成功;Second feedback information, wherein the second feedback information is used to indicate that the oral scanning device determines according to the mutex lock that the oral scanning device has been bound to other terminals except the target terminal, but is not bound to the target terminal. Other terminals are unbound and successfully one-to-one binding with the target terminal;
    第三反馈信息,其中,所述第三反馈信息用于表示所述口腔扫描设备根据互斥锁确定所述口腔扫描设备与除所述目标终端之外的其他终端绑定,且与所述其他终端解绑失败。Third feedback information, wherein the third feedback information is used to indicate that the oral scanning device determines based on the mutex lock that the oral scanning device is bound to other terminals except the target terminal and is bound to the other terminal. Terminal unbinding failed.
  9. 一种设备绑定装置,包括:A device binding device includes:
    报文广播模块,设置为口腔扫描设备广播用户数据协议UDP报文,其中,所述UDP报文中携带有所述口腔扫描设备的固件版本信息,以及设置为标识所述口腔扫描设备的设备标识;A message broadcast module configured for the oral scanning device to broadcast user data protocol UDP messages, wherein the UDP message carries firmware version information of the oral scanning device, and is configured to identify a device identifier of the oral scanning device. ;
    接收模块,设置为所述口腔扫描设备接收目标终端发送的设备绑定请求,其 中,所述设备绑定请求是所述目标终端基于所述固件版本信息和所述设备标识对所述口腔扫描设备进行验证并验证通过发送的,所述设备绑定请求中携带有所述目标终端的终端标识;A receiving module configured for the oral scanning device to receive a device binding request sent by the target terminal, wherein , the device binding request is sent by the target terminal to verify and pass the oral scanning device based on the firmware version information and the device identification, and the device binding request carries the target The terminal identification of the terminal;
    绑定模块,设置为所述口腔扫描设备基于所述目标终端的终端标识,与所述目标终端进行一对一绑定。The binding module is configured to perform one-to-one binding between the oral scanning device and the target terminal based on the terminal identification of the target terminal.
  10. 一种口腔扫描设备,包括:An oral scanning device including:
    至少一个处理器,以及at least one processor, and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以及所述至少一个处理器能够执行权利要求1至5中任一项所述的方法。 The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, and the at least one processor is capable of executing the method of any one of claims 1 to 5 method.
PCT/CN2023/104200 2022-06-30 2023-06-29 Device binding method and apparatus, and computer readable storage medium WO2024002301A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210761606.1 2022-06-30
CN202210761606.1A CN115150482A (en) 2022-06-30 2022-06-30 Equipment binding method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2024002301A1 true WO2024002301A1 (en) 2024-01-04

Family

ID=83410135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/104200 WO2024002301A1 (en) 2022-06-30 2023-06-29 Device binding method and apparatus, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN115150482A (en)
WO (1) WO2024002301A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150482A (en) * 2022-06-30 2022-10-04 先临三维科技股份有限公司 Equipment binding method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379354A (en) * 2018-10-10 2019-02-22 小雅智能平台(深圳)有限公司 A kind of methods, devices and systems for binding smart machine
US20220058901A1 (en) * 2019-08-02 2022-02-24 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling a smart lock
CN114650522A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on low-power-consumption Bluetooth broadcast
CN114650520A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on standard Bluetooth broadcast
CN115150482A (en) * 2022-06-30 2022-10-04 先临三维科技股份有限公司 Equipment binding method and device and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107155123A (en) * 2017-06-14 2017-09-12 深圳Tcl新技术有限公司 Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set
CN111343057B (en) * 2018-12-19 2021-09-10 九阳股份有限公司 Control method of intelligent household appliance and intelligent household appliance
CN110300117B (en) * 2019-07-05 2021-03-02 杭州博联智能科技股份有限公司 IOT device and user binding authentication method, device and medium
CN110809308A (en) * 2019-09-29 2020-02-18 上海商米科技集团股份有限公司 Method and device for automatically connecting IOT device and WIFI router
CN111796145A (en) * 2020-07-03 2020-10-20 山东德源电力科技股份有限公司 Method and system for communication and control of external circuit breaker of electric energy meter
CN112765585B (en) * 2021-01-06 2024-03-08 凯联医疗科技(上海)有限公司 Bluetooth binding and two-dimension code verification combined device mutual identification and verification method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379354A (en) * 2018-10-10 2019-02-22 小雅智能平台(深圳)有限公司 A kind of methods, devices and systems for binding smart machine
US20220058901A1 (en) * 2019-08-02 2022-02-24 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling a smart lock
CN114650522A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on low-power-consumption Bluetooth broadcast
CN114650520A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on standard Bluetooth broadcast
CN115150482A (en) * 2022-06-30 2022-10-04 先临三维科技股份有限公司 Equipment binding method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN115150482A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US11490323B2 (en) Method and device for accessing a network hotspot device by an unconfigured device
CN110191450B (en) Service connection establishing method, Bluetooth main device, chip and Bluetooth system
WO2018077018A1 (en) Networking method and device, network connection method and device, router, and smart home appliance
WO2024002301A1 (en) Device binding method and apparatus, and computer readable storage medium
US9210732B2 (en) Wireless communication device registration in a wireless network
JP5743174B2 (en) Thin client server system and USB device driver management method
US8392531B2 (en) Unified device management method and system
US20230078546A1 (en) Data transmission for service integration between a virtual private cloud and an intranet
US9817772B2 (en) Systems and methods for exchanging USB information with selected remote devices
WO2012088954A1 (en) Method, apparatus and system for management of network configuration based on network configuration protocol
WO2017020790A1 (en) Multi-screen control method and device
JP2011170839A (en) Processing system and method for connecting to remote usb device automatically
WO2009097776A1 (en) System, device and method for achieving service upgrade
CN102143138A (en) Method and device for configuring virtual local area network (VLAN) in live migration process of virtual machine
US20150195161A1 (en) Communication apparatus capable of preventing data erroneous transmission, control method therefor, and storage medium storing control program therefor
WO2015081526A1 (en) Control method in software-defined network, control device, and processor
CN109890017B (en) Method, device and equipment for connecting with central equipment and readable storage medium
WO2017071567A1 (en) Connection control method and device for wireless fidelity (wi-fi) hotspot
US10938973B2 (en) Method and system for searching for object in network
CA2936055A1 (en) Access control device, communication system, program, and method for controlling access
CN112187486A (en) Interaction method between intelligent devices and intelligent devices
WO2016188081A1 (en) Extended port processing method, apparatus and system
JPH08115284A (en) Crt switching method
US20240048990A1 (en) Bluetooth connection method and system, intelligent terminal, and computer storage medium
WO2017054534A1 (en) A method and device for sending a media access control (mac) address, and service distribution

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

Country of ref document: EP

Kind code of ref document: A1