CN114640708A - Bluetooth headset positioning method and device, electronic equipment and storage medium - Google Patents

Bluetooth headset positioning method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114640708A
CN114640708A CN202210293136.0A CN202210293136A CN114640708A CN 114640708 A CN114640708 A CN 114640708A CN 202210293136 A CN202210293136 A CN 202210293136A CN 114640708 A CN114640708 A CN 114640708A
Authority
CN
China
Prior art keywords
information
bluetooth headset
mobile terminal
positioning
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210293136.0A
Other languages
Chinese (zh)
Inventor
何桂晓
吴海全
曹磊
黄育雄
郭世文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhaoqing Deqing Guanxu Electronics Co ltd
Shenzhen Grandsun Electronics Co Ltd
Original Assignee
Zhaoqing Deqing Guanxu Electronics Co ltd
Shenzhen Grandsun Electronics 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 Zhaoqing Deqing Guanxu Electronics Co ltd, Shenzhen Grandsun Electronics Co Ltd filed Critical Zhaoqing Deqing Guanxu Electronics Co ltd
Priority to CN202210293136.0A priority Critical patent/CN114640708A/en
Publication of CN114640708A publication Critical patent/CN114640708A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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

Abstract

The embodiment of the disclosure provides a Bluetooth headset positioning method and device, electronic equipment and a storage medium, and relates to the technical field of Bluetooth equipment. The Bluetooth headset positioning method comprises the following steps: receiving equipment identification information sent by a Bluetooth headset; acquiring terminal position information of a mobile terminal; acquiring time information corresponding to the terminal position information; storing the equipment identification information, the terminal position information and the time information as position record information; sending the position record information to a server; generating a position query instruction according to the equipment identification information; sending a position query instruction to a server; and receiving the target position information sent by the server according to the position inquiry command, wherein the positioning efficiency of the Bluetooth headset can be improved by the technical scheme provided by the embodiment of the disclosure.

Description

Bluetooth headset positioning method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of Bluetooth equipment, in particular to a Bluetooth headset positioning method and device, electronic equipment and a storage medium.
Background
Bluetooth headset provides convenience for the earphone user, but Bluetooth headset has the problem of easy loss, so need fix a position Bluetooth headset.
The current positioning method is to add a positioning module in the Bluetooth headset, which not only increases the power consumption of the Bluetooth headset itself, but also increases the production and maintenance costs of the Bluetooth headset, and moreover, the positioning process depends on the connection of a mobile phone and the Bluetooth headset, so that certain limitation is realized, and the positioning efficiency of the Bluetooth headset is low.
Disclosure of Invention
The disclosed embodiments mainly aim to provide a bluetooth headset positioning method and apparatus, an electronic device, and a storage medium, which can improve the positioning efficiency of a bluetooth headset.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides a bluetooth headset positioning method applied to a mobile terminal, where the method includes:
receiving equipment identification information sent by a Bluetooth headset;
acquiring terminal position information of a mobile terminal;
acquiring time information corresponding to the terminal position information;
storing the device identification information, the terminal position information and the time information as position record information;
sending the position record information to a server;
generating a position query instruction according to the equipment identification information;
sending the position query instruction to the server;
and receiving the target position information sent by the server according to the position query instruction.
In some embodiments, the obtaining the terminal location information of the mobile terminal includes:
acquiring positioning frequency information;
and carrying out position acquisition processing on the mobile terminal according to the positioning frequency information to obtain the terminal position information.
In order to achieve the above object, a second aspect of the embodiments of the present disclosure provides a bluetooth headset positioning method applied to a server, where the method includes:
receiving position recording information sent by a mobile terminal;
receiving a position query instruction sent by the mobile terminal;
analyzing the position inquiry command to obtain equipment identification information of the Bluetooth headset;
and inquiring in the position record information according to the equipment identification information to obtain target position information.
In some embodiments, the obtaining the target location information by querying in the location record information according to the device identification information includes:
obtaining a first positioning time according to the first recording information;
obtaining second positioning time according to the second recording information;
if the value of the first positioning time is larger than the second positioning time, saving the first positioning time as target positioning time;
if the value of the first positioning time is not greater than the second positioning time, saving the second positioning time as the target positioning time;
and storing the position record information corresponding to the target positioning time as the target position information.
In order to achieve the above object, a third aspect of the embodiments of the present disclosure provides a bluetooth headset positioning method, which is applied to a bluetooth headset, and the method includes:
acquiring equipment identification information of the Bluetooth headset;
and sending the equipment identification information to a mobile terminal so that the mobile terminal can perform positioning according to the equipment identification information.
In order to achieve the above object, a fourth aspect of the present disclosure provides a bluetooth headset positioning apparatus applied to a mobile terminal, the apparatus including:
the identification receiving module is used for receiving equipment identification information sent by the Bluetooth headset;
the terminal position receiving module is used for acquiring terminal position information of the mobile terminal;
the time acquisition module is used for acquiring time information corresponding to the terminal position information;
a position record generating module, configured to store the device identification information, the terminal position information, and the time information as position record information;
the position record sending module is used for sending the position record information to a server;
the query instruction generating module is used for generating a position query instruction according to the equipment identification information;
the query instruction sending module is used for sending the position query instruction to the server;
and the target position receiving module is used for receiving the target position information sent by the server according to the position query instruction.
In order to achieve the above object, a fifth aspect of the present disclosure provides a bluetooth headset positioning apparatus, applied to a server, the apparatus including:
the position record receiving module is used for receiving position record information sent by the mobile terminal;
the query instruction receiving module is used for receiving a position query instruction sent by the mobile terminal;
the identification analysis module is used for analyzing the position inquiry instruction to obtain equipment identification information of the Bluetooth headset;
and the query module is used for querying in the position record information according to the equipment identification information to obtain target position information.
In order to achieve the above object, a sixth aspect of the present disclosure provides a bluetooth headset positioning apparatus, applied to a bluetooth headset, the apparatus including:
the identification acquisition module is used for acquiring equipment identification information of the Bluetooth headset;
and the identification sending module is used for sending the equipment identification information to the mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
To achieve the above object, a seventh aspect of the present disclosure proposes an electronic apparatus, including:
at least one memory;
at least one processor;
at least one program;
the program is stored in a memory, the processor executing the at least one program to implement the method of the present disclosure as described in the above first aspect;
alternatively, the first and second electrodes may be,
the method of the second aspect;
alternatively, the first and second electrodes may be,
the method according to the third aspect above.
To achieve the above object, an eighth aspect of the present disclosure proposes a storage medium that is a computer-readable storage medium storing computer-executable instructions for causing a computer to execute:
the method of the first aspect;
alternatively, the first and second electrodes may be,
the method of the second aspect;
alternatively, the first and second electrodes may be,
the method according to the third aspect above.
The technical scheme provided by the embodiment of the disclosure can reduce the production and maintenance cost of the Bluetooth headset, reduce the use power consumption of the Bluetooth headset and improve the positioning efficiency of the Bluetooth headset.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present disclosure.
Fig. 2 is a first flowchart of a bluetooth headset positioning method according to an embodiment of the disclosure.
Fig. 3 is a second flowchart of a bluetooth headset positioning method according to another embodiment of the disclosure.
Fig. 4 is a flowchart of step S340 in fig. 3.
Fig. 5 is a third flowchart of a bluetooth headset positioning method according to still another embodiment of the disclosure.
Fig. 6 is a first block diagram of a bluetooth headset positioning device according to an embodiment of the present disclosure.
Fig. 7 is a second block diagram of a bluetooth headset positioning apparatus according to another embodiment of the present disclosure.
Fig. 8 is a third block diagram of a bluetooth headset positioning device according to still another embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present disclosure.
Reference numerals: the system comprises an identification receiving module 610, a terminal position receiving module 620, a time obtaining module 630, a position record generating module 640, a position record sending module 650, a query instruction generating module 660, a query instruction sending module 670, a target position receiving module 680, a position record receiving module 710, a query instruction receiving module 720, an identification resolving module 730, a query module 740, an identification collecting module 810, an identification sending module 820, a processor 901, a memory 902, an input/output interface 903, a communication interface 904 and a bus 905.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It is noted that while functional block divisions are provided in device diagrams and logical sequences are shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions within devices or flowcharts. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
The Bluetooth headset provides convenience for a headset user, but the Bluetooth headset has the problem of easy loss, so the Bluetooth headset needs to be positioned, the current positioning method is to add a positioning module in the Bluetooth headset, the power consumption of the Bluetooth headset is increased, the production and maintenance costs of the Bluetooth headset are also increased, in addition, the positioning process depends on the connection of a mobile phone and the Bluetooth headset, certain limitation is realized, and the positioning efficiency of the Bluetooth headset is lower.
Based on this, the embodiments of the present disclosure provide a bluetooth headset positioning method and apparatus, an electronic device, and a storage medium, where device identification information sent by a bluetooth headset is received first, then terminal location information and corresponding time information of a mobile terminal are obtained, and the device identification information, the terminal location information, and the time information are stored as location record information, then the location record information is sent to a server, and then a location query instruction is generated according to the device identification information and sent to the server, and finally target location information sent by the server is received.
The embodiments of the present disclosure provide a method and an apparatus for positioning a bluetooth headset, an electronic device, and a storage medium, which are specifically described with reference to the following embodiments, first, a method for positioning a bluetooth headset in an embodiment of the present disclosure is described.
Fig. 1 is a schematic view of an application scenario of an embodiment of the present disclosure, where the bluetooth headset positioning method of the embodiment of the present disclosure is applied to a network system, and the network system includes: the bluetooth headset 110, the mobile terminal 120 and the server 130, wherein the bluetooth headset 110 is connected with the mobile terminal 120, and the mobile terminal 120 is connected with the server 130. The mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, and the like.
The embodiment of the disclosure provides a bluetooth headset positioning method, which is applied to a mobile terminal and includes: receiving equipment identification information sent by a Bluetooth headset; acquiring terminal position information of a mobile terminal; acquiring time information corresponding to the terminal position information; storing the equipment identification information, the terminal position information and the time information as position record information; sending the position record information to a server; generating a position query instruction according to the equipment identification information; sending a position query instruction to a server; and receiving the target position information sent by the server according to the position query instruction.
Fig. 2 is a first flowchart of a bluetooth headset positioning method provided in an embodiment of the present disclosure, which is applied to a mobile terminal, and the method in fig. 2 may include, but is not limited to, steps S210 to S280, and specifically includes:
s210, receiving equipment identification information sent by a Bluetooth headset;
s220, acquiring terminal position information of the mobile terminal;
s230, acquiring time information corresponding to the terminal position information;
s240, storing the equipment identification information, the terminal position information and the time information as position record information;
s250, sending the position record information to a server;
s260, generating a position query instruction according to the equipment identification information;
s270, sending a position query instruction to a server;
and S280, receiving the target position information sent by the server according to the position inquiry instruction.
In step S210, when the bluetooth headset is connected to the mobile terminal, the mobile terminal receives device identification information sent by the bluetooth headset, where the device identification information includes a UUID (universal Unique Identifier) of the bluetooth headset.
In step S220, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, and the like, and the mobile terminal obtains its own position, that is, terminal position information through the positioning module, where the terminal position information is used to represent a position when the bluetooth headset is connected to the mobile terminal.
In step S230, the mobile terminal reads time information in its own clock system, where the time information is the time of acquiring the terminal location information.
In step S240, the obtained terminal location information and time information are stored in the corresponding device identification information, so that the information forms location record information, such as "UUID ═ 00000001; the terminal position information is 16.1 seconds at 24 degrees, 45 minutes and 16.1 seconds at south latitude and 43.8 seconds at 98 degrees, 2 minutes and 2 minutes at east longitude; the time information is 2022 year 01 month 01 day 01 hour 01 second ", and the record represents the position of a certain bluetooth headset at a certain time.
In step S250, the mobile terminal sends the location record information generated in step S240 to the server for storage by the server, so as to facilitate the subsequent query process.
In steps S260 to S280, the location query instruction is used to query in the server according to the device identification information, and after the server queries the terminal location information corresponding to the device identification information, the server sends the terminal location information as the target location information to the mobile terminal, so as to complete the positioning process. For example, the device identification information carried in the location query instruction is "UUID ═ 00000001", and the queried target location information is: "south latitude 24 degrees, 45 minutes, 16.1 seconds, east longitude 98 degrees, 2 minutes, 43.8 seconds".
The disclosed embodiment provides a Bluetooth headset positioning method, which is applied to a mobile terminal, and comprises the steps of firstly receiving equipment identification information sent by a Bluetooth headset, then obtaining terminal position information and corresponding time information of the mobile terminal, storing the equipment identification information, the terminal position information and the time information as position recording information, then sending the position recording information to a server, further generating a position inquiry instruction according to the equipment identification information, sending the position inquiry instruction to the server, and finally receiving target position information sent by the server.
In some embodiments, obtaining terminal location information for a mobile terminal includes: acquiring positioning frequency information; and carrying out position acquisition processing on the mobile terminal according to the positioning frequency information to obtain terminal position information.
In a specific embodiment, the positioning frequency information represents a frequency of performing position acquisition on the mobile terminal, and if the positioning frequency information is "acquired once per second", the terminal position information of the mobile terminal is recorded once per second.
The embodiment of the disclosure provides a bluetooth headset positioning method, which is applied to a server and comprises the following steps: receiving position recording information sent by a mobile terminal; receiving a position query instruction sent by a mobile terminal; analyzing the position inquiry command to obtain equipment identification information of the Bluetooth headset; and inquiring in the position record information according to the equipment identification information to obtain target position information.
Fig. 3 is a second flowchart of a bluetooth headset positioning method provided in an embodiment of the present disclosure, which is applied to a server, and the method in fig. 3 may include, but is not limited to include steps S310 to S340, and specifically includes:
s310, receiving position record information sent by a mobile terminal;
s320, receiving a position query instruction sent by the mobile terminal;
s330, analyzing the position inquiry command to obtain equipment identification information of the Bluetooth headset;
and S340, inquiring in the position record information according to the equipment identification information to obtain target position information.
In step S310, the location record information represents the location of a bluetooth headset at a certain time, so that the information forms location record information, such as "UUID — 00000001; the terminal position information is 16.1 seconds at 24 degrees, 45 minutes and 16.1 seconds at south latitude and 43.8 seconds at 98 degrees, 2 minutes and 2 minutes at east longitude; the time information is 2022 years 01 month 01 day 01 hour 01 seconds ".
In steps S320 to S330, the location query instruction is used to parse the device identification information, and query in the server according to the device identification information to obtain the target location information corresponding to the device identification information.
The disclosed embodiment provides a Bluetooth headset positioning method, which is applied to a mobile terminal, and is used for firstly receiving position record information and a position query instruction sent by the mobile terminal, then resolving the position query instruction to obtain equipment identification information of the Bluetooth headset, and finally querying in the position record information according to the equipment identification information to obtain target position information.
In some embodiments, the obtaining the target location information by querying the location record information according to the device identification information includes: obtaining a first positioning time according to the first recording information; obtaining second positioning time according to the second recording information; if the numerical value of the first positioning time is greater than the second positioning time, saving the first positioning time as target positioning time; if the numerical value of the first positioning time is not greater than the second positioning time, saving the second positioning time as target positioning time; and storing the position record information corresponding to the target positioning time as target position information.
Fig. 4 is a flowchart of step S340 in some embodiments, and step S340 illustrated in fig. 4 includes, but is not limited to, steps S410 to S450:
s410, obtaining a first positioning time according to the first recording information;
s420, obtaining second positioning time according to the second recording information;
s430, if the value of the first positioning time is greater than the second positioning time, saving the first positioning time as target positioning time;
s440, if the value of the first positioning time is not greater than the second positioning time, saving the second positioning time as target positioning time;
and S450, storing the position record information corresponding to the target positioning time as target position information.
In steps S410 to S420, the number of data records in the position record information is at least two, for example, the first record information corresponds to a first positioning time, and the second record information corresponds to a second positioning time.
In steps S430 to S450, the first positioning time and the second positioning time are compared, the time corresponding to the current system time when the numerical value is larger, that is, the time closer to the query time, is saved as the target positioning time, and then the position record information corresponding to the target positioning time is used as the target position information.
Specifically, for example, the first recording information is: "UUID ═ 00000001; the terminal position information is 16.1 seconds at 24 degrees, 45 minutes and 16.1 seconds at south latitude and 43.8 seconds at 98 degrees, 2 minutes and 2 minutes at east longitude; time information is 2022 years, 01 month, 01 day, 01 hour, 01 second "; the second recording information is: "UUID ═ 00000001; the terminal position information is 24 degrees, 45 minutes, 16.2 seconds of south latitude and 98 degrees, 2 minutes, 43.3 seconds of east longitude; time information is 2022 year 01 month 01 day 01 hour 01 second "; the UUIDs of the two records are the same and represent the same Bluetooth headset, and because the time value of the second record information is larger, the '24 degrees and 45 minutes in south latitude and 16.2 seconds in east longitude and 98 degrees and 2 minutes in east longitude and 43.3 seconds' in the second record information are used as the target position information of the positioning.
The embodiment of the disclosure provides a bluetooth headset positioning method, which is applied to a bluetooth headset and includes: acquiring equipment identification information of the Bluetooth headset; and sending the equipment identification information to the mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
Fig. 5 is a third flowchart of the bluetooth headset positioning method provided in the embodiment of the present disclosure, and is applied to a bluetooth headset, where the method in fig. 5 may include, but is not limited to, step S510 to step S520, and specifically includes:
s510, acquiring equipment identification information of the Bluetooth headset;
s520, the equipment identification information is sent to the mobile terminal, so that the mobile terminal can carry out positioning according to the equipment identification information.
In steps S510 to S520, when the bluetooth headset is connected to the mobile terminal, the bluetooth headset reads the device identification information of the bluetooth headset and sends the device identification information to the mobile terminal for a subsequent positioning process.
The technical scheme provided by the embodiment of the disclosure can reduce the production and maintenance cost of the Bluetooth headset, reduce the use power consumption of the Bluetooth headset and improve the positioning efficiency of the Bluetooth headset.
The embodiment of the disclosure provides a bluetooth headset positioner, is applied to mobile terminal, includes: the identification receiving module is used for receiving the equipment identification information sent by the Bluetooth headset; the terminal position receiving module is used for acquiring terminal position information of the mobile terminal; the time acquisition module is used for acquiring time information corresponding to the terminal position information; the position record generating module is used for storing the equipment identification information, the terminal position information and the time information as position record information; the position record sending module is used for sending the position record information to the server; the query instruction generating module is used for generating a position query instruction according to the equipment identification information; the query instruction sending module is used for sending a position query instruction to the server; and the target position receiving module is used for receiving the target position information sent by the server according to the position query instruction.
Referring to fig. 6, fig. 6 illustrates a bluetooth headset positioning device according to an embodiment, which is applied to a mobile terminal, and the bluetooth headset positioning device includes: the system comprises an identification receiving module 610, a terminal position receiving module 620, a time obtaining module 630, a position record generating module 640, a position record sending module 650, an inquiry instruction generating module 660, an inquiry instruction sending module 670 and a target position receiving module 680.
Specifically, the identification receiving module receives equipment identification information sent by the Bluetooth headset, the terminal position receiving module obtains terminal position information of the mobile terminal, the time obtaining module obtains time information corresponding to the terminal position information, the position record generating module stores the equipment identification information, the terminal position information and the time information into position record information, the position record sending module sends the position record information to the server, the inquiry instruction generating module generates a position inquiry instruction according to the equipment identification information, the inquiry instruction sending module sends the position inquiry instruction to the server, and the target position receiving module receives target position information sent by the server according to the position inquiry instruction.
The specific implementation of the positioning apparatus for bluetooth headset of this embodiment is substantially the same as the specific implementation of the positioning method for bluetooth headset of mobile terminal, and belongs to the same inventive concept, and is not described herein again.
The embodiment of the present disclosure provides a bluetooth headset positioner, which is applied to a server, and includes: the position record receiving module is used for receiving position record information sent by the mobile terminal; the query instruction receiving module is used for receiving a position query instruction sent by the mobile terminal; the identification analysis module is used for analyzing the position inquiry instruction to obtain the equipment identification information of the Bluetooth headset; and the query module is used for querying in the position record information according to the equipment identification information to obtain the target position information.
Referring to fig. 7, fig. 7 illustrates a bluetooth headset positioning apparatus according to an embodiment, which is applied to a server, and the bluetooth headset positioning apparatus includes: a location record receiving module 710, a query instruction receiving module 720, an identification resolving module 730, and a query module 740.
Specifically, the position record receiving module receives position record information sent by the mobile terminal, the query instruction receiving module receives a position query instruction sent by the mobile terminal, the identifier analyzing module analyzes the position query instruction to obtain equipment identifier information of the Bluetooth headset, and the query module queries the position record information according to the equipment identifier information to obtain target position information.
The specific implementation of the positioning apparatus for bluetooth headset of this embodiment is substantially the same as the specific implementation of the positioning method for bluetooth headset of the server, and belongs to the same inventive concept, and is not described herein again.
The embodiment of the present disclosure provides a bluetooth headset positioner, is applied to bluetooth headset, include:
the identification acquisition module is used for acquiring equipment identification information of the Bluetooth headset;
and the identification sending module is used for sending the equipment identification information to the mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
Referring to fig. 8, fig. 8 illustrates a bluetooth headset positioning apparatus according to an embodiment, the bluetooth headset positioning apparatus includes: an identification acquisition module 810 and an identification sending module 820.
Specifically, the identification acquisition module acquires equipment identification information of the Bluetooth headset, and the identification sending module sends the equipment identification information to the mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
The specific implementation of the positioning apparatus for bluetooth headset of this embodiment is substantially the same as the specific implementation of the positioning method for bluetooth headset described above, and belongs to the same inventive concept, and is not described herein again.
An embodiment of the present disclosure further provides an electronic device, including:
at least one memory;
at least one processor;
at least one program;
the programs are stored in a memory and a processor executes the at least one program to implement the present disclosure to implement the bluetooth headset positioning method described above.
Referring to fig. 9, fig. 9 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
the processor 901 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is configured to execute a relevant program to implement the technical solution provided by the embodiment of the present disclosure;
the memory 902 may be implemented in a form of a ROM (read only memory), a static storage device, a dynamic storage device, or a RAM (random access memory). The memory 902 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present disclosure is implemented by software or firmware, the relevant program codes are stored in the memory 902 and called by the processor 901 to execute the bluetooth headset positioning method according to the embodiments of the present disclosure;
an input/output interface 903 for implementing information input and output;
a communication interface 904, configured to implement communication interaction between the device and another device, where communication may be implemented in a wired manner (e.g., USB, network cable, etc.), or in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.); and
a bus 905 that transfers information between various components of the device (e.g., the processor 901, the memory 902, the input/output interface 903, and the communication interface 904);
wherein the processor 901, the memory 902, the input/output interface 903 and the communication interface 904 enable a communication connection within the device with each other through a bus 905.
The embodiment of the present disclosure also provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, where the computer-executable instructions are used to enable a computer to execute the bluetooth headset positioning method.
The technical scheme provided by the embodiment of the disclosure can reduce the production and maintenance cost of the Bluetooth headset, reduce the use power consumption of the Bluetooth headset and improve the positioning efficiency of the Bluetooth headset.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present disclosure are for more clearly illustrating the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation to the technical solutions provided in the embodiments of the present disclosure, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present disclosure are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1-5 are not intended to limit the embodiments of the present disclosure, and may include more or fewer steps than those shown, or some of the steps may be combined, or different steps.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the disclosed embodiments have been described above with reference to the accompanying drawings, which are not intended to limit the scope of the embodiments of the disclosure. Any modifications, equivalents and improvements within the scope and spirit of the embodiments of the present disclosure should be considered within the scope of the claims of the embodiments of the present disclosure by those skilled in the art.

Claims (10)

1. A Bluetooth headset positioning method is applied to a mobile terminal, and comprises the following steps:
receiving equipment identification information sent by a Bluetooth headset;
acquiring terminal position information of a mobile terminal;
acquiring time information corresponding to the terminal position information;
storing the device identification information, the terminal position information and the time information as position record information;
sending the position record information to a server;
generating a position query instruction according to the equipment identification information;
sending the position query instruction to the server;
and receiving the target position information sent by the server according to the position query instruction.
2. The method according to claim 1, wherein the obtaining the terminal location information of the mobile terminal comprises:
acquiring positioning frequency information;
and carrying out position acquisition processing on the mobile terminal according to the positioning frequency information to obtain the terminal position information.
3. A Bluetooth headset positioning method is applied to a server, and comprises the following steps:
receiving position recording information sent by a mobile terminal;
receiving a position query instruction sent by the mobile terminal;
analyzing the position inquiry command to obtain equipment identification information of the Bluetooth headset;
and inquiring in the position record information according to the equipment identification information to obtain target position information.
4. The method according to claim 3, wherein the location record information at least includes first record information and second record information, and the querying in the location record information according to the device identification information to obtain target location information comprises:
obtaining first positioning time according to the first recording information;
obtaining second positioning time according to the second recording information;
if the value of the first positioning time is larger than the second positioning time, saving the first positioning time as target positioning time;
if the value of the first positioning time is not greater than the second positioning time, saving the second positioning time as the target positioning time;
and storing the position record information corresponding to the target positioning time as the target position information.
5. A Bluetooth headset positioning method is applied to a Bluetooth headset, and comprises the following steps:
acquiring equipment identification information of the Bluetooth headset;
and sending the equipment identification information to a mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
6. A Bluetooth headset positioning device, which is applied to a mobile terminal, the device comprising:
the identification receiving module is used for receiving the equipment identification information sent by the Bluetooth headset;
the terminal position receiving module is used for acquiring terminal position information of the mobile terminal;
the time acquisition module is used for acquiring time information corresponding to the terminal position information;
a position record generating module, configured to store the device identification information, the terminal position information, and the time information as position record information;
the position record sending module is used for sending the position record information to a server;
the query instruction generating module is used for generating a position query instruction according to the equipment identification information;
the query instruction sending module is used for sending the position query instruction to the server;
and the target position receiving module is used for receiving the target position information sent by the server according to the position query instruction.
7. A Bluetooth headset positioning device, which is applied to a server, the device comprises:
the position record receiving module is used for receiving position record information sent by the mobile terminal;
the query instruction receiving module is used for receiving a position query instruction sent by the mobile terminal;
the identification analysis module is used for analyzing the position inquiry instruction to obtain equipment identification information of the Bluetooth headset;
and the query module is used for querying in the position record information according to the equipment identification information to obtain target position information.
8. A Bluetooth headset positioning device, which is applied to a mobile terminal, the device comprising:
the identification acquisition module is used for acquiring equipment identification information of the Bluetooth headset;
and the identification sending module is used for sending the equipment identification information to the mobile terminal so that the mobile terminal can be positioned according to the equipment identification information.
9. An electronic device, comprising:
at least one memory;
at least one processor;
at least one program;
the program is stored in the memory, and the processor executes the at least one program to:
the method of any one of claims 1 to 2;
alternatively, the first and second electrodes may be,
the method of any one of claims 3 to 4;
alternatively, the first and second electrodes may be,
the method of claim 5.
10. A storage medium that is a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform:
the method of any one of claims 1 to 2;
alternatively, the first and second electrodes may be,
the method of any one of claims 3 to 4;
alternatively, the first and second electrodes may be,
the method of claim 5.
CN202210293136.0A 2022-03-24 2022-03-24 Bluetooth headset positioning method and device, electronic equipment and storage medium Pending CN114640708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210293136.0A CN114640708A (en) 2022-03-24 2022-03-24 Bluetooth headset positioning method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210293136.0A CN114640708A (en) 2022-03-24 2022-03-24 Bluetooth headset positioning method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114640708A true CN114640708A (en) 2022-06-17

Family

ID=81949937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210293136.0A Pending CN114640708A (en) 2022-03-24 2022-03-24 Bluetooth headset positioning method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114640708A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101569109B1 (en) * 2014-06-13 2015-11-13 성균관대학교산학협력단 Location tracking system and method thereof
KR20160038478A (en) * 2014-09-30 2016-04-07 에스모바일 주식회사 System For Protecting Bluetooth Decive To be Lost And Stolen
US20170180927A1 (en) * 2015-12-18 2017-06-22 Xiaomi Inc. Methods and apparatuses for prompting according to location-based information
CN107484121A (en) * 2017-07-11 2017-12-15 珠海智加物联网络有限公司 A kind of method, system and storage device for looking for electronic equipment
CN110460981A (en) * 2019-06-28 2019-11-15 华为技术有限公司 A kind of method that bluetooth is looked for something and electronic equipment
CN112468966A (en) * 2020-12-07 2021-03-09 拉扎斯网络科技(上海)有限公司 Target positioning method, target positioning device, electronic equipment, storage medium and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101569109B1 (en) * 2014-06-13 2015-11-13 성균관대학교산학협력단 Location tracking system and method thereof
KR20160038478A (en) * 2014-09-30 2016-04-07 에스모바일 주식회사 System For Protecting Bluetooth Decive To be Lost And Stolen
US20170180927A1 (en) * 2015-12-18 2017-06-22 Xiaomi Inc. Methods and apparatuses for prompting according to location-based information
CN107484121A (en) * 2017-07-11 2017-12-15 珠海智加物联网络有限公司 A kind of method, system and storage device for looking for electronic equipment
CN110460981A (en) * 2019-06-28 2019-11-15 华为技术有限公司 A kind of method that bluetooth is looked for something and electronic equipment
CN112468966A (en) * 2020-12-07 2021-03-09 拉扎斯网络科技(上海)有限公司 Target positioning method, target positioning device, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN111176976B (en) Test data generation method and device, storage medium and electronic device
CN108287668B (en) Equipment data processing method and device, computer device and readable storage medium
CN109582470B (en) Data processing method and data processing device
US20190180101A1 (en) Image Recognition Method and Terminal
CN110012049B (en) Information push method, system, server and computer readable storage medium
CN112559296A (en) Prometheus-based virtual machine monitoring method and tool, electronic device and storage medium
CN108875035B (en) Data storage method of distributed file system and related equipment
CN109753424B (en) AB test method and device
CN111949324A (en) Distributed serial number generation method and device
CN113297269A (en) Data query method and device
CN113297339B (en) Method, apparatus, storage medium and product for storing data
CN106940710B (en) Information pushing method and device
CN114640708A (en) Bluetooth headset positioning method and device, electronic equipment and storage medium
CN110442439B (en) Task process processing method and device and computer equipment
CN110865973A (en) Data processing method and equipment and related device
CN111159244A (en) Data query method and device
CN111782901A (en) Data acquisition method and device
CN116225855B (en) Log generation method, electronic equipment and storage medium
CN114553530A (en) Bluetooth headset payment method and device, electronic equipment and storage medium
CN114913875A (en) Communication method and device based on audio features, electronic equipment and storage medium
CN109447568B (en) Asynchronous operation method, device, equipment and storage medium for process activities
CN113962232B (en) Analog card switching method and device, computer readable medium and mobile terminal
CN115086822A (en) Earphone charging box software updating method and device, electronic equipment and storage medium
CN111918262B (en) Method and system for quickly discovering low-power-consumption Bluetooth communication of GATT service
CN110598072B (en) Feature data aggregation method and device

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