Position determination method and device, medium and equipment
By obtaining and matching the model of the target vehicle and control terminal, the corresponding target network parameters are configured, and the problem of incomplete control of the terminal positioning in the existing technology has been solved, and higher positioning accuracy is achieved.
Patent Information
- Application Number
- CN202310937109.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, the position relationship between the control terminal and the vehicle is not accurate enough, mainly because the communication modules installed by different models of control terminals are different, resulting in different signal strengths and affecting the positioning accuracy.
By obtaining the model of the paired target vehicle and the control terminal, it matches the corresponding target network parameters and sends it to the target vehicle to configure it to the target positioning algorithm to improve the positioning accuracy of the control terminal.
By using the matching type of target network parameters, the positioning accuracy of the control terminal can be significantly improved and the accuracy of the location information can be ensured.
Smart Images

Figure CN119383547A_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the technical field of key positioning by a carrier, and in particular to a method, device, medium and equipment for determining a position. Background Art
[0002] Nowadays, many vehicles are configured to be remotely controlled through a control terminal (such as a remote control key, a smart terminal key, etc.). When the user sends a corresponding control command to the vehicle through the control terminal, the vehicle performs the corresponding operation (such as opening and closing doors, unlocking, ignition, etc.).
[0003] On this basis, a more optimized solution is: when the control terminal is detected to be close to the vehicle, the vehicle is automatically unlocked and the door is opened; or when the control terminal is detected to be far away from the vehicle, the vehicle is automatically locked, etc. Thus, the vehicle can be automatically locked, unlocked, and opened without the user having to operate the control terminal.
[0004] In the prior art, when determining the positional relationship between a control terminal and a vehicle, the strength of a signal emitted by the control terminal is usually calculated according to a preset calculation method to obtain the position information of the control terminal. However, since different control terminals are equipped with different communication modules and the strength of signals emitted by different communication modules is different, when the signal strengths of different control terminals are estimated based on the same calculation method, the positioning of the obtained control terminal is not accurate enough.
[0005] Therefore, a solution is needed to improve the positioning accuracy of the control terminal. Summary of the invention
[0006] To overcome the problems existing in the related art, this specification provides a location determination method, device, medium and equipment.
[0007] According to a first aspect of an embodiment of this specification, a location determination method is provided, which is applied to a control terminal, and the method includes:
[0008] Obtaining the model of the paired target vehicle and the model of the control terminal;
[0009] Acquire target network parameters that match the model of the target vehicle and the model of the control terminal;
[0010] The correspondence between the target network parameters and the model of the control terminal is sent to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
[0011] According to a second aspect of an embodiment of this specification, a location determination method is provided, wherein the cloud is used to manage a plurality of candidate network parameters; each of the candidate network parameters matches a vehicle model and a control terminal model;
[0012] The method comprises:
[0013] Receive the model of the target vehicle and the model of the control terminal sent by the control terminal; the target vehicle is the vehicle paired with the control terminal;
[0014] Determine, from the multiple candidate network parameters, a target candidate network parameter that matches both the model of the target vehicle and the model of the control terminal;
[0015] The target candidate network parameters are sent to the control terminal so that the control terminal determines the target candidate network parameters as the target network parameters, and the correspondence between the target network parameters and the model of the control terminal is sent to the target vehicle; the target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
[0016] According to a third aspect of an embodiment of this specification, a position determination method is provided, which is applied to a vehicle, wherein the vehicle is paired with at least one control terminal, and the method includes:
[0017] For each control terminal, receiving a correspondence between a target network parameter and a model of the control terminal; the correspondence is sent by the control terminal after acquiring the target network parameter that matches the model of the vehicle and the model of the control terminal;
[0018] In response to receiving a signal sent by any one of the at least one control terminal, the target network parameters corresponding to the control terminal are configured to the target positioning algorithm, so as to input the signal into the target positioning algorithm to obtain the location information of the control terminal.
[0019] According to a fourth aspect of an embodiment of this specification, a position determination device is provided, which is applied to a control terminal, and the device includes:
[0020] A first acquisition module is used to acquire the model of the paired target vehicle and the model of the control terminal;
[0021] A second acquisition module is used to acquire target network parameters that match the model of the target vehicle and the model of the control terminal;
[0022] The first sending module is used to send the correspondence between the target network parameters and the model of the control terminal to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
[0023] According to a fifth aspect of the embodiments of this specification, there is provided a position determination device, which is applied to a cloud, and the cloud is used to manage a plurality of candidate network parameters; each of the candidate network parameters matches a vehicle of a model, and a control terminal of a model;
[0024] The device comprises:
[0025] A first receiving module is used to receive the model of the target vehicle sent by the control terminal and the model of the control terminal; the target vehicle is the vehicle paired with the control terminal;
[0026] A first determination module is used to determine a target candidate network parameter that matches the model of the target vehicle and the model of the control terminal from the multiple candidate network parameters;
[0027] The second sending module is used to send the target candidate network parameters to the control terminal so that the control terminal determines the target candidate network parameters as the target network parameters, and sends the correspondence between the target network parameters and the model of the control terminal to the target vehicle; the target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
[0028] According to a sixth aspect of an embodiment of this specification, there is provided a position determination device, which is applied to a vehicle, wherein the vehicle is equipped with at least one control terminal, and the device comprises:
[0029] A second receiving module is used to receive, for each control terminal, a correspondence between a target network parameter and a model of the control terminal; the correspondence is sent by the control terminal after obtaining the target network parameter that matches the model of the vehicle and the model of the control terminal;
[0030] A configuration module is used to configure the target network parameters corresponding to the control terminal to the target positioning algorithm in response to receiving a signal sent by any one of the at least one control terminal, so as to input the signal into the target positioning algorithm to obtain the location information of the control terminal.
[0031] According to the seventh aspect of the embodiments of this specification, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of any method described in any of the embodiments provided in any of the first to third aspects are implemented.
[0032] According to an eighth aspect of the embodiments of this specification, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; wherein the processor is configured to execute the steps of any method described in any of the embodiments provided in any of the first to third aspects.
[0033] The technical solutions provided by the embodiments of this specification may have the following beneficial effects:
[0034] In the embodiments of the present specification, by acquiring the model of the paired target vehicle and the model of the control terminal, the target network parameters that match the models of the target vehicle and the control terminal can be obtained, and by sending the correspondence between the target network parameters and the model of the control terminal to the target vehicle, the target vehicle can store the above correspondence, so that after receiving the signal sent by the control terminal, the signal of the control terminal is input into the target positioning algorithm by configuring the target network parameters to the target positioning algorithm, thereby obtaining the location information of the control terminal output by the target positioning algorithm.
[0035] Since the target network parameters match the models of the target vehicle and the control terminal, the location information obtained through the target network parameters is relatively accurate.
[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0038] Figure 1 A flow chart of a location determination method provided in an embodiment of this specification is shown.
[0039] Figure 2 A flow chart of another location determination method provided in an embodiment of this specification is shown.
[0040] Figure 3 A diagram showing an application scenario of a location determination method provided in an embodiment of this specification is shown.
[0041] Figure 4An interactive diagram of a location determination method provided by an embodiment of this specification is shown.
[0042] Figure 5 It is a hardware structure diagram of a computer device where a position determination device is located according to an exemplary embodiment of this specification. DETAILED DESCRIPTION
[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0044] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0045] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0046] Vehicles are tools or mechanical devices used to transport people, goods or equipment. They can be land, water or air vehicles used for movement and transportation in different environments. There are many types of vehicles, including but not limited to cars, trucks, trains, ships, airplanes, motorcycles, bicycles, etc. For easier understanding, the following is an example of a vehicle as an example.
[0047] Nowadays, many vehicles are configured to be remotely controlled through a control terminal (such as a remote control key, a smart terminal key, etc.). When the user sends a corresponding control command to the vehicle through the control terminal, the vehicle performs the corresponding operation (such as opening and closing doors, unlocking, ignition, etc.).
[0048] On this basis, a more optimized solution is: when the control terminal is detected to be close to the vehicle, the vehicle is automatically unlocked and the door is opened; or when the control terminal is detected to be far away from the vehicle, the vehicle is automatically locked, etc. Thus, the vehicle can be automatically locked, unlocked, and opened without the user having to operate the control terminal.
[0049] Since the vehicle needs to detect whether the control terminal is close, it is necessary to locate the control terminal, especially to determine the position of the control terminal relative to the vehicle. In the prior art, the position of the control terminal is usually determined by the following methods:
[0050] The control terminal and the vehicle communicate through wireless technologies such as Bluetooth technology and near field communication technology. Taking the communication between the control terminal and the vehicle through Bluetooth as an example, the control terminal sends a Bluetooth signal to the vehicle, and the vehicle receives the Bluetooth signal sent by the control terminal and can detect the strength of the Bluetooth signal. Due to the physical phenomenon of Bluetooth signal strength attenuation, the strength of the Bluetooth signal will gradually weaken as the distance increases. Therefore, when the distance between the control terminal and the vehicle is far, the signal strength of the Bluetooth signal will be relatively weak; when the distance between the control terminal and the vehicle gradually approaches, the signal strength of the Bluetooth signal will gradually increase. Therefore, the position of the control terminal from the vehicle can be determined based on the strength of the signal received by the vehicle from the control terminal.
[0051] However, when different control terminals (such as different models of mobile phones equipped with different Bluetooth modules) send the same signal at the same location, the signal strength is usually different due to different transmission power, antenna design and performance, etc.
[0052] Therefore, if the vehicle is simply configured to calculate the position of the control terminal based on the strength of the signal sent by the control terminal, the obtained position is often not accurate enough.
[0053] Based on this, the embodiments of this specification provide a method, device, medium and equipment for determining a position. Before describing the embodiments of this specification in detail, a brief principle description is first given:
[0054] In order to solve the problem of inaccurate positioning of the control terminal caused by determining the position of the control terminal only based on the signal strength of the control terminal in the prior art, the embodiment of the present specification obtains a target positioning algorithm for locating the control terminal by training a neural network, so that the target positioning algorithm can estimate the position of the control terminal based on the signal sent by the control terminal (including the signal strength) to obtain more accurate positioning information.
[0055] Furthermore, considering that the communication modules installed in control terminals of different models are often different, and the communication modules installed in control terminals of the same model are often the same. Therefore, control terminals of the same type can be classified into one category, and the same positioning method can be used for control terminals of the same type. For example, when positioning the control terminal based on the above-mentioned target positioning algorithm, a set of network parameters can be obtained for each type of control terminal by training a neural network, so that when a certain type of control terminal is to be positioned, the network parameters corresponding to this type of control terminal are configured to the target positioning algorithm to obtain a more accurate positioning result.
[0056] Furthermore, when training network parameters, it is considered that the number and position of anchor points set for different vehicles are also different, so the signals sent by the same control terminal at the same position detected by different vehicles are also different. Therefore, the number and position of anchor points set in the vehicle will also affect the positioning accuracy of the control terminal. Considering that the number and position of anchor points set for vehicles of the same model are the same, when a set of network parameters is trained for each type of control terminal, the network parameters can be further trained in combination with different models of vehicles, thereby refining them into network parameters for different models of vehicles, thereby obtaining network parameters matching a model of vehicle and a model of vehicle, respectively.
[0057] Through the above, based on the trained network parameters, the control terminal can be accurately positioned through the vehicle.
[0058] Next, the embodiments of this specification are described in detail.
[0059] Figure 1 A flow chart of a method for determining a position provided by an embodiment of this specification is shown. Figure 1 As shown, the method comprises the following steps:
[0060] Step 101, obtaining the model of the paired target vehicle and the model of the control terminal.
[0061] When the control terminal is successfully paired with the vehicle as a key, the control terminal will obtain the authentication data of the vehicle. At this time, the vehicle is used as the target vehicle that the control terminal has paired with. The model of the target vehicle can be obtained by communicating with the vehicle through the authentication data, or if the model of the target vehicle is directly included in the authentication data, the model of the target vehicle can be directly obtained from the authentication data.
[0062] The control terminal stores its own model information, so the control terminal can directly obtain its own model.
[0063] Before executing step 101 to obtain the model of the paired target vehicle, several exemplary methods of determining the paired target vehicle are introduced:
[0064] Method 1: In response to the control terminal being bound to a key and the key being associated with authentication data of a vehicle, the vehicle is determined as the paired target vehicle.
[0065] The key can be a virtual key with a unique identity. The following is an example:
[0066] Assume that the control terminal controls the vehicle by migrating the virtual key of other control terminals to its own control terminal. If the virtual key to be migrated is associated with authentication data, it means that the virtual key has been paired with the vehicle in advance. After the virtual key is migrated to the control terminal, the control terminal can obtain the authentication data associated with the virtual key. At this time, the vehicle corresponding to the authentication data can be determined as the paired target vehicle.
[0067] The authentication data associated with the virtual key can be stored in other control terminals where the virtual key that has not been migrated is located. In the process of binding the virtual key to the control terminal, the authentication data associated with the virtual key can be directly obtained from the other control terminals. Alternatively, it can also be stored in the cloud used to migrate the virtual key. After the control terminal is bound to the virtual key, the authentication data in the cloud can be accessed and downloaded to obtain the authentication data associated with the virtual key.
[0068] A virtual key can be bound to multiple control terminals, so that users can control the target vehicle when using different control terminals.
[0069] Or the second method: in response to the control terminal being bound to the key and the key not being associated with the authentication data of the vehicle, entering the key pairing service. In response to obtaining the authentication data sent by any vehicle, determining the vehicle as the paired target vehicle.
[0070] When the key is not associated with the vehicle's authentication data, the key is a new key and has not been paired with any vehicle. At this time, after the control terminal is bound to the key, it needs to be paired with the vehicle through the key pairing service to obtain the vehicle's authentication data.
[0071] There is no limitation on the binding method between the control terminal and the key. For example, when the key is a virtual key, the process of generating the virtual key in the control terminal can be used as the process of binding the control terminal and the key.
[0072] After obtaining the authentication data of the vehicle, this vehicle is determined as the paired target vehicle.
[0073] Step 102, obtaining target network parameters that match the model of the target vehicle and the model of the control terminal.
[0074] The target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle includes at least a vehicle of the same model as the target vehicle; and the test control terminal includes at least a terminal of the same model as the control terminal.
[0075] Considering that the test vehicle and the test control terminal communicate based on the communication module, therefore: the test vehicle, in addition to including a vehicle of the same model as the target vehicle, can also include a vehicle of the same model as the communication module of the target vehicle (the models of the vehicles may be different, but the models of the communication modules are the same). For example, Vehicle One, Vehicle Two, and Vehicle Three are Model One, Model Two, and Model One, respectively, but the models of the communication modules of Vehicle One and Vehicle Two are both: Model A Bluetooth modules. At this time, if the target vehicle is Vehicle One, then Vehicle One, Vehicle Two, or Vehicle Three can all be used as test vehicles. Similarly, in addition to including a terminal of the same model as the control terminal, the test control terminal can also include a terminal of the same model as the communication model of the control terminal.
[0076] There are multiple groups of communication test data, each group of communication test data at least includes: the test control terminal sends a test signal to the test vehicle, the test vehicle receives the test signal sent by the test control terminal through various anchor points installed on the vehicle, and the distance between the test control terminal and the test vehicle when the test control terminal sends a signal. Each group of communication test data is used as a sample to train the target positioning algorithm, and the target network parameters matching the test control terminal and the test vehicle can be obtained.
[0077] Furthermore, since the test control terminal includes at least a terminal of the same model as the control terminal and the test vehicle includes at least a vehicle of the same model as the target vehicle, the obtained target network parameters also match the control terminal and the target vehicle at the same time.
[0078] When one or more candidate network parameters are stored in the control terminal, the target network parameters can be determined from the candidate network parameters directly based on the model of the control terminal and the model of the target vehicle.
[0079] Alternatively, when multiple candidate network parameters are not stored in the control terminal, a corresponding service may be called to determine and obtain the target network parameters from the candidate network parameters.
[0080] Exemplarily, when the control terminal communicates with the cloud, the cloud is used to manage multiple candidate network parameters; each of the candidate network parameters matches a model of vehicle and a model of control terminal: Figure 2 A flowchart of another method for determining a position provided by an embodiment of this specification is shown. Figure 2 As shown, when executing step 102 to obtain the target network parameters that match the model of the target vehicle and the model of the control terminal, the following steps are included:
[0081] Step 201: Send the model of the target vehicle and the model of the control terminal to the cloud. Receive the target candidate network parameters that match the model of the target vehicle and the model of the control terminal, determined by the cloud from the multiple candidate network parameters.
[0082] For example, the cloud can be interacted with through an application or mini-program of the control terminal. The cloud, mini-program or application can be developed by the vehicle manufacturer in order to maintain the relationship between different models of vehicles and different models of control terminals and candidate network parameters.
[0083] After the control terminal sends the model of the target vehicle and the model of the control terminal to the cloud, since there are several candidate network parameters stored in the cloud, and each candidate network parameter matches a model of vehicle and a model of control terminal, it is possible to determine the target candidate network parameter that matches the model of the control terminal and the model of the target vehicle from the multiple candidate network parameters, and send the target candidate network parameter to the control terminal.
[0084] Since each candidate network parameter matches a vehicle model and a control terminal model, in order to improve the query speed, the vehicle model and the control terminal model can be used as indexes respectively, so as to more quickly query the target candidate network parameters that match both the target vehicle model and the control terminal model.
[0085] For example, the vehicle model may be used as the first filtering condition, and the control terminal model may be used as the second filtering condition, that is, firstly, based on the target vehicle model, the vehicle models different from the target vehicle model are filtered out.
[0086] Then, among the models of several candidate control terminals corresponding to the model of the target vehicle, a control terminal with the same model as the above control terminal is determined, and then the target candidate network parameters that match both the model of the target vehicle and the model of the control terminal are queried.
[0087] Step 202: Determine the target candidate network parameters as the target network parameters.
[0088] After receiving the target candidate network parameters, the control terminal directly determines the target candidate network parameters as target network parameters that match both the model of the target vehicle and the model of the control terminal.
[0089] Figure 3 An application scenario diagram of a location determination method provided by an embodiment of this specification is shown, such as Figure 3 As shown, when the candidate network parameters are stored in the cloud, the control terminal exchanges data with the cloud; the vehicle exchanges data with the control terminal. This allows the vehicle to obtain the target network parameters in the cloud through the control terminal, without the need for the vehicle to frequently communicate with the cloud, which helps solve the problem of being unable to obtain network parameters when the vehicle cannot connect to the cloud.
[0090] Step 103, sending the correspondence between the target network parameters and the model of the control terminal to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
[0091] When the target vehicle calculates the location information of the control terminal through the target positioning algorithm, it is necessary to configure the corresponding network parameters for the target positioning algorithm. In order to improve the accuracy of the location information calculated by the target positioning algorithm, the target vehicle needs to further obtain the target network parameters that match the model of the control terminal and the model of the vehicle itself (i.e., the target vehicle), and configure the target network parameters to the target positioning algorithm when calculating the location information of the control terminal.
[0092] In order to enable the target vehicle to obtain the target network parameters locally, the control terminal sends the correspondence between the target network parameters and the model of the control terminal to the target vehicle after obtaining the target network parameters according to step 101 and step 102. In this way, the target vehicle can store the received correspondence, and after receiving the signal from the control terminal, it can find the target network parameters matching the control terminal in the stored correspondence.
[0093] Furthermore, in order to reduce the number of times the control terminal repeatedly sends the corresponding relationship to the target vehicle, the following steps may be performed:
[0094] When it is determined that the correspondence between the target network parameters and the model of the control terminal is not stored in the target vehicle, the correspondence is sent to the target vehicle.
[0095] There are multiple ways to determine that the target vehicle does not store the corresponding relationship. Exemplarily, the following ways can be used to determine that the target vehicle does not store the corresponding relationship:
[0096] Acquire the communication data between the control terminal and the target vehicle. When it is determined based on the communication data that the target communication condition is satisfied between the control terminal and the target vehicle, determine that the target vehicle does not store the correspondence between the target network parameter and the model of the control terminal; wherein the target communication condition includes: the control terminal has not sent any correspondence to the target vehicle; or, the target network parameter is an updated target network parameter, and the control terminal has not sent the correspondence between the control terminal and the updated target network parameter to the target vehicle; or, after receiving the information sent by the target vehicle that the correspondence is not stored, no correspondence has been sent to the target vehicle.
[0097] The control terminal stores communication data with the target vehicle, for example, the control terminal sends a correspondence B to the target vehicle at time A. When the communication data indicates that the control terminal has not sent any correspondence to the target vehicle, it may be because: the control terminal has just bound a key (the key is associated with the authentication information of the target vehicle), or the control terminal has just bound a key that is not associated with the vehicle authentication information (for example, a new key has just been activated). In these cases, it is considered that the correspondence is not stored in the target vehicle, so when the control terminal is close to the target vehicle, the target vehicle cannot accurately locate the control terminal based on the target network parameters.
[0098] Alternatively, when the target network parameters are updated target network parameters and the control terminal has not yet sent the correspondence between the control terminal and the updated target network parameters to the target vehicle, the target network parameters stored in the target vehicle are considered to be old target network parameters, but after the control terminal updates the target network parameters, the correspondence is also updated (at this time the correspondence in the control terminal is the updated correspondence). Since the communication data indicates that the control terminal has not yet sent the updated correspondence (the correspondence between the control terminal and the updated target network parameters), it is determined that no correspondence is stored in the target vehicle.
[0099] Alternatively, after receiving the information sent by the target vehicle that the corresponding relationship is not stored, no corresponding relationship has been sent to the target vehicle. The information sent by the target vehicle that the corresponding relationship is not stored may be actively sent, or may be sent by the target vehicle in response to a specific query instruction of the control terminal (used to query whether the latest corresponding relationship is stored in the target vehicle). At this time, it is considered that the corresponding relationship is not stored in the target vehicle.
[0100] In a feasible implementation manner, the cloud is used to update the multiple candidate network parameters; after executing step 202 to determine the target candidate network parameters as the target network parameters, the method further includes the following steps:
[0101] When the preset conditions are met, a query instruction is sent to the cloud to query whether the target network parameters are updated; the preset conditions include: reaching a preset query cycle, or the number of times the control terminal sends control instructions to the target vehicle reaches a preset number of times; receiving the updated target candidate network parameters fed back by the cloud based on the query instruction; replacing the parameter value of the target network parameter with the updated target candidate network parameter.
[0102] When the cloud updates the candidate network parameters, if they are not synchronized to the control terminal and the vehicle in time, the vehicle cannot achieve the most accurate positioning based on the latest candidate network parameters. Therefore, the control terminal needs to obtain the latest candidate network parameters updated by the cloud in time that match the model of its own control terminal and the target vehicle.
[0103] The preset query period can be set according to user needs, for example, it can be: one day, one week, one month, so as to regularly query the cloud whether the candidate network parameters are updated according to the preset query period.
[0104] Similarly, the preset number of times can also be set according to user needs, for example, 10 times, 20 times, etc. The query can occur before sending the 10th control instruction, or after sending the 10th control instruction.
[0105] When querying, the control terminal may carry the model of the control terminal and the model of the target vehicle in the query instruction, so as to obtain updated target candidate network parameters that match the model of the control terminal and the model of the target vehicle.
[0106] Alternatively, the query instruction may carry the target network parameters (not updated) in the control terminal. After the cloud obtains the unupdated target network parameters, it compares the versions and feeds back the updated target network parameters (ie, the updated target candidate network parameters).
[0107] In this way, the control terminal can actively and timely obtain the target candidate network parameters updated in the cloud, and update the target network parameters stored in the control terminal based on the updated target candidate network parameters, ensuring that the locally stored target network parameters are always up to date.
[0108] In a feasible implementation manner, when sending a query instruction for querying whether the target network parameter is updated to the cloud, the following steps are included:
[0109] The target network parameter is converted into a hash value of a specified length; the hash value is sent to the cloud, so that the cloud compares the hash value with the hash value of the target candidate network parameter stored in the cloud to obtain a comparison result; the comparison result is used to indicate whether the target network parameter is updated.
[0110] Hash value is also called hash value. The specified length is preset by the user according to the needs. By converting the target network parameters into hash values of the specified length, the amount of data transmitted between the control terminal and the cloud can be reduced. In addition, after the cloud obtains the hash value, if the query instruction does not include the model of the control terminal and the model of the target vehicle, since it is known that it is sent by the control terminal, it can be combined with the model of the control terminal (or the unique identification of the control terminal) to directly compare the hash value of the candidate network parameters (which may be one or more) corresponding to the model of the control terminal. If the comparison result is consistent, it is considered that there is no update; if the comparison result indicates that the comparison is inconsistent, it is considered that there are updated network parameters.
[0111] After the cloud obtains the hash value, if the query instruction includes the model of the control terminal and the model of the target vehicle, it can directly find the hash value of the target candidate network parameters that match the model of the control terminal and the model of the target vehicle, and compare it with the hash value of the query instruction.
[0112] Alternatively, after receiving the hash value sent by the control terminal, the cloud may query the interaction record with the control terminal to determine the target candidate network parameter (which may be updated or not updated) that matches the model of the control terminal and the model of the target vehicle, and the hash value corresponding to the target candidate network parameter. The two hash values are then compared to obtain a comparison result.
[0113] Through the above method, it is possible to obtain the result of whether the target network parameters are updated more quickly on the basis of reducing the transmission data.
[0114] It should be noted that the control terminal can also directly obtain all candidate network parameters in the cloud, as well as a vehicle model and a control terminal model corresponding to each candidate network parameter. Especially when the amount of candidate network parameter data is relatively small, the interaction with the cloud can be reduced to prevent acquisition failures due to communication failures.
[0115] In a feasible implementation scheme, in addition to the control terminal actively querying whether the target network parameters are updated as described above, the cloud can also actively push the candidate network parameters to the control terminal after updating them, as follows:
[0116] When the cloud is used to update the multiple candidate network parameters, after executing step 202 to determine the target candidate network parameter as the target network parameter, the method further includes the following steps:
[0117] In response to receiving the updated target candidate network parameters sent by the cloud, the parameter value of the target network parameters is replaced with the updated target candidate network parameters; the updated target candidate network parameters are automatically sent by the cloud after the target candidate network parameters are updated.
[0118] The cloud records which candidate network parameters each control terminal has obtained and which version of the candidate network parameters it has obtained, so after the candidate network parameters are updated, the updated candidate network parameters can be automatically sent to the corresponding control terminal. The above method does not require the control terminal to query in real time.
[0119] In a feasible implementation scheme, a location determination method is provided, which is applied to the cloud, and the cloud is used to manage multiple candidate network parameters; each of the candidate network parameters matches a model of vehicle and a model of control terminal.
[0120] The method comprises:
[0121] The model of the target vehicle and the model of the control terminal sent by the receiving control terminal; the target vehicle is the vehicle paired with the control terminal.
[0122] A target candidate network parameter that matches both the model of the target vehicle and the model of the control terminal is determined from the multiple candidate network parameters.
[0123] The target candidate network parameters are sent to the control terminal so that the control terminal determines the target candidate network parameters as the target network parameters, and the correspondence between the target network parameters and the model of the control terminal is sent to the target vehicle; the target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
[0124] The relevant contents involved in the above steps have been explained in the above embodiments and will not be repeated here.
[0125] In a feasible implementation, a location determination method is provided, which is applied to a vehicle, wherein the vehicle has been paired with at least one control terminal, and the method comprises:
[0126] For each control terminal, a correspondence between a target network parameter and the model of the control terminal is received; the correspondence is sent by the control terminal after obtaining the target network parameter that matches the model of the vehicle and the model of the control terminal.
[0127] In response to receiving a signal sent by any one of the at least one control terminal, the target network parameters corresponding to the control terminal are configured to the target positioning algorithm, so as to input the signal into the target positioning algorithm to obtain the location information of the control terminal.
[0128] Among them, the vehicle may be paired with multiple control terminals (for example, multiple control terminals are bound to the same key). When each control terminal is close, the vehicle can obtain the signal sent by the control terminal (for example, a Bluetooth signal). The vehicle should configure the network parameters corresponding to this control terminal to the target positioning algorithm, and input the signal into the target positioning algorithm to obtain the corresponding location information. When sending a signal, the control terminal also needs to send its own model (or unique identity, etc.) to the vehicle so that the vehicle can query the corresponding target network parameters according to the model of the control terminal to avoid confusion.
[0129] In order to save storage space of the vehicle, the target network parameters corresponding to the control terminals that have not been used for a long time (e.g., 0 times in the last year, 0 times in the last 3 months, etc.) can be deleted regularly. After deleting specific target network parameters, the vehicle can also actively send information for obtaining new network parameters to the control terminal (e.g., an active control terminal).
[0130] The relevant contents involved in the above steps have been explained in the above embodiments and will not be repeated here.
[0131] Figure 4 An interactive diagram of a location determination method provided by an embodiment of this specification is shown, such as Figure 4 As shown, the method includes:
[0132] Step 401: managing candidate network parameters.
[0133] Among them, the cloud is used to obtain multiple candidate network parameters obtained by training the target positioning algorithm and manage them (such as adding, deleting, modifying, and updating).
[0134] When the cloud obtains the model of the control terminal and the model of the target vehicle sent by the control terminal, it will determine the target network parameters that match both the model of the control terminal and the model of the target vehicle.
[0135] Step 402, obtaining target network parameters.
[0136] The control terminal can obtain the target network parameters determined by the cloud.
[0137] Step 403: Send the correspondence between the target network parameters and the model of the control terminal.
[0138] Step 404: When the control terminal is used as a key, the model of the control terminal is synchronously sent. When the control terminal is close to the vehicle, the control terminal is used as a key by default.
[0139] Step 405: Select a target network parameter corresponding to the model of the control terminal to locate the control terminal.
[0140] The contents involved in the above steps 401 to 405 have been explained in the above embodiments and will not be repeated here.
[0141] In a feasible implementation, a position determination device is provided, which is applied to a control terminal, and the device includes:
[0142] The first acquisition module is used to acquire the model of the paired target vehicle and the model of the control terminal.
[0143] The second acquisition module is used to acquire target network parameters that match the model of the target vehicle and the model of the control terminal.
[0144] The first sending module is used to send the correspondence between the target network parameters and the model of the control terminal to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
[0145] In a feasible implementation manner, when the first sending module is used to send the correspondence between the target network parameter and the model of the control terminal to the target vehicle, it is used to:
[0146] When it is determined that the correspondence between the target network parameters and the model of the control terminal is not stored in the target vehicle, the correspondence is sent to the target vehicle.
[0147] In a feasible embodiment, the device further comprises:
[0148] The first response module is used to determine the vehicle as the paired target vehicle in response to the control terminal being bound to a key and the key being associated with the authentication data of the vehicle before obtaining the model of the paired target vehicle.
[0149] Alternatively, a second response module is used to enter a key pairing service in response to the control terminal being bound to a key and the key not being associated with authentication data of a vehicle before obtaining the model of the paired target vehicle; and in response to obtaining authentication data sent by any vehicle, determine the vehicle as the paired target vehicle.
[0150] In a feasible implementation, the target network parameters are learned by the target positioning algorithm based on communication test data between a test vehicle and a test control terminal; wherein the test vehicle includes at least a vehicle of the same model as the target vehicle; and the test control terminal includes at least a terminal of the same model as the control terminal.
[0151] In a feasible implementation scheme, the control terminal communicates with the cloud, and the cloud is used to manage multiple candidate network parameters; each of the candidate network parameters matches a model of vehicle and a model of control terminal.
[0152] When the first acquisition module is used to acquire the model of the paired target vehicle and the model of the control terminal, it is used to:
[0153] The model of the target vehicle and the model of the control terminal are sent to the cloud.
[0154] Receive target candidate network parameters that are determined by the cloud from the multiple candidate network parameters and that match the model of the target vehicle and the model of the control terminal.
[0155] The target candidate network parameter is determined as the target network parameter.
[0156] In a feasible implementation manner, the cloud is used to update the multiple candidate network parameters. The device also includes:
[0157] The third sending module is used to send a query instruction to the cloud for querying whether the target network parameters are updated after the target candidate network parameters are determined as the target network parameters, when a preset condition is met; the preset condition includes: reaching a preset query cycle, or the control terminal sends a control instruction to the target vehicle for a preset number of times.
[0158] The third receiving module is used to receive the updated target candidate network parameters fed back by the cloud based on the query instruction.
[0159] A replacement module is used to replace the parameter value of the target network parameter with the updated target candidate network parameter.
[0160] In a feasible implementation manner, when the third sending module is used to send a query instruction for querying whether the target network parameter is updated to the cloud, it is used to:
[0161] Convert the target network parameters into a hash value of a specified length.
[0162] The hash value is sent to the cloud, so that the cloud compares the hash value with the hash value of the target candidate network parameter stored in the cloud to obtain a comparison result; the comparison result is used to indicate whether the target network parameter is updated.
[0163] In a feasible implementation manner, the cloud is used to update the multiple candidate network parameters.
[0164] The device also includes:
[0165] A third response module is used to replace the parameter value of the target network parameter with the updated target candidate network parameter in response to receiving the updated target candidate network parameter sent by the cloud after determining the target candidate network parameter as the target network parameter; the updated target candidate network parameter is automatically sent by the cloud after the target candidate network parameter is updated.
[0166] In a feasible implementation manner, when the first sending module is used to determine that the target vehicle does not store the corresponding relationship between the target network parameter and the model of the control terminal, it is used to:
[0167] Acquire communication data between the control terminal and the target vehicle.
[0168] When it is determined based on the communication data that the target communication condition is satisfied between the control terminal and the target vehicle, it is determined that the correspondence between the target network parameters and the model of the control terminal is not stored in the target vehicle; wherein the target communication condition includes: the control terminal has not sent any correspondence to the target vehicle; or, the target network parameters are updated target network parameters, and the control terminal has not sent the correspondence between the control terminal and the updated target network parameters to the target vehicle; or, after receiving information sent by the target vehicle that the correspondence is not stored, no correspondence has been sent to the target vehicle.
[0169] In a feasible implementation scheme, a location determination device is provided, which is applied to the cloud, and the cloud is used to manage multiple candidate network parameters; each of the candidate network parameters matches a model of vehicle and a model of control terminal.
[0170] The device comprises:
[0171] The first receiving module is used to receive the model of the target vehicle sent by the control terminal and the model of the control terminal; the target vehicle is the vehicle paired with the control terminal.
[0172] The first determination module is used to determine the target candidate network parameters that match the model of the target vehicle and the model of the control terminal from the multiple candidate network parameters.
[0173] The second sending module is used to send the target candidate network parameters to the control terminal so that the control terminal determines the target candidate network parameters as the target network parameters, and sends the correspondence between the target network parameters and the model of the control terminal to the target vehicle; the target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
[0174] In a feasible implementation, a position determination device is provided, which is applied to a vehicle, the vehicle being equipped with at least one control terminal, and the device comprising:
[0175] The second receiving module is used to receive the correspondence between the target network parameters and the model of the control terminal for each control terminal; the correspondence is sent by the control terminal after obtaining the target network parameters that match the model of the vehicle and the model of the control terminal.
[0176] A configuration module is used to configure the target network parameters corresponding to the control terminal to the target positioning algorithm in response to receiving a signal sent by any one of the at least one control terminal, so as to input the signal into the target positioning algorithm to obtain the location information of the control terminal.
[0177] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0178] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0179] Figure 5 This is a hardware structure diagram of a computer device where a position determination device is located according to an exemplary embodiment of this specification. Figure 5 As shown, the device may include: a processor 501, a memory 502, an input / output interface 503, a communication interface 504 and a bus 505. The processor 501, the memory 502, the input / output interface 503 and the communication interface 504 are connected to each other through the bus 505 in the device.
[0180] The processor 501 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the steps of the position determination method provided in the embodiments of this specification.
[0181] The memory 502 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 502 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 502 and called and executed by the processor 501.
[0182] The input / output interface 503 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0183] The communication interface 504 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0184] The bus 505 includes a path for transmitting information between various components of the device (eg, the processor 501 , the memory 502 , the input / output interface 503 , and the communication interface 504 ).
[0185] It should be noted that, although the above device only shows a processor 501, a memory 502, an input / output interface 503, a communication interface 504, and a bus 505, in a specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0186] The embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any position determination method provided in the embodiments of the present specification are implemented.
[0187] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0188] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0189] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A method for determining a position, characterized in that: Applied to a control terminal, the method comprises: Obtaining the model of the paired target vehicle and the model of the control terminal; Acquire target network parameters that match the model of the target vehicle and the model of the control terminal; The correspondence between the target network parameters and the model of the control terminal is sent to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
2. The method according to claim 1, characterized in that The sending the correspondence between the target network parameter and the model of the control terminal to the target vehicle includes: When it is determined that the correspondence between the target network parameters and the model of the control terminal is not stored in the target vehicle, the correspondence is sent to the target vehicle.
3. The method according to claim 1, characterized in that Before obtaining the model of the paired target vehicle, the method further includes: In response to the control terminal being bound to a key and the key being associated with authentication data of a vehicle, determining the vehicle as the paired target vehicle; Alternatively, in response to the control terminal being bound to a key and the key not being associated with authentication data of a vehicle, entering a key pairing service; In response to obtaining the authentication data sent by any vehicle, the vehicle is determined as the paired target vehicle.
4. The method according to claim 1, characterized in that: The target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; Among them, the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
5. The method according to claim 4, characterized in that The control terminal communicates with a cloud, and the cloud is used to manage a plurality of candidate network parameters; each of the candidate network parameters matches a model of a vehicle and a model of a control terminal; The acquiring of target network parameters matching both the model of the target vehicle and the model of the control terminal includes: Sending the model of the target vehicle and the model of the control terminal to the cloud; Receiving a target candidate network parameter determined by the cloud from the multiple candidate network parameters that matches both the model of the target vehicle and the model of the control terminal; The target candidate network parameter is determined as the target network parameter.
6. The method according to claim 5, characterized in that The cloud is used to update the multiple candidate network parameters; After determining the target candidate network parameter as the target network parameter, the method further includes: When a preset condition is met, a query instruction for querying whether the target network parameter is updated is sent to the cloud; the preset condition includes: reaching a preset query cycle, or the number of times the control terminal sends a control instruction to the target vehicle reaches a preset number; Receiving updated target candidate network parameters fed back by the cloud based on the query instruction; The parameter value of the target network parameter is replaced with the updated target candidate network parameter.
7. The method according to claim 6, characterized in that The sending a query instruction to the cloud for querying whether the target network parameter is updated includes: Convert the target network parameter into a hash value of a specified length; The hash value is sent to the cloud, so that the cloud compares the hash value with the hash value of the target candidate network parameter stored in the cloud to obtain a comparison result; the comparison result is used to indicate whether the target network parameter is updated.
8. The method according to claim 5, characterized in that The cloud is used to update the multiple candidate network parameters; After determining the target candidate network parameter as the target network parameter, the method further includes: In response to receiving the updated target candidate network parameters sent by the cloud, the parameter value of the target network parameters is replaced with the updated target candidate network parameters; the updated target candidate network parameters are automatically sent by the cloud after the target candidate network parameters are updated.
9. The method according to claim 2, characterized in that: The determining that the target vehicle does not store a correspondence between the target network parameter and the model of the control terminal includes: Acquiring communication data between the control terminal and the target vehicle; When it is determined based on the communication data that the target communication condition is satisfied between the control terminal and the target vehicle, determining that the corresponding relationship between the target network parameter and the model of the control terminal is not stored in the target vehicle; Among them, the target communication conditions include: the control terminal has not sent any corresponding relationship to the target vehicle; or, the target network parameters are updated target network parameters, and the control terminal has not sent the corresponding relationship between the control terminal and the updated target network parameters to the target vehicle; or, after receiving the information sent by the target vehicle that does not store the corresponding relationship, no corresponding relationship has been sent to the target vehicle.
10. A method for determining a position, characterized in that: Applied to a cloud, the cloud is used to manage a plurality of candidate network parameters; each of the candidate network parameters matches a model of a vehicle and a model of a control terminal; The method comprises: Receive the model of the target vehicle and the model of the control terminal sent by the control terminal; the target vehicle is the vehicle paired with the control terminal; Determine, from the multiple candidate network parameters, a target candidate network parameter that matches both the model of the target vehicle and the model of the control terminal; The target candidate network parameters are sent to the control terminal so that the control terminal determines the target candidate network parameters as the target network parameters, and the correspondence between the target network parameters and the model of the control terminal is sent to the target vehicle; the target network parameters are learned by the target positioning algorithm based on the communication test data between the test vehicle and the test control terminal; wherein the test vehicle at least includes a vehicle of the same model as the target vehicle; the test control terminal at least includes a terminal of the same model as the control terminal.
11. A method for determining a position, characterized in that: Applied to a vehicle, the vehicle has been paired with at least one control terminal, the method comprising: For each control terminal, receiving a correspondence between a target network parameter and a model of the control terminal; the correspondence is sent by the control terminal after acquiring the target network parameter that matches the model of the vehicle and the model of the control terminal; In response to receiving a signal sent by any one of the at least one control terminal, the target network parameters corresponding to the control terminal are configured to the target positioning algorithm, so as to input the signal into the target positioning algorithm to obtain the location information of the control terminal.
12. A position determination device, characterized in that: Applied to a control terminal, the device comprises: A first acquisition module, used to acquire the model of the paired target vehicle and the model of the control terminal; A second acquisition module is used to acquire target network parameters that match the model of the target vehicle and the model of the control terminal; The first sending module is used to send the correspondence between the target network parameters and the model of the control terminal to the target vehicle, so that after receiving the signal from the control terminal, the target vehicle inputs the signal into the target positioning algorithm configured with the target network parameters to obtain the location information of the control terminal.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of any method described in claims 1-11 are implemented.
14. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods of claims 1-11 when executing the computer program.