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. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The shared vehicle searching method provided by the embodiment of the invention can help a user to quickly find a specific target vehicle pushed by the system for the user in an unfamiliar parking lot, so that the user is prevented from automatically searching the target vehicle in a parking lot with a complex structure, the searching time of the user is reduced, and the vehicle using experience of the user is improved. In addition, referring to fig. 1, it is a schematic view of an application environment of a shared vehicle searching method according to an embodiment of the present invention, where the shared vehicle searching method according to the embodiment of the present invention is applied to a server 300, the server 300 is connected to an intelligent terminal 200 and a shared vehicle 100 through a network, and the intelligent terminal 200 may be, but is not limited to, an intelligent electronic device such as a mobile phone or a tablet computer. When the user uses the vehicle, the user can control the shared vehicle 100 through the intelligent terminal 200, and at the same time, the intelligent terminal 200 automatically detects the distance between the intelligent terminal 200 held by the user and the shared vehicle 100 according to an instruction sent by the user, and timely requests the server 300 to control the shared vehicle 100 to send out a flash whistle prompt, so that the user can find the specific shared vehicle 100 as soon as possible.
Referring to fig. 2, a schematic flow chart of a shared vehicle searching method according to an embodiment of the present invention is shown, where the method includes:
step S110, responding to the vehicle using operation of the target vehicle by the user, sending basic information of the target vehicle and the two-dimensional structure diagram of the parking lot where the target vehicle is located, which are input by the previous user, to the current user, so that the user can search the target vehicle according to the index of the target vehicle on the two-dimensional structure diagram.
It should be noted that the server 300 prestores all parking lot information in a predetermined area, where the parking lot information includes, but is not limited to, the name of the parking lot where each shared vehicle 100 is located, the specific floor where each shared vehicle is located, and the specific parking space where each shared vehicle is located. The predetermined area may be a city, a province or a larger place, that is, the storage capacity of the server 300 may be set according to actual needs.
In addition, when each user returns the car, the server 300 will enter a new position where the shared vehicle 100 is parked, specifically, the server 300 will obtain the parking lot where the shared vehicle 100 is located according to a positioning device (such as a GPS) installed on the shared vehicle 100 and store the parking lot information, and the user will also input a specific floor, a specific area number, a specific parking lot number, a car return photo, and car return description information of the parking lot where the shared vehicle 100 is located through the intelligent terminal 200 when returning the car, and then send the information to the server 300 for storage. That is, when any one of the users returns, the server 300 newly stores information on the parking lot where the shared vehicle 100 is located, the floor of the parking lot where the shared vehicle is located, the area number, and the specific parking space, and updates the newly stored position information of the shared vehicle 100 with the position information of the same vehicle stored in advance.
When the current user needs to use the shared vehicle 100, the user performs the vehicle using operation on the smart terminal 200, and the server 300 sends updated basic information of the target vehicle and the two-dimensional structure diagram of the parking lot where the target vehicle is located to the current user in response to the vehicle using operation of the target vehicle by the user. The basic information of the target vehicle comprises a parking lot where the target vehicle is located, a specific floor of the parking lot, parking area information and specific parking spaces of the parking lot, the two-dimensional structure diagram of the parking lot where the target vehicle is located is an svg structure diagram of the parking lot, and the two-dimensional structure diagram shows the distribution situation of all the parking spaces of the current parking lot in a two-dimensional mode. Furthermore, the position of the target vehicle is marked on the two-dimensional structure diagram in a highlight mode, and therefore a user can conveniently find the target vehicle according to the guidance of the two-dimensional structure diagram.
And step S120, detecting the linear distance between the intelligent terminal and the target vehicle.
Specifically, after the user issues a car use command through the smart terminal 200, the smart terminal 200 calculates a linear distance between the smart terminal 200 and the sharing vehicle 100 according to the position of the sharing vehicle 100 acquired from the server 300.
And S130, if the straight-line distance is smaller than a first preset distance, responding to the control operation of a user to control the target vehicle to carry out flashing and whistling operation so as to remind the user of the direction of the target vehicle.
Specifically, the first predetermined distance is 500 meters, and it is easy to understand that the first predetermined distance can be set according to actual needs. Furthermore, when the linear distance between the intelligent terminal 200 and the target vehicle is less than the first predetermined distance, the user may press a key for controlling the target vehicle to flash and whistle in the intelligent terminal 200 by touching, and the server 300 may respond to the control operation of the user to control the target vehicle to flash and whistle so as to remind the user of the specific direction of the target vehicle. It should be noted that the linear distance between the intelligent terminal 200 and the target vehicle is not displayed on the intelligent terminal 200, after the user presses the key on the intelligent terminal 200 for controlling the target vehicle to flash and whistle, the server 300 only controls the target vehicle to flash and whistle under the condition that the linear distance is smaller than the first preset distance, so as to remind the user, otherwise, the user is prompted to approach the shared vehicle 100 to flash and whistle in the manner of pop-up window reminding, and the user can find the vehicle quickly.
And step S140, if the linear distance is smaller than a second preset distance, triggering a Bluetooth module of the intelligent terminal to automatically search a tbox signal with a specific identifier sent by a tbox module installed on the target vehicle, and connecting and unlocking the target vehicle when the tbox signal is greater than a preset intensity so as to allow a user to use the vehicle.
It will be readily appreciated that the second predetermined distance is less than the first predetermined distance, which may be 300 meters, and that if the linear distance is less than the second predetermined distance, the intelligent terminal 200 will trigger the bluetooth module of the intelligent terminal 200 to automatically retrieve tbox signals having the specific identification from the tbox module mounted on the target vehicle. It should be noted that, when the user issues a car-using operation through the smart terminal 200, the server 300 will transmit basic information of the target vehicle to the smart terminal 200, and will also transmit the specific identifier of the target vehicle, the authorization key, and the manipulation password to the smart terminal 200 through asynchronous transmission.
Furthermore, if the linear distance is smaller than the second predetermined distance, the bluetooth module of the intelligent terminal 200 will be triggered to search the tbox signal sent by the tbox module with the specific identifier to find the target vehicle. The specific identifier is a UUID identifier and the tbox module is a module installed in the vehicle that can send and receive messages.
After the bluetooth module of the intelligent terminal 200 retrieves the tbox signal with the specific identifier, the intensity of the tbox signal is continuously judged, if the tbox signal is greater than the preset intensity, the authorized secret key received by the intelligent terminal 200 is used for establishing connection with the tbox module on the target vehicle, and then the target vehicle connected with the intelligent terminal 200 is unlocked through the control password received by the intelligent terminal 200, so that the user can directly open the vehicle door for using the vehicle, and the vehicle using process of the user is simplified while the user is guided to search for the vehicle. If the tbox signal is less than the predetermined intensity, the bluetooth module of the intelligent terminal 200 is controlled to continuously judge the intensity of the tbox signal until the intensity of the tbox signal is greater than the predetermined intensity. It is easily understood that the stronger the tbox signal intensity detected by the intelligent terminal 200 is the closer the user holds the intelligent terminal 200 to the target vehicle, the target vehicle can be unlocked only when the tbox signal intensity is greater than a predetermined intensity, preferably 85db, which can be set according to actual needs.
Step S150, if the straight line distance is smaller than a third preset distance, triggering and detecting whether the Bluetooth module of the intelligent terminal is successfully connected with the tbox module on the target vehicle; if the connection is not successful, controlling the target vehicle to flash and whistle; and if the connection is successful, the target vehicle is not controlled to flash and whistle.
Specifically, the third predetermined distance is smaller than the second predetermined distance, for example, the third predetermined distance may be 100 meters. When the straight line distance is smaller than a third preset distance, triggering and detecting whether a Bluetooth module of the intelligent terminal 200 is successfully connected with a tbox module on a target vehicle or not, if the connection is not successful, indicating that the current user is too far away from the target vehicle, controlling the target vehicle to carry out a flash whistling operation, and prompting the user; and if the connection is successful and the connection success state indicates that the current user is close to the target vehicle, the target vehicle is not controlled to carry out the operation of flashing lights and whistling. Therefore, according to the shared vehicle searching method provided by the embodiment of the invention, when a user uses a vehicle, on one hand, basic information of a target vehicle and a two-dimensional structure diagram of a parking lot where the target vehicle is located are sent to the intelligent terminal 200 through the server 300, so that the user can find the target vehicle according to the index of the target vehicle on the two-dimensional structure diagram of the parking lot; on the other hand, the intelligent terminal 200 will also detect the linear distance between the intelligent terminal 200 held by the user and the target vehicle in real time, and take different measures to remind the user according to the size of the linear distance. If the straight line distance is smaller than the first preset distance, the server 300 indicates that the user is too far away from the target vehicle, the server 300 controls the target vehicle to flash and whistle to prompt the user of the specific direction of the target vehicle, if the straight line distance is smaller than the second preset distance, the server indicates that the user is close to the target vehicle, the server controls the Bluetooth module of the intelligent terminal 200 to search a tbox module on the vehicle, and if the tbox signal intensity is high, the server connects the target vehicle and controls the target vehicle to unlock and turn on. It should be noted that a plurality of predetermined distances may be provided to determine the linear distance, and a plurality of determination methods may be overlapped. Therefore, the user can quickly find the target vehicle in a complex parking lot through the assistance of the two aspects, and the vehicle using experience of the user is improved.
Referring to fig. 3, a functional module diagram of a shared vehicle search device 310 according to an embodiment of the present invention is shown, and the device includes a pushing module 311, a detecting module 312, a control module 313, and a triggering module 314.
The sending module 311 is configured to send, to a current user, basic information of a target vehicle and a two-dimensional structure diagram of a parking lot where the target vehicle is located, which are input by a previous user, in response to a vehicle-using operation of the target vehicle by the user, so that the user can find the target vehicle according to a reference to the target vehicle on the two-dimensional structure diagram.
In the embodiment of the present invention, step S110 may be performed by the sending module 311.
And a detection module 312, configured to detect a linear distance between the intelligent terminal and the target vehicle.
In an embodiment of the present invention, step S120 may be performed by the detection module 312.
And the control module 313 is used for responding to the control operation of the user to control the target vehicle to carry out the operation of flashing a light and whistling if the linear distance is smaller than the first preset distance so as to remind the user of the direction of the target vehicle.
In the embodiment of the present invention, step S130 may be performed by the control module 313.
And the triggering module 314 is configured to trigger the bluetooth module of the intelligent terminal to automatically retrieve a tbox signal with a specific identifier sent by a tbox module installed on the target vehicle if the linear distance is smaller than a second predetermined distance, and connect and unlock the target vehicle when the tbox signal is greater than a predetermined strength, so that a user can use the vehicle.
In an embodiment of the present invention, steps S140 and S150 may be performed by the trigger module 314.
Since the detailed description is already given in the shared vehicle search method section, it is not described here in detail.
In summary, the method and the device for searching for a shared vehicle provided by the embodiments of the present invention are applied to a server, and the server is respectively connected to an intelligent terminal and a shared vehicle. The method comprises the following steps: and responding the vehicle using operation of the user on the target vehicle, and sending basic information of the target vehicle and a two-dimensional structure diagram of the parking lot where the target vehicle is located, which are input by the previous user, to the current user, wherein the specific position where the target vehicle is located is identified in the two-dimensional structure diagram in a highlight mode, so as to guide the user to find the vehicle. In addition, the linear distance between the intelligent terminal and the target vehicle is detected, and if the linear distance is smaller than a first preset distance, the target vehicle is controlled to carry out flashing and whistling operation so as to remind a user of the position of the target vehicle; if the straight-line distance is smaller than a second preset distance, a Bluetooth module on the intelligent terminal is triggered to automatically search a tbox module installed on the target vehicle to send a tbox signal with a specific identifier, and when the tbox signal is larger than a preset intensity, the target vehicle is connected and unlocked for a user to use the vehicle. Therefore, basic information of the target vehicle and the two-dimensional structure diagram of the parking lot where the target vehicle is located are pushed on the one hand, so that the user can search the vehicle according to indication of the two-dimensional structure diagram, on the other hand, the linear distance between the intelligent terminal held by the user and the target vehicle can be detected, the target vehicle is controlled to send out corresponding prompt, the user is further reminded, the user can conveniently search the vehicle, and the vehicle using experience of the user is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.