CN115623465B - Scanning configuration method and system of equipment - Google Patents

Scanning configuration method and system of equipment Download PDF

Info

Publication number
CN115623465B
CN115623465B CN202211621571.8A CN202211621571A CN115623465B CN 115623465 B CN115623465 B CN 115623465B CN 202211621571 A CN202211621571 A CN 202211621571A CN 115623465 B CN115623465 B CN 115623465B
Authority
CN
China
Prior art keywords
bluetooth
information
acquiring
priority
current
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
CN202211621571.8A
Other languages
Chinese (zh)
Other versions
CN115623465A (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.)
Shenzhen Magicwifi Technology Co ltd
Original Assignee
Shenzhen Magicwifi 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 Shenzhen Magicwifi Technology Co ltd filed Critical Shenzhen Magicwifi Technology Co ltd
Priority to CN202211621571.8A priority Critical patent/CN115623465B/en
Publication of CN115623465A publication Critical patent/CN115623465A/en
Application granted granted Critical
Publication of CN115623465B publication Critical patent/CN115623465B/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/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a scanning configuration method and a system of equipment, belonging to the technical field of data communication, wherein the method comprises the following steps: when the target Bluetooth equipment with the established connection relation is deleted, acquiring the mark information of the target Bluetooth equipment for storage, and using the mark information as cache mark information; when the Bluetooth devices are scanned again, acquiring Bluetooth signals of all the Bluetooth devices; acquiring current mark information of the Bluetooth device based on the Bluetooth signal; judging whether the current marking information has marking information matched with the cache marking information; if yes, marking the matched current marking information, and taking the marked current marking information as priority marking information; and acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information preferentially. The method and the device have the effect of more accurately finding the deleted Bluetooth equipment and more accurately establishing connection between the terminal equipment and the Bluetooth equipment.

Description

Scanning configuration method and system of equipment
Technical Field
The present application relates to the field of data communication technologies, and in particular, to a method and a system for scanning and configuring a device.
Background
The bluetooth equipment is the equipment that present most people all can use, because its mode that adopts wireless connection, can effectual reduction owing to the redundant miscellaneous nature of the circuit that various connecting wires brought, and bluetooth equipment also conveniently carries to a certain extent. Such as the current use of more and more bluetooth headsets, bluetooth speakers, bluetooth printers, etc.
When more and more Bluetooth devices are connected with terminals such as mobile phones or computers, people sometimes delete the Bluetooth devices which are not used for a long time from the terminals, so that the connection of other commonly used Bluetooth devices is conveniently found.
However, in the above manner, when the terminal device needs to establish connection with the deleted bluetooth device again, if there are a plurality of bluetooth devices that can be identified in the vicinity of the terminal device, the user of the terminal device may not be able to accurately find the device that needs to be connected.
Disclosure of Invention
In order to more accurately find the deleted Bluetooth equipment and enable the terminal equipment to more accurately establish connection with the Bluetooth equipment, the application provides a scanning configuration method and a scanning configuration system of the equipment.
In a first aspect, the present application provides a method for configuring scanning of a device, which adopts the following technical solutions:
a scan configuration method of a device, comprising:
when a target Bluetooth device with an established connection relation is deleted, acquiring and storing label information of the target Bluetooth device, and using the label information as cache label information;
when the Bluetooth devices are scanned again, acquiring Bluetooth signals of all the Bluetooth devices;
acquiring current tag information of the Bluetooth device based on the Bluetooth signal;
judging whether the current marking information has marking information matched with the cache marking information or not;
if yes, marking the matched current marking information, and taking the marked current marking information as priority marking information;
and acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information preferentially.
By adopting the technical scheme, when the target Bluetooth equipment with the connection relation established is deleted, the mark information of the target Bluetooth equipment is acquired and stored and is used as the cache mark information. When the Bluetooth devices are scanned again, the Bluetooth signals of all the Bluetooth devices are obtained, and the current mark information of the Bluetooth devices is obtained according to the Bluetooth signals. And then judging whether the current marking information has marking information matched with the cache marking information, if so, marking the matched current marking information, and taking the marked information as priority marking information. And finally, acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information, so that a user can preferentially find the connected Bluetooth equipment, can more accurately find the deleted Bluetooth equipment, can avoid connection failure or errors caused by the selected wrong Bluetooth equipment as much as possible, and can more accurately establish connection with the Bluetooth equipment.
Preferably, after the obtaining the priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information, the method further includes:
when the target Bluetooth device is disconnected, acquiring a current time point;
acquiring a deleting time point for deleting the target Bluetooth equipment;
acquiring a deletion duration based on the deletion time point and the current time point;
judging whether the deleting time length is greater than a preset time length or not;
if yes, acquiring a deleting instruction;
deleting the target Bluetooth device again based on the deletion instruction;
and if not, not acquiring the deleting instruction.
By adopting the technical scheme, when the target Bluetooth device is disconnected, the deleting time length is obtained through the current time point and the deleting time point, whether the deleting time length is greater than the preset time length is judged, and whether the deleting time length of the target Bluetooth device is long enough is further determined. If yes, obtaining a deleting instruction to delete the target Bluetooth device again, and if not, not obtaining the deleting instruction. Therefore, whether the target Bluetooth equipment is the common equipment or not can be determined according to the time length for deleting the target Bluetooth equipment, and whether the target Bluetooth equipment is deleted or not is further determined, and convenience in operation can be improved.
Preferably, after the deleting instruction is not acquired, the method further includes:
acquiring a clearing instruction;
clearing the corresponding cache mark information based on the clearing instruction.
By adopting the technical scheme, the cache space can be saved by clearing the cache tag information according to the clearing instruction.
Preferably, after the obtaining the priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information, the method further includes:
when connection with the target Bluetooth device is established again, acquiring cloud configuration data uploaded when the target Bluetooth device is deleted based on the cache mark information;
sending the cloud configuration data to the target Bluetooth device to configure the target Bluetooth device.
Through adopting above-mentioned technical scheme, dispose target bluetooth setting once more according to cloud configuration data, need not artifical setting once more, it is comparatively convenient to operate.
Preferably, after the obtaining the priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information, the method further includes:
acquiring the residual Bluetooth signals as residual Bluetooth signals;
acquiring the Bluetooth name of the Bluetooth device based on the residual Bluetooth signals;
classifying the Bluetooth names based on a preset classification rule, obtaining classification names and displaying the classification names.
Through adopting above-mentioned technical scheme, classify the bluetooth name according to preset classification rule to obtain categorised name and demonstrate, can make things convenient for more to carry out regular searching to bluetooth equipment.
Preferably, when there is no tag information matching with the cache tag information in the current tag information, the method further includes:
when connection with the Bluetooth equipment is established, acquiring a software downloading address of the Bluetooth equipment for establishing the connection;
and automatically downloading the control software of the Bluetooth equipment based on the software downloading address.
By adopting the technical scheme, the control software of the Bluetooth equipment is automatically downloaded according to the software downloading address, and the Bluetooth equipment is conveniently controlled through the control software.
Preferably, the control software for automatically downloading the bluetooth device based on the software download address includes:
acquiring a system type of a terminal device connected with the Bluetooth device, wherein the system type comprises a mobile phone system and a computer system;
the software downloading address comprises a mobile phone system address and a computer system address;
if the system type is the mobile phone system, automatically downloading control software of the Bluetooth equipment based on the mobile phone system address;
and if the system type is the computer system, automatically downloading the control software of the Bluetooth equipment based on the computer system address.
By adopting the technical scheme, the corresponding control software can be downloaded according to the system address of the mobile phone or the computer system address according to different system types, and the downloading accuracy can be improved.
In a second aspect, the present application provides a scanning configuration system for a device, which adopts the following technical solutions:
a scan configuration system for a device, comprising:
the information storage module is used for acquiring the tag information of the target Bluetooth equipment for storage and taking the tag information as cache tag information when deleting the target Bluetooth equipment with the established connection relation;
the signal acquisition module is used for acquiring the Bluetooth signals of all the Bluetooth devices when the Bluetooth devices are scanned again;
the information acquisition module is used for acquiring the current mark information of the Bluetooth equipment based on the Bluetooth signal;
the information judgment module is used for judging whether the current marking information contains marking information matched with the cache marking information or not;
the information marking module is used for marking the matched current marking information when the marking information matched with the cache marking information exists in the current marking information, and taking the marked current marking information as priority marking information;
and the instruction acquisition module is used for acquiring a priority display instruction so as to display the Bluetooth signal corresponding to the priority mark information preferentially.
By adopting the technical scheme, according to the information transmission among the modules, when the target Bluetooth equipment with the connection relation established is deleted, the mark information of the target Bluetooth equipment is acquired and stored, and the mark information is used as the cache mark information. When the Bluetooth devices are scanned again, the Bluetooth signals of all the Bluetooth devices are obtained, and the current mark information of the Bluetooth devices is obtained according to the Bluetooth signals. And then judging whether the current marking information has marking information matched with the cache marking information, if so, marking the matched current marking information, and taking the marked information as priority marking information. And finally, acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information, so that a user can preferentially find the connected Bluetooth equipment, can more accurately find the deleted Bluetooth equipment, can avoid connection failure or errors caused by the selected wrong Bluetooth equipment as much as possible, and can more accurately establish connection with the Bluetooth equipment.
In summary, the present application includes at least one of the following beneficial technical effects:
1. when a target Bluetooth device with a connection relation established is deleted, cache mark information is obtained, when the Bluetooth device is scanned again, whether mark information matched with the cache mark information exists in the current mark information or not is judged, if yes, a priority display instruction is obtained to display a Bluetooth signal corresponding to the priority mark information, so that a user can preferentially find the Bluetooth device with the connection established, the deleted Bluetooth device can be more accurately found, connection failure or errors caused by the selected wrong Bluetooth device can be avoided as much as possible, and the terminal device can more accurately establish connection with the Bluetooth device;
2. when the target Bluetooth device is disconnected, the deleting time length is obtained through the current time point and the deleting time point, whether the deleting time length is larger than the preset time length or not is judged, and whether the deleting time length of the target Bluetooth device is long enough or not is further determined. If yes, obtaining a deleting instruction to delete the target Bluetooth device again, and if not, not obtaining the deleting instruction. Therefore, whether the target Bluetooth equipment is the common equipment or not can be determined according to the time length for deleting the target Bluetooth equipment, and whether the target Bluetooth equipment is deleted or not is further determined, and convenience in operation can be improved.
Drawings
Fig. 1 is a schematic flowchart of a scan configuration method of a device according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of steps S11 to S17 according to an embodiment of the present application;
FIG. 3 is a schematic flowchart of steps S21 to S22 according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of steps S31 to S32 according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of steps S41 to S43 in one embodiment of the present application;
FIG. 6 is a schematic flowchart of steps S51 to S52 according to an embodiment of the present application;
FIG. 7 is a schematic flow chart of steps S61 to S63 according to an embodiment of the present application;
fig. 8 is a block diagram of a scanning configuration system of a device according to an embodiment of the present disclosure.
Description of reference numerals:
1. an information storage module; 2. a signal acquisition module; 3. an information acquisition module; 4. an information judgment module; 5. an information marking module; 6. and an instruction acquisition module.
Detailed Description
The present application is described in further detail below with reference to figures 1 to 8.
The embodiment of the application discloses a scanning configuration method of equipment.
Referring to fig. 1, a scan configuration method of a device includes:
s1, when a target Bluetooth device with an established connection relation is deleted, acquiring mark information of the target Bluetooth device for storage, and using the mark information as cache mark information;
s2, when the Bluetooth equipment is scanned again, acquiring Bluetooth signals of all the Bluetooth equipment;
s3, acquiring current mark information of the Bluetooth equipment based on the Bluetooth signal;
s4, judging whether the current marking information contains marking information matched with the cache marking information or not;
s5, if the current mark information exists, marking the matched current mark information, and taking the marked current mark information as priority mark information;
and S6, acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information preferentially.
Specifically, when a target bluetooth device with an established connection relationship is deleted, tag information of the target bluetooth device is acquired and stored as cache tag information. The mark information can be obtained after establishing a connection relation with the Bluetooth equipment, and the obtaining mode can be obtained according to the address of the Bluetooth equipment. The bluetooth address can be divided into three parts: LAP (24-bit address low-end part), UAP (8-bit address high-end part), and NAP (16-bit meaningless address part).
NAP and UAP are unique identification codes of manufacturers, and must be distributed to different manufacturers by Bluetooth authorities. While the LAP is freely distributed by the inside of the manufacturer, for a certain model of mobile phone or equipment, the NAP and UAP of all individuals are fixed, and the LAP can be changed. LAP has 24 bits, and manufacturers can distribute addresses from 0 to 24 power of 2 when manufacturing bluetooth equipment so as to ensure the address difference among individuals. That is, by recording the LAP, it is possible to use as the tag information, that is, as the cache tag information. Of course, the tag information may also be a bluetooth address, and may also record the device name of the bluetooth device.
Therefore, when the target bluetooth device which has established the connection relation is deleted, all other data of the target bluetooth device are deleted, only the tag information is reserved, and caching is performed. The target bluetooth device is the bluetooth device that has already established a connection relationship but needs to be deleted.
When the target bluetooth device needs to be connected again, since there may be a plurality of bluetooth devices, when performing bluetooth scanning, bluetooth signals of all connectable bluetooth devices are obtained. And then, acquiring current tag information of the Bluetooth device according to the Bluetooth signal, wherein the current tag information can be a Bluetooth address of the Bluetooth device, can also be LAP in the Bluetooth address, and can also be a device name.
Then, whether the tag information matched with the cache tag information exists in the current tag information is judged, that is, whether the cached bluetooth address is the same as the bluetooth address of the bluetooth device is judged, or whether the device name of the bluetooth device is the same as the cached device name is judged, if so, the existence is proved, otherwise, the absence is judged.
If not, no other action may be performed. If the matched current marking information exists, the matched current marking information is marked, the marked current marking information is used as priority marking information, and the marking mode can be that the matched current marking information is added with a mark.
And finally, acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information preferentially. The specific method may be that, when there is matched current tag information, a priority display instruction stored in the system is obtained, where the priority display instruction includes a tag of the current tag information, and all bluetooth signals corresponding to the current tag information containing the tag are displayed before all other bluetooth signals.
That is, for example, when all bluetooth signals are displayed in a list form, all marked current tag information, that is, priority tag information, is located at the forefront for displaying, so that a user can preferentially find a bluetooth device that has already established connection, can more accurately find a deleted bluetooth device, can avoid connection failure or error caused by selecting an incorrect bluetooth device as much as possible, and can more accurately establish connection with the bluetooth device.
Referring to fig. 2, in order to improve convenience of configuration of the target bluetooth device, in another embodiment, after the step S6 of acquiring a priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information, the method further includes:
s11, when the target Bluetooth device is disconnected, acquiring a current time point;
s12, acquiring a deleting time point of the target Bluetooth device;
s13, acquiring a deleting duration based on the deleting time point and the current time point;
s14, judging whether the deleting time length is greater than a preset time length or not;
s15, if yes, acquiring a deleting instruction;
s16, deleting the target Bluetooth equipment again based on the deleting instruction;
and S17, if not, not acquiring the deleting instruction.
Specifically, after the priority display instruction is acquired to preferentially display the bluetooth signal corresponding to the priority tag information, and when the bluetooth signal is disconnected from the target bluetooth device, that is, after the current target bluetooth device is used, the bluetooth connection with the target bluetooth device needs to be disconnected at this time, so that the current time point is acquired at this time, the current time point is the time point when the bluetooth signal is completely disconnected from the target bluetooth device, and the acquisition mode can be acquired through a time timer of the system.
Then, the deleting time point of the target bluetooth device, that is, the time point of the target bluetooth device deleting which is the closest time to the time of establishing the connection with the target bluetooth device and is before the time of establishing the connection with the target bluetooth device, is obtained, and the obtaining mode may be recorded by a time timer of the system, that is, the time point of the target bluetooth device completely deleting from the system is recorded, and of course, the complete deletion does not include the tag information. For example, if the time for establishing the connection for the first time is a, the time for deleting the target bluetooth device for the last time is B, the time for establishing the connection for the second time thereafter is C, and the time for disconnecting the connection is D, the time B is the deletion time point, and the time D is the current time point.
And then, acquiring the deleting time length according to the deleting time point and the current time point, namely subtracting the value acquired by the deleting time point from the current time point to obtain the deleting time length, thereby determining the deleting time length of the target Bluetooth equipment from the system.
And then, judging whether the deleting time length is greater than the preset time length, namely judging whether the frequency of the target Bluetooth device is not high, if the deleting time length is greater than the preset time length, proving that the use frequency of the target Bluetooth device is less, otherwise, proving that the use frequency of the target Bluetooth device is more. The preset duration can be set according to actual conditions.
If the deleting time length is longer than the preset time length, when the target Bluetooth device is disconnected, the deleting instruction is obtained, the target Bluetooth device is deleted again according to the deleting instruction, when the target Bluetooth device is deleted, the mark information corresponding to the target Bluetooth device is cached continuously, the target Bluetooth device can be deleted from the list with the established connection relation, the number of devices in the list can be reduced, and the Bluetooth devices can be conveniently searched and checked.
And if the deleting duration is not longer than the preset duration, namely the deleting duration is less than or equal to the preset duration, at the moment, the deleting instruction is not acquired, the target Bluetooth equipment is not deleted, the subsequent direct connection is convenient, and if the deleting is needed, the deleting can be carried out again through manual operation.
Furthermore, by means of the mode, convenience in configuration of the target Bluetooth device can be improved conveniently, namely, the target Bluetooth device is convenient to keep or delete, and operation is convenient and fast.
Referring to fig. 3, in order to reduce the occupation of the cache space, in another embodiment, after the deleting instruction is not obtained, the method further includes:
s21, acquiring a clearing instruction;
and S22, clearing corresponding cache mark information based on the clearing instruction.
When the target Bluetooth device does not need to be deleted, a clearing instruction is obtained, the clearing instruction comprises the position of the mark information corresponding to the target Bluetooth device in the cache space, and then the mark information of the target Bluetooth device, namely the cache information, is searched in the cache space according to the clearing instruction, so that unnecessary occupation of the cache space can be reduced.
Referring to fig. 4, in order to configure the target bluetooth device, in another embodiment, after acquiring the priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information in step S6, the method further includes:
s31, when connection with the target Bluetooth device is established again, acquiring cloud configuration data uploaded when the target Bluetooth device is deleted based on the cache mark information;
and S32, sending the cloud configuration data to the target Bluetooth device to configure the target Bluetooth device.
Specifically, after the priority display instruction is acquired to preferentially display the bluetooth signal corresponding to the priority tag information, and when connection is established with the target bluetooth device again, the cloud configuration data uploaded when the target bluetooth device is deleted is acquired based on the cache tag information. The cloud configuration data are related parameters which are set for the target Bluetooth device before the target Bluetooth device is deleted, and after the related parameters are set, the related parameters are uploaded to a cloud server to be stored, and are bound with the Bluetooth address of the target Bluetooth device in the uploading process, so that the parameters of the Bluetooth device can be acquired from the cloud server after the Bluetooth address of the target Bluetooth device is acquired.
After the cloud configuration data are obtained, the cloud configuration data are sent to the target Bluetooth device to configure the target Bluetooth device, the to-be-set parameters are sent to the Bluetooth device, the Bluetooth device can be set according to the obtained parameters, therefore, the Bluetooth device can be adjusted to be in a required state, a user does not need to readjust the parameters of the Bluetooth device again in sequence, and the operation is convenient.
Referring to fig. 5, in order to more conveniently view devices other than the target bluetooth device, in another embodiment, after obtaining the priority display instruction to preferentially display the bluetooth signal corresponding to the priority flag information in step S6, the method further includes:
s41, acquiring the residual Bluetooth signals as residual Bluetooth signals;
s42, acquiring the Bluetooth name of the Bluetooth device based on the residual Bluetooth signals;
s43, classifying the Bluetooth names based on a preset classification rule, and obtaining and displaying the classification names.
Specifically, after the bluetooth signal corresponding to the priority mark information is preferentially displayed, the remaining bluetooth information is acquired as the remaining bluetooth signal, and then the bluetooth name of the bluetooth device is acquired according to the remaining bluetooth signal, that is, the bluetooth signal includes the bluetooth name of the bluetooth device.
And then classifying the Bluetooth names according to a preset classification rule, wherein the preset classification rule can classify the Bluetooth names according to Chinese and English, namely classifying the Bluetooth names of all Chinese names, classifying the Bluetooth names of all English names, and after the classification is finished, the Chinese names can be in front, the English names can be in back, and the sequence of the Chinese names and the English names can be exchanged.
Further, after classifying the chinese names or the english names, the names of each class may be sequentially ordered according to the order of the first letter of each name, for example, for the chinese names, the bluetooth names respectively have: the first letters of the three names are SJ, SB and ZJ respectively, and S is before Z, so that the host ranks at the end, the first letters of the mobile phone and the device are S, the latter letter is seen, and the device ranks at the front of the mobile phone because B is before J, so that the finally obtained sequence is the device, the mobile phone and the host, and the English names are the same.
Therefore, by the mode, the name after classification, namely the classification name can be obtained, the classification name is displayed, when the connection with the Bluetooth equipment is needed and the user knows the name of the Bluetooth equipment, the Bluetooth signal of the Bluetooth equipment needing to be connected can be found more quickly according to the arrangement rule, and the searching efficiency can be improved. Of course, when it is understood that no matter how the above-mentioned sequence is changed, the bluetooth signal corresponding to the priority label information always precedes the bluetooth signal corresponding to the class name.
Referring to fig. 6, in order to better and more conveniently configure the bluetooth device, in another embodiment, when there is no tag information matching the cached tag information in the current tag information, the method further includes:
s51, when connection with the Bluetooth equipment is established, acquiring a software downloading address of the Bluetooth equipment for establishing the connection;
and S52, automatically downloading the control software of the Bluetooth equipment based on the software downloading address.
Specifically, if there is no tag information matching with the cache tag information in the current tag information, at this time, when connection is established with the bluetooth device, the software download address of the bluetooth device establishing connection is acquired, at this time, after connection is established with the bluetooth device, the bluetooth device sends the software download address pre-stored in the bluetooth device to the system, so that the system can acquire the software download address.
And then, the system automatically downloads the control software installation package of the Bluetooth equipment from the download address to the system according to the software download address and installs the control software installation package in the system, so that a user can conveniently perform parameter adjustment and other operations on the Bluetooth equipment through the control software.
Referring to fig. 7, in order to improve the accuracy of downloading the control software installation package, in another embodiment, the step S52 of automatically downloading the control software of the bluetooth device based on the software download address includes:
s61, acquiring the system type of the terminal equipment connected with the Bluetooth equipment, wherein the system type comprises a mobile phone system and a computer system;
s62, if the system type is a mobile phone system, automatically downloading control software of the Bluetooth device based on the mobile phone system address;
and S63, if the system type is a computer system, automatically downloading the control software of the Bluetooth equipment based on the address of the computer system.
Specifically, the control software for automatically downloading the Bluetooth device based on the software downloading address comprises the system type of the terminal device connected with the Bluetooth device, wherein the system type comprises a mobile phone system and a computer system. That is, the bluetooth device may be connected to a mobile phone terminal or a computer terminal, and the two terminals have different installation package types and cannot be used in a cross manner, so that the device information of the terminal device needs to be acquired, and the device information includes the system type.
The software downloading address also comprises a mobile phone system address and a computer system address, and then the type of the system is judged to be a mobile phone system or a computer system. If the system type is a mobile phone system, the control software of the Bluetooth device is automatically downloaded based on the address of the mobile phone system. Namely, the mobile phone system address is entered to download and install the installation package corresponding to the mobile phone system. If the system type is a computer system, the control software of the Bluetooth device is automatically downloaded based on the address of the computer system. That is, the computer system address is entered to download and install the installation package corresponding to the computer system.
Therefore, by the mode, the installation package of the control software can be downloaded more accurately, the situation that the downloaded installation package cannot be installed on equipment corresponding to the currently determined system type can be avoided as much as possible, the downloading accuracy can be improved, and the efficiency of configuring the Bluetooth equipment is improved.
The implementation principle of the scanning configuration method of the device in the embodiment of the application is as follows: and when the target Bluetooth equipment which has established the connection relation is deleted, acquiring the tag information of the target Bluetooth equipment, storing the tag information, and using the tag information as cache tag information. When the Bluetooth devices are scanned again, the Bluetooth signals of all the Bluetooth devices are obtained, and the current mark information of the Bluetooth devices is obtained according to the Bluetooth signals. And then judging whether the current marking information has marking information matched with the cache marking information, if so, marking the matched current marking information, and taking the marked information as priority marking information. And finally, acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information, so that a user can preferentially find the connected Bluetooth equipment, can more accurately find the deleted Bluetooth equipment, can avoid connection failure or errors caused by selecting the wrong Bluetooth equipment as much as possible, and can more accurately establish connection with the Bluetooth equipment.
The embodiment of the application also discloses a scanning configuration system of the equipment, which can achieve the same technical effect as the scanning configuration method of the equipment.
Referring to fig. 8, a scan configuration system of a device includes:
the information storage module 1 is used for acquiring the mark information of the target Bluetooth device for storage and taking the mark information as cache mark information when deleting the target Bluetooth device with the established connection relation;
the signal acquisition module 2 is used for acquiring the Bluetooth signals of all the Bluetooth devices when the Bluetooth devices are scanned again;
the information acquisition module 3 is used for acquiring the current mark information of the Bluetooth equipment based on the Bluetooth signal;
the information judgment module 4 is used for judging whether the current marking information contains marking information matched with the cache marking information;
the information marking module 5 is configured to mark the matched current marking information when the marking information matched with the cache marking information exists in the current marking information, and use the marked current marking information as priority marking information;
and the instruction acquisition module 6 is used for acquiring the priority display instruction so as to preferentially display the Bluetooth signal corresponding to the priority mark information.
Specifically, when a target bluetooth device with an established connection relationship is deleted, the information storage module 1 acquires tag information of the target bluetooth device, stores the tag information as cache tag information, and sends the cache tag information to the information judgment module 4 connected to the information storage module.
Then, when the bluetooth devices are scanned again, the signal acquiring module 2 acquires the bluetooth signals of all the bluetooth devices and sends the bluetooth signals to the information acquiring module 3 connected to the signal acquiring module. Then, the information obtaining module 3 obtains the current tag information of the bluetooth device based on the bluetooth signal, and sends the current tag information to the information judging module 4 connected with the current tag information.
Then, the information judgment module 4 judges whether the current tag information contains tag information matched with the cache tag information, and sends the judgment result to the information tag module 5 connected with the information tag module. When the current marking information contains the marking information matched with the cache marking information, the information marking module 5 marks the matched current marking information, and sends the marked current marking information as the priority marking information to the instruction acquisition module 6 connected with the priority marking information.
Finally, the instruction obtaining module 6 obtains a priority display instruction to preferentially display the bluetooth signal corresponding to the priority mark information. Therefore, a user can preferentially find the connected Bluetooth equipment, can more accurately find the deleted Bluetooth equipment, can avoid connection failure or errors caused by selecting the wrong Bluetooth equipment as far as possible, and can more accurately establish connection with the Bluetooth equipment by the terminal equipment.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: equivalent changes in structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (7)

1. A scan configuration method for a device, comprising:
when a target Bluetooth device with an established connection relation is deleted, acquiring and storing tag information of the target Bluetooth device, and using the tag information as cache tag information;
when the Bluetooth equipment is scanned again, acquiring Bluetooth signals of all the Bluetooth equipment;
acquiring current tag information of the Bluetooth device based on the Bluetooth signal;
judging whether the current marking information has marking information matched with the cache marking information or not;
if yes, marking the matched current marking information, and taking the marked current marking information as priority marking information;
acquiring a priority display instruction to display the Bluetooth signal corresponding to the priority mark information preferentially;
after the obtaining of the priority display instruction to preferentially display the bluetooth signal corresponding to the priority label information, the method further includes:
when the target Bluetooth device is disconnected, acquiring a current time point;
acquiring a deleting time point for deleting the target Bluetooth equipment;
acquiring a deletion time length based on the deletion time point and the current time point;
judging whether the deletion time length is greater than a preset time length or not;
if yes, acquiring a deleting instruction;
deleting the target Bluetooth device again based on the deletion instruction;
and if not, not acquiring the deleting instruction.
2. The scan configuration method according to claim 1, further comprising, after said not acquiring the delete instruction:
acquiring a clearing instruction;
clearing the corresponding cache mark information based on the clearing instruction.
3. The scan configuration method according to claim 1, further comprising, after the obtaining a priority showing instruction to show the bluetooth signal corresponding to the priority label information preferentially, the step of:
when connection with the target Bluetooth device is established again, acquiring cloud configuration data uploaded when the target Bluetooth device is deleted based on the cache mark information;
sending the cloud configuration data to the target Bluetooth device to configure the target Bluetooth device.
4. The scan configuration method according to claim 1, further comprising, after the obtaining a priority showing instruction to show the bluetooth signal corresponding to the priority label information preferentially, the step of:
acquiring the residual Bluetooth signals as residual Bluetooth signals;
acquiring the Bluetooth name of the Bluetooth device based on the residual Bluetooth signals;
and classifying the Bluetooth names based on a preset classification rule, and obtaining and displaying classification names.
5. The scan configuration method according to claim 1, when there is no tag information matching the cached tag information in the current tag information, further comprising:
when connection with the Bluetooth equipment is established, acquiring a software downloading address of the Bluetooth equipment for establishing the connection;
and automatically downloading the control software of the Bluetooth equipment based on the software downloading address.
6. The scan configuration method of claim 5, wherein the automatically downloading the control software of the Bluetooth device based on the software download address comprises:
acquiring a system type of a terminal device connected with the Bluetooth device, wherein the system type comprises a mobile phone system and a computer system;
the software downloading address comprises a mobile phone system address and a computer system address;
if the system type is the mobile phone system, automatically downloading the control software of the Bluetooth equipment based on the mobile phone system address;
and if the system type is the computer system, automatically downloading the control software of the Bluetooth equipment based on the computer system address.
7. A scan configuration system for a device, comprising:
the information storage module (1) is used for acquiring the tag information of the target Bluetooth equipment to be stored when the target Bluetooth equipment with the connection relation established is deleted and taking the tag information as cache tag information;
the signal acquisition module (2) is used for acquiring the Bluetooth signals of all the Bluetooth devices when the Bluetooth devices are scanned again;
the information acquisition module (3) is used for acquiring the current mark information of the Bluetooth device based on the Bluetooth signal;
the information judging module (4) is used for judging whether the current mark information has mark information matched with the cache mark information;
an information marking module (5) for marking the matched current marking information when the current marking information has the marking information matched with the cache marking information, and taking the marked current marking information as priority marking information;
the instruction acquisition module (6) is used for acquiring a priority display instruction so as to display the Bluetooth signal corresponding to the priority mark information preferentially;
after the bluetooth signal corresponding to the priority mark information is preferentially displayed by acquiring the priority display instruction, the method further comprises the following steps:
when the target Bluetooth device is disconnected, acquiring a current time point;
acquiring a deleting time point for deleting the target Bluetooth equipment;
acquiring a deletion duration based on the deletion time point and the current time point;
judging whether the deleting time length is greater than a preset time length or not;
if yes, acquiring a deleting instruction;
deleting the target Bluetooth device again based on the deletion instruction;
and if not, not acquiring the deleting instruction.
CN202211621571.8A 2022-12-16 2022-12-16 Scanning configuration method and system of equipment Active CN115623465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211621571.8A CN115623465B (en) 2022-12-16 2022-12-16 Scanning configuration method and system of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211621571.8A CN115623465B (en) 2022-12-16 2022-12-16 Scanning configuration method and system of equipment

Publications (2)

Publication Number Publication Date
CN115623465A CN115623465A (en) 2023-01-17
CN115623465B true CN115623465B (en) 2023-03-28

Family

ID=84880371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211621571.8A Active CN115623465B (en) 2022-12-16 2022-12-16 Scanning configuration method and system of equipment

Country Status (1)

Country Link
CN (1) CN115623465B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374958A (en) * 2021-12-30 2022-04-19 展讯通信(上海)有限公司 Bluetooth communication method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101949373B1 (en) * 2012-03-30 2019-02-19 삼성전자주식회사 Method and apparatus for bluetooth connecting in a mobile terminal and computer readable medium thereof
CN104426582B (en) * 2013-08-28 2018-09-25 中兴通讯股份有限公司 Bluetooth communication processing method, Bluetooth communication terminal and communication device
CN104796546A (en) * 2015-04-16 2015-07-22 惠州Tcl移动通信有限公司 Bluetooth communication processing method and Bluetooth communication processing system based on mobile terminals
WO2020220260A1 (en) * 2019-04-30 2020-11-05 深圳市大疆创新科技有限公司 Wireless connection method, wireless connection system, control terminal and mobile device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374958A (en) * 2021-12-30 2022-04-19 展讯通信(上海)有限公司 Bluetooth communication method, device and equipment

Also Published As

Publication number Publication date
CN115623465A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
US7062260B2 (en) Fetching application and driver for extension device from network
CN102396272B (en) Using a bluetooth capable mobile phone to acces a remote network
CN102129375B (en) Method and equipment for system upgrade of mobile terminal
JP4768735B2 (en) Portable wireless communication device and method for updating software
CN107220035B (en) Interface theme updating system and method, client, instrument terminal and server
CN104778056A (en) Autonomous global software update
CN102546766A (en) Method for automatic data maintenance
US8693999B2 (en) Communication apparatus, maintenance system, maintenance method and computer program
KR101082628B1 (en) Firmware upgrade system of audio/video/navigation(avn) system for vehicle using bluetooth mobile communication terminal and the method
CN111158738A (en) Earphone firmware upgrading method and device and readable storage medium
CN100391279C (en) Method for updating main programme executed by radio communication module
JP2003032381A (en) Information communication terminal and program
JP2023016871A (en) Management system for fusion connection device, and management method for fusion connection device
CN101815268A (en) Method and equipment for processing service command information
CN115623465B (en) Scanning configuration method and system of equipment
CN106033360A (en) A vehicle-mounted software upgrade method
CN101287200A (en) Method and device for date updating in distributed mobile terminal
CN112035129A (en) Method and device for driver installation and upgrade and computer equipment
CN101877071A (en) Data updating method, device and system
JP6331429B2 (en) Vehicle system, vehicle apparatus and mobile terminal compatible information acquisition method, program, and recording medium
US10285041B2 (en) Wireless communication apparatus, identification information setup method, and program
EP2530916A1 (en) Hands-free device for cellular phone and telephone directory registration method
JP4692637B2 (en) Communication terminal and communication system
JP2002296045A (en) On-vehicle apparatus and portable terminal connection method
US20020151270A1 (en) Method of programming wireless broadband equipment

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
GR01 Patent grant
GR01 Patent grant