CN111356226A - Method and device for positioning and electronic equipment - Google Patents
Method and device for positioning and electronic equipment Download PDFInfo
- Publication number
- CN111356226A CN111356226A CN201811580883.2A CN201811580883A CN111356226A CN 111356226 A CN111356226 A CN 111356226A CN 201811580883 A CN201811580883 A CN 201811580883A CN 111356226 A CN111356226 A CN 111356226A
- Authority
- CN
- China
- Prior art keywords
- information
- current
- current information
- smart card
- card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000004891 communication Methods 0.000 claims abstract description 36
- 230000000694 effects Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 20
- 238000004088 simulation Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The embodiment of the application provides a method, a device and electronic equipment for positioning, wherein the method comprises the following steps: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information. The method, the device and the electronic equipment for positioning provided by the embodiment of the application can provide an auxiliary effect for a GPS (global positioning system) to realize accurate positioning.
Description
Technical Field
The present application relates to the field of positioning technologies, and in particular, to a method and an apparatus for positioning, and an electronic device.
Background
In order to ensure the personal safety, the more important the real-time tracking and positioning become, the more important the use of the tracking device (English: Tracker) is. Currently, Tracker equipment adopts Global positioning system (abbreviated as GPS) positioning, and there is almost no GPS signal indoors, so that the GPS positioning in the prior art is inaccurate in indoor environment such as a subway station.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device and electronic equipment for positioning, which can provide an auxiliary effect for a GPS (global positioning system) to realize accurate positioning.
To solve the above technical problem, embodiments of the present application are achieved by the following aspects.
In a first aspect, an embodiment of the present application provides a method for positioning, including: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
In a second aspect, an embodiment of the present application provides an apparatus for positioning, including: the acquisition module is used for acquiring the current information of the smart card through a card reader mode of near field communication; and the positioning module is used for comparing the current information with the stored latest information of the intelligent card, and determining the current position according to the current information when the current information is different from the latest information.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, the computer-executable instructions when executed by the processor implementing the steps of: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the steps of: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
In the embodiment of the application, the current information of the smart card is acquired through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and when the current information is different from the latest information, determining the current position according to the current information, so that the GPS can provide an auxiliary effect to realize accurate positioning.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow chart of a method for positioning according to an embodiment of the present application;
fig. 2 is another schematic flow chart of a method for positioning according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a method for positioning according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of a method for positioning according to an embodiment of the present disclosure;
fig. 5 is a schematic flow chart of a method for positioning according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an apparatus for positioning according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of an apparatus for positioning according to an embodiment of the present disclosure;
fig. 8 shows a hardware structure diagram of an electronic device for executing a method for positioning according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 shows a flowchart of a method for positioning according to an embodiment of the present application, which may be executed by an electronic device, such as a terminal device or a server device. In other words, the method may be performed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The electronic equipment executing the embodiment of the application has the functions of GPS and NFC. As shown, the method may include the following steps.
Step S10: and acquiring the current information of the smart card through a card reader mode of near field communication.
Near Field Communication (NFC), which is a short-range high-frequency wireless Communication technology, includes: card mode (Card emulation), point-to-point mode (P2P mode), and Reader mode (Reader/writer mode).
The embodiment of the application utilizes a card simulation mode and a card reader mode of NFC, wherein the card simulation mode of NFC integrates an intelligent card, and the intelligent card can comprise an Integrated Circuit (IC) card, a bus card, a credit card and the like; and a card reader mode, which is used as a card reader for reading smart card marks, information and the like.
S20: and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The electronic equipment stores the information of the smart card, wherein the information comprises the latest position information of the smart card. And when the position of the intelligent card is found to be changed, determining the current position according to the current information. For example, if the credit card transacts in market A1 hour before, the electronic device stores the latest information of the intelligent card in market A, and the credit card transacts in market B, the current information is compared with the latest information of the intelligent card in the step, and if the change is found, the market B is determined to be the current position according to the current information.
Therefore, according to the method for positioning, the current information of the smart card is obtained through the card reader mode of the NFC, the current information is compared with the stored latest information of the smart card, when the current information is different from the latest information, the current position is determined according to the current information, the positioning can be achieved by utilizing the NFC function of the electronic equipment, and when the GPS cannot achieve accurate positioning, the GPS is assisted to achieve accurate positioning.
Fig. 2 shows another flowchart of a method for positioning according to an embodiment of the present application, where the method may be performed by an electronic device, for example, a terminal device or a server device. In other words, the method may be performed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The electronic equipment executing the embodiment of the application has the functions of GPS and NFC. As shown, the method may include the following steps.
Step S10: and acquiring the current information of the smart card through a card reader mode of near field communication.
Near Field Communication (NFC), which is a short-range high-frequency wireless Communication technology, includes: card mode (Card emulation), point-to-point mode (P2P mode), and Reader mode (Reader/writer mode).
The embodiment of the application utilizes a card simulation mode and a card reader mode of NFC, wherein the card simulation mode of NFC integrates an intelligent card, and the intelligent card can comprise an Integrated Circuit (IC) card, a bus card, a credit card and the like; and a card reader mode, which is used as a card reader for reading smart card marks, information and the like.
S20: and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The electronic equipment stores the information of the smart card, wherein the information comprises the latest position information of the smart card. And when the position of the intelligent card is found to be changed, determining the current position according to the current information. For example, if the credit card transacts in market A1 hour before, the electronic device stores the latest information of the intelligent card in market A, and the credit card transacts in market B, the current information is compared with the latest information of the intelligent card in the step, and if the change is found, the market B is determined to be the current position according to the current information.
In one possible implementation, the current information is stored as the latest information to update the latest location of the user.
In a possible implementation manner, the latest location information stored in the electronic device may be obtained through a GPS function of the electronic device, for example, when the user is in outdoor activities, the GPS realizes accurate positioning, and then the user enters a subway, at this time, the GPS cannot realize accurate positioning.
In one possible implementation, determining the current location according to the current information includes the following steps.
S21: the current information is sent to a particular server.
In one possible implementation, the smart card comprises a transportation card, and this step may include sending the current information to a public transportation server. And the public transport server decodes the current information to obtain a current position corresponding to the current information.
S22: a current location of a particular server feedback is received.
In one possible implementation, the smart card comprises a transportation card, and this step may include receiving a current location fed back by a public transportation server.
Therefore, according to the method for positioning, the current information of the smart card is obtained through the card reader mode of the NFC, the current information is compared with the stored latest information of the smart card, when the current information is different from the latest information, the current position is determined according to the current information, the positioning can be achieved by utilizing the NFC function of the electronic equipment, and when the GPS cannot achieve accurate positioning, the GPS is assisted to achieve accurate positioning.
Fig. 3 shows another flowchart of a method for positioning according to an embodiment of the present application, where the method may be performed by an electronic device, for example, a terminal device or a server device. In other words, the method may be performed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The electronic equipment executing the embodiment of the application has the functions of GPS and NFC. As shown, the method may include the following steps.
Step S10: and acquiring the current information of the smart card through a card reader mode of near field communication.
Near Field Communication (NFC), which is a short-range high-frequency wireless Communication technology, includes: card mode (Card emulation), point-to-point mode (P2P mode), and Reader mode (Reader/writer mode).
The embodiment of the application utilizes a card simulation mode and a card reader mode of NFC, wherein the card simulation mode of NFC integrates an intelligent card, and the intelligent card can comprise an Integrated Circuit (IC) card, a bus card, a credit card and the like; and a card reader mode, which is used as a card reader for reading smart card marks, information and the like.
S20: and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The electronic equipment stores the information of the smart card, wherein the information comprises the latest position information of the smart card. And when the position of the intelligent card is found to be changed, determining the current position according to the current information. For example, if the credit card transacts in market A1 hour before, the electronic device stores the latest information of the intelligent card in market A, and the credit card transacts in market B, the current information is compared with the latest information of the intelligent card in the step, and if the change is found, the market B is determined to be the current position according to the current information.
In a possible implementation manner, the latest location information stored in the electronic device may be obtained through a GPS function of the electronic device, for example, when the user is in outdoor activities, the GPS realizes accurate positioning, and then the user enters mall a, at which time the GPS cannot realize accurate positioning.
In one possible implementation, determining the current location according to the current information includes step S23: and determining a current position corresponding to the position code contained in the current information based on a corresponding relation between pre-stored position codes and positions.
In one possible implementation, the electronic device stores a correspondence between the station code information and the station name, the current information being the station code information, the electronic device decodes it and converts the station code information into the station name.
In a possible implementation manner, before this step, the method further includes: receiving a corresponding relation between the position code and the position sent by the specific server; and storing the corresponding relation.
In a possible implementation manner, the electronic device may send an acquisition request to a specific server to acquire the corresponding relationship, or the specific server may actively send the corresponding relationship to the electronic device based on a preset rule, for example, every week. For example, the bus server may issue a new transit line table every week in which the correspondence between stop code information and stop names is recorded.
Fig. 4 shows another flowchart of a method for positioning according to an embodiment of the present application, where the method may be performed by an electronic device, for example, a terminal device or a server device. In other words, the method may be performed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. As shown, the method may include the following steps. The electronic equipment executing the embodiment of the application has the functions of GPS and NFC.
Step S10: and acquiring the current information of the smart card through a card reader mode of near field communication.
Near Field Communication (NFC), which is a short-range high-frequency wireless Communication technology, includes: card mode (Card emulation), point-to-point mode (P2P mode), and Reader mode (Reader/writer mode).
The embodiment of the application utilizes a card simulation mode and a card reader mode of NFC, wherein the card simulation mode of NFC integrates an intelligent card, and the intelligent card can comprise an Integrated Circuit (IC) card, a bus card, a credit card and the like; and a card reader mode, which is used as a card reader for reading smart card marks, information and the like.
S20: and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The electronic equipment stores the information of the smart card, wherein the information comprises the latest position information of the smart card. And when the position of the intelligent card is found to be changed, determining the current position according to the current information. For example, if the credit card transacts in market A1 hour before, the electronic device stores the latest information of the intelligent card in market A, and the credit card transacts in market B, the current information is compared with the latest information of the intelligent card in the step, and if the change is found, the market B is determined to be the current position according to the current information.
Therefore, according to the method for positioning, the current information of the smart card is obtained through the card reader mode of the NFC, the current information is compared with the stored latest information of the smart card, when the current information is different from the latest information, the current position is determined according to the current information, the positioning can be achieved by utilizing the NFC function of the electronic equipment, and when the GPS cannot achieve accurate positioning, the GPS is assisted to achieve accurate positioning.
S30: and sending the current position to a specified object.
The corresponding relation between the user and the designated object is prestored in the electronic equipment, and the current position of the user is sent to the designated object in the step. For example, the location of the child is sent to the parent.
The GPS-implemented location query is passive and requires a key-press trigger on Tracker or an Application (APP) to initiate the location query. The method for positioning provided by the embodiment of the application can actively send the position information to the specified object.
Fig. 5 is a flowchart illustrating a method for positioning according to an embodiment of the present application, where the method may be performed by an electronic device, such as a terminal device or a server device. In other words, the method may be performed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. As shown, the method may include the following steps. The electronic equipment executing the embodiment of the application has the functions of GPS and NFC.
Step S10: and acquiring the current information of the smart card through a card reader mode of near field communication.
Near Field Communication (NFC), which is a short-range high-frequency wireless Communication technology, includes: card mode (Card emulation), point-to-point mode (P2P mode), and Reader mode (Reader/writer mode).
The embodiment of the application utilizes a card simulation mode and a card reader mode of NFC, wherein the card simulation mode of NFC integrates an intelligent card, and the intelligent card can comprise an Integrated Circuit (IC) card, a bus card, a credit card and the like; and a card reader mode, which is used as a card reader for reading smart card marks, information and the like.
S11: the GPS function is turned off.
The card reader mode of NFC is typically suitable for indoor scenes such as subways or shopping malls. Indoor scene GPS signal is poor, and GPS location is inaccurate, and when the GPS signal is poor, the GPS antenna can try to search for the GPS signal always, and power consumption is big, influences electronic equipment's time of endurance, closes the GPS function this moment and can effectively practice thrift the electric quantity, extension electronic equipment time of endurance.
S20: and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The electronic equipment stores the information of the smart card, wherein the information comprises the latest position information of the smart card. And when the position of the intelligent card is found to be changed, determining the current position according to the current information. For example, if the credit card transacts in market A1 hour before, the electronic device stores the latest information of the intelligent card in market A, and the credit card transacts in market B, the current information is compared with the latest information of the intelligent card in the step, and if the change is found, the market B is determined to be the current position according to the current information.
Therefore, according to the method for positioning, the current information of the smart card is obtained through the card reader mode of the NFC, the current information is compared with the stored latest information of the smart card, when the current information is different from the latest information, the current position is determined according to the current information, the positioning can be achieved by utilizing the NFC function of the electronic equipment, and when the GPS cannot achieve accurate positioning, the GPS is assisted to achieve accurate positioning. And the GPS function is closed, so that the electric quantity is effectively saved, and the endurance time of the electronic equipment is prolonged.
Fig. 6 shows a schematic structural diagram of an apparatus for positioning according to an embodiment of the present application, where the apparatus 100 includes: an acquisition module 110 and a positioning module 120.
The obtaining module 110 is configured to obtain current information of the smart card through a card reader mode of near field communication. A positioning module 120, configured to compare the current information with stored latest information of the smart card, and determine a current position according to the current information when the current information is different from the latest information.
In one possible implementation, the location module 120 is configured to send the current information to a specific server; and receiving the current location fed back by the specific server.
In a possible implementation manner, the positioning module 120 is configured to determine a current location corresponding to a location code included in the current information based on a correspondence between a pre-stored location code and a location.
The apparatus 100 provided in this embodiment of the application can perform the methods described in the foregoing method embodiments, and implement the functions and beneficial effects of the methods described in the foregoing method embodiments, which are not described herein again.
Fig. 7 shows a schematic structural diagram of an apparatus for positioning according to an embodiment of the present application, where the apparatus 100 includes: an acquisition module 110, a location module 120, a disabling module 130, and a sending module 140.
The obtaining module 110 is configured to obtain current information of the smart card through a card reader mode of near field communication. A positioning module 120, configured to compare the current information with stored latest information of the smart card, and determine a current position according to the current information when the current information is different from the latest information.
In one possible implementation, the location module 120 is configured to send the current information to a specific server; and receiving the current location fed back by the specific server.
In a possible implementation manner, the positioning module 120 is configured to determine a current location corresponding to a location code included in the current information based on a correspondence between a pre-stored location code and a location.
The apparatus 100 provided in this embodiment of the present application may execute the methods described in the foregoing method embodiments, and implement the functions and beneficial effects of the methods described in the foregoing method embodiments, and here is not described again in a possible implementation manner, and the apparatus 100 further includes: and the disabling module 130 is configured to turn off a global positioning system GPS function after the current information of the smart card is acquired in the card reader mode through near field communication.
In one possible implementation, the apparatus 100 further includes: a sending module 140, configured to send the current location to a specified object after determining the current location according to the current information.
In a possible implementation manner, the positioning module 120 is further configured to receive a corresponding relationship between a location code and a location sent by the specific server before the current information of the smart card is obtained in the card reader mode through near field communication; and storing the corresponding relation.
In a possible implementation manner, the location module 120 is further configured to store the current information as the latest information after comparing the current information with the stored latest information of the smart card.
The apparatus 100 provided in this embodiment of the application can perform the methods described in the foregoing method embodiments, and implement the functions and beneficial effects of the methods described in the foregoing method embodiments, which are not described herein again.
Fig. 8 shows a hardware structure diagram of an electronic device for executing a method for positioning according to an embodiment of the present application, and with reference to the diagram, at a hardware level, the electronic device includes a processor, and optionally includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be interconnected by an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended EISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in the figure, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a device for positioning the target user on a logic level. The processor executes the program stored in the memory, and is specifically used for executing: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The method disclosed in the embodiment of fig. 1 of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute each method described in the foregoing method embodiments, and implement the functions and beneficial effects of each method described in the foregoing method embodiments, which are not described herein again.
Of course, besides the software implementation, the electronic device of the present application does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Embodiments of the present application also provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform operations comprising: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
The computer-readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Further, embodiments of the present application also provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, implement the following process: acquiring current information of the smart card through a card reader mode of near field communication; and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
In short, the above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Claims (16)
1. A method for positioning, comprising:
acquiring current information of the smart card through a card reader mode of near field communication;
and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
2. The method of claim 1, wherein determining a current location based on the current information comprises:
sending the current information to a specific server;
receiving the current location fed back by the particular server.
3. The method of claim 1, wherein determining a current location based on the current information comprises:
and determining a current position corresponding to the position code contained in the current information based on a corresponding relation between pre-stored position codes and positions.
4. The method according to claim 1, wherein after the obtaining current information of the smart card in the reader mode through near field communication, the method further comprises:
the GPS function is turned off.
5. The method of claim 1, further comprising, after determining a current location based on the current information:
and sending the current position to a specified object.
6. The method according to claim 3, wherein before the obtaining current information of the smart card in the reader mode through near field communication, the method further comprises:
receiving a corresponding relation between the position code and the position sent by the specific server;
and storing the corresponding relation.
7. The method of claim 1, further comprising, after comparing the current information with stored latest information of the smart card: and storing the current information as the latest information.
8. An apparatus for positioning, comprising:
the acquisition module is used for acquiring the current information of the smart card through a card reader mode of near field communication;
and the positioning module is used for comparing the current information with the stored latest information of the intelligent card, and determining the current position according to the current information when the current information is different from the latest information.
9. The apparatus of claim 8, wherein the location module is configured to send the current information to a specific server; and
receiving the current location fed back by the particular server.
10. The apparatus according to claim 1, wherein the positioning module is configured to determine a current location corresponding to a location code included in the current information based on a correspondence between a pre-stored location code and a location.
11. The apparatus of claim 8, further comprising:
and the disabling module is used for turning off the GPS function after the current information of the smart card is acquired through the card reader mode of near field communication.
12. The apparatus of claim 8, further comprising:
and the sending module is used for sending the current position to a specified object after the current position is determined according to the current information.
13. The apparatus according to claim 10, wherein the positioning module is further configured to receive a correspondence between the location code and the location sent by the specific server before the current information of the smart card is obtained in the card reader mode through near field communication; and storing the corresponding relation.
14. The apparatus of claim 8, wherein the location module is further configured to store the current information as updated information after comparing the current information with the stored updated information of the smart card.
15. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that when executed use the processor to perform the following:
acquiring current information of the smart card through a card reader mode of near field communication;
and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
16. A computer readable medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to:
acquiring current information of the smart card through a card reader mode of near field communication;
and comparing the current information with the stored latest information of the smart card, and determining the current position according to the current information when the current information is different from the latest information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811580883.2A CN111356226A (en) | 2018-12-24 | 2018-12-24 | Method and device for positioning and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811580883.2A CN111356226A (en) | 2018-12-24 | 2018-12-24 | Method and device for positioning and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111356226A true CN111356226A (en) | 2020-06-30 |
Family
ID=71195511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811580883.2A Withdrawn CN111356226A (en) | 2018-12-24 | 2018-12-24 | Method and device for positioning and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111356226A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120094597A1 (en) * | 2010-10-14 | 2012-04-19 | Research In Motion Limited | Near-field communication (nfc) system with mobile wireless communications devices determining geographic positions of nfc tags and related methods |
US20130084801A1 (en) * | 2011-09-30 | 2013-04-04 | Broadcom Corporation | Positioning Guidance for Increasing Reliability of Near-Field Communications |
CN103559524A (en) * | 2013-11-19 | 2014-02-05 | 威海北洋电气集团股份有限公司 | RFID accurate locating device and using method thereof |
CN103617541A (en) * | 2013-10-27 | 2014-03-05 | 赵志旺 | A method for collecting intelligent card transaction terminal information with crowdsourcing |
CN204334960U (en) * | 2014-07-19 | 2015-05-13 | 刘卓 | A kind of indoor and outdoor shopping guide based on NFC and guide system |
US20160165056A1 (en) * | 2012-10-12 | 2016-06-09 | Crestron Electronics, Inc. | Initiating a conference call via radio frequency beacons |
TW201721170A (en) * | 2015-12-01 | 2017-06-16 | Chunghwa Telecom Co Ltd | Method of using NFC electronic tag as indoor positioning using an NFC handheld device to sense the electronic tag to convert the read information of the electronic tag into room positioning information |
-
2018
- 2018-12-24 CN CN201811580883.2A patent/CN111356226A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120094597A1 (en) * | 2010-10-14 | 2012-04-19 | Research In Motion Limited | Near-field communication (nfc) system with mobile wireless communications devices determining geographic positions of nfc tags and related methods |
US20130084801A1 (en) * | 2011-09-30 | 2013-04-04 | Broadcom Corporation | Positioning Guidance for Increasing Reliability of Near-Field Communications |
US20160165056A1 (en) * | 2012-10-12 | 2016-06-09 | Crestron Electronics, Inc. | Initiating a conference call via radio frequency beacons |
CN103617541A (en) * | 2013-10-27 | 2014-03-05 | 赵志旺 | A method for collecting intelligent card transaction terminal information with crowdsourcing |
CN103559524A (en) * | 2013-11-19 | 2014-02-05 | 威海北洋电气集团股份有限公司 | RFID accurate locating device and using method thereof |
CN204334960U (en) * | 2014-07-19 | 2015-05-13 | 刘卓 | A kind of indoor and outdoor shopping guide based on NFC and guide system |
TW201721170A (en) * | 2015-12-01 | 2017-06-16 | Chunghwa Telecom Co Ltd | Method of using NFC electronic tag as indoor positioning using an NFC handheld device to sense the electronic tag to convert the read information of the electronic tag into room positioning information |
Non-Patent Citations (1)
Title |
---|
江先斌: "基于NFC技术的智慧图书馆的研究", 《机电技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI730524B (en) | Identity authentication method, device and system | |
CN109639636B (en) | Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment | |
US10447790B2 (en) | Information push | |
US20140057648A1 (en) | Passive dynamic geofencing for mobile devices | |
CN109919600A (en) | A kind of virtual card call method, device, equipment and storage medium | |
CN105792124B (en) | Positioning method and device | |
CN110007916B (en) | Interface rendering method and device of business system and server | |
US10524117B2 (en) | Method and system for configuring a mobile device | |
US9491582B2 (en) | Method for optimizing battery use in a mobile device while tracking a location of the device | |
US12063194B2 (en) | Message reminding method, apparatus, control device and storage medium | |
CN108540524B (en) | Method, equipment and readable medium for establishing social relationship | |
US20210168556A1 (en) | Electronic device and method for providing geofencing service | |
CN106548647A (en) | Record parking information, the method for parking spot navigation, apparatus and system | |
CN110677810A (en) | Method and apparatus for generating geo-fences | |
CN111784356A (en) | Payment verification method, device, equipment and storage medium | |
CN115951376A (en) | Positioning method and device fusing indoor and outdoor satellites, terminal equipment and storage medium | |
US20210076302A1 (en) | Access control method for smart card and electronic device using same | |
US10708880B2 (en) | Electronic device and method for determining entry of region of interest of electronic device | |
CN110852796B (en) | Position positioning method, device, medium and apparatus | |
CN111356226A (en) | Method and device for positioning and electronic equipment | |
CN108009246A (en) | A kind of history message lookup method and device | |
CN111008864A (en) | Method and device for determining laying relation between marketing code and merchant and electronic equipment | |
CN105025436A (en) | Information acquiring method and mobile terminal | |
CN110519353B (en) | Service request processing method, device and equipment | |
CN108304525B (en) | Condition data determination method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200630 |
|
WW01 | Invention patent application withdrawn after publication |