CN111918255B - Equipment query method and system - Google Patents

Equipment query method and system Download PDF

Info

Publication number
CN111918255B
CN111918255B CN202010664085.9A CN202010664085A CN111918255B CN 111918255 B CN111918255 B CN 111918255B CN 202010664085 A CN202010664085 A CN 202010664085A CN 111918255 B CN111918255 B CN 111918255B
Authority
CN
China
Prior art keywords
bluetooth
color
paired
list
equipment
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.)
Active
Application number
CN202010664085.9A
Other languages
Chinese (zh)
Other versions
CN111918255A (en
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.)
Weihai Beiyang Electric Group Co Ltd
Original Assignee
Weihai Beiyang Electric Group 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 Weihai Beiyang Electric Group Co Ltd filed Critical Weihai Beiyang Electric Group Co Ltd
Priority to CN202010664085.9A priority Critical patent/CN111918255B/en
Publication of CN111918255A publication Critical patent/CN111918255A/en
Application granted granted Critical
Publication of CN111918255B publication Critical patent/CN111918255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention provides a device query method, which comprises the following steps: the method comprises the steps that the intelligent mobile equipment obtains a plurality of Bluetooth equipment to be paired in an area and generates a list to be paired; assigning each color identifier in a plurality of preset color identifiers to any Bluetooth device in the Bluetooth device names, so that each Bluetooth device has a unique color identifier; binding the list to be paired with the equipment list; displaying the name of the Bluetooth device and the color corresponding to the color identifier of the Bluetooth device in a list to be paired according to the device list; the unique color identification corresponding to each Bluetooth device is sent to the corresponding Bluetooth device, so that the Bluetooth device lights the LED lamp according to the corresponding unique color identification; receiving a Bluetooth equipment selection instruction of a user; and searching the list to be paired and the equipment list according to the name and the color of the target Bluetooth equipment, determining the color identifier of the target Bluetooth equipment, and pairing the target Bluetooth equipment corresponding to the color identifier according to the color identifier.

Description

Equipment query method and system
Technical Field
The present invention relates to the field of bluetooth communication technologies, and in particular, to a device query method and system.
Background
In the current bluetooth device (such as a bluetooth thermometer), if the current bluetooth device is controlled by an intelligent mobile device, the intelligent mobile device needs to be paired, and after the pairing is successful, the intelligent mobile device can control the bluetooth device through a set protocol. When the number of the bluetooth devices is large, how to quickly identify the corresponding operation relationship of the devices is a key.
At present, when a lot of bluetooth devices exist, the following solutions are available:
firstly, connect one by one at the intelligent mobile device end, look for that specific bluetooth equipment that will operate.
The second kind, to the bluetooth equipment that has acceleration sensor, can adopt the mode of patting to verify, pat this bluetooth equipment, intelligent mobile device end can connect voluntarily, as shown in fig. 1, is the authentication mode of the bracelet of certain kind of product, and specific process is as follows: opening the bracelet; the bracelet enters a waiting connection state; starting an APP on the intelligent mobile device, and scanning the current Bluetooth BLE device by the APP; directly connecting after finding; the intelligent mobile equipment waits for a knocking signal; after the bracelet is knocked, the intelligent mobile device and the bracelet are confirmed once, and if the intelligent mobile device and the bracelet can be confirmed, the pairing is completed.
Thirdly, a bar code of the equipment ID is printed on the specification, and the Bluetooth equipment can be connected by scanning the bar code by a mobile phone.
However, the three solutions have problems:
the first scheme is as follows: the mobile phone end needs to perform operation attempts for many times, and the method is too complex and tedious to operate.
The second scheme is as follows: this method is available for devices with acceleration sensors, since acceleration sensors are needed for determining whether a tap is made, but if machines without accelerometers, such as temperature sensors, are not used, and the addition of acceleration sensors would add cost virtually.
In the third scheme: the production process of printing the device ID bar code needs to be added, which also increases the cost.
Therefore, how to complete pairing by using the existing equipment is an urgent technical problem to be solved.
Disclosure of Invention
The embodiment of the invention aims to provide a device query method and a device query system, so as to solve the problems of complexity, complexity or high production cost of the query method in the prior art.
In order to solve the above problem, in a first aspect, the present invention provides an apparatus query method, where the apparatus query method includes:
the method comprises the steps that the intelligent mobile device obtains a plurality of Bluetooth devices to be paired in an area and generates a list to be paired, wherein names of the Bluetooth devices are displayed in the list to be paired;
the intelligent mobile device assigns each color identifier in a plurality of preset color identifiers to any Bluetooth device in the Bluetooth device name, so that each Bluetooth device has a unique color identifier; the method comprises the steps that according to the sequence of names of Bluetooth devices in a list to be paired, unique color identifiers of the Bluetooth devices are stored, and therefore a device list is formed;
the intelligent mobile equipment binds the list to be paired with the equipment list;
the intelligent mobile device displays the name of the Bluetooth device and the color corresponding to the color identifier of the Bluetooth device in a list to be paired according to the device list;
the intelligent mobile equipment sends the unique color identifier corresponding to each Bluetooth equipment to the corresponding Bluetooth equipment, so that the Bluetooth equipment lights the LED lamp according to the corresponding unique color identifier;
the intelligent mobile equipment receives a Bluetooth equipment selection instruction of a user; the Bluetooth device selection instruction comprises the name and the color of a target Bluetooth device;
the intelligent mobile device searches the list to be paired and the device list according to the name and the color of the target Bluetooth device, and determines the color identifier of the target Bluetooth device;
and the intelligent mobile equipment is matched with the target Bluetooth equipment corresponding to the color identification according to the color identification.
In a possible implementation manner, the plurality of bluetooth devices to be connected are bluetooth devices of the same type, and the bluetooth devices of the same type have the same name, or the bluetooth devices to be connected are bluetooth devices of different types, and the bluetooth devices of different types have the same name.
In a possible implementation manner, the color identifier includes any one of a color value and a color number.
In one possible implementation manner, the assigning, by the smart mobile device, each color identifier in a plurality of preset color identifiers to any bluetooth device in the bluetooth device name, so that each bluetooth device has a unique color identifier specifically includes:
the intelligent mobile equipment acquires the number of the Bluetooth equipment to be paired;
and determining a color identifier distribution mode according to the number.
In one possible implementation, the method further includes:
when a Bluetooth device to be paired is newly added to an area, if the Bluetooth device to be paired is newly added and has the same name as the Bluetooth device in the list to be paired, the intelligent mobile device allocates a color identifier to the newly added Bluetooth device to be paired;
and storing the color identifiers of the newly-added to-be-paired Bluetooth equipment and the newly-added to-be-paired Bluetooth equipment in the equipment list.
In a second aspect, the present invention provides an equipment query system, including:
the device comprises an acquisition unit, a matching unit and a matching unit, wherein the acquisition unit is used for acquiring a plurality of Bluetooth devices to be matched in an area and generating a list to be matched, and the names of the Bluetooth devices are displayed in the list to be matched;
the distribution unit is used for distributing each color identification in a plurality of preset color identifications to any Bluetooth device in the Bluetooth device name so that each Bluetooth device has a unique color identification; the method comprises the steps that unique color identification of each Bluetooth device is stored according to the sequence of Bluetooth device names in a to-be-paired list, and therefore a device list is formed;
a binding unit, configured to bind the list to be paired and the device list;
the display unit is used for displaying the name of the Bluetooth equipment and the color corresponding to the color identifier of the Bluetooth equipment in a list to be paired according to the equipment list;
the transmitting unit is used for transmitting the unique color identifier corresponding to each Bluetooth device to the corresponding Bluetooth device so that the Bluetooth device can light the LED lamp according to the corresponding unique color identifier;
the receiving unit is used for receiving a Bluetooth equipment selection instruction of a user; the Bluetooth device selection instruction comprises the name and the color of a target Bluetooth device;
the searching unit is used for searching the list to be paired and the equipment list according to the name and the color of the target Bluetooth equipment and determining the color identifier of the target Bluetooth equipment;
and the pairing unit is used for pairing the target Bluetooth equipment corresponding to the color identifier according to the color identifier.
In a possible implementation manner, the plurality of bluetooth devices to be connected are bluetooth devices of the same type, and the bluetooth devices of the same type have the same name, or the bluetooth devices to be connected are bluetooth devices of different types, and the bluetooth devices of different types have the same name.
In a possible implementation manner, the color identifier includes any one of a color value and a color number.
In a possible implementation manner, the allocation unit is specifically configured to:
acquiring the number of the Bluetooth devices to be paired;
and determining a color identifier distribution mode according to the number.
In one possible implementation, the system further includes: a newly added unit;
the newly-added unit is used for distributing color identification to the newly-added Bluetooth equipment to be paired if the newly-added Bluetooth equipment to be paired is the same as the Bluetooth equipment in the list to be paired when the Bluetooth equipment to be paired is newly added in the area;
and storing the color identifiers of the newly-added to-be-paired Bluetooth equipment and the newly-added to-be-paired Bluetooth equipment in the equipment list.
In a third aspect, the invention provides an apparatus comprising a memory for storing a program and a processor for performing the method of any of the first aspects.
In a fourth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method according to any one of the first aspect.
In a fifth aspect, the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of the first aspects.
By applying the device query method and the device query system provided by the embodiment of the invention, when the intelligent mobile device has a plurality of Bluetooth devices with the same name, different color identifiers can be allocated to each Bluetooth device, so that the LED lamp of each Bluetooth device lights the color corresponding to the color identifier, a user can conveniently determine a target Bluetooth device to be connected according to the color of the LED lamp, and then select the color with the same lighting color as the LED lamp in the list to be paired by clicking, on the premise that the Bluetooth device is not added with any hardware device, the target Bluetooth device is paired with the intelligent mobile device, and the target Bluetooth device is conveniently and rapidly paired.
Drawings
Fig. 1 is a schematic diagram illustrating an authentication method of a bluetooth device in the prior art;
fig. 2 is a schematic flow chart of an apparatus query method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus query system according to a second embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be further noted that, for the convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 2 is a flowchart illustrating a device query method according to an embodiment of the present invention, which is applied to a device having a plurality of bluetooth devices of the same type, for example, three eye patches exist simultaneously, so that the LED lamp can illuminate different colors by setting different color identifiers for the three eye patches, so as to facilitate a user to quickly determine the eye patch to be connected. As shown in fig. 2, the present application includes the following steps:
in step 210, the smart mobile device obtains a plurality of bluetooth devices to be paired in the area, and generates a list to be paired, where names of the bluetooth devices are displayed in the list to be paired.
Specifically, this application can use in the test of bluetooth equipment, perhaps has a plurality of same bluetooth equipment in the same region, how quick required bluetooth equipment of definite, can utilize original LED lamp on every bluetooth equipment, need not carry out the improvement on the bluetooth equipment hardware again, can realize inquiring a plurality of same bluetooth equipment to pair of target bluetooth equipment from it. The smart mobile device includes, but is not limited to, a smart phone, an IPAD, a computer, and other devices having a bluetooth function.
After the intelligent mobile device starts the Bluetooth, the Bluetooth devices which can be connected with the Bluetooth in the area can be automatically searched, and the Bluetooth devices which can be paired are displayed in a list to be paired.
Step 220, the intelligent mobile device allocates each color identifier in a plurality of preset color identifiers to any bluetooth device in the bluetooth device name, so that each bluetooth device has a unique color identifier; and storing the unique color identifier of each Bluetooth device according to the sequence of the Bluetooth device names in the to-be-paired list, thereby forming a device list.
Specifically, for the plurality of searched bluetooth devices, although each bluetooth device has a name, when the bluetooth devices are of the same type, the same name is also displayed on the smart mobile device, and at this time, according to the names of the bluetooth devices, which bluetooth device the name of the bluetooth device displayed on the mobile terminal corresponds to cannot be distinguished, and at this time, the smart mobile device may assign a color identifier to the name of the bluetooth device, so that the names of the bluetooth devices of the same type may correspond to different color identifiers.
At this time, different allocation schemes may be determined according to the number of bluetooth devices, for example, when there are many bluetooth devices, different color values may be given to the same type of bluetooth devices through the RGB color table.
When the number of the bluetooth devices is small, the color number corresponding to each color identifier, such as color numbers 1,2,3, and 4, can be determined through the customized color number, and the corresponding colors are red, orange, yellow, and green, respectively.
These colour numerical values and colour serial number can predetermine in intelligent Mobile device in advance to intelligent Mobile device confirms different colour signs according to the quantity of bluetooth equipment.
The bluetooth devices may have different color identifiers according to a display sequence, for example, names of bluetooth devices with the same name, where the sequence is 1,2, and 3, and the corresponding color identifiers are different, the color identifiers may be stored according to different sequences, so as to form a device list, and the device list may be stored in a database of the smart mobile device.
In step 230, the smart mobile device binds the list to be paired with the device list.
And 240, the intelligent mobile device displays the name of the Bluetooth device and the color corresponding to the color identifier of the Bluetooth device in the list to be paired according to the device list.
Specifically, the device list is stored in the database, the to-be-paired list is displayed on a display screen of the intelligent mobile device, and the device list and the to-be-paired list can be associated according to the display sequence of the bluetooth device, so that the color identifier corresponding to the display sequence of the to-be-paired list is stored in the device list, and the name and the corresponding color of the bluetooth device displayed on the display screen are stored in the to-be-paired list, so that the color identifier and the color are corresponding to each other.
For example, after the smart mobile device assigns a color identifier to each bluetooth device to be paired, the color corresponding to each bluetooth device may be displayed in the list to be paired at the same time. The to-be-paired list is a list of bluetooth devices searched by the intelligent mobile device, for example, three bluetooth devices are searched, and names of the bluetooth devices are all eye patches, so that the names of the bluetooth devices, such as eye patches, eye patches and eye patches, can be displayed in the to-be-paired list from top to bottom, meanwhile, according to the device list, red is displayed behind a first eye patch name, yellow and orange is displayed behind a second eye patch name, and yellow is displayed behind a third eye patch name. Therefore, the color corresponding to the Bluetooth device can be conveniently and visually obtained by the user.
And 250, the intelligent mobile device sends the unique color identifier corresponding to each Bluetooth device to the corresponding Bluetooth device, so that the Bluetooth device lights the LED lamp according to the corresponding unique color identifier.
Specifically, the smart mobile device may send the color identifier to the bluetooth device according to the device list, for example, may send the color value or the color number to the bluetooth device. Thus, each bluetooth device is made to have a unique color identification. Meanwhile, the Bluetooth device can analyze the color corresponding to the color identification according to the received color identification and a protocol preset in front of the intelligent mobile device, and drive the LED lamp to light the corresponding color.
Step 260, the intelligent mobile device receives a Bluetooth device selection instruction of a user; the bluetooth device selection instruction includes the name and color of the target bluetooth device.
Specifically, after the LED lamps of the Bluetooth devices are lighted with different colors, the user can select the colors on the display screen of the intelligent mobile device, so that the intelligent mobile device receives a Bluetooth device selection instruction input by the user.
For example, the LED lamps of the three eye patches in the area respectively light red, orange and yellow, and then it is desired that the smart mobile device matches the bluetooth device that lights the red light, and then the user clicks the bluetooth device whose display color is red in the list to be matched, so that the smart mobile device can match the bluetooth device that lights the red light.
In step 270, the smart mobile device searches the to-be-paired list and the device list according to the name and the color of the target bluetooth device, and determines the color identifier of the target bluetooth device.
Specifically, the intelligent mobile device performs query processing on the received bluetooth device selection instruction, and determines the color identifier corresponding to the target bluetooth device clicked by the user.
And step 280, the intelligent mobile device is paired with the target Bluetooth device corresponding to the color identifier according to the color identifier.
Specifically, because the colour sign that the smart mobile device has corresponded before the bluetooth equipment has sent for bluetooth equipment, at this moment, smart mobile device can carry out pairing of bluetooth equipment according to the colour sign, be about to the colour sign of the selected target bluetooth equipment of user, pair with the bluetooth equipment that has corresponding colour sign to smart mobile device has been realized pairing with the bluetooth equipment that has the LED lamp of corresponding colour, thereby, be convenient for quick bluetooth equipment and the smart mobile device's of carrying out the LED lamp colour be connected. Therefore, the user can visually pair the Bluetooth equipment with the same LED lamp color through the colors in the to-be-paired list of the Bluetooth equipment.
Further, step 280 may be followed by:
when the Bluetooth equipment to be paired is newly added in the area, if the Bluetooth equipment to be paired is newly added and the name of the Bluetooth equipment in the list to be paired is the same, the intelligent mobile equipment allocates a color identifier for the newly added Bluetooth equipment to be paired;
and storing the color identifications of the newly added to-be-paired Bluetooth devices and the newly added to-be-paired Bluetooth devices in a device list.
Specifically, when a bluetooth device is newly added in the area, for example, three eye patches are currently provided, and one eye patch is newly added, a color identifier can be redistributed for the newly added eye patch, and the color identifier is added in the device list according to the sequence, and a color corresponding to the bluetooth device is newly added in the list to be paired, thereby realizing the new addition of the same bluetooth device name in the area.
By applying the device query method provided by the embodiment of the invention, when the intelligent mobile device has a plurality of Bluetooth devices with the same name, different color identifiers can be allocated to each Bluetooth device, so that the LED lamp of the Bluetooth device lights the color corresponding to the color identifier, and therefore, a user can conveniently determine the target Bluetooth device to be connected according to the lighting color, and select the color with the same color as the LED lamp in the list to be paired by clicking, on the premise that the Bluetooth device is not added with any hardware device, the target Bluetooth device is paired with the intelligent mobile device, and the target Bluetooth device is conveniently and rapidly paired.
Fig. 3 is a schematic structural diagram of an equipment query system according to a second embodiment of the present invention, where the equipment query system is applied in an equipment query method. As shown in fig. 3, the device query system includes: the system comprises an acquisition unit 310, an allocation unit 320, a binding unit 330, a display unit 340, a sending unit 350, a receiving unit 360, a search unit 370 and a pairing unit 380.
The obtaining unit 310 is configured to obtain a plurality of bluetooth devices to be paired in an area, and generate a list to be paired, where names of the bluetooth devices are displayed in the list to be paired;
the assigning unit 320 is configured to assign each color identifier in a plurality of preset color identifiers to any bluetooth device in the bluetooth device name, so that each bluetooth device has a unique color identifier; the method comprises the steps that unique color identification of each Bluetooth device is stored according to the sequence of names of the Bluetooth devices in a list to be paired, and therefore a device list is formed;
the binding unit 330 is configured to bind the list to be paired and the device list;
the display unit 340 is configured to display, according to the device list, a name of the bluetooth device and a color corresponding to the color identifier of the bluetooth device in the to-be-paired list;
the sending unit 350 is configured to send the unique color identifier corresponding to each bluetooth device to the corresponding bluetooth device, so that the bluetooth device lights the LED lamp according to the corresponding unique color identifier;
the receiving unit 360 is configured to receive a bluetooth device selection instruction of a user; the Bluetooth device selection instruction comprises the name and the color of the target Bluetooth device;
the searching unit 370 is configured to search the to-be-paired list and the device list according to the name and the color of the target bluetooth device, and determine a color identifier of the target bluetooth device;
the pairing unit 380 is configured to pair the target bluetooth device corresponding to the color identifier according to the color identifier.
Further, the plurality of bluetooth devices to be connected are the same type of bluetooth devices, and the same type of bluetooth devices have the same name, or the bluetooth devices to be connected are different types of bluetooth devices, and the different types of bluetooth devices have the same name.
Further, the color identifier includes any one of a color value and a color number.
Further, the allocating unit 320 is specifically configured to:
acquiring the number of Bluetooth devices to be paired;
and determining the color identifier distribution mode according to the number.
Further, the device query system further includes: a adding unit 390.
The adding unit 390 is configured to, when a to-be-paired bluetooth device is added to the area, assign a color identifier to the to-be-paired bluetooth device if the to-be-paired bluetooth device is added with the same name as the bluetooth device in the to-be-paired list;
and storing the color identifications of the newly added to-be-paired Bluetooth devices and the newly added to-be-paired Bluetooth devices in a device list.
By applying the equipment inquiry system provided by the embodiment of the invention, when a plurality of Bluetooth equipment with the same name are provided, different color identifiers can be distributed to each Bluetooth equipment, so that the LED lamp of the Bluetooth equipment lights the color corresponding to the color identifier, a user can conveniently determine the target Bluetooth equipment to be connected according to the lighting color, the target Bluetooth equipment and the intelligent mobile equipment are paired by clicking the color which is the same as the color of the LED lamp selected in the list to be paired, and the target Bluetooth equipment can be conveniently and quickly inquired and paired on the premise that the Bluetooth equipment is not provided with any hardware equipment, so that the user experience is improved.
The third embodiment of the invention provides equipment, which comprises a memory and a processor, wherein the memory is used for storing programs, and the memory can be connected with the processor through a bus. The memory may be a non-volatile memory such as a hard disk drive and a flash memory, in which a software program and a device driver are stored. The software program is capable of performing various functions of the above-described methods provided by embodiments of the present invention; the device drivers may be network and interface drivers. The processor is used for executing a software program, and the software program can realize the method provided by the first embodiment of the invention when being executed.
A fourth embodiment of the present invention provides a computer program product including instructions, which, when the computer program product runs on a computer, causes the computer to execute the method provided in the first embodiment of the present invention.
The fifth embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method provided in the first embodiment of the present invention is implemented.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. An apparatus query method, characterized in that the apparatus query method comprises:
the method comprises the steps that the intelligent mobile device obtains a plurality of Bluetooth devices to be paired in an area and generates a list to be paired, wherein names of the Bluetooth devices are displayed in the list to be paired;
the intelligent mobile device assigns each color identifier in a plurality of preset color identifiers to any Bluetooth device in the Bluetooth device name, so that each Bluetooth device has a unique color identifier; the method comprises the steps that according to the sequence of names of Bluetooth devices in a list to be paired, unique color identifiers of the Bluetooth devices are stored, and therefore a device list is formed;
the intelligent mobile equipment binds the list to be paired with the equipment list;
the intelligent mobile device displays the name of the Bluetooth device and the color corresponding to the color identifier of the Bluetooth device in the list to be paired according to the device list;
the intelligent mobile device sends the unique color identifier corresponding to each Bluetooth device to the corresponding Bluetooth device, so that the Bluetooth device lights the LED lamp according to the corresponding unique color identifier;
the intelligent mobile equipment receives a Bluetooth equipment selection instruction of a user; the Bluetooth device selection instruction comprises the name and the color of a target Bluetooth device;
the intelligent mobile device searches the list to be paired and the device list according to the name and the color of the target Bluetooth device, and determines the color identifier of the target Bluetooth device;
the intelligent mobile equipment is matched with the target Bluetooth equipment corresponding to the color identification according to the color identification;
the method for allocating each color identifier in a plurality of preset color identifiers to any bluetooth device in the bluetooth device name by the intelligent mobile device, so that each bluetooth device having a unique color identifier specifically includes:
the intelligent mobile equipment acquires the number of the Bluetooth equipment to be paired;
and determining a color identifier distribution mode according to the number.
2. The method according to claim 1, wherein the plurality of Bluetooth devices to be connected are Bluetooth devices of the same type having the same name, or wherein the Bluetooth devices to be connected are Bluetooth devices of different types having the same name.
3. The method of claim 1, wherein the color identifier comprises any one of a color value and a color number.
4. The method of claim 1, further comprising:
when a Bluetooth device to be paired is newly added to an area, if the name of the newly added Bluetooth device to be paired is the same as that of the Bluetooth device in the list to be paired, the intelligent mobile device allocates a color identifier to the newly added Bluetooth device to be paired;
and storing the color identifiers of the newly-added to-be-paired Bluetooth equipment and the newly-added to-be-paired Bluetooth equipment in the equipment list.
5. An equipment inquiry system, said system comprising:
the device comprises an acquisition unit, a matching unit and a matching unit, wherein the acquisition unit is used for acquiring a plurality of Bluetooth devices to be matched in an area and generating a list to be matched, and the names of the Bluetooth devices are displayed in the list to be matched;
the distribution unit is used for distributing each color identification in a plurality of preset color identifications to any Bluetooth device in the Bluetooth device name so that each Bluetooth device has a unique color identification; the method comprises the steps that according to the sequence of names of Bluetooth devices in a list to be paired, unique color identifiers of the Bluetooth devices are stored, and therefore a device list is formed;
a binding unit, configured to bind the list to be paired and the device list;
the display unit is used for displaying the name of the Bluetooth equipment and the color corresponding to the color identifier of the Bluetooth equipment in the list to be paired according to the equipment list;
the transmitting unit is used for transmitting the unique color identifier corresponding to each Bluetooth device to the corresponding Bluetooth device so that the Bluetooth device can light the LED lamp according to the corresponding unique color identifier;
the receiving unit is used for receiving a Bluetooth device selection instruction of a user; the Bluetooth device selection instruction comprises the name and the color of a target Bluetooth device;
the searching unit is used for searching the list to be paired and the equipment list according to the name and the color of the target Bluetooth equipment and determining the color identifier of the target Bluetooth equipment;
the pairing unit is used for pairing the target Bluetooth equipment corresponding to the color identifier according to the color identifier;
the allocation unit is specifically configured to:
acquiring the number of the Bluetooth devices to be paired;
and determining a color identifier distribution mode according to the number.
6. The system according to claim 5, wherein the plurality of Bluetooth devices to be connected are Bluetooth devices of the same type having the same name, or wherein the Bluetooth devices to be connected are Bluetooth devices of different types having the same name.
7. The system of claim 6, wherein the color identifier comprises any one of a color value and a color number.
8. The system of claim 6, further comprising: a newly added unit;
the newly-added unit is used for distributing color identification to the newly-added Bluetooth equipment to be paired if the newly-added Bluetooth equipment to be paired is the same as the Bluetooth equipment in the list to be paired when the Bluetooth equipment to be paired is newly added in the area;
and storing the color identifiers of the newly-added to-be-paired Bluetooth equipment and the newly-added to-be-paired Bluetooth equipment in the equipment list.
CN202010664085.9A 2020-07-10 2020-07-10 Equipment query method and system Active CN111918255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010664085.9A CN111918255B (en) 2020-07-10 2020-07-10 Equipment query method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010664085.9A CN111918255B (en) 2020-07-10 2020-07-10 Equipment query method and system

Publications (2)

Publication Number Publication Date
CN111918255A CN111918255A (en) 2020-11-10
CN111918255B true CN111918255B (en) 2022-09-16

Family

ID=73226334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010664085.9A Active CN111918255B (en) 2020-07-10 2020-07-10 Equipment query method and system

Country Status (1)

Country Link
CN (1) CN111918255B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2040206A1 (en) * 2007-09-21 2009-03-25 Research In Motion Limited Color differentiating a portion of a text message shown in a listing on a handheld communication device
CN106357485A (en) * 2016-08-16 2017-01-25 北京小米移动软件有限公司 Method and device for marking equipment
CN106385352A (en) * 2016-10-20 2017-02-08 北京小米移动软件有限公司 Device binding method and device
CN106792433A (en) * 2016-11-17 2017-05-31 努比亚技术有限公司 Bluetooth terminal, the identification processing system of Bluetooth terminal and method
CN109587669A (en) * 2019-01-16 2019-04-05 平安科技(深圳)有限公司 A kind of Bluetooth pairing methods, device, readable storage medium storing program for executing and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2040206A1 (en) * 2007-09-21 2009-03-25 Research In Motion Limited Color differentiating a portion of a text message shown in a listing on a handheld communication device
CN106357485A (en) * 2016-08-16 2017-01-25 北京小米移动软件有限公司 Method and device for marking equipment
CN106385352A (en) * 2016-10-20 2017-02-08 北京小米移动软件有限公司 Device binding method and device
CN106792433A (en) * 2016-11-17 2017-05-31 努比亚技术有限公司 Bluetooth terminal, the identification processing system of Bluetooth terminal and method
CN109587669A (en) * 2019-01-16 2019-04-05 平安科技(深圳)有限公司 A kind of Bluetooth pairing methods, device, readable storage medium storing program for executing and terminal device

Also Published As

Publication number Publication date
CN111918255A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN106100721B (en) Method, server, remote controler and the system that unmanned plane and remote controler are matched
CN107465528B (en) ODN resource information acquisition method and device for optical distribution network
JP6945156B2 (en) Lighting system control parameter input method and operation terminal
CN111641997B (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
EP4246924A1 (en) Bluetooth address allocation method for smart lamp, computer apparatus, and computer readable storage medium
CN104636194A (en) Terminal and method for terminal to achieve ranking of applications
US10305728B2 (en) Discovering, identifying, and configuring devices with opaque addresses in the internet of things environment
US20190053355A1 (en) Lighting system, operating device, and mapping method for use in lighting system
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN111443910A (en) Skin rendering method and device, electronic equipment and computer storage medium
CN111918255B (en) Equipment query method and system
CN104202834A (en) Control method, controller and electronic equipment
CN105955775A (en) Application program installation package push method and device
CN106453021A (en) Internet of things device control method and device
CN103686680A (en) Information acquisition method, remote equipment, mobile terminal and information acquisition system
CN112312361B (en) Host slave pairing method and system
US20090089457A1 (en) Reconnecting a host computer with a networked printer having a dynamic network address
CN111641996B (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN112455328A (en) Touch device for automobile atmosphere lamp and implementation method
US10154573B2 (en) Luminaire grouping method, controller, and lighting system
CN213892330U (en) Touch device for automobile atmosphere lamp
CN112292723B (en) Display screen configuration control method, device and system
WO2022117027A1 (en) Configuration method for sub-devices of smart home control panel, computer device and computer-readable storage medium
CN114697291A (en) Method, device, server and storage medium for acquiring available IP address field
CN111246268B (en) Pairing method of infrared devices, television and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20220401

Address after: 264200 Beiyang electronic information incubator, No. 169-1, Torch Road, high tech Industrial Development Zone, Weihai City, Shandong Province

Applicant after: WEIHAI BEIYANG ELECTRIC GROUP Co.,Ltd.

Address before: C1110, Caizhi building, 18 Zhongguancun East Road, Haidian District, Beijing

Applicant before: Beijing Branch of Weihai Beiyang Electric Group Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant