CN115150482A - Equipment binding method and device and computer readable storage medium - Google Patents

Equipment binding method and device and computer readable storage medium Download PDF

Info

Publication number
CN115150482A
CN115150482A CN202210761606.1A CN202210761606A CN115150482A CN 115150482 A CN115150482 A CN 115150482A CN 202210761606 A CN202210761606 A CN 202210761606A CN 115150482 A CN115150482 A CN 115150482A
Authority
CN
China
Prior art keywords
oral cavity
target terminal
equipment
cavity scanning
binding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210761606.1A
Other languages
Chinese (zh)
Inventor
陈锦明
刘帅
方彬彬
马超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shining 3D Technology Co Ltd
Original Assignee
Shining 3D Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shining 3D Technology Co Ltd filed Critical Shining 3D Technology Co Ltd
Priority to CN202210761606.1A priority Critical patent/CN115150482A/en
Publication of CN115150482A publication Critical patent/CN115150482A/en
Priority to PCT/CN2023/104200 priority patent/WO2024002301A1/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention discloses a device binding method, a device and a computer readable storage medium. Wherein, the method comprises the following steps: the method comprises the steps that an oral cavity scanning device broadcasts a User Data Protocol (UDP) message, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identifier for identifying the oral cavity scanning device; the method comprises the steps that an oral cavity 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 cavity scanning device based on firmware version information and a device identification, and the device binding request carries the terminal identification of the target terminal; the oral cavity scanning equipment is one-to-one bound with the target terminal based on the terminal identification of the target terminal. The invention solves the technical problem that a method for rapidly realizing one-to-one binding of the oral cavity scanning equipment and the computer in the related art is lacked.

Description

Equipment binding method and device and computer readable storage medium
Technical Field
The invention relates to the field of intelligent control, in particular to a device binding method and device and a computer readable storage medium.
Background
After the oral cavity scanning device is bound with the computer, the oral cavity scanning device can be controlled by the computer to carry out scanning operation.
In the related art, the connection binding of the oral cavity scanning device and the computer is realized by a bluetooth connection method, which can realize the binding of the oral cavity scanning device and the computer, but the bluetooth connection has the problem of inconvenient operation. That is, in the related art, there is a lack of a method for rapidly implementing one-to-one binding of an oral scanning device and a computer.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a device binding method, a device and a computer readable storage medium, which at least solve the technical problem that a method for rapidly realizing one-to-one binding of an oral cavity scanning device and a computer in the related art is lacked.
According to an aspect of an embodiment of the present invention, there is provided a device binding method, including: the method comprises the steps that an oral cavity scanning device broadcasts a User Data Protocol (UDP) message, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identifier for identifying the oral cavity scanning device; the oral cavity scanning equipment receives an equipment binding request sent by a target terminal, wherein the equipment binding request is sent by the target terminal through verification and verification of the oral cavity scanning equipment based on the firmware version information and the equipment identification, and the equipment binding request carries the terminal identification of the target terminal; and the oral cavity scanning equipment is in one-to-one binding with the target terminal based on the terminal identification of the target terminal.
Optionally, the method further comprises: receiving a device information calling instruction sent by the target terminal; and sending the equipment information of the oral cavity scanning equipment to the target terminal according to the equipment information calling instruction.
Optionally, the oral scanning device performs one-to-one binding with the target terminal based on the terminal identifier of the target terminal, including: the oral cavity scanning equipment determines whether the oral cavity scanning equipment is bound with other terminals except the target terminal or not based on a mutual exclusion lock; and under the condition that the oral cavity scanning equipment is not bound with other terminals except the target terminal, the oral cavity scanning equipment is bound with the target terminal in a one-to-one mode based on the terminal identification of the target terminal.
Optionally, the method further comprises: under the condition that the oral cavity scanning equipment is bound with other terminals except the target terminal, sending a binding removal request instruction to the other terminals; receiving feedback instructions sent by other terminals; and deleting other terminal identifications of other terminals in the mutual exclusion lock and writing the terminal identification of the target terminal into the mutual exclusion lock under the condition that the feedback instruction agrees to release the binding.
Optionally, the method further comprises: and sending feedback information which does not agree with the binding to the target terminal under the condition that the feedback instruction does not agree with the unbinding.
According to another aspect of the embodiments of the present invention, there is also provided a device binding method, including: a target terminal receives a UDP message broadcasted by oral cavity scanning equipment, wherein the UDP message carries firmware version information of the oral cavity scanning equipment and an equipment identifier for identifying the oral cavity scanning equipment; the target terminal verifies the oral cavity scanning equipment according to the firmware version information and the equipment identification; and sending an equipment binding request to the oral cavity scanning equipment under the condition that the target terminal passes the verification, wherein the equipment binding request comprises a terminal identifier of the target terminal, and the terminal identifier is used for one-to-one binding with the target terminal.
Optionally, the method further comprises: the target terminal sends a device information calling instruction to the oral cavity scanning device; the target terminal receives the device information sent by the oral cavity scanning device, and displaying the equipment information on an interactive interface.
Optionally, the method further comprises: receiving feedback information sent by the oral cavity scanning equipment, wherein the feedback information comprises one of the following: first feedback information, wherein the first feedback information is used for indicating that the oral cavity scanning device determines, according to a mutex lock, that the oral cavity scanning device is not bound with other terminals except the target terminal, and the oral cavity scanning device is successfully bound with the target terminal in a one-to-one manner; second feedback information, wherein the second feedback information is used for indicating that the oral cavity scanning device determines, according to a mutex lock, that the oral cavity scanning device is bound with other terminals except the target terminal, but unbound with the other terminals, and successfully bound with the target terminal one-to-one; third feedback information, wherein the third feedback information is used for indicating that the oral cavity scanning device determines that the oral cavity scanning device is bound with other terminals except the target terminal according to a mutual exclusion lock, and the binding with the other terminals fails.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for binding devices, including: a message broadcasting module, configured to broadcast a user data protocol UDP message by an oral scanning device, where the UDP message carries firmware version information of the oral scanning device and a device identifier for identifying the oral scanning device; a receiving module, configured to receive, by the oral scanning device, a device binding request sent by a target terminal, where, the device binding request is sent by the target terminal through verification and verification of the oral cavity scanning device based on the firmware version information and the device identification, and the device binding request carries the terminal identification of the target terminal; a binding module for the oral scanning device based on the terminal identification of the target terminal, and carrying out one-to-one binding with the target terminal.
According to another aspect of the embodiments of the present invention, there is also provided an oral cavity scanning apparatus, including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor, and the at least one processor being capable of performing any of the methods described above.
In the embodiment of the invention, a User Data Protocol (UDP) message is broadcasted through an oral cavity scanning device, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identifier for identifying the oral cavity scanning device; the oral cavity scanning equipment receives an equipment binding request sent by a target terminal, wherein the equipment binding request is sent by the target terminal through verification and verification of the oral cavity scanning equipment based on the firmware version information and the equipment identification, and the equipment binding request carries the terminal identification of the target terminal; the oral cavity scanning device is bound with the target terminal one to one based on the terminal identification of the target terminal, and therefore the technical problem that a method for rapidly achieving one to one binding of the oral cavity scanning device and a computer is lacked in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of device binding according to an embodiment of the invention;
FIG. 2 is a flow diagram of another method of device binding according to an embodiment of the invention;
FIG. 3 is a flow chart of a method of computer discovery of an oral scanning device according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for binding a computer to an oral scanning device according to an embodiment of the present invention;
fig. 5 is a block diagram of a device binding apparatus according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method embodiment of device binding, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a device binding method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, the oral cavity scanning device broadcasts a user data protocol UDP message, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identification for identifying the oral cavity scanning device.
In some alternative embodiments, the device identifier used to identify the oral scanning device may be of various types, such as a serial number of the device, or other device identifiers capable of uniquely identifying the oral scanning device.
Step S104, the oral cavity scanning device receives a device binding request sent by a target terminal, wherein the device binding request is sent by the target terminal through verification of the oral cavity scanning device based on firmware version information and a device identifier, and the device binding request carries the terminal identifier of the target terminal.
And step S106, the oral cavity scanning equipment is one-to-one bound with the target terminal based on the terminal identification of the target terminal.
In this optional embodiment, by authenticating the firmware version information, it may be determined whether the scanning software versions of the oral scanning device and the target terminal are compatible, and if not, the firmware version and the scanning software version of the oral scanning device may be made compatible by upgrading or downgrading the scanning software version, thereby ensuring successful control of the oral scanning device by the target terminal.
In this optional embodiment, by authenticating the device identifier, it may be determined that the oral cavity scanning device is a device for which the target terminal has control authority, thereby ensuring successful control of the oral cavity scanning device by the target terminal.
In some alternative embodiments, the type of the target terminal may be various, for example, it may be a computer provided with oral scanning device control software, or it may be a tablet computer provided with oral scanning device control software, etc. The terminal identifier for one-to-one binding with the oral cavity scanning device can be various, and for example, the terminal identifier can be the IP address information of the terminal device.
Through the optional embodiment, the oral scanning device sends the message to the target terminal in the same local area network through a message broadcasting method, and after receiving the device binding request sent by the target terminal, the oral scanning device is bound with the target terminal in a one-to-one manner based on the terminal identifier of the target terminal. The oral cavity scanning equipment is connected with the target terminal through a Bluetooth connection method without setting Bluetooth, the method is simple, the binding speed is high, and the user experience is improved. In addition, the oral cavity scanning device is one-to-one bound with the target terminal based on the terminal identification of the target terminal, so that the problem of poor control real-time performance of the oral cavity scanning device caused by binding of a plurality of computers and the same oral cavity scanning device is solved. Namely, the technical problem that a method for enabling the oral cavity scanning device and the computer to quickly realize one-to-one binding in the related art is lacked is solved.
As an optional implementation, further comprising: receiving a device information calling instruction sent by a target terminal; and sending the equipment information of the oral cavity scanning equipment to the target terminal according to the equipment information calling instruction.
After the device information of the oral cavity scanning device is sent to the target terminal, the target terminal can analyze detailed information in the device information and display the detailed information on the interactive interface, so that a user can perform corresponding operation according to the detailed information on the interactive interface, and user experience can be improved.
In an optional embodiment, multiple terminal devices in the same local area network may receive messages broadcast by multiple oral cavity scanning devices at the same time, and call interfaces for verifying detailed device information of the multiple oral cavity scanning devices based on IP addresses thereof by using a TCP protocol, if the call is successful and the detailed information is parsed, the corresponding oral cavity scanning device is a satisfactory oral cavity scanning device, and the terminal device displays the satisfactory oral cavity scanning device detailed information in a software list of the terminal device. The same terminal device may acquire and display detailed information of a plurality of oral cavity scanning devices, and the detailed information of the same oral cavity scanning device may be simultaneously displayed on the plurality of terminal devices, so that a user can flexibly select a target oral cavity scanning device on the terminal device, bind the target oral cavity scanning device, and perform corresponding control operation on the successfully bound oral cavity scanning device.
As an alternative embodiment, the oral scanning device performs one-to-one binding with the target terminal based on the terminal identifier of the target terminal, including: the oral cavity scanning equipment determines whether the oral cavity scanning equipment is bound with other terminals except the target terminal or not based on the mutual exclusion lock; and under the condition that the oral cavity scanning equipment is not bound with other terminals except the target terminal, the oral cavity scanning equipment is one-to-one bound with the target terminal based on the terminal identification of the target terminal.
In this optional embodiment, the oral cavity scanning device is provided with a mutual exclusion lock, where the mutual exclusion lock is a field for implementing exclusive binding, and when the field is empty, the mutual exclusion lock is in an idle state, which indicates that the oral cavity scanning device is not bound with other terminal devices; when the field is bound with the terminal identification, the mutual exclusion lock is in a busy state, and the oral cavity scanning device is bound with the corresponding terminal device. In one embodiment, the terminal identifier of the terminal device is an IP address of the terminal device, and the IP address information written in the mutex lock may be used to determine with which terminal device the oral cavity scanning device is bound. Based on the mutual exclusion lock and the terminal identification of the target terminal, one-to-one binding of the oral cavity scanning equipment and the target terminal is realized, the binding method is simple, and the processing efficiency is high.
As an alternative embodiment, the method further comprises: under the condition that the oral cavity scanning equipment is bound with other terminals except the target terminal, sending a binding removal request instruction to the other terminals; receiving feedback instructions sent by other terminals; and under the condition that the feedback instruction agrees to release the binding, deleting other terminal identifications of other terminals in the mutual exclusion lock, and writing the terminal identification of the target terminal into the mutual exclusion lock. Therefore, binding switching of the oral cavity scanning equipment among different terminal equipment is realized, and the problems that in the related art, the oral cavity scanning equipment is inconvenient to operate and poor in user experience when binding switching is carried out among different terminal equipment are solved.
As an optional implementation, further comprising: and sending feedback information of not agreeing with the binding to the target terminal under the condition that the feedback instruction is not agreeing with the unbinding. After receiving the feedback information, the target terminal can display the feedback information on an interactive interface to prompt a user to perform corresponding operation, so that the user experience can be improved.
Fig. 2 is a flowchart of another device binding method according to an embodiment of the present invention. Referring to fig. 2, the method may include the steps of:
step S202, a target terminal receives a UDP message broadcast by oral cavity scanning equipment, wherein the UDP message carries firmware version information of the oral cavity scanning equipment and equipment identification for identifying the oral cavity scanning equipment;
step S204, the target terminal verifies the oral cavity scanning equipment according to the firmware version information and the equipment identification;
step S206, under the condition that the target terminal passes the verification, sending an equipment binding request to the oral cavity scanning equipment, wherein the equipment binding request comprises a terminal identifier of the target terminal, and the terminal identifier is used for one-to-one binding with the target terminal.
In this optional embodiment, the target terminal receives the message broadcast by the oral cavity scanning device, and after the oral cavity scanning device is verified according to the message, sends a device binding request to the oral cavity scanning device, and performs one-to-one binding with the oral cavity scanning device based on the terminal identifier of the target terminal. The oral cavity scanning equipment is connected with the target terminal through a Bluetooth connection method without setting Bluetooth, the method is simple, the binding speed is high, and the user experience is improved. In addition, the oral cavity scanning device is one-to-one bound with the target terminal based on the terminal identification of the target terminal, so that the problem of poor control real-time performance of the oral cavity scanning device caused by binding a plurality of computers and the same oral cavity scanning device is avoided. Namely, the technical problem that a method for enabling the oral cavity scanning device and the computer to quickly realize one-to-one binding in the related art is lacked is solved.
As an alternative embodiment, the method further comprises the following steps: the target terminal sends a device information calling instruction to the oral cavity scanning device; the target terminal receives the equipment information sent by the oral cavity scanning equipment and displays the equipment information on the interactive interface. Therefore, the user can perform corresponding operation according to the equipment information on the interactive interface, and the user experience can be improved.
As an optional implementation, further comprising: receiving the feedback information sent by the oral cavity scanning device, wherein the feedback information comprises one of: the first feedback information is used for indicating that the oral cavity scanning equipment is determined not to be bound with other terminals except the target terminal according to the mutual exclusion lock and is successfully bound with the target terminal in a one-to-one mode; second feedback information, wherein the second feedback information is used for indicating that the oral cavity scanning equipment determines that the oral cavity scanning equipment is bound with other terminals except the target terminal according to the mutual exclusion lock, but is unbound with the other terminals, and the oral cavity scanning equipment is successfully bound with the target terminal in a one-to-one manner; and third feedback information, wherein the third feedback information is used for indicating that the oral cavity scanning equipment determines that the oral cavity scanning equipment is bound with other terminals except the target terminal according to the mutual exclusion lock and fails to be unbound with the other terminals. Feedback information sent by the oral cavity scanning equipment is received, so that a user can visually acquire binding result information of oral cavity scanning, the user can perform subsequent operation according to the binding result information, and user experience is improved.
Based on the above embodiments and alternative embodiments, an alternative implementation is provided, which is described in detail below.
In the present alternative embodiment, the description will be made taking an example in which the target terminal is a computer. It should be noted that the target terminal may also be other terminal devices, for example, a mobile phone, a tablet computer, and the like.
In view of this, in the disclosed embodiments, a device binding method is provided.
In this alternative embodiment, the target terminal is taken as a computer, and the terminal identifier is taken as an IP address of the computer.
In the related art, methods for binding a device and a computer mainly include the following two methods. The Bluetooth mouse is connected with a computer, the Bluetooth mouse is firstly put into a pairing mode, pairing is realized by long pressing of a pairing button on the Bluetooth mouse, then Bluetooth management of the computer is carried out, the Bluetooth mouse is selected for connection, and the Bluetooth mouse can be used on the computer after connection is successful. This connection method has the following disadvantages: when other computers want to connect to the bluetooth mouse, the aforementioned connection process needs to be repeated, and two different computers cannot switch the connection with the bluetooth mouse quickly, i.e., the connection must be reproduced after the computers are changed. The other method is a binding method similar to a network printer, specifically, a computer searches for a network printer in a local area network by sniffing, tries to connect the network printer by using a standard printing protocol after the search is finished, and if the standard protocol is not supported, a printer driver needs to be installed first. This method has the following disadvantages: the network printer is shared by a plurality of computers, and the real-time performance is not good. That is, in the related art, there is a technical problem that a method of binding the oral scanning apparatus and the computer one to one cannot be quickly implemented.
In view of the above problems in the related art, in the optional embodiment, a user data protocol UDP packet is broadcast by an oral scanning device, where the UDP packet carries firmware version information of the oral scanning device and a device identifier for identifying the oral scanning device; the oral cavity scanning equipment receives an equipment binding request sent by a target terminal, wherein the equipment binding request is sent by the target terminal through verification and verification of the oral cavity scanning equipment based on the firmware version information and the equipment identification, and the equipment 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 carrying out one-to-one binding with the target terminal. Therefore, the technical problem that the method for quickly binding the oral cavity scanning device and the computer in one-to-one mode cannot be realized in the related technology is solved.
It should be noted that, in this alternative embodiment, the states of the oral scanning device include the following three types: an offline state. At this point the device does not have access to the same WiFi network as the computer. Online non-scanning state. At this point the device has connected to the same WiFi network as the computer, but is in a standby state with no ongoing scanning tasks. A scanning state. The device is now already under the control of some scanning software performing the scanning task.
The computer controls the oral cavity scanning device through scanning software, an equipment list is arranged on the scanning software, and four states of the oral cavity scanning device can be displayed on the list: the first is an offline state, which indicates that the oral scanning device has ever connected to the current WiFi network, but is not currently on the current network. The second is an online non-scanning state, in which the surface oral cavity scanning device has connected to the same WiFi network as the computer, but is in a standby state, without an ongoing scanning task, in which the current scanning software can be connected to perform the scanning task. The third is the scan state driven by other scan software. This device is performing scanning tasks under the control of scanning software on another computer. In this state, the scanning software can not be connected with the current scanning software to perform scanning tasks. The scan state under the current scan software driver. The fourth is that the oral scanning device is performing the scanning task under the control of current software. And cannot be connected by scanning software on other computers to perform other scanning tasks.
The method for binding the scanning equipment and the computer mainly comprises two steps: the computer discovers the oral cavity scanning devices, determines the oral cavity scanning devices to be bound in the discovered oral cavity scanning devices, and binds the oral cavity scanning devices. This will be explained in detail below.
Fig. 3 is a flow chart of a method for computer discovery of an oral scanning device according to an embodiment of the present invention. Referring to fig. 3, the method for discovering the oral cavity scanning device by the computer mainly comprises the following steps:
after the scanning software at the computer end is operated, a UDP server (User Datagram Protocol) is operated to monitor a UDP packet with a fixed port number.
After the oral cavity scanning device is connected to the same WiFi as the computer, the UDP message is broadcasted to the local area network, and the contents comprise: the device's current WiFi IP address, device serial number, and device firmware version.
When the scanning software receives the UDP message, the scanning software analyzes the information in the message and judges whether the equipment serial number is effective and whether the firmware version can be supported by connecting the cloud platform. The method for judging whether the equipment serial number is valid comprises the following steps: the method comprises the steps that an equipment serial number with control authority is prestored in a database of the cloud platform, after the equipment serial number at the analysis position of scanning software is analyzed, the analyzed equipment serial number is compared with a serial number prestored in the database, when the comparison is passed, the equipment serial number is a valid equipment serial number, otherwise, the equipment serial number is an invalid equipment serial number. The method for judging whether the firmware version can be supported specifically comprises the following steps: and comparing the scanning software version with the firmware version of the oral cavity scanning equipment, and if the scanning software version and the firmware version of the oral cavity scanning equipment are not compatible, adjusting the firmware version or the scanning software version to enable the scanning software to be compatible with the firmware version of the oral cavity scanning equipment, thereby ensuring that the scanning software can control the oral cavity scanning equipment.
Under the condition that the verification is passed, the scanning software in the computer is connected with the equipment through the IP address in the computer by a TCP protocol, and an interface for acquiring detailed equipment information at the equipment end is called. If the calling is successful and the detailed information result is resolved, the device is a satisfactory oral cavity scanning device, and the resolved detailed information result is displayed in a scannable device list of scanning software.
In one embodiment, a display screen or touch screen is added to the oral scanning device, all the found scanning software on the computers is listed, and then the current scanning software connection with which computer is selected on the device for the scanning task. Although the method needs to add corresponding hardware in the oral cavity scanning device, which affects the volume of the oral cavity scanning device, the user can intuitively acquire the computer information capturing the messages of the oral cavity scanning device.
Since one device can only be connected to the scanning software on one computer for scanning at the same time, the corresponding relationship between the scanning software and the current scanning device needs to be managed, wherein the key technology is that the firmware of each device (scanner) has a Mutex to control the current state. It should be understood that a mutex has a total of three states: including free, busy, and offline (wifi unconnected). A mutex lock may be understood as a field, when a field is empty, the lock is in an idle state; when the field is bound to an IP address, the lock is busy and it can be determined which computer the oral scanning device is connected to by the IP address of the field.
The state of the mutex lock is further explained as follows: when the mutual exclusion lock is in an idle state, the device is connected to WiFi, but is not driven by any scanning software to perform a scanning task; when the mutual exclusion lock is in busy state, the state indicates that the equipment is controlled by scanning software on a certain computer and is in scanning task.
The oral cavity scanning device is provided with one or more indicator lamps, and the state of the mutual exclusion lock in the oral cavity scanning device can be represented by the fact that the indicator lamps are on or off. For example, the indicator light may be illuminated when the mutex is in an idle state and not illuminated when the mutex is in a busy state. The state of the mutex lock in the oral cavity scanning equipment can also be represented by the color of the indicator lamp, for example, the indicator lamp with three colors of red, yellow and green is arranged on the oral cavity scanning equipment, the green lamp is turned on when the mutex lock is in an idle state, the yellow lamp is turned on when the mutex lock is in a busy state, and the red lamp is turned on when the mutex lock is in an off-line state. It should be understood that the indication lamp is not limited to the above-mentioned ones, and the corresponding manner between the different colors of the indication lamp and the mutually exclusive lock state includes other corresponding manners. In addition, the state of the mutual exclusion lock can be informed to the user in a voice broadcast mode and the like.
Fig. 4 is a flow chart of a method for binding a computer and an oral scanning device according to an embodiment of the present invention. Referring to fig. 4, the method includes the steps of:
if the device is currently networked and in a non-scanning state, the lock is in a configurable state, namely can be acquired by scanning software on any computer; if the scanning software applies for taking the lock, the lock is allocated to the scanning software, and the state of the lock is set to be allocated.
If other scanning software applies for the lock, the scanning software with the lock sends an application to inquire whether to release the lock; if the user agrees, the connection between the computer A and the oral cavity scanning device is disconnected, the field of the lock is changed to be empty, and the IP address of the computer B is written into the mutual exclusion lock. If the user points disagree, the connection between the computer A and the oral cavity scanning device cannot be disconnected, the field of the mutual exclusion lock is still occupied by the IP of the computer A, and the IP address of the computer B cannot be written into the mutual exclusion lock.
When the scanning software with the mutual exclusion lock refuses to unbind, an error is returned to the scanning software applying for binding.
If the scanning software of the mutual exclusion lock agrees, the mutual exclusion lock is released, and the ownership of the mutual exclusion lock is transferred to the scanning software applying the mutual exclusion lock.
The scanning software with the mutex lock may also actively release the lock, after which the mutex lock is in an idle state. Specifically, after a scanning operation is completed, a prompt box pops up, a user determines whether the connection is disconnected, and if so, the field of the mutual exclusion lock becomes empty, so that the lock is released, and the scanning software and the oral cavity scanning equipment are unbound. In addition, the user can click the equipment management of the scanning software at any time, and the state of the oral cavity scanning equipment is changed, so that the connection is disconnected.
In this optional embodiment, after the network of the oral scanning device of the wireless edition is distributed, the oral scanning device of the wireless edition is 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 perform scanning. In the optional embodiment, the automatic signaling of the equipment is broadcasted by the equipment through the UDP, a computer is not needed to facilitate a local area network segment, and the speed is higher; the lock of the equipment can manage the computers which are currently carrying out scanning tasks, and can ensure that only one computer can carry out the scanning tasks at the same time; the ownership of the lock can be easily transferred between multiple computers through the state of the lock and inquiry, thereby allowing one oral scanning device to be quickly switched and easily connected between the scanning software of different computers. That is, in this optional embodiment, the computer scanning software in the lan automatically discovers devices, and the computer scanning software can quickly select which device is the current scanning device, and ensure that the scanning software on different computers can mutually exclusive use the same device for scanning.
According to an embodiment of the present invention, there is also provided an apparatus for implementing the device binding method, and fig. 5 is a block diagram of a structure of the device binding apparatus according to the embodiment of the present invention, as shown in fig. 5, the device binding apparatus includes: a message broadcasting module 502, a receiving module 504, and a binding module 506, which are described in detail below.
A message broadcasting module 502, configured to broadcast a user data protocol UDP message by an oral scanning device, where the UDP message carries firmware version information of the oral scanning device and a device identifier for identifying the oral scanning device; a receiving module 504, connected to the message broadcasting module 502, configured to receive, by the oral scanning device, a device binding request sent by a target terminal, where the device binding request is sent by the target terminal after the oral scanning device is verified and verified based on the firmware version information and the device identifier, and the device binding request carries the terminal identifier of the target terminal; a binding module 506, connected to the receiving module 504, for binding the oral cavity scanning device with the target terminal one-to-one based on the terminal identifier of the target terminal.
It should be noted here that the message broadcasting module 502, the receiving module 504 and the binding module 506 correspond to the aforementioned steps S102 to S106, and the three modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure in the foregoing embodiments.
An embodiment of the present invention provides an oral scanning device, including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor, and the at least one processor being capable of performing the method of any one of the above.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the device binding method and apparatus in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the device binding method described above is implemented. The 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 from the processor, and these remote memories may be connected to the computer terminal through a network. Examples of such 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 program stored in the memory through the transmission device to execute the following steps: the method comprises the steps that an oral cavity scanning device broadcasts a User Data Protocol (UDP) message, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identifier for identifying the oral cavity scanning device; the method comprises the steps that an oral cavity 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 cavity scanning device based on firmware version information and a device identification, and the device binding request carries the terminal identification of the target terminal; the oral cavity scanning equipment is one-to-one bound with the target terminal based on the terminal identification of the target terminal.
Optionally, the processor may further execute the program code of the following steps: receiving a device information calling instruction sent by a target terminal; and sending the equipment information of the oral cavity scanning equipment to the target terminal according to the equipment information calling instruction.
Alternatively to this, the first and second parts may, the processor may further execute the program code for: the oral cavity scanning device is one-to-one bound with the target terminal based on the terminal identification of the target terminal, and the one-to-one binding comprises the following steps: the oral cavity scanning equipment determines whether the oral cavity scanning equipment is bound with other terminals except the target terminal or not based on the mutual exclusion lock; and under the condition that the oral cavity scanning equipment is not bound with other terminals except the target terminal, the oral cavity scanning equipment is one-to-one bound with the target terminal based on the terminal identification of the target terminal.
Optionally, the processor may further execute the program code of the following steps: under the condition that the oral cavity scanning equipment is bound with other terminals except the target terminal, sending a binding removal request instruction to the other terminals; receiving feedback instructions sent by other terminals; and under the condition that the feedback instruction agrees to release the binding, deleting other terminal identifications of other terminals in the mutual exclusion lock, and writing the terminal identification of the target terminal into the mutual exclusion lock.
Optionally, the processor may further execute the program code of the following steps: and sending feedback information which does not agree with the binding to the target terminal under the condition that the feedback instruction does not agree with the unbinding.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A device binding method, comprising:
the method comprises the steps that an oral cavity scanning device broadcasts a User Data Protocol (UDP) message, wherein the UDP message carries firmware version information of the oral cavity scanning device and a device identifier for identifying the oral cavity scanning device;
the oral cavity scanning equipment receives an equipment binding request sent by a target terminal, wherein the equipment binding request is sent by the target terminal through verification and verification of the oral cavity scanning equipment based on the firmware version information and the equipment identification, and the equipment binding request carries the terminal identification of the target terminal;
and the oral cavity scanning equipment is in one-to-one binding with the target terminal based on the terminal identification of the target terminal.
2. The method of claim 1, further comprising:
receiving a device information calling instruction sent by the target terminal;
and sending the equipment information of the oral cavity scanning equipment to the target terminal according to the equipment information calling instruction.
3. The method of claim 1, wherein the oral scanning device performs one-to-one binding with the target terminal based on the terminal identifier of the target terminal, and comprises:
the oral cavity scanning equipment determines whether the oral cavity scanning equipment is bound with other terminals except the target terminal or not based on a mutual exclusion lock;
under the condition that the oral cavity scanning equipment is not bound with other terminals except the target terminal, the oral cavity scanning equipment is bound with the target terminal in a one-to-one mode based on the terminal identification of the target terminal.
4. The method of claim 3, further comprising:
under the condition that the oral cavity scanning equipment is bound with other terminals except the target terminal, sending a binding removal request instruction to the other terminals;
receiving feedback instructions sent by other terminals;
and deleting other terminal identifications of other terminals in the mutual exclusion lock and writing the terminal identification of the target terminal into the mutual exclusion lock under the condition that the feedback instruction agrees to release the binding.
5. The method of claim 4, further comprising:
and sending feedback information which does not agree with the binding to the target terminal under the condition that the feedback instruction does not agree with the unbinding.
6. A device binding method, comprising:
a target terminal receives a UDP message broadcasted by oral cavity scanning equipment, wherein the UDP message carries firmware version information of the oral cavity scanning equipment and an equipment identifier for identifying the oral cavity scanning equipment;
the target terminal verifies the oral cavity scanning equipment according to the firmware version information and the equipment identification;
and sending a device binding request to the oral cavity scanning device under the condition that the target terminal passes the verification, wherein the device binding request comprises a terminal identifier of the target terminal, and the terminal identifier is used for one-to-one binding with the target terminal.
7. The method of claim 6, further comprising:
the target terminal sends a device information calling instruction to the oral cavity scanning device;
and the target terminal receives the equipment information sent by the oral cavity scanning equipment and displays the equipment information on an interactive interface.
8. The method of claim 7, further comprising:
receiving feedback information sent by the oral cavity scanning device, wherein the feedback information comprises one of the following:
first feedback information, wherein the first feedback information is used for indicating that the oral cavity scanning device determines, according to a mutex lock, that the oral cavity scanning device is not bound with other terminals except the target terminal, and the oral cavity scanning device is successfully bound with the target terminal in a one-to-one manner;
second feedback information, wherein the second feedback information is used for indicating that the oral cavity scanning device determines, according to a mutex lock, that the oral cavity scanning device has been bound with other terminals except the target terminal, but is unbound with the other terminals, and the oral cavity scanning device is successfully bound with the target terminal one to one;
third feedback information, wherein the third feedback information is used for indicating that the oral cavity scanning device determines that the oral cavity scanning device is bound with other terminals except the target terminal according to a mutual exclusion lock, and the binding with the other terminals fails.
9. An apparatus for binding a device, comprising:
the message broadcasting module is used for broadcasting a User Data Protocol (UDP) message by the oral cavity scanning equipment, wherein the UDP message carries firmware version information of the oral cavity scanning equipment and equipment identification used for identifying the oral cavity scanning equipment;
a receiving module, configured to receive, by the oral scanning device, a device binding request sent by a target terminal, where the device binding request is sent by the target terminal to verify and verify the oral scanning device based on the firmware version information and the device identifier, and the device binding request carries a terminal identifier of the target terminal;
and the binding module is used for carrying out one-to-one binding with the target terminal by the oral cavity scanning equipment based on the terminal identification of the target terminal.
10. An oral scanning device, comprising:
at least one processor, and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor, and the at least one processor being capable of performing the method of any one of claims 1 to 8.
CN202210761606.1A 2022-06-30 2022-06-30 Equipment binding method and device and computer readable storage medium Pending CN115150482A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN115150482A true CN115150482A (en) 2022-10-04

Family

ID=83410135

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Citations (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
CN110809308A (en) * 2019-09-29 2020-02-18 上海商米科技集团股份有限公司 Method and device for automatically connecting IOT device and WIFI router
CN111343057A (en) * 2018-12-19 2020-06-26 九阳股份有限公司 Control method of intelligent household appliance and intelligent household appliance
CN111796145A (en) * 2020-07-03 2020-10-20 山东德源电力科技股份有限公司 Method and system for communication and control of external circuit breaker of electric energy meter
WO2021003816A1 (en) * 2019-07-05 2021-01-14 杭州博联智能科技股份有限公司 Method for authenticating iot device is bound to user, device and medium
CN112765585A (en) * 2021-01-06 2021-05-07 凯联医疗科技(上海)有限公司 Equipment mutual recognition and verification method combining Bluetooth binding and two-dimensional code verification

Family Cites Families (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
WO2021023164A1 (en) * 2019-08-02 2021-02-11 云丁网络技术(北京)有限公司 Intelligent lock control method and system
CN114650520A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on standard Bluetooth broadcast
CN114650522A (en) * 2020-12-17 2022-06-21 广东朝歌智慧互联科技有限公司 Method and device for realizing wireless network connection based on low-power-consumption Bluetooth broadcast
CN115150482A (en) * 2022-06-30 2022-10-04 先临三维科技股份有限公司 Equipment binding method and device and computer readable storage medium

Patent Citations (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
CN111343057A (en) * 2018-12-19 2020-06-26 九阳股份有限公司 Control method of intelligent household appliance and intelligent household appliance
WO2021003816A1 (en) * 2019-07-05 2021-01-14 杭州博联智能科技股份有限公司 Method for authenticating iot device is bound to user, 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
CN112765585A (en) * 2021-01-06 2021-05-07 凯联医疗科技(上海)有限公司 Equipment mutual recognition and verification method combining Bluetooth binding and two-dimensional code verification

Cited By (1)

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

Also Published As

Publication number Publication date
WO2024002301A1 (en) 2024-01-04

Similar Documents

Publication Publication Date Title
CN110036619B (en) Method and apparatus for IOT protocol identification and management
TWI759555B (en) Method, device and system for accessing network hotspot device by network device to be distributed
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
CN109474508B (en) VPN networking method, VPN networking system, VPN master node equipment and VPN master node medium
US20080101258A1 (en) Method for configuring network connections utilizing a graphical user interface showing network topology
CN109660815B (en) System and method for realizing multi-screen interaction dynamic management of hotel
CN103731562B (en) For the method and apparatus of smart machine Adaptive matching bluetooth equipment
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN111741509A (en) Network distribution method and device, storage medium and processor
CN104917762A (en) Permission assignment method, first electronic equipment and system
CN109981305B (en) Group communication method, apparatus and computer-readable storage medium
CN115150482A (en) Equipment binding method and device and computer readable storage medium
CN111147314A (en) Switch upgrading method, device and storage medium
CN111405042A (en) Discovery method and device of electronic equipment, computer readable storage medium and electronic device
US20140226655A1 (en) Peer-to-peer, internet protocol telephone system with auto-attendant
CN113572669A (en) Scene processing method and device, intelligent gateway and processor
CN105812185A (en) Communication connection method for playing device
CN109890017B (en) Method, device and equipment for connecting with central equipment and readable storage medium
CN105703987A (en) Control method and apparatus for audio and video playing system
CN109525469B (en) Networking method of intelligent household equipment and intelligent household equipment
CN112187486A (en) Interaction method between intelligent devices and intelligent devices
JP2005236893A (en) Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN114115775A (en) Information screen projection method and device, terminal device, display device and 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
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination