Antenna indexing method and system, electronic device and readable storage medium

By controlling the power supply status and identifier allocation of the positioning antennas, the labeling sequence of multiple Bluetooth positioning antennas under the same conditions is realized, which solves the problem of increased vehicle production costs and reduces the complexity of production management and installation.

CN116347334BActive Publication Date: 2025-12-12CHONGQING CHANGAN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310313847.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2025-12-12
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

In vehicles, increasing the number of Bluetooth positioning antennas to compensate for insufficient positioning accuracy leads to increased production, management, and installation costs. Therefore, there is a need to provide a sorting method to distinguish multiple Bluetooth positioning antennas under the same conditions in order to reduce costs.

Method used

By controlling the power supply status of the positioning antenna, sending a sequencing scheduling message, and responding to the sequencing response message of the antenna to be sequenced, an antenna identifier is generated, and the identifier of each positioning antenna is determined one by one, thus realizing the sequencing of Bluetooth positioning antennas.

Benefits of technology

By controlling power supply status and assigning identifiers, vehicle production costs are reduced, and the additional costs associated with differentiating vehicles based on software versions, hardware part numbers, and mechanical structures are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116347334B_ABST
    Figure CN116347334B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of wireless communication, and discloses a positioning antenna marking sequence method and system, electronic equipment and readable storage medium, the method controls the power supply state of the positioning antenna to be in the closed state, and continuously sends the preset marking sequence scheduling message to each positioning antenna, then controls the power supply state of the antenna to be marked and switched from the closed state to the open state, and generates the antenna identification corresponding to the antenna to be marked in response to the marking sequence response message sent by the antenna to be marked, so as to determine the antenna identification corresponding to each positioning antenna one by one, compared with providing differential distinction of the Bluetooth positioning antenna through the software version, hardware number and mechanical structure, the power supply state of the positioning antenna is controlled to allocate the antenna identification to each positioning antenna one by one, the marking sequence between multiple Bluetooth positioning antennas under the same condition is realized, and thus the production cost of the vehicle is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of wireless communication, in particular to a positioning antenna marking method and system, electronic equipment and readable storage medium. BACKGROUND

[0002] With the development of intelligent networked vehicles, the mounting rate of Bluetooth keys in real vehicles is also increasing. The implementation of the welcome function of the vehicle through the positioning of the Bluetooth key position information has become a standard for many real vehicles. Since the vehicle compensates for the insufficient Bluetooth positioning capability caused by easy interference and low positioning accuracy by increasing the number of Bluetooth positioning antennas, a large number of Bluetooth positioning antennas need to know the corresponding installation position in order to facilitate positioning calculation.

[0003] However, in order to distinguish different Bluetooth positioning antennas, the Bluetooth positioning antenna needs to provide differences in software version, hardware part number, mechanical structure, etc., which will inevitably increase the cost in the production, management, installation, etc. of the positioning antenna. Therefore, a marking method for the Bluetooth positioning antenna is needed to mark the sequence between multiple Bluetooth positioning antennas under the same conditions and reduce the production cost of the vehicle. SUMMARY

[0004] In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not a general review, nor is it intended to determine key / important elements or delineate the scope of protection of these embodiments, but as a prelude to the detailed description below.

[0005] In view of the above-mentioned shortcomings of the prior art, the present application discloses a positioning antenna marking method and system, electronic equipment and readable storage medium to mark the sequence between multiple Bluetooth positioning antennas under the same conditions and reduce the production cost of the vehicle.

[0006] The present application provides a positioning antenna marking method, comprising: setting positioning antennas at a plurality of preset antenna positions of a target vehicle; controlling the power supply state of each positioning antenna to be in an off state, and continuously sending a preset marking scheduling message to each positioning antenna; determining a positioning antenna as a to-be-marked antenna, controlling the power supply state of the to-be-marked antenna to switch from the off state to the on state, and in response to a marking response message sent by the to-be-marked antenna, generating an antenna identifier corresponding to the to-be-marked antenna, and sending the antenna identifier to the to-be-marked antenna, wherein the marking response message is generated by the to-be-marked antenna in response to the marking scheduling message; and determining the antenna identifier corresponding to each positioning antenna one by one.

[0007] Optionally, the switching the power supply state of the antenna to be sequenced from the off state to the on state comprises: after a preset on waiting time, controlling the power supply state of the antenna to be sequenced from the off state to the on state again.

[0008] Optionally, after the antenna identifier is sent to the antenna to be sequenced, the method further comprises: receiving a first regular message fed back by the antenna to be sequenced, wherein the first regular message is generated by the antenna to be sequenced in response to the antenna identifier.

[0009] Optionally, the method further comprises: recording a first time point when the power supply state of the antenna to be sequenced is switched from the off state to the on state, and recording a second time point when the first regular message fed back by the antenna to be sequenced is received; determining a sequencing response time of the antenna to be sequenced according to the first time point and the second time point; determining that the sequencing result of the antenna to be sequenced is sequencing success if the sequencing response time is less than a preset response time threshold; and determining that the sequencing result of the antenna to be sequenced is sequencing failure if the sequencing response time is greater than or equal to the response time threshold.

[0010] Optionally, after the antenna identifier corresponding to each positioning antenna is determined one by one, the method further comprises: establishing a mapping relationship among the antenna identifier, the positioning antenna and the preset antenna position; receiving a second regular message of each positioning antenna if the target vehicle is connected with a device to be positioned, wherein the second regular message comprises signal strength information between the device to be positioned and the positioning antenna, and an antenna identifier of the positioning antenna; obtaining antenna position information corresponding to each positioning antenna from the preset antenna position of the mapping relationship according to the antenna identifier in the second regular message; and calculating the target position information of the device to be positioned according to the antenna position information and the signal strength information of each positioning antenna.

[0011] Optionally, the method further comprises: presetting a first management condition, a second management condition, a third management condition, a fourth management condition, a fifth management condition, and a sixth management condition, wherein the first management condition comprises that the target vehicle is connected with a to-be-positioned device, the second management condition comprises that the to-be-positioned device is located in the target vehicle, the third management condition comprises that a current vehicle speed of the target vehicle is greater than or equal to a preset vehicle speed threshold, the fourth management condition comprises that a current distance between the to-be-positioned device and the target vehicle is greater than a preset distance threshold and a duration is greater than a preset duration threshold, the fifth management condition comprises that a door state of the target vehicle is switched from closed to open, and the sixth management condition comprises that the current distance between the to-be-positioned device and the target vehicle is less than the preset distance threshold; if the target vehicle is not connected with the to-be-positioned device, the power supply state of each positioning antenna is switched from an open state to a closed state; if the first management condition, the second management condition, and the third management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state; if the first management condition and the fourth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state; if the target vehicle connects the to-be-positioned device for the first time within a preset time period, the power supply state of each positioning antenna is switched from the closed state to the open state; if the first management condition, the second management condition, and the fifth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state; and if the first management condition and the sixth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state.

[0012] Optionally, the method further comprises: before switching the power supply state of any positioning antenna, determining a state switching frequency of the power supply state; and if the state switching frequency is greater than or equal to a preset frequency threshold, stopping switching the power supply state of the positioning antenna.

[0013] The application provides a positioning antenna marking system, comprising: a setting module, configured to set positioning antennas at a plurality of preset antenna positions of a target vehicle; a control module, configured to control the power supply state of each positioning antenna to be in a closed state and continuously send a preset marking schedule message to each positioning antenna; a generating module, configured to determine any positioning antenna as a to-be-marked antenna, switch the power supply state of the to-be-marked antenna from the closed state to an open state, and in response to a marking response message sent by the to-be-marked antenna, generate an antenna identifier corresponding to the to-be-marked antenna and send the antenna identifier to the to-be-marked antenna, wherein the marking response message is generated by the to-be-marked antenna in response to the marking schedule message; and a determining module, configured to determine the antenna identifier corresponding to each positioning antenna one by one.

[0014] The application provides an electronic device, comprising a processor and a memory; the memory is used for storing a computer program, and the processor is used for executing the computer program stored in the memory to enable the electronic device to execute the method.

[0015] The application provides a computer readable storage medium, which stores a computer program: the computer program is executed by a processor to realize the method.

[0016] The application has the following beneficial effects:

[0017] By controlling the power supply state of the positioning antenna to be in the off state, continuously sending the preset tag sequence scheduling message to each positioning antenna, and then controlling the power supply state of the to-be-tagged antenna to be switched from the off state to the on state, and generating the antenna identifier corresponding to the to-be-tagged antenna in response to the tag sequence response message sent by the to-be-tagged antenna, the antenna identifier corresponding to each positioning antenna is determined one by one. In this way, compared with providing differential distinction of the Bluetooth positioning antenna through the software version, hardware number, mechanical structure and the like, the antenna identifier is allocated to each positioning antenna one by one by controlling the power supply state of the positioning antenna, the tag sequence between multiple Bluetooth positioning antennas under the same condition is realized, and the production cost of the vehicle is reduced. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 is a flowchart of a positioning antenna tag sequence method in an embodiment of the application;

[0019] Figure 2 is a structural diagram of a system architecture for implementing the positioning antenna tag sequence method in an embodiment of the application;

[0020] Figure 3 is a flowchart of another positioning antenna tag sequence method in an embodiment of the application;

[0021] Figure 4 is a structural diagram of a positioning antenna tag sequence system in an embodiment of the application;

[0022] Figure 5 is a schematic diagram of an electronic device in an embodiment of the application. DETAILED DESCRIPTION

[0023] Following, the advantages and effects of the present application can be easily understood by those skilled in the art from the description of the specific examples. The present application can also be implemented or applied by different specific embodiments, and the details in the description can be modified or changed based on different views and applications without departing from the spirit of the present application. It should be noted that the following examples and sub-samples in the examples can be combined with each other without conflict.

[0024] It should be noted that the diagrams provided in the following examples only illustrate the basic concept of the present application in a schematic manner, and only the components related to the present application are shown in the diagrams, not the number, shape and size of the components when actually implemented. The actual implementation of each component can be a random change, and the component layout pattern can be more complex.

[0025] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application, however, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details, and in other embodiments, the known structures and devices are shown in the form of block diagrams rather than in the form of details, to avoid making the embodiments of the present application difficult to understand.

[0026] The terms "first", "second", and the like in the description and claims of the present disclosure and the above-described figures are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.

[0027] Unless otherwise specified, the term "a plurality of" means two or more.

[0028] In the embodiments of the present disclosure, the character " / " represents an "or" relationship between the objects before and after it. For example, A / B represents: A or B.

[0029] The term "and / or" is a description of the association between objects, which means that there can be three relationships. For example, A and / or B, which means: A or B, or, A and B, three relationships.

[0030] In combination Figure 1 As shown, the embodiments of the present disclosure provide a positioning antenna marking method, comprising:

[0031] Step S101, a positioning antenna is arranged at each of a plurality of preset antenna positions of a target vehicle;

[0032] Step S102, control the power supply state of each positioning antenna to be in the off state, and continuously send a preset tag sequence scheduling message to each positioning antenna;

[0033] Step S103, determine any positioning antenna as a to-be-tagged antenna, control the power supply state of the to-be-tagged antenna to switch from the off state to the on state, and in response to the tag sequence response message sent by the to-be-tagged antenna, generate an antenna identifier corresponding to the to-be-tagged antenna, and send the antenna identifier to the to-be-tagged antenna;

[0034] The tag sequence response message is generated by the to-be-tagged antenna in response to the tag sequence scheduling message.

[0035] Step S104, determine the antenna identifier corresponding to each positioning antenna one by one.

[0036] The positioning antenna tag sequence method provided by the embodiment of the present disclosure controls the power supply state of the positioning antenna to be in the off state, continuously sends a preset tag sequence scheduling message to each positioning antenna, controls the power supply state of the to-be-tagged antenna to switch from the off state to the on state, and in response to the tag sequence response message sent by the to-be-tagged antenna, generates an antenna identifier corresponding to the to-be-tagged antenna, thereby determining the antenna identifier corresponding to each positioning antenna one by one. In this way, compared with providing differential distinction for Bluetooth positioning antennas in terms of software version, hardware number, mechanical structure, etc., the antenna identifier is allocated to each positioning antenna one by one by controlling the power supply state of the positioning antenna, realizing the tag sequence between multiple Bluetooth positioning antennas under the same condition, thereby reducing the production cost of the vehicle.

[0037] In some embodiments, the positioning antenna includes a Bluetooth positioning antenna, a radio frequency positioning antenna, a radar positioning antenna, and the like wireless antenna.

[0038] In combination with Figure 2 As shown in the figure, the embodiment of the present disclosure provides a system architecture for implementing a positioning antenna tag sequence method, including a Bluetooth master node 201 and a Bluetooth positioning antenna 202; the Bluetooth master node 201 is connected to the Bluetooth positioning antenna 202 through a power line and a communication line, wherein the communication line includes at least one of a CAN line, a LIN line, etc.; the Bluetooth master node is used to control the power supply state of each Bluetooth positioning antenna to be in the off state, and continuously send a preset tag sequence scheduling message to each Bluetooth positioning antenna, determine any Bluetooth positioning antenna as a to-be-tagged antenna, control the power supply state of the to-be-tagged antenna to switch from the off state to the on state, and in response to the tag sequence response message sent by the to-be-tagged antenna, generate an antenna identifier corresponding to the to-be-tagged antenna, and send the antenna identifier to the to-be-tagged antenna, wherein the tag sequence response message is generated by the to-be-tagged antenna in response to the tag sequence scheduling message, and the antenna identifier corresponding to each Bluetooth positioning antenna is determined one by one.

[0039] The system architecture for implementing the method of marking the order of the positioning antenna is provided in the embodiments of the present disclosure. By controlling the power supply state of the positioning antenna to be in the off state, continuously sending the preset marking order scheduling message to each positioning antenna, and then controlling the power supply state of the antenna to be marked to be switched from the off state to the on state, and in response to the marking order response message sent by the antenna to be marked, the antenna identifier corresponding to the antenna to be marked is generated, so as to determine the antenna identifier corresponding to each positioning antenna one by one. In this way, compared with providing differentiating Bluetooth positioning antennas in terms of software version, hardware number, mechanical structure and the like, the antenna identifier is allocated to each positioning antenna one by one by controlling the power supply state of the positioning antenna, the marking order between multiple Bluetooth positioning antennas under the same condition is realized, and thus the production cost of the vehicle is reduced.

[0040] Optionally, the controlling of the power supply state of the antenna to be marked from the off state to the on state comprises: after the preset on waiting duration, the power supply state of the antenna to be marked is controlled from the off state to the on state.

[0041] In some embodiments, after the power supply state of the antenna to be marked is controlled to be in the off state, the power supply state of the antenna to be marked is controlled from the off state to the on state after the on waiting duration, so as to realize power supply anti-shake.

[0042] In some embodiments, the on waiting duration comprises 500 ms-2000 ms.

[0043] Optionally, after the antenna identifier is sent to the antenna to be marked, the method further comprises: receiving the first regular message fed back by the antenna to be marked, wherein the first regular message is generated by the antenna to be marked in response to the antenna identifier.

[0044] Optionally, the method further comprises: recording a first time point when the power supply state of the antenna to be marked is controlled from the off state to the on state, and recording a second time point when the first regular message fed back by the antenna to be marked is received; determining the marking order response duration of the antenna to be marked according to the first time point and the second time point; if the marking order response duration is less than a preset response duration threshold, determining that the marking result of the antenna to be marked is marking success; if the marking order response duration is greater than or equal to the response duration threshold, determining that the marking result of the antenna to be marked is marking failure.

[0045] In some embodiments, the response duration threshold comprises 2000 ms-5000 ms.

[0046] Optionally, after the antenna identifier corresponding to each positioning antenna is determined one by one, the method further comprises: establishing a mapping relationship among the antenna identifier, the positioning antenna and the preset antenna position; if the target vehicle is connected with the device to be positioned, receiving a second regular message of each positioning antenna, wherein the second regular message comprises signal strength information between the device to be positioned and the positioning antenna, and the antenna identifier of the positioning antenna; according to the antenna identifier in the second regular message, the antenna position information corresponding to each positioning antenna is matched from the preset antenna position in the mapping relationship; and according to the antenna position information and the signal strength information of each positioning antenna, the target position information of the device to be positioned is obtained by calculation.

[0047] In some embodiments, the Bluetooth master node has two working modes, a normal mode and a tag sequence mode, wherein after the Bluetooth master node is powered on, the working mode defaults to the normal mode, after the Bluetooth master node receives a tag sequence diagnosis instruction, the working mode is switched to the tag sequence mode, and after the tag sequence fails, the working mode is restored to the normal mode; in the normal mode, the Bluetooth master node is used to manage the power supply of the Bluetooth positioning antenna, and sends a positioning trigger message to each Bluetooth positioning antenna; in the tag sequence mode, the Bluetooth master node is used to continuously send a preset tag sequence scheduling message to each Bluetooth positioning antenna.

[0048] In some embodiments, the Bluetooth positioning antennas all adopt the same software version, hardware serial number and mechanical structure, and have two working modes, a normal mode and a tag sequence mode; in the normal mode, the Bluetooth positioning antenna sends a second regular message to the Bluetooth master node in response to the positioning trigger message; in the tag sequence mode, the Bluetooth positioning antenna sends a tag sequence response message to the Bluetooth master node in response to the tag sequence scheduling message, and sends a first regular message to the Bluetooth master node in response to the antenna identifier.

[0049] In some embodiments, the first regular message is the same as the second regular message, and the positioning of the device to be positioned can be realized through the first regular message.

[0050] Optionally, the method further comprises: presetting a first management condition, a second management condition, a third management condition, a fourth management condition, a fifth management condition, and a sixth management condition, wherein the first management condition comprises that the target vehicle is connected with the to-be-positioned device, the second management condition comprises that the to-be-positioned device is located in the target vehicle, the third management condition comprises that the current vehicle speed of the target vehicle is greater than or equal to a preset vehicle speed threshold, the fourth management condition comprises that the current distance between the to-be-positioned device and the target vehicle is greater than a preset distance threshold and the duration is greater than a preset duration threshold, the fifth management condition comprises that the door state of the target vehicle is switched from closed to open, and the sixth management condition comprises that the current distance between the to-be-positioned device and the target vehicle is less than the preset distance threshold; if the target vehicle is not connected with the to-be-positioned device, the power supply state of each positioning antenna is switched from the open state to the closed state; if the first management condition, the second management condition, and the third management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state; if the first management condition and the fourth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state; if the target vehicle connects the to-be-positioned device for the first time within a preset time period, the power supply state of each positioning antenna is switched from the closed state to the open state; if the first management condition, the second management condition, and the fifth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state; and if the first management condition and the sixth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state.

[0051] Optionally, the method further comprises: before switching the power supply state of any positioning antenna, determining the state switching frequency of the power supply state; and if the state switching frequency is greater than or equal to a preset frequency threshold, stopping switching the power supply state of the positioning antenna.

[0052] In some embodiments, a hysteresis interval is achieved by the preset frequency threshold, thereby preventing the power supply state of the positioning antenna from being frequently switched.

[0053] In combination with Figure 3 As shown in the figure, the embodiments of the present disclosure provide a positioning antenna sequence labeling method, comprising:

[0054] Step S301: controlling the power supply state of each positioning antenna to be in a closed state, and continuously sending a preset sequence labeling scheduling packet to each positioning antenna;

[0055] Step S302: after a preset open waiting duration, the power supply state of the to-be-labeled antenna is switched from the closed state to the open state;

[0056] The to-be-labeled antenna is any positioning antenna that has not been labeled.

[0057] Step S303: recording the sequence labeling response duration of the to-be-labeled antenna.

[0058] Step S304, it is judged whether the antenna to be sequenced feedback sequence response message is received, if yes, jump to step S305, if no, jump to step S314;

[0059] The sequence response message is generated by the antenna to be sequenced in response to the sequence scheduling message;

[0060] Step S305, the antenna identifier corresponding to the antenna to be sequenced is generated, and the antenna identifier is sent to the antenna to be sequenced;

[0061] Step S306, it is judged whether the first regular message feedback by the antenna to be sequenced is received, if yes, jump to step S307, if no, jump to step S314;

[0062] Step S307, it is judged whether the sequence response time is greater than or equal to the preset response time threshold, if yes, jump to step S314, if no, jump to step S308;

[0063] Step S308, the sequence result of the antenna to be sequenced is determined as sequence success;

[0064] Step S309, it is judged whether there is an unsequenced positioning antenna, if yes, jump to step S302, if no, jump to step S310;

[0065] Step S310, the mapping relationship between the antenna identifier, the positioning antenna and the preset antenna position is established;

[0066] Step S311, if the target vehicle is connected with the device to be positioned, the second regular message of each positioning antenna is received;

[0067] The second regular message includes the signal strength information between the device to be positioned and the positioning antenna, and the antenna identifier of the positioning antenna;

[0068] Step S312, the antenna position information corresponding to each positioning antenna is matched from the preset antenna position of the mapping relationship according to the antenna identifier in the second regular message;

[0069] Step S313, the target position information of the device to be positioned is obtained by calculating according to the antenna position information and the signal strength information of each positioning antenna.

[0070] Step S314, the sequence result of the antenna to be sequenced is determined as sequence failure.

[0071] The positioning antenna marking sequence method provided in the embodiment of the present disclosure controls the power supply state of the positioning antenna to be in the off state, continuously sends the preset marking sequence scheduling message to each positioning antenna, controls the power supply state of the antenna to be marked to be switched from the off state to the on state, and generates the antenna identifier corresponding to the antenna to be marked in response to the marking sequence response message sent by the antenna to be marked, so that the antenna identifier corresponding to each positioning antenna is determined one by one. In this way, compared with providing differential Bluetooth positioning antennas in terms of software version, hardware part number, mechanical structure and the like, the antenna identifier is allocated to each positioning antenna one by one by controlling the power supply state of the positioning antenna, the marking sequence between multiple Bluetooth positioning antennas under the same condition is realized, and the production cost of the vehicle is reduced.

[0072] In combination Figure 4 As shown in the figure, the embodiment of the present disclosure provides a positioning antenna marking sequence system, which includes a setting module 401, a control module 402, a generation module 403 and a determination module 404. The setting module 401 is used to set the positioning antenna at each of the multiple preset antenna positions of the target vehicle; the control module 402 is used to control the power supply state of each positioning antenna to be in the off state, and continuously send the preset marking sequence scheduling message to each positioning antenna; the generation module 403 is used to determine any positioning antenna as an antenna to be marked, control the power supply state of the antenna to be marked to be switched from the off state to the on state, and in response to the marking sequence response message sent by the antenna to be marked, generate the antenna identifier corresponding to the antenna to be marked, and send the antenna identifier to the antenna to be marked, wherein the marking sequence response message is generated by the antenna to be marked in response to the marking sequence scheduling message; and the determination module 404 is used to determine the antenna identifier corresponding to each positioning antenna one by one.

[0073] The positioning antenna marking sequence system provided in the embodiment of the present disclosure controls the power supply state of the positioning antenna to be in the off state, continuously sends the preset marking sequence scheduling message to each positioning antenna, controls the power supply state of the antenna to be marked to be switched from the off state to the on state, and generates the antenna identifier corresponding to the antenna to be marked in response to the marking sequence response message sent by the antenna to be marked, so that the antenna identifier corresponding to each positioning antenna is determined one by one. In this way, compared with providing differential Bluetooth positioning antennas in terms of software version, hardware part number, mechanical structure and the like, the antenna identifier is allocated to each positioning antenna one by one by controlling the power supply state of the positioning antenna, the marking sequence between multiple Bluetooth positioning antennas under the same condition is realized, and the production cost of the vehicle is reduced.

[0074] Figure 5 The structure of the computer system of the electronic device suitable for implementing the embodiment of the present application is shown. It should be noted that, Figure 5 The computer system 500 of the electronic device shown is only an example, and should not limit the functions and use range of the embodiment of the present application.

[0075] like Figure 5 As shown, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 502 or a program loaded from Storage Unit 508 into Random Access Memory (RAM) 503. The RAM 503 also stores various programs and data required for system operation. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An Input / Output (I / O) interface 505 is also connected to the bus 504.

[0076] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 510 as needed so that computer programs read from it can be installed into storage section 508 as needed.

[0077] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs various functions defined in the system of this application.

[0078] It should be noted that the computer readable medium shown in the embodiments of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable signal medium can include a data signal propagating in the baseband or as a carrier wave part of a signal propagating in the baseband, in which the computer readable computer program is carried. Such a propagating data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit programs for use by or in connection with an instruction execution system, device or apparatus. The computer program contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0079] The embodiments of the present disclosure also provide a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods in the embodiments.

[0080] The computer readable storage medium in the embodiments of the present disclosure can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiments can be completed by a computer program related hardware. The aforementioned computer program can be stored in a computer readable storage medium. The program, when executed, performs steps including the above-mentioned method embodiments; and the aforementioned storage medium includes ROM, RAM, magnetic disk or optical disk and various media that can store program codes.

[0081] The electronic device disclosed in the embodiments includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected with the processor and the transceiver and complete communication between each other. The memory is used to store a computer program, the communication interface is used for communication, and the processor and the transceiver are used to run the computer program, so that the electronic device executes each step of the method as above.

[0082] In the present embodiment, the memory can comprise a Random Access Memory (RAM) and can also include a non-volatile memory such as at least one disk memory.

[0083] The processor described above can be a general processor, including a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Network Processor (NP), etc.; can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0084] The above description and drawings are illustrative of embodiments of the present disclosure and are not intended to be limiting. Other embodiments can include structural, logical, electrical, process, and other changes. Embodiments are merely representative of possible variations. Individual components and functions are optional and the order of operations can vary. Portions and sub-combinations of some embodiments can be included or replaced in or by other embodiments. Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and / or" as used herein refers to any and all possible combinations of one or more of the associated listed items. Additionally, as used in this application, the term "comprises" and variations thereof do not intend to preclude the presence or addition of one or more other items to those stated in the compositions, integers, steps, operations, elements, and / or components. Without more limitations, an element defined by the phrase "comprises a..." does not exclude the presence of additional identical elements in the process, method, or apparatus including the element. In this document, each embodiment focuses on the differences from other embodiments, and the same or similar parts between embodiments can be referred to each other. For the method, product, etc. disclosed by the embodiments, if it corresponds to the method part disclosed by the embodiments, the relevant part can be referred to the description of the method part.

[0085] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present disclosure. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0086] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) can be implemented in other manners. For example, the described device embodiments are merely schematic. For example, the division of the units is merely a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some of the components can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms. The unit illustrated as a separate component can or can not be physically separate, and can or can not be a physical component. Some or all of the units can be selected according to actual needs to implement the embodiments. In addition, the units in the embodiments disclosed herein can be integrated into one processing unit, or each unit can exist physically as a separate unit, or two or more units can be integrated into one unit.

[0087] The flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operations of the system, method and computer program product according to the embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks can occur in different orders than those noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the drawings, the operations or steps corresponding to different blocks can also occur in different orders from those disclosed in the descriptions, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method of positioning antenna markers, characterized by, The method comprises: respectively setting positioning antennas at a plurality of preset antenna positions of a target vehicle; controlling the power supply state of each positioning antenna to be in an off state, and continuously sending a preset tag sequence scheduling message to each positioning antenna; determining a to-be-tagged antenna from the positioning antennas, and controlling the power supply state of the to-be-tagged antenna to switch from the off state to an on state, and in response to a tag sequence response message sent by the to-be-tagged antenna, generating an antenna identifier corresponding to the to-be-tagged antenna, and sending the antenna identifier to the to-be-tagged antenna, wherein the tag sequence response message is generated by the to-be-tagged antenna in response to the tag sequence scheduling message; determining the antenna identifier corresponding to each positioning antenna one by one; after sending the antenna identifier to the to-be-tagged antenna, the method further comprises receiving a first regular message fed back by the to-be-tagged antenna, wherein the first regular message is generated by the to-be-tagged antenna in response to the antenna identifier; the method further comprises recording a first time point when the power supply state of the to-be-tagged antenna is controlled to switch from the off state to the on state, and recording a second time point when the first regular message fed back by the to-be-tagged antenna is received; determining a tag sequence response duration of the to-be-tagged antenna according to the first time point and the second time point; if the tag sequence response duration is less than a preset response duration threshold, determining that the tag sequence result of the to-be-tagged antenna is tag sequence success; if the tag sequence response duration is greater than or equal to the response duration threshold, determining that the tag sequence result of the to-be-tagged antenna is tag sequence failure.

2. The method of claim 1, wherein, controlling the power supply state of the to-be-tagged antenna to switch from the off state to the on state comprises: controlling the power supply state of the to-be-tagged antenna to switch from the off state to the on state again after a preset on waiting duration.

3. The method of claim 1, wherein, after determining the antenna identifier corresponding to each positioning antenna one by one, the method further comprises: establishing a mapping relationship among the antenna identifier, the positioning antenna, and the preset antenna position; if the target vehicle is connected to a to-be-positioned device, receiving a second regular message of each positioning antenna, wherein the second regular message comprises signal strength information between the to-be-positioned device and the positioning antenna, and an antenna identifier of the positioning antenna; according to the antenna identifier in the second regular message, matching the antenna position information corresponding to each positioning antenna from the preset antenna position of the mapping relationship; according to the antenna position information and the signal strength information of each positioning antenna, calculating to obtain target position information of the to-be-positioned device.

4. The method according to any one of claims 1 to 3, characterized in that, the method further comprises: The first management condition, the second management condition, the third management condition, the fourth management condition, the fifth management condition and the sixth management condition are preset, wherein the first management condition comprises that the target vehicle is connected with a positioning device, the second management condition comprises that the positioning device is located in the target vehicle, the third management condition comprises that the current speed of the target vehicle is greater than or equal to a preset speed threshold, the fourth management condition comprises that the current distance between the positioning device and the target vehicle is greater than a preset distance threshold and the duration is greater than a preset duration threshold, the fifth management condition comprises that the door state of the target vehicle is switched from closed to open, and the sixth management condition comprises that the current distance between the positioning device and the target vehicle is less than the preset distance threshold. If the target vehicle is not connected with the positioning device, the power supply state of each positioning antenna is switched from the open state to the closed state. If the first management condition, the second management condition and the third management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state. If the first management condition and the fourth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the open state to the closed state. If the target vehicle connects the positioning device for the first time within a preset time period, the power supply state of each positioning antenna is switched from the closed state to the open state. If the first management condition, the second management condition and the fifth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state. If the first management condition and the sixth management condition are simultaneously satisfied, the power supply state of each positioning antenna is switched from the closed state to the open state.

5. The method of claim 4, wherein, The method further comprises: Before switching the power supply state of any positioning antenna, determining the state switching frequency of the power supply state. If the state switching frequency is greater than or equal to a preset frequency threshold, the power supply state of the positioning antenna is stopped from being switched.

6. A system for positioning antenna markers, characterized by Comprise: The setting module is used for setting the positioning antenna at a plurality of preset antenna positions of a target vehicle. The control module is used for controlling the power supply state of each positioning antenna to be in the closed state, and continuously sending a preset tag sequence scheduling message to each positioning antenna. The generation module is used for determining any positioning antenna as a positioning antenna to be tagged, switching the power supply state of the positioning antenna to be tagged from the closed state to the open state, and in response to a tag sequence response message sent by the positioning antenna to be tagged, generating an antenna identifier corresponding to the positioning antenna to be tagged and sending the antenna identifier to the positioning antenna to be tagged, wherein the tag sequence response message is generated by the positioning antenna to be tagged in response to the tag sequence scheduling message. The determination module is used for determining the antenna identifier corresponding to each positioning antenna one by one. The generation module is further used for receiving a first regular message fed back by the positioning antenna to be tagged, wherein the first regular message is generated by the positioning antenna to be tagged in response to the antenna identifier. The generating module is further configured to record a first time point when the power supply state of the antenna to be sequenced is switched from the off state to the on state, and record a second time point when the first regular packet fed back by the antenna to be sequenced is received; determine a sequenced response duration of the antenna to be sequenced according to the first time point and the second time point; if the sequenced response duration is less than a preset response duration threshold, determine that a sequenced result of the antenna to be sequenced is sequenced success; and if the sequenced response duration is greater than or equal to the response duration threshold, determine that the sequenced result of the antenna to be sequenced is sequenced failure.

7. An electronic device, comprising: Comprises: A processor and a memory; The memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory, so that the electronic device executes the method in any one of claims 1 to 5. 8.A computer readable storage medium, having stored thereon a computer program, wherein: The computer program is executed by a processor to implement the method in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Ring network power supply spare power automatic switching method and system

    CN115714451A