CN115065943B - Image position determination method, medium, and device in weak network scene based on bluetooth - Google Patents

Image position determination method, medium, and device in weak network scene based on bluetooth Download PDF

Info

Publication number
CN115065943B
CN115065943B CN202210982353.0A CN202210982353A CN115065943B CN 115065943 B CN115065943 B CN 115065943B CN 202210982353 A CN202210982353 A CN 202210982353A CN 115065943 B CN115065943 B CN 115065943B
Authority
CN
China
Prior art keywords
terminal
gps signal
target
bluetooth
ciphertext
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210982353.0A
Other languages
Chinese (zh)
Other versions
CN115065943A (en
Inventor
薄满辉
李睿
闫晶
唐红武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Mobile Technology Co Ltd
Original Assignee
China Travelsky Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Mobile Technology Co Ltd filed Critical China Travelsky Mobile Technology Co Ltd
Priority to CN202210982353.0A priority Critical patent/CN115065943B/en
Publication of CN115065943A publication Critical patent/CN115065943A/en
Application granted granted Critical
Publication of CN115065943B publication Critical patent/CN115065943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/024Guidance services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a medium and equipment for determining an image position in a weak network scene based on Bluetooth. The method comprises the following steps: controlling a first terminal to acquire a first GPS signal; when the first terminal cannot receive the first GPS signal, the first terminal is controlled to establish communication connection with the second terminal through Bluetooth, and a second GPS signal sent by the second terminal is received; determining a corresponding target GPS signal according to a second GPS signal received by the first terminal; and displaying the target image at the corresponding position in the target map according to the first GPS signal or the target GPS signal. According to the invention, the communication connection between the first terminal and the second terminal is established through the Bluetooth, so that the first terminal can receive the second GPS signal in real time, and therefore, the taken flight can be accurately displayed to the corresponding position in the navigation chart in real time.

Description

Image position determination method, medium, and device in weak network scene based on bluetooth
Technical Field
The invention relates to the field of data processing, in particular to a method, a medium and equipment for determining an image position in a weak network scene based on Bluetooth.
Background
In civil aviation trip, the corresponding flight to take can be displayed to the corresponding position of the chart in real time according to the GPS (Global Positioning System) signal obtained by the terminal carried by the passenger. However, due to the shielding effect of the cabin, passengers in a part of areas in the cabin cannot obtain GPS signals, and meanwhile, in consideration of flight safety, passengers in the cabin cannot communicate with each other using the internet during the flight of the airplane, so that mobile phones of a part of passengers cannot obtain GPS signals during the flight of the airplane, and the taken flight cannot be accurately displayed to a corresponding position in the flight chart in real time.
Disclosure of Invention
Aiming at the technical problems, the technical scheme adopted by the invention is as follows:
according to one aspect of the invention, an image position determining method in a weak network scene based on Bluetooth is provided, and the method comprises the following steps:
controlling a first terminal to acquire a first GPS signal; the first GPS signal is a GPS signal received by the first terminal through a self-contained GPS module;
displaying a target image at a corresponding position in a target map according to the first GPS signal;
when the first terminal cannot receive the first GPS signal, the first terminal is controlled to establish communication connection with the second terminal through Bluetooth, and a second GPS signal sent by the second terminal is received; the second GPS signal is a GPS signal received by a GPS module carried by the second terminal; the second terminal is configured to send out a Bluetooth signal in a broadcast form after receiving the second GPS signal, wherein the Bluetooth signal comprises the second GPS signal;
determining a corresponding target GPS signal according to a second GPS signal received by the first terminal;
and updating the corresponding display position of the target image in the target map according to the target GPS signal.
According to a second aspect of the present invention, there is provided a non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the above-described image position determination method in a weak web scene based on bluetooth.
According to a third aspect of the present invention, there is provided an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned image position determining method in a weak network scene based on bluetooth when executing the computer program.
The invention has at least the following beneficial effects:
the communication connection between the first terminal and the second terminal is established through Bluetooth, and the second terminal is configured to send out Bluetooth signals in a broadcast mode after receiving second GPS signals, wherein the Bluetooth signals comprise the second GPS signals; therefore, passengers in an area where the GPS signals can be obtained in the same cabin, such as passengers near a window, can share the second GPS signals received by the terminals in a local area network established by Bluetooth in a broadcasting mode, so that the terminals of the passengers in the area where the GPS signals cannot be obtained in the same cabin can receive the second GPS signals and display the taken flight to the corresponding position in the chart in real time according to the second GPS signals.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for determining an image position in a weak network scene based on bluetooth according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an aspect of the present invention, as shown in fig. 1, there is provided a method for determining an image position in a weak network scene based on bluetooth, the method comprising the steps of:
step S100: and controlling the first terminal to acquire the first GPS signal. The first GPS signal is a GPS signal received by the first terminal through a self-contained GPS module.
In this embodiment, both the first terminal and the second terminal may be smart phones, and a GPS module is installed in each of the existing smart phones and is used for receiving GPS signals to implement functions such as positioning and navigation. Correspondingly, the first terminal may directly acquire the first GPS signal through an Application Programming Interface (API) corresponding to the GPS module disposed in the operating system of the first terminal.
Step S200: displaying the target image at a corresponding position in a target map according to the first GPS signal;
step S300: and when the first terminal cannot receive the first GPS signal, controlling the first terminal to establish communication connection with the second terminal through Bluetooth and receiving a second GPS signal sent by the second terminal. The second GPS signal is a GPS signal received by a GPS module provided in the second terminal. The second terminal is configured to send out a bluetooth signal in a broadcast form after receiving the second GPS signal, the bluetooth signal including the second GPS signal.
In the flight process, when a first terminal used by a passenger is located in an area where a GPS signal cannot be obtained in a cabin, a GPS module in the first terminal cannot receive the GPS signal due to shielding of the cabin, at the moment, the Bluetooth function of the first terminal can be controlled to be started, the first terminal is in communication connection with a second terminal, which is in the cabin and has the Bluetooth function started, through Bluetooth, therefore, a plurality of devices, which have the Bluetooth function started, in the cabin are connected with each other through Bluetooth, a small local area network is further formed, and therefore the second terminal can send a received second GPS signal into the local area network in a broadcasting mode so as to be used by the first terminal which cannot receive the GPS signal.
The second terminal may determine whether to convert the second GPS signal received by the second terminal into the configured state, i.e., whether to broadcast the received second GPS signal, according to the value of the parameter in the second GPS signal received by the second terminal.
Specifically, the determination may be made by a height value and a time value in the second GPS signal.
And e.g. when the altitude value in the second GPS signal received by the second terminal exceeds the first threshold value and/or the time value exceeds the second threshold value, the second terminal transitions to the configuration state. The configuration state is also a state that the second terminal sends out a bluetooth signal in a broadcast mode after receiving the second GPS signal, and the bluetooth signal includes the second GPS signal.
Normally, the first terminal will not receive the GPS signal until the aircraft is in flight, and it is also necessary for the second terminal to transmit the received second GPS signal in the form of a bluetooth broadcast. Meanwhile, the parameter value carried by the second GPS signal comprises a height value, and in addition, the sending time corresponding to the second GPS signal can be obtained through the timestamp carried by the second GPS signal.
Therefore, whether the second terminal needs to start the configuration state or not can be judged through the altitude value or the time value, and the flying altitude of the airplane exceeds the first threshold value in the actual flying process; moreover, because the takeoff and landing time corresponding to a flight is also a relatively fixed value, when the altitude value carried in the second GPS signal is greater than the first threshold value, the second terminal starts the configuration state; or when the sending time corresponding to the second GPS signal is greater than a second threshold value, the second terminal starts a configuration state; when the sending time corresponding to the second GPS signal is greater than a third threshold value, the second terminal closes the configuration state; the first threshold value is 800 meters, and the second threshold value and the third threshold value are respectively the take-off time and the landing time corresponding to the same flight.
Step S400: and determining a corresponding target GPS signal according to the second GPS signal received by the first terminal.
Since there may be a plurality of second GPS signals received by the first terminal, a target GPS signal is determined from the plurality of received second GPS signals for subsequent use.
Step S500: and updating the display position of the target image in the target map according to the target GPS signal.
Specifically, when the first terminal may receive the first GPS signal, the target image may be displayed at a corresponding position in the target map according to the position information corresponding to the first GPS signal. The target image can be a self-defined icon, such as an airplane image or a trademark image corresponding to the navigation department. The target map may be an airline map. In the present embodiment, the corresponding position of the target image displayed in the target map is the prior art, and the function can be implemented by the existing navigation map software, which is not described herein again.
The invention establishes a communication connection between the first terminal and the second terminal through Bluetooth, and configures the second terminal to send out Bluetooth signals in a broadcasting mode after receiving the second GPS signals, wherein the Bluetooth signals comprise the second GPS signals. Therefore, passengers in the same cabin in an area where the GPS signal can be obtained, such as passengers near a window, can share the second GPS signal received by the terminal thereof in a local area network established by Bluetooth in a broadcasting mode. In this way, the terminal of the passenger in the same cabin in the area where the GPS signal is unavailable can receive the second GPS signal, and display the taken flight to the corresponding position in the chart in real time according to the second GPS signal. Because the first terminal can receive the second GPS signal in real time, the taken flight can be accurately displayed to the corresponding position in the chart in real time, and meanwhile, the accuracy of the display position of the taken flight in the chart can be improved.
In addition, when the mobile phone is to realize corresponding functions or services in the use process of the smart phone, the mobile phone needs to be connected with corresponding equipment through bluetooth in most cases, so that the use frequency of the bluetooth is high, and most of the bluetooth of the smart phone is usually in an on state. Meanwhile, most passengers can use the Bluetooth earphones to receive audio information in the riding process, such as listening to songs, and then the Bluetooth functions of the smart phones of most passengers are in an open state, therefore, when network connection is established through Bluetooth, the passengers do not need to perform related matching operation, such as Bluetooth opening, and therefore the probability of success in establishing the local area network can be improved. Meanwhile, it can be ensured that as many second terminals as possible can send the second GPS signal to the local area network. Furthermore, the probability that the first terminal can receive the second GPS signal is improved, meanwhile, the user can be connected in a non-inductive mode, the connection is more convenient and faster, and the user experience can be improved.
As a possible embodiment of the present invention, step S400: determining a corresponding target GPS signal according to a second GPS signal received by the first terminal, comprising:
step S401: and determining a plurality of receiving time intervals according to the receiving starting time and the preset interval duration. The receiving starting time is the time corresponding to the first terminal and the second terminal when the first terminal and the second terminal establish communication connection through Bluetooth.
Specifically, the preset interval duration may be 5 seconds.
Step S402: and determining a target GPS signal corresponding to each receiving time interval according to a plurality of second GPS signals received by the first terminal in each receiving time interval.
In the actual use process, the requirement on the accuracy of the change of the aircraft position in the navigation map is low, so that the position of the target image in the target map does not need to be updated in real time, and therefore a plurality of receiving time intervals can be determined according to the receiving starting time and the preset interval duration, and the target GPS signal corresponding to each receiving time interval is determined. So that the position display is updated only once by the target GPS signal in each reception time interval, whereby the amount of data processing can be reduced.
As a possible embodiment of the invention, the second GPS signal includes time information. The existing GPS signals carry high-precision geographical position, speed, and time information.
Step S402: determining a target GPS signal corresponding to each receiving time interval according to a plurality of second GPS signals received by the first terminal in each receiving time interval, comprising:
step S4021: and determining the sending time corresponding to each second GPS signal in each receiving time interval according to the time information.
Step S4022: and selecting a target GPS signal from the plurality of second GPS signals corresponding to each receiving time interval according to the sending time, wherein the target GPS signal is the second GPS signal with the earliest sending time in the plurality of second GPS signals.
Specifically, the time information carried in the received second GPS signal may be directly expressed as the sending time corresponding to the second GPS signal. Therefore, the arrangement sequence of all the second GPS signals in time in one receiving time interval can be determined through the sending time. Then, the first received second GPS signal in each receiving time interval is selected as the target GPS signal. Of course, the last received second GPS signal in each reception time interval may also be selected as the target GPS signal. Therefore, the target GPS signal corresponding to each receiving time interval can be quickly determined without calculation.
As a possible embodiment of the invention, the second GPS signal comprises position coordinates.
Step S402: determining a target GPS signal corresponding to each receiving time interval according to a plurality of second GPS signals received by the first terminal in each receiving time interval, comprising:
step S4023: and determining the average position coordinate corresponding to each receiving time interval according to the position coordinates, wherein the average position coordinate is a coordinate generated according to the average value of the position coordinates in each receiving time interval.
Step S4024: and taking the average position coordinate of each receiving time interval as the position coordinate of the target GPS signal of the corresponding receiving time interval.
In this embodiment, an average value of the plurality of location coordinates within each receiving time interval, that is, an average value corresponding to each of the plurality of longitude values, the plurality of latitude values, and the plurality of height values, is calculated, and then the longitude average value, the latitude average value, and the height average value are used as the location coordinates corresponding to the target GPS signal.
Because a certain error may also occur in the actual use process of the GPS signal, according to the scheme in this embodiment, by calculating the average value of the plurality of position coordinates, the influence degree of the error can be reduced, so that the accuracy of the position coordinates of the obtained target GPS signal is higher, and further, the corresponding display position of the target image in the target map is more accurate, and the occurrence of the error can be reduced.
As a possible embodiment of the present invention, each of the first terminal and the second terminal has the same asymmetric public key and asymmetric private key; the first terminal is provided with a first symmetric key uniquely corresponding to the first terminal; each second terminal is provided with a second symmetric key uniquely corresponding to the second terminal;
in step S300: after the first terminal and the second terminal are controlled to establish communication connection through Bluetooth, the method further comprises the following steps:
step S31: when a communication message corresponding to a target second terminal and input by a user is received, determining whether a second symmetric key of the target second terminal exists in the first terminal;
step S32: if not, controlling the first terminal to encrypt the first symmetric key by using the asymmetric public key to obtain a first ciphertext; the target second terminal is one of a plurality of second terminals;
step S33: sending the first ciphertext to a target second terminal through Bluetooth;
step S34: receiving a second ciphertext returned by the target second terminal;
step S35: decrypting the second ciphertext by using the asymmetric private key to obtain a second symmetric key corresponding to the target second terminal;
step S36: encrypting the communication message by using the first symmetric key to obtain a third ciphertext;
step S37: sending the third ciphertext to a target second terminal through Bluetooth;
and the target second terminal is configured to encrypt the second symmetric key of the target second terminal by using the asymmetric public key under the condition that the first ciphertext can be decrypted by the asymmetric private key to obtain the first symmetric key, so as to obtain the second ciphertext and return the second ciphertext to the first terminal.
Preferably, step S38: receiving a fourth ciphertext sent by the target second terminal; the fourth ciphertext is obtained by encrypting the target second terminal by using the second symmetric key;
step S39: and decrypting the fourth ciphertext by using the second symmetric key corresponding to the target second terminal.
Each terminal in the bluetooth local area network of the embodiment is a bluetooth service center, the status between the terminals is equal, each terminal can make a decision of packet forwarding, and networking and communication can be completed without the support of a base station. Therefore, the Bluetooth local area network has the characteristics of high network building flexibility, multi-hop performance, dynamic change of an expansion structure, distributed control and the like. Meanwhile, each terminal in the network can also perform individual communication or group communication with other terminals according to the needs of the terminal, that is, single chat or group chat can be performed.
When the terminals communicate for the first time, namely before the real chatting data is sent, the terminals connected with each other need to be authenticated, and when the authentication passes, the communication authority can be opened so as to normally receive and send the subsequent chatting data. In this embodiment, the authentication between the terminals is performed in an asymmetric encryption manner determined by using the asymmetric public key and the asymmetric private key. Specifically, when the first ciphertext encrypted by the asymmetric public key can be decrypted by using the asymmetric private key, the authentication is passed. Since the information in the first cipher text is the first symmetric key, when the identity authentication is passed, the corresponding target second terminal can obtain the first symmetric key of the first terminal in communication connection with the target second terminal. And then the target second terminal encrypts a second symmetric key corresponding to the target second terminal by using the first symmetric key to generate a second ciphertext and sends the second ciphertext to the first terminal.
And then, the first terminal decrypts the second ciphertext through the asymmetric private key to obtain a second symmetric key corresponding to the target second terminal, and at the moment, the two terminals which need to communicate with each other obtain the symmetric key of the other terminal, so that the subsequent chat data which needs to be transmitted can be encrypted in a symmetric encryption mode.
Since asymmetric encryption is high in security but slow in encryption speed, symmetric encryption is the opposite. Therefore, in the embodiment, the encryption is performed in an asymmetric encryption manner during the authentication, so that the confidentiality of information can be improved, and the information can be prevented from being stolen. In the subsequent chat data transmission process, the encryption is performed in a symmetric encryption mode, so that the data transmission efficiency can be improved. Therefore, the transmission efficiency of the chatting data in the chatting process can be ensured.
Preferably, the first symmetric key and the second symmetric key are both obtained by an AES (Advanced Encryption Standard) algorithm.
Preferably, the communication message is encapsulated in a data format of Json.
Since Json (JavaScript Object Notation) is a lightweight data exchange format. The hierarchical structure is simpler and clearer, the reading and the writing are easy, the machine analysis and the generation are easy, and the network transmission efficiency is effectively improved.
As a possible embodiment of the present invention, step S33: and sending the first ciphertext to a target second terminal through Bluetooth, comprising:
step S331: packaging the first ciphertext according to a first data structure to obtain a first sending ciphertext, wherein the first data structure sequentially comprises a sequence number, a check bit, a data length and a data body, and storing the first ciphertext into the data body;
step S332: and sending the first sending ciphertext to the target second terminal through Bluetooth.
The form of the first data structure in the embodiment is simpler, and the efficiency of packaging and analyzing data can be improved.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, which may be disposed in an electronic device to store at least one instruction or at least one program for implementing a method of the method embodiments, where the at least one instruction or the at least one program is loaded into and executed by a processor to implement the method provided by the above embodiments.
Embodiments of the present invention also provide an electronic device comprising a processor and the aforementioned non-transitory computer-readable storage medium.
Embodiments of the present invention also provide a computer program product comprising program code means for causing an electronic device to carry out the steps of the method according to various exemplary embodiments of the invention described above in the present specification, when said program product is run on the electronic device.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (9)

1. A method for determining image position in a weak network scene based on Bluetooth is characterized by comprising the following steps:
controlling a first terminal to acquire a first GPS signal; the first GPS signal is a GPS signal received by the first terminal through a self-contained GPS module;
displaying a target image at a corresponding position in a target map according to the first GPS signal;
when the first terminal cannot receive the first GPS signal, controlling the first terminal to establish communication connection with a second terminal through Bluetooth, and receiving a second GPS signal sent by the second terminal; the second GPS signal is a GPS signal received by a GPS module carried by the second terminal; the second terminal is configured to send out a Bluetooth signal in a broadcast form after receiving the second GPS signal, wherein the Bluetooth signal comprises the second GPS signal;
determining a corresponding target GPS signal according to the second GPS signal received by the first terminal;
updating the display position of the target image in the target map according to the target GPS signal;
each first terminal and each second terminal are internally provided with the same asymmetric public key and asymmetric private key; the first terminal is provided with a first symmetric key uniquely corresponding to the first terminal; each second terminal is provided with a second symmetric key uniquely corresponding to the second terminal;
after the controlling the first terminal and the second terminal to establish the communication connection through the bluetooth, the method further comprises:
when a communication message corresponding to a target second terminal and input by a user is received, determining whether a second symmetric key of the target second terminal is in the first terminal;
if not, controlling the first terminal to encrypt the first symmetric key by using the asymmetric public key to obtain a first ciphertext; the target second terminal is one of a plurality of second terminals;
sending the first ciphertext to the target second terminal through Bluetooth;
receiving a second ciphertext returned by the target second terminal;
decrypting the second ciphertext by using the asymmetric private key to obtain a second symmetric key corresponding to the target second terminal;
encrypting the communication message by using a first symmetric key to obtain a third ciphertext;
sending the third ciphertext to the target second terminal through Bluetooth;
and the target second terminal is configured to encrypt a second symmetric key of the target second terminal by using the asymmetric public key to obtain a second ciphertext and return the second ciphertext to the first terminal under the condition that the first ciphertext can be decrypted by the asymmetric private key to obtain the first symmetric key.
2. The method of claim 1, wherein determining a corresponding target GPS signal from the second GPS signal received by the first terminal comprises:
determining a plurality of receiving time intervals according to the receiving starting time and the preset interval duration; the receiving starting time is corresponding time when the first terminal and the second terminal establish communication connection through Bluetooth;
and determining a target GPS signal corresponding to each receiving time interval according to a plurality of second GPS signals received by the first terminal in each receiving time interval.
3. The method of claim 2, wherein the second GPS signal includes time information;
the determining, according to a plurality of second GPS signals received by the first terminal in each reception time interval, a target GPS signal corresponding to each reception time interval includes:
determining the sending time corresponding to each second GPS signal in each receiving time interval according to the time information;
and selecting a target GPS signal from the plurality of second GPS signals corresponding to each receiving time interval according to the sending time, wherein the target GPS signal is the second GPS signal with the earliest sending time in the plurality of second GPS signals.
4. The method of claim 2, wherein the second GPS signal comprises location coordinates;
the determining, according to a plurality of second GPS signals received by the first terminal in each reception time interval, a target GPS signal corresponding to each reception time interval includes:
determining an average position coordinate corresponding to each receiving time interval according to the position coordinates; the average position coordinate is a coordinate generated according to an average value of a plurality of position coordinates in the current receiving time interval;
and taking the average position coordinate of each receiving time interval as the position coordinate of the target GPS signal of the corresponding receiving time interval.
5. The method of claim 1, further comprising:
receiving a fourth ciphertext sent by the target second terminal; the fourth ciphertext is obtained by encrypting the target second terminal by using a second symmetric key;
and decrypting the fourth ciphertext by using the second symmetric key corresponding to the target second terminal.
6. The method of claim 1, wherein the first symmetric key and the second symmetric key are both obtained by an AES algorithm.
7. The method of claim 1, wherein the sending the first ciphertext to the target second terminal via bluetooth comprises:
packaging the first ciphertext according to a first data structure to obtain a first sending ciphertext, wherein the first data structure sequentially comprises a sequence number, a check bit, a data length and a data body, and storing the first ciphertext into the data body;
and sending the first sending ciphertext to the target second terminal through Bluetooth.
8. A non-transitory computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a method for determining image position in a weak network scene based on bluetooth as claimed in any one of claims 1 to 7.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements a method for determining an image position in a bluetooth-based context as claimed in any one of claims 1 to 7.
CN202210982353.0A 2022-08-16 2022-08-16 Image position determination method, medium, and device in weak network scene based on bluetooth Active CN115065943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210982353.0A CN115065943B (en) 2022-08-16 2022-08-16 Image position determination method, medium, and device in weak network scene based on bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210982353.0A CN115065943B (en) 2022-08-16 2022-08-16 Image position determination method, medium, and device in weak network scene based on bluetooth

Publications (2)

Publication Number Publication Date
CN115065943A CN115065943A (en) 2022-09-16
CN115065943B true CN115065943B (en) 2022-11-04

Family

ID=83207847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210982353.0A Active CN115065943B (en) 2022-08-16 2022-08-16 Image position determination method, medium, and device in weak network scene based on bluetooth

Country Status (1)

Country Link
CN (1) CN115065943B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115079226B (en) * 2022-08-16 2022-11-11 中航信移动科技有限公司 Display data determination method, medium and equipment based on multi-source position data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137328A (en) * 2010-11-03 2011-07-27 华为终端有限公司 Method and device for reporting positional information, portable equipment and user terminal
CN105606090A (en) * 2016-02-26 2016-05-25 中原智慧城市设计研究院有限公司 Mobile navigation method
CN105974357A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Method and device for positioning terminal
CN106291636A (en) * 2016-07-27 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and system positioning terminal
WO2018000134A1 (en) * 2016-06-27 2018-01-04 华为技术有限公司 Bluetooth connection method and terminal
WO2021052390A1 (en) * 2019-09-18 2021-03-25 博世电动工具(中国)有限公司 Bluetooth beacon configuration method, signal transceiving apparatus, personal mobile terminal and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101442169B1 (en) * 2007-11-27 2014-11-03 삼성전자주식회사 A Public Key Infrastructure-based Bluetooth Smart-Key System and Operating Method Thereof
WO2011128835A2 (en) * 2010-04-12 2011-10-20 Flight Focus Pte. Ltd. Moving map display
WO2017000975A1 (en) * 2015-06-29 2017-01-05 Here Global B.V. Use of encryption to provide positioning support services
CN107094036A (en) * 2017-04-24 2017-08-25 深圳市科漫达智能管理科技有限公司 A kind of cipher key processing method and Bluetooth terminal based on bluetooth communication
CN114257396A (en) * 2021-11-03 2022-03-29 广东科学技术职业学院 Bluetooth broadcast encryption method, device and medium based on geographic spatial position

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137328A (en) * 2010-11-03 2011-07-27 华为终端有限公司 Method and device for reporting positional information, portable equipment and user terminal
CN105606090A (en) * 2016-02-26 2016-05-25 中原智慧城市设计研究院有限公司 Mobile navigation method
CN105974357A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Method and device for positioning terminal
WO2018000134A1 (en) * 2016-06-27 2018-01-04 华为技术有限公司 Bluetooth connection method and terminal
CN106291636A (en) * 2016-07-27 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and system positioning terminal
WO2021052390A1 (en) * 2019-09-18 2021-03-25 博世电动工具(中国)有限公司 Bluetooth beacon configuration method, signal transceiving apparatus, personal mobile terminal and readable storage medium

Also Published As

Publication number Publication date
CN115065943A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US8509140B2 (en) System and method for transmitting information using aircraft as transmission relays
US9276737B2 (en) Securing a command path between a vehicle and personal wireless device
US20100293246A1 (en) Server, system and content display control method
CN106464687A (en) Client applications communicating via a user tunnel
TW200829878A (en) A navigation device and method for using a traffic message channel
EP4099727A1 (en) Device location finding
JP2016514914A (en) Key distribution in satellite systems
CN115065943B (en) Image position determination method, medium, and device in weak network scene based on bluetooth
CN107040511A (en) Location-based trust computing node in cloud computing architecture
JP4962237B2 (en) Program and method for managing information on location of portable device and file encryption key
JP2016516341A (en) Secure routing based on the physical location of the router
US20210112417A1 (en) Pathloss drop trusted agent misbehavior detection
US20180368030A1 (en) Wireless device connection management
CN116405192A (en) Certificate application method and equipment
CN115079226B (en) Display data determination method, medium and equipment based on multi-source position data
US9530026B2 (en) Privacy protection for participatory sensing system
EP4099620A2 (en) Pairing groups of accessories
Hableel et al. How to protect ADS-B: Confidentiality framework for future air traffic communication
WO2012120189A1 (en) Server address distribution
US9246884B1 (en) Position-based cryptographic key management system and related method
CN109997316A (en) Base station apparatus, communication system, beam-steering methods and program
WO2019201257A1 (en) Device-to-x (d2x) communication method, device, and storage medium
CN113870622A (en) Method and system for unmanned aerial vehicle information interaction by using safety short message
CN114915942A (en) Communication key configuration method and device
CN114666736A (en) Location subscription 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
GR01 Patent grant
GR01 Patent grant