Specific embodiment
Hereinafter, various embodiments of the present invention will be described more fully.The present invention can have various embodiments, and
It can adjust and change wherein.It should be understood, however, that: there is no various embodiments of the present invention are limited to spy disclosed herein
Determine the intention of embodiment, but should invention is construed as cover in the spirit and scope for falling into various embodiments of the present invention
All adjustment, equivalent and/or optinal plan.
Hereinafter, disclosed in the term " includes " that can be used in various embodiments of the present invention or " may include " instruction
Function, operation or the presence of element, and do not limit the increase of one or more functions, operation or element.In addition, such as existing
Used in various embodiments of the present invention, term " includes ", " having " and its cognate are meant only to indicate special characteristic, number
Word, step, operation, the combination of element, component or aforementioned item, and be understood not to exclude first one or more other
Feature, number, step, operation, element, component or aforementioned item combined presence or increase one or more features, number,
Step, operation, element, component or aforementioned item combination a possibility that.
In various embodiments of the present invention, statement " A or/and B " includes any combination or the institute of the text listed file names with
There is combination, such as, it may include A, it may include B or may include A and B both.
The statement (" first ", " second " etc.) used in various embodiments of the present invention can be modified in various implementations
Various constituent element in example, but respective sets can not be limited into element.For example, the above statement is not intended to limit the suitable of the element
Sequence and/or importance.The above statement is only used for the purpose for differentiating an element and other elements.For example, the first user fills
It sets and indicates different user device with second user device, although the two is all user apparatus.For example, of the invention each not departing from
In the case where the range of kind embodiment, first element is referred to alternatively as second element, and similarly, second element is also referred to as first
Element.
It should also be noted that in the present invention, unless otherwise specific regulation and definition, the arts such as " installation ", " connection ", " fixation "
Language shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection or being integrally connected;It can be machine
Tool connection, is also possible to be electrically connected;It can be and be directly connected to, and can be indirectly connected through an intermediary;It can be two
Connection inside element.For the ordinary skill in the art, above-mentioned term can be understood at this as the case may be
Concrete meaning in invention.
In the present invention, those skilled in the art are it is to be appreciated that indicating position or positional relationship in text
Term be orientation based on the figure or positional relationship, be merely for convenience of description of the present invention and simplification of the description, without
It is that the device of indication or suggestion meaning or element must have a particular orientation, be constructed and operated in a specific orientation, therefore
It is not considered as limiting the invention.
The term used in various embodiments of the present invention is used only for the purpose of describing specific embodiments and not anticipates
In limitation various embodiments of the present invention.Unless otherwise defined, otherwise all terms used herein (including technical term and
Scientific term) there is contain identical with the normally understood meaning of various embodiments of the present invention one skilled in the art
Justice.The term (term such as limited in the dictionary generally used) be to be interpreted as have in the related technical field
The identical meaning of situational meaning and Utopian meaning or meaning too formal will be interpreted as having, unless this
It is clearly defined in the various embodiments of invention.
Referring to FIG. 1, Fig. 1 shows the flow diagram of the charging localization method of invention first embodiment, the charging is fixed
Position method includes the following steps:
In step s 110, network signal and global location (Global Positioning System, GPS) letter are detected
Number whether can be used.
Specifically, user needs to open parking lot application program before using parking lot charging equipment to search whether to deposit
In available charging equipment.At this point, the application program can requry the users whether opening network and global positioning function, user agree to
The application program can then call permission opening network and global positioning function afterwards.Open the network and global positioning function of equipment
Afterwards, whether the network and global positioning function that equipment can send signal further out to determine equipment can be used.
In the step s 120, the charging equipment information of vehicle position information and vehicle-surroundings is obtained.
Specifically, when network signal and global positioning signal can be used, vehicle can be navigated to by global positioning function
Real time position;The available charging positioned at the vehicle location periphery is transferred to charging cloud platform by parking lot application program simultaneously to set
It is standby, available charging equipment information (location information, charge power information etc.) is then sent to parking lot application program, and lead to
The parking lot application program display is crossed to come out.
In step s 130, it chooses and navigates to charging equipment position.
Specifically, it after user receives the charging equipment information on vehicle location periphery, can be selected in parking lot application program
The charging equipment to charge is taken, as selected distance is nearest or the maximum charging equipment of charge power.Then pass through parking
The charging equipment that user chooses is reported to charging cloud platform by field application program, and charging cloud platform is according to user current location and fills
The position of electric equipment calculates optimum navigation routine and is sent to the equipment.Subsequent user can send according to charging cloud platform
Navigation routine find corresponding charging equipment and charge.
In step S140, the WiFi Aware function of opening equipment is detected whether.
Specifically, WiFi Aware function is based on WiFi Aware protocol realization correspondence with foreign country, and WiFi Aware technology can
To keep running background with extremely low power consumption, the charging with WIFI function that a small amount of message helps equipment to find periphery is sent
Facility information.Further, the element for realizing WiFi Aware function can be WIFI-Aware wireless chip.It is mentioned here
WIFI-Aware wireless chip includes but is not limited to Botong (Broadcom) BCM4358, Intel (Intel) Dual Band
Wireless-AC7260, Mai Wei (Marcell) Avastar 88W8897 802.11ac low-power consumption Wi-Fi combo chip and
Any one of Realtek (Realtek) RTL8812AE 2x2a/b/g/n/ac MiniCard.
When any one in the network and global positioning signal that detect equipment is unavailable, ask the user whether to open
Wi-Fi Aware function opens the Wi-Fi Aware function of equipment if user authorizes after agreement;If different after inquiring user
Meaning opens Wi-Fi Aware function, then the network, global positioning function of equipment and Wi-Fi Aware function are in unavailable
State, parking lot application program can not then position charging equipment information, and device prompts parking lot application program is unavailable at this time, and
Exit application program.
In step s 141, the first data-signal based on WiFi Aware agreement is sent.
Specifically, after the Wi-Fi Aware function of opening equipment, equipment then sends into a certain range and is based on WiFi
First data-signal of Aware agreement.In the present embodiment, WiFi Aware can be supported by being respectively provided on all charging equipments
The WIFI module of agreement.
In step S142, the second data-signal that the charging equipment is sent is received.
Specifically, after the equipment sends the first data-signal based on WiFi Aware agreement, the charging equipment
On WIFI module be able to respond first data-signal and send the second data-signal to the equipment.The second data letter
It include the identification information and status information of charging equipment in number.The identification information includes the number of charging equipment, as A charging is set
Standby, B charging equipment;The status information of the charging equipment include it is current whether available and current charge power, it is such as available,
Charge power 3.5W or unavailable.
In step S143, second data-signal is parsed.
Specifically, after receiving second data-signal, the emphasis for including in second data-signal is parsed
The signal strength of the identification information of dress, status information and second data-signal received.
In step S144, the relative distance of the charging equipment is calculated.
Specifically, it after parsing the signal strength of second data-signal, can be calculated according to the signal strength
The relative distance of the corresponding charging equipment of second data-signal out.Such as receive second data-signal signal it is strong
Degree is rssi, and the relative distance of the corresponding charging equipment of second data-signal is d, then d=10^ ((abs (rssi)-A)/
(10*n)), wherein A indicates signal strength when transmitting terminal and receiving end are separated by 1 meter, and n indicates the environmental attenuation factor, by above-mentioned
Formula can calculate the relative distance of the corresponding charging equipment of second data-signal.
In step S145, available charging equipment is screened.
It specifically, can be with before charging equipment, needing the identification information of the charging equipment, status information described in screening
Incidence relation is established with relative distance information, such as: A charging equipment can be used, charge power 7KW, and 35 meters of distance;B charging is set
It is standby, it is unavailable, 50 meters of distance.It, can by the status information screening of the charging equipment after establishing the incidence relation of the information
Charging equipment, after the charging equipment for sending the second charge data signal is established incidence relation, it is available for filtering out
The charging equipment of state, and the information of all charging equipments in available mode is established into rechargeable devices inventory.
In step S146, display can use the information of charging equipment.
Specifically, the rechargeable devices inventory is shown in charging application program by list mode, or logical
The sequence for crossing distance is shown by way of map in charging application program in order to which user browses and selects to be intended to
The charging equipment of charging.
In step S147, chooses available charging equipment and send third data-signal.
Specifically, the charging equipment to be charged may be selected after user browses the chargeable charging equipment, it is then logical
It crosses the charging equipment that WIFI Aware is selected to user and sends third data-signal.In the present embodiment, the third data
Signal includes the instruction for opening charge reminder.
The charging equipment then controls the function of opening charge reminder, such as buzzer after receiving the third data-signal
Or light flash, the charging equipment can be quickly found when being driven near the charging equipment in order to user and is started to fill
Electricity.
The present invention also proposes a kind of computer equipment, and the user equipment includes: memory, processor and is stored in described
The program of charging localization method can be run on memory and on the processor, the processor runs the computer program
So that the computer equipment executes above-mentioned charging localization method.
The present invention also proposes a kind of storage medium, and above-mentioned charging localization method program, institute are stored on the storage medium
State the step of program of charging localization method realizes charging localization method as described above when being executed by processor.Charging positioning
Method can refer to above-described embodiment, and details are not described herein again.
The charging localization method of this case is able to detect whether the network of user and global positioning function can be used, in network and entirely
User is assisted to choose and navigate to available charging equipment when ball positioning function is available;It is unavailable in network and global positioning function
When, the first data-signal based on WiFi Aware agreement can be sent to charging equipment by WiFi Aware function, to pass through
The second data-signal that charging equipment returns obtains the identification information and range information of charging equipment, in order in network and the whole world
Auxiliary positioning is carried out when positioning function is unavailable, is filled consequently facilitating user quickly finds available charging equipment information and improves
Electrical efficiency.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.