CN115038032A - Subway trip detection method and electronic equipment - Google Patents

Subway trip detection method and electronic equipment Download PDF

Info

Publication number
CN115038032A
CN115038032A CN202111460090.9A CN202111460090A CN115038032A CN 115038032 A CN115038032 A CN 115038032A CN 202111460090 A CN202111460090 A CN 202111460090A CN 115038032 A CN115038032 A CN 115038032A
Authority
CN
China
Prior art keywords
fence
subway
subway station
precision
electronic equipment
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.)
Granted
Application number
CN202111460090.9A
Other languages
Chinese (zh)
Other versions
CN115038032B (en
Inventor
朱泽圻
王凯
范昊深
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202111460090.9A priority Critical patent/CN115038032B/en
Publication of CN115038032A publication Critical patent/CN115038032A/en
Application granted granted Critical
Publication of CN115038032B publication Critical patent/CN115038032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets
    • G07B11/11Apparatus for validating or cancelling issued tickets for cancelling tickets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a subway trip detection method and electronic equipment, wherein the method comprises the following steps: the electronic device detects whether the user arrives near the subway station and near a gate of the subway station based on the set plurality of subway fences, and further determines whether the user is in the subway station. Upon determining that the user is in proximity to the subway station, in proximity to a gate of the subway station, and within the subway station, a subway ride card can be popped up. Therefore, the precision of subway trip detection is improved, and the user who does not need to take the subway is prevented from being disturbed.

Description

Subway trip detection method and electronic equipment
Technical Field
The application relates to the field of terminal equipment, in particular to a subway trip detection method and electronic equipment.
Background
With the development of the field of terminal equipment, the application scenes of the terminal become more and more extensive. For example, a user may ride a subway through a swipe code service provided by an application installed in the terminal. However, the operation of the code refreshing service provided by the current application is cumbersome, and the user experience is poor.
Disclosure of Invention
The application provides an optimized subway trip detection method and electronic equipment.
In some embodiments provided by the application, the electronic equipment can provide more accurate and more convenient code swiping service for a subway trip mode of a user, so that the user experience is improved.
For example, a plurality of applications with a code swiping function may be installed in the electronic device. In some scenes, when a user needs to refresh the code, the application with the code refreshing function can be triggered manually, so that the application displays a subway bus code interface. The user can use the subway bus code in the subway bus code interface to swipe the code and get in or out of the station, so that the user does not need to purchase a subway card or carry the subway card. In order to further improve user experience, in some scenarios, the electronic device may actively provide a quick entry corresponding to the subway ride code to the user (which may be understood as actively showing the quick entry to the user without manual triggering by the user), so that the user may jump to the subway ride code interface in a simple operation, for example, in a case of clicking a button corresponding to the quick entry, thereby simplifying user operation. The display opportunity of the quick entry associated with the application to which the subway taking code interface belongs needs to be considered, timeliness (inappropriate too early or too late) is avoided, excessive disturbance to the user is avoided (whether the user really needs to take the subway for traveling needs to be accurately judged, if the judgment is not accurate, unnecessary disturbance to the user is caused by displaying the quick entry under the condition that the user does not need to take the subway for traveling), and the requirement of the user needs to be met, so that the quick entry can be displayed to the user when the user needs to take the subway. Some embodiments of the application provide a subway trip detection method, which can determine whether a user needs to take a subway for trip based on a behavior state of the user, and actively pop up a subway trip card (which provides a quick entry corresponding to a subway trip code) after determining that the user needs to take the subway for trip, so that a quick entry for subway trip service can be timely provided for the user, and man-machine interaction efficiency and user experience are improved.
In a first aspect, an embodiment of the present application provides a subway trip detection method. The method comprises the following steps: the electronic equipment subscribes to a coarse-precision fence of the subway station, and the coarse-precision fence is used for indicating that the electronic equipment is located near the subway station. The electronic equipment detects that the electronic equipment is located near the first subway station, and determines the triggering of the coarse-precision fence corresponding to the first subway station. After triggering a coarse-precision fence corresponding to a first subway station, subscribing a first high-precision fence corresponding to the first subway station; the first high-precision fence is used for indicating that the electronic equipment is located near a gate of the first subway station. The electronic equipment detects that the electronic equipment is located near a gate of a first subway station, and determines that a first high-precision fence is triggered. After a first high-precision fence of the electronic equipment is triggered, subscribing to a first indoor fence; the first indoor fence is used for indicating that the electronic equipment is located indoors at the first subway station. The method comprises the steps that the electronic equipment detects that the electronic equipment is located indoors of a first subway station, and triggering of a first indoor fence is determined; under the condition that the first high-precision fence and the first indoor fence are both triggered, the electronic equipment displays the subway riding card. In this way, the electronic device can gradually detect the condition indicated by each subway fence based on the set plurality of subway fences, thereby acquiring whether the user arrives near the subway, whether the user arrives near a gate of the subway station, and whether the user is indoors at the subway station. The electronic device detects that the user is near the subway station and near the gate of the subway station and further detects that the user is indoors at the subway station, then it can be determined that the user is going to take the subway for traveling, and a subway taking card is popped up. For example, the electronic device can gradually improve the detection precision and accuracy by setting a plurality of subway fences, so as to avoid a situation that a user pops up a card near a subway but not near a gate of the subway, or a situation that the user enters a subway station but near the gate of the subway, and the like, so as to improve the detection precision of the user who needs to take the subway and avoid disturbance to the user who does not need to take the subway.
According to a first aspect, the method further comprises: the electronic equipment detects that the electronic equipment is located near the second subway station, and determines the triggering of the coarse-precision fence corresponding to the second subway station; after triggering a coarse-precision fence corresponding to a second subway station, subscribing a second high-precision fence corresponding to the second subway station; the second high-precision fence is used for indicating that the electronic equipment is located near a gate of the second subway station; the electronic equipment detects that the electronic equipment is located near a gate of a second subway station, and determines the triggering of a second high-precision fence; after the second high-precision fence is triggered, subscribing a second indoor fence; the second indoor fence is used for indicating that the electronic equipment is positioned indoors in the second subway station; and if the electronic equipment detects that the electronic equipment leaves the vicinity of the gate of the second subway station under the condition that the electronic equipment does not detect that the second indoor fence is triggered, releasing the second indoor fence and the second high-precision fence. In this way, if the electronic device is in the process of detecting the indoor fence, that is, if the indoor fence has not been triggered, and if the user leaves the high-precision fence, that is, the user leaves the vicinity of the gate of the subway station, it indicates that the user does not need to take a car, for example, the user may just pass through the vicinity of the gate of the subway station, or it can be understood that the user may pass through the range indicated by the high-precision fence, the electronic device may stop detecting the indoor fence and the high-precision fence, so as to avoid disturbing the user who does not need to take the subway while saving power consumption.
According to a first aspect, or any one of the above implementations of the first aspect, the first indoor fence comprises at least one of an illumination threshold and a satellite state threshold, the satellite state threshold comprising a number of satellites threshold and a satellite communication quality threshold. In this way, the electronic device, upon detecting the indoor fence, may determine whether the user is located indoors in the subway station based on the lighting and/or satellite status indicated by the indoor fence.
According to a first aspect, or any implementation of the first aspect above, the first indoor fence comprises a satellite state threshold, and after subscribing to the first indoor fence, the method further comprises: at a first moment, acquiring a first quantity value of the satellite searched by the electronic equipment and a first communication quality parameter between the electronic equipment and each searched satellite; detecting that the first quantity value does not meet a satellite quantity threshold value and/or the first communication quality parameter does not meet a satellite communication quality threshold value, and determining that the electronic equipment is outdoors in the first subway station; at a second moment, acquiring a second numerical value of the satellite searched by the electronic equipment and a second communication quality parameter between the electronic equipment and each searched satellite; the second time is after the first time; and determining that the electronic equipment is indoors in the first subway station when the second quantity value meets the satellite quantity threshold and/or the second communication quality parameter meets the satellite communication quality threshold. In this way, the electronic device can detect whether the electronic device is indoors or not based on the condition of the satellite searched by the electronic device, so that the indoor detection accuracy is improved.
According to the first aspect, or any implementation manner of the first aspect above, the first indoor fence includes a first illumination threshold corresponding to a first preset time period and a second illumination threshold corresponding to a second preset time period, and after subscribing to the first indoor fence, the method further includes: at the third moment, acquiring first illumination intensity of the electronic equipment in the current environment; detecting that the first illumination intensity does not meet a first illumination threshold value, and determining that the electronic equipment is outdoors in the first subway station; at the fourth moment, acquiring second illumination intensity of the electronic equipment in the current environment; the fourth moment is after the third moment, and the third moment and the fourth moment both belong to a first preset time period; and determining that the electronic equipment is indoors in the first subway station when the second illumination intensity is detected to meet the first illumination threshold. Like this, electronic equipment can be based on the illumination intensity under the environment that electronic equipment is located to judge whether the user is indoor in the subway station, thereby improve the indoor precision that detects. Further, the electronic device may set corresponding threshold values for different time periods, determine the corresponding threshold values according to a relationship between the time corresponding to the currently acquired illumination intensity and the time period, and determine whether the trigger condition of the indoor fence is satisfied based on the relationship between the illumination intensity and the threshold values.
According to the first aspect, or any implementation manner of the first aspect above, the first indoor fence includes a first illumination threshold corresponding to a first preset time period and a second illumination threshold corresponding to a second preset time period, and after subscribing to the first indoor fence, the method further includes: at the fifth moment, acquiring a third illumination intensity of the electronic equipment in the current environment; detecting that the third illumination intensity does not meet a second illumination threshold, and determining that the electronic equipment is outdoors at the first subway station; at a sixth moment, acquiring fourth illumination intensity of the electronic equipment in the current environment; the sixth time is after the fifth time, and the fifth time and the sixth time both belong to a second preset time period; and determining that the electronic equipment is indoors in the first subway station when the fourth illumination intensity is detected to meet the second illumination threshold. Like this, electronic equipment can be based on the illumination intensity under the environment that electronic equipment is located to judge whether the user is indoor in the subway station, thereby improve the indoor precision that detects. Further, the electronic device may set corresponding threshold values for different time periods, determine the corresponding threshold values according to a relationship between the time corresponding to the currently acquired illumination intensity and the time period, and determine whether the trigger condition of the indoor fence is satisfied based on the relationship between the illumination intensity and the threshold values.
According to a first aspect or any one of the above implementation manners of the first aspect, the first preset time period is daytime and the second preset time period is nighttime.
According to the first aspect, or any implementation manner of the first aspect, the first illumination threshold and the second illumination threshold are fixed values, and the first illumination threshold is greater than the second illumination threshold.
According to the first aspect or any one implementation manner of the first aspect, the first illumination threshold is used to indicate that the illumination intensity obtained this time is one third of the illumination intensity obtained last time; the second illumination threshold is used for indicating that the illumination intensity obtained this time is three times of the illumination intensity obtained last time. Therefore, the electronic equipment can periodically acquire the illumination intensity after the high-precision fence is triggered, and determine whether the user is in the subway station room or not based on the variation situation of the illumination intensity acquired in the period and the illumination intensity acquired in the previous period.
According to a first aspect, or any one of the above implementation manners of the first aspect, the coarse-precision fence comprises at least one of cellular network information and geographical location information of a subway station. In this way, the electronic device may determine whether the user has reached the vicinity of the subway station based on the cellular network and/or the geographic location.
According to the first aspect, or any implementation manner of the first aspect above, the coarse-precision fence includes cellular network information of each metro station in a city where the electronic device is located, and after subscribing to the coarse-precision fence, the method further includes: at a seventh moment, acquiring first cellular network information of a first cellular network connected with the electronic equipment; determining that the electronic equipment is not near the subway station based on the first cellular network information and the cellular network information of the subway station indicated by the coarse-precision fence; at the eighth moment, second cellular network information of a second cellular network connected with the electronic equipment is acquired; the eighth time is after the seventh time; and determining that the electronic equipment is located near the first subway station based on the second cellular network information and the cellular network information of the subway station indicated by the coarse-precision fence. In this way, the electronic device may periodically acquire cellular network information to determine whether the user has arrived near a subway station.
According to a first aspect, or any implementation manner of the first aspect above, the coarse-precision fence includes geographical location information of a subway station, and after subscribing to the coarse-precision fence, the method further includes: at the ninth moment, first geographical position information of the electronic equipment is obtained; determining that the electronic equipment is not near the subway station based on the first geographical position information and the geographical position information of the subway station indicated by the coarse precision fence; acquiring second geographical position information of the electronic equipment at a tenth moment, wherein the tenth moment is after the ninth moment; and determining that the electronic equipment is located near the first subway station based on the second geographical position information and the geographical position information of the subway station indicated by the coarse-precision fence. In this way, the electronic device may periodically obtain the geographic location information to determine whether the user has arrived near the subway station.
According to a first aspect or any one of the above implementation manners of the first aspect, the first high-precision fence includes wireless network information of a first subway station. In this way, the electronic device may determine whether the user has reached the vicinity of the gate of the subway station based on the wireless network within the subway station and the wireless network of the electronic device.
According to a first aspect or any one of the above implementation manners of the first aspect, the wireless network information of the first subway station includes at least one of bluetooth network information of the first subway station and Wi-Fi network information of the first subway station.
According to the first aspect, or any implementation manner of the first aspect above, after subscribing to the first high-precision fence, the method further includes: at the eleventh moment, first wireless network information of the first wireless network detected by the electronic equipment is acquired; determining that the electronic equipment is not near a gate of the first subway station based on the first wireless network information and the wireless network information of the first subway station; at a twelfth moment, second wireless network information of a second wireless network detected by the electronic equipment is acquired, wherein the twelfth moment is after the eleventh moment; and determining that the electronic equipment is located near a gate of the first subway station based on the second wireless network information and the wireless network information of the first subway station. In this way, after the coarse-precision fence is triggered, the electronic device may periodically acquire the condition indicated by the high-precision fence, for example, periodically acquire the wireless network searched by the electronic device, and determine whether the user arrives near the gate of the subway station based on the acquired result.
According to a first aspect, or any implementation manner of the first aspect above, the subway taking card includes a name of a first subway station and a flash option.
According to the first aspect, or any implementation manner of the first aspect above, the method further includes: responding to the received operation of clicking the code swiping option, and displaying a subway bus code interface; the subway riding code interface comprises a subway riding code; the subway bus taking code is a two-dimensional code or a bar code. Therefore, the electronic equipment can provide a quick entrance corresponding to the subway bus taking code service, so that a user can jump to a subway bus taking code interface under the condition of clicking a code swiping option.
According to the first aspect as such or any one of the above implementations of the first aspect, the method further comprises: acquiring station information of a subway station from a cloud; re-subscribing the coarse-precision fence corresponding to the site information based on the site information; the site information includes at least one of: the method comprises the following steps of cellular network information of the subway station, geographical position information of the subway station, station name of the subway station and wireless network information of the subway station. In this way, the electronic device can acquire the updated information corresponding to each fence from the cloud and update the subscribed fences.
According to the first aspect, or any implementation manner of the first aspect, the electronic device displays the subway riding card in at least one of a desktop, a screen locking interface, an application interface, a pull-down menu bar and a negative screen.
According to the first aspect or any one implementation manner of the first aspect, when the electronic device displays the subway taking card on an application interface, the subway taking card is in a suspension control form.
In a second aspect, the present application provides an electronic device. The electronic device includes: one or more processors, memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory and, when executed by the one or more processors, cause the electronic device to perform the instructions of the first aspect or any possible implementation of the first aspect.
Any one implementation manner of the second aspect and the second aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one of the implementation manners of the second aspect and the second aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not described here.
In a third aspect, the present application provides a computer-readable medium for storing a computer program including instructions for executing the method of the first aspect or any possible implementation manner of the first aspect.
Any one implementation manner of the third aspect corresponds to any one implementation manner of the first aspect. For technical effects corresponding to any one implementation manner of the third aspect and the third aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a fourth aspect, the present application provides a computer program including instructions for executing the method of the first aspect or any possible implementation manner of the first aspect.
Any one implementation manner of the fourth aspect and the fourth aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one implementation manner of the fourth aspect and the fourth aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a fifth aspect, an embodiment of the present application provides a chip, which includes a processing circuit and a transceiver pin. Wherein the transceiver pin and the processing circuit are in communication with each other via an internal connection path, and the processing circuit executes the method of the first aspect or any one of the possible implementations of the first aspect to control the receiving pin to receive a signal and to control the transmitting pin to transmit a signal.
Drawings
Fig. 1 is a schematic diagram of a hardware configuration of an exemplary illustrated electronic device;
fig. 2 is a schematic flowchart illustrating a subway trip detection method according to an exemplary embodiment;
fig. 3 is a schematic flowchart illustrating a subway trip detection method according to an exemplary embodiment;
FIGS. 4 a-4 g are diagrams illustrating exemplary application scenarios;
FIG. 5 is a schematic diagram of an exemplary application scenario;
FIG. 6 is a schematic illustration of an exemplary illustrated ride card;
FIGS. 7 a-7 d are exemplary user interface diagrams;
fig. 8 is a schematic diagram of a software structure of an exemplary electronic device.
Detailed Description
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 some, but not all, embodiments of the present application. 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.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first target object and the second target object, etc. are specific sequences for distinguishing different target objects, rather than describing target objects.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of processing units refers to two or more processing units; the plurality of systems refers to two or more systems.
Fig. 1 shows a schematic structural diagram of an electronic device 100. It should be understood that the electronic device 100 shown in fig. 1 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. Wherein the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
In the embodiment of the present application, an electronic device is taken as an example to be described as a mobile phone, and in other embodiments, the electronic device may be a tablet, a wearable device, or the like, which is not limited in the present application.
Some embodiments of the present application relate to subway station related coarse precision fences (e.g.,
Figure BDA0003388013300000061
fence) and high-precision fence, which, for a subway station, may correspond to a coarse-precision fence (e.g.,
Figure BDA0003388013300000062
fence) and a high precision fence. The coarse-precision fence (e.g.,
Figure BDA0003388013300000063
fence) can be the geo-fence that can identify the geographic range of the subway station, and a user can trigger the coarse-precision fence if carrying an electronic device into the geographic range of the subway station; the high-precision fence can refer to the geographical range of the gate brushing machine in the subway stationIf a user carries an electronic device to enter the geographic range of the gate swiping machine in the subway station, the high-precision fence can be triggered. The geofence may identify a geographic range corresponding to the geofence through a geographic location (e.g., determining the geographic location by GPS positioning or the like), or identify the geographic range corresponding to the geofence through a signal fingerprint within the geographic range (e.g., base station information, wifi information, bluetooth information, and the like, which can be detected within the geographic range).
For example, the software structure of the electronic device 100 may include a perception module, a smart travel service, a third-party application, and the like. Optionally, the third-party application related in this embodiment of the present application includes a payment application, a smart card, and the like including a subway ride service.
Fig. 2 is a schematic flowchart of an exemplary subway trip detection method. Referring to fig. 2, the method specifically includes:
s201a, the smart travel service indicates to the perception module to register the city fence.
For example, in the embodiment of the application, the cloud end may obtain subway travel network information in a city. The subway trip network information may include station information of each subway station in the city, and the station information includes but is not limited to: the name of the subway station, the position of the subway station, Wi-Fi information in the subway station, cellular network information near the subway station, Bluetooth network information in the subway station and the like.
Illustratively, the name of the subway station is the station name of the station, and may be, for example, a national library station, a beijing west station, or the like.
Illustratively, the subway station location is optionally latitude and longitude information of the subway station.
Illustratively, the Wi-Fi information in the subway station is optionally Wi-Fi network information in the subway station (which can also be understood as being near a subway gate). Wi-Fi network information may include, but is not limited to: identification information of a Wi-Fi network, address information of a Wi-Fi network, and the like.
Illustratively, the cellular network information near the subway station is optionally a cell identifier corresponding to a base station near the subway station. Optionally, the cellular network information may also be identification information of a base station, which is not limited in this application. By way of example, a country library station includes base station a and base station B, where base station a includes cell 1, cell 2, and cell 3, where cell 2 and cell 3 cover the country library station (either full or partial), and base station B includes cell 4 and cell 5, and cell 4 covers the country library station. Accordingly, cellular network information for national library sites includes, but is not limited to: identification information of cell 2 of base station a, identification information of cell 3 of base station a, identification information of cell 4 of base station B. Optionally, the cellular network information of the international library station may also include identification information of base station a and identification information of base station B.
Optionally, in a city in which a subway is deployed, there may be some cities that may correspond to subway travel network information. For example, subways are uniformly distributed in a city A, a city B and a city C, and the cloud only stores subway travel network information of the city A and the city B. Correspondingly, the mobile phone located in the city a can execute the subway trip detection process based on the subway trip network information corresponding to the city a acquired from the cloud. The mobile phone located in the city B can execute the subway trip detection process based on the subway trip network information corresponding to the city B acquired from the cloud. For city C, before the cloud does not acquire the subway travel network information of city C, the mobile phone located in city C cannot execute the subway travel detection process.
In the embodiment of the application, the smart travel service may send instruction information to the perception module, so as to instruct the perception module to register the city fence. That is, the smart travel service instructs the awareness module to subscribe to the city fence to detect whether the phone is currently within the designated city. For example, the designated city may optionally be the city corresponding to the subway network information stored in the cloud, and may also be understood as a city capable of supporting a mobile phone to perform subway trip detection. The perception module can subscribe to the city fence based on the instruction of the smart travel service.
In a possible implementation manner, the sensing module can acquire city information of each city and subway travel network information of each city, which are stored by the cloud, from the cloud when any scene such as first startup, initialization, screen-off charging and the like is performed. The city stored in the cloud is the above-mentioned city corresponding to the subway trip network information. City information includes, but is not limited to: city name and city range. For example, when subscribing to a fence, the awareness module may subscribe to the corresponding fence based on the acquired related information. For example, in the following embodiments, the sensing module has acquired cellular network information of each subway station in the current city from the cloud, and the sensing module may subscribe to and carve the subway station based on the acquired cellular network information, and specific implementation manners will be described in the following embodiments.
Optionally, the sensing module may periodically acquire city information and subway network travel information from the cloud. Optionally, the city information and the subway trip network information stored in the cloud may be updated, and the sensing module may cover the newly acquired city information and the newly acquired subway trip network information with the subway trip network information acquired last time. In one example, the awareness module may periodically (e.g., every 3 days) send a request message to the cloud to request the cloud to feed back subway travel network information. In another example, the cloud may periodically push subway trip network information to the mobile phone. In another example, the cloud may push the subway trip network information to the mobile phone when the subway trip network information is updated. Optionally, the cloud may only feed back updated subway trip network information, and the sensing module may update the stored subway trip network information based on the acquired subway trip network information. In another example, the mobile phone can acquire the latest city information and subway network travel information from the cloud when the screen is turned off and the charging is performed, so that the power consumption of the mobile phone is saved.
For example, the awareness module may subscribe to a city fence based on the acquired city information. And when the sensing module executes the relevant steps in the following embodiments, the sensing module may acquire relevant information from the acquired subway trip network information to subscribe to the corresponding fence.
For example, after the sensing module subscribes to the city fence, the sensing module can acquire the geographic location of the mobile phone. For example, the sensing module may invoke a GPS function of the mobile phone to obtain the geographic location (e.g., latitude and longitude information) where the mobile phone is located. For another example, when other applications in the mobile phone call the GPS to obtain the location of the mobile phone, the sensing module may obtain the location information of the mobile phone from the other applications.
Optionally, the sensing module may periodically acquire the geographical location information of the mobile phone.
In one example, the sensing module detects that the geographic location of the cell phone is within a range of a specified city, and the sensing module can determine a city fence trigger, and execute S201 b. For example, and again taking the above example as an example, the cloud maintains the subway network information for city a and city B, but not city C. The perception module acquires city information of a city A and city information of a city B from the cloud. The perception module subscribes to the city fence based on the city information of the city A and the city information of the city B. The sensing module periodically acquires the geographic position of the mobile phone. Illustratively, the sensing module detects that the geographic location of the cell phone is within the city range of city a, and the sensing module may determine that the city fence is triggered, and execute S201 b. In another example, as described above, the sensing module may periodically obtain the geographic location of the mobile phone, and if the user moves from city a to city C, the sensing module detects that the geographic location of the mobile phone is outside the city range of city a, and the sensing module fails to detect the city information corresponding to the current geographic location, the sensing module re-executes S201 a. It is understood that when the mobile phone performs any of the steps in the following embodiments, the perceiving module can still periodically obtain the geographic location of the mobile phone, and when the perceiving module detects that the geographic location of the mobile phone is within the range of the city specified by the city fence, the perceiving module can continue to perform the current step. When the sensing module detects that the geographic location of the mobile phone is not within the city range specified by the city fence, the sensing module ends the currently executed step and returns to S201a again, that is, continues to detect the city fence until the mobile phone enters the city range specified by the city fence.
In a possible implementation manner, after the sensing module receives the indication of subscribing the city fence of the smart travel service, the sensing module can acquire the current position of the mobile phone. The sensing module can report the acquired geographic position information to the cloud end, and the cloud end can compare the acquired geographic position with a stored city range corresponding to the subway trip network information to determine whether the mobile phone is in the designated city range. The cloud end can send the comparison result to the perception module, and the perception module can determine whether to trigger the city fence or not based on the comparison result of the cloud end. The sensing module may perform the above steps periodically. That is, the perception module may not cache city information to reduce system cache occupancy.
In another possible implementation manner, the sensing module may obtain city information of a city corresponding to the subway trip network information from the cloud. The perception module can subscribe to the city fence based on the acquired city information.
S201b, the perception module indicates city fence trigger to the smart travel service.
Illustratively, the perception module determines that the city fence is triggered, i.e., after the mobile phone is within a specified city range, the perception module may indicate the city fence trigger to the smart travel service.
In a possible implementation manner, as described above, the sensing module only obtains city information, and after the city fence is triggered, the sensing module may send a request message to the cloud, where the request message may include a name of a city to which the mobile phone belongs, and the request message may be used to request the cloud to feed back subway travel network information corresponding to the city. That is to say, after determining the city where the mobile phone is located, the sensing module acquires the subway trip network information corresponding to the city, so that the cache occupation of the mobile phone can be reduced.
S202a, the smart travel service indicates to the perception module to register the swipe recording fence.
Optionally, after receiving the city fence trigger instruction sent by the sensing module, the smart travel service may determine that the city where the mobile phone is located is provided with a subway network, and the mobile phone may acquire subway travel network information of the city from a cloud to perform subway travel detection.
For example, the smart travel service may send instruction information to the perception module for instructing the perception module to register the swipe recording fence. The effect of the code swiping record fence can be understood as indicating whether the sensing module detects whether the mobile phone successfully swipes the code or not, and can also be understood as indicating whether the user rides the subway through the code swiping.
For example, in the embodiment of the present application, the smart travel service (or the sensing module) may record a code swiping record, and when the user successfully swipes a code through the code swiping service provided by the third party application or the system application in the mobile phone each time, the smart travel service may store the code swiping success record.
Optionally, for some users, such as the elderly or users who do not need to take a subway, the users may never take the subway by means of swiping a code, and for such users, the smart travel service does not need to provide subway travel detection for such users, that is, the subsequent procedures such as base station detection and Wi-Fi detection do not need to be performed, so as to effectively reduce the power consumption of the mobile phones of such users. Optionally, the sensing module has subscribed to the swipe code recording fence, and when the sensing module detects that the mobile phone swipe code is successful, it may determine that the swipe code recording fence is triggered. For example, the user a never swipes the subway, and the sensing module subscribes to the swipe recording fence and does not trigger the swiping. On a certain day, the user a successfully refreshes the code through the code refreshing service in the payment application and takes the subway, the sensing module can detect that the mobile phone refreshes the code successfully, and determines that the fence is triggered by the code refreshing record, and the step S202b is executed.
For example, for a mobile phone installed with a code swiping service application and used for swiping a code by the code swiping service to ride a car, the sensing module may detect that the mobile phone stores a code swiping record, may determine that the code swiping record fence triggers, and execute S202 b.
It should be noted that, in the embodiment of the present application, the code swiping service may be optionally a two-dimensional code swiping by a bus. For the mode of swiping card to enter the station by the NFC mode and the like, the method is not suitable for the application. For example, if the mobile phone carries the car in the NFC card swiping manner, the sensing module may not trigger the code swiping recording fence until the user successfully swipes the code through the car code, and then the code swiping recording fence may not be triggered.
S202b, the perception module indicates to the intelligent travel service to swipe the code recording fence for triggering.
Exemplarily, after the perception module detects that the code swiping record fence is triggered, the perception module can send instruction information to the smart travel service, and the user instructs the code swiping record fence to trigger.
In one possible implementation, the swipe fence is an optional fence. For example, the cell phone may execute S203a upon detecting a city fence trigger.
S203a, the smart travel service indicates to the perception module a registrant fence, a company fence, and a sleep fence.
Illustratively, the smart travel service sends the perception module indication information for indicating the perception module to subscribe to at least one of a home fence, a company fence and a sleep fence. The awareness module registers at least one of a home fence, a company fence, and a sleep fence in response to the indication of the smart travel service. In the embodiment of the present application, the example of the smart travel service instruction perception module subscribing to the home fence, the company fence and the sleep fence is described. It should be noted that the fence in the embodiment of the present application is only an illustrative example, and in other embodiments, the fence may further include other conditions, for example, the fence may be a time fence, for example, the time fence may indicate a time between the stop time of the last subway in the city and the start time of the first subway in the city. The present application is not limited.
For example, the home fence may be understood as a home fence trigger that may be determined after the sensing module detects that the mobile phone is located at the home of the user without performing the subsequent steps.
For example, a corporate fence can be understood as a fence trigger that can be determined when the perception module detects that the location of the cell phone is within the user's company without performing subsequent steps, and when the perception module detects that the user leaves the company.
It should be noted that, in other embodiments, the fences in this step may also include other fences such as school fences, and the specific processing manner is similar to that of a company fence and a home fence, which is not described herein again.
For example, the awareness module may acquire the home fence information, the company fence information, and the sleep fence information in advance. After receiving the indication of the smart travel service, the perception module can subscribe the corresponding fence based on the acquired home fence information, company fence information and sleep fence information. In one example, the home fence information, the company fence information, and the sleep fence information may be stored in the cloud, and the sensing module may acquire the home fence information, the company fence information, and the sleep fence information from the cloud when acquiring the subway network information. It should be noted that the home fence information, the company fence information, and the sleep fence information correspond to a user account, and after the user logs in the mobile phone, the home fence information corresponding to the user account, and the like, can be acquired from the cloud. That is, the home fence information and the like corresponding to different user accounts are different. In another example, home fence information, corporate fence information, and sleep fence information may be stored locally.
Optionally, the home fence information may include, but is not limited to, at least one of: Wi-Fi information in a user's home, cellular network information near the user's home, geographic location information of the user's home, and so forth. For example, the perceiving module may obtain Wi-Fi information currently connected to the mobile phone or scanned Wi-Fi information, and when the perceiving module detects that the connected Wi-Fi or the scanned Wi-Fi includes Wi-Fi information (for example, a Wi-Fi name) in the home of the user, the perceiving module may determine that the user is located at home. For another example, the sensing module may obtain information of a base station currently connected to the mobile phone or information of a scanned base station, and when the sensing module detects that the connected or scanned base station is a base station near the home of the user, it may be determined that the user is at home. For another example, the sensing module may obtain geographic location information of the mobile phone, and when the sensing module detects that the geographic location of the user is in a region near the home of the user, it may be determined that the user is at home. It should be noted that Wi-Fi information, cellular information, geographic location information, and the like in the user's home may be acquired by the sensing module, may also be acquired by the sensing module from other applications in the mobile phone, may also be acquired from the cloud, or may be set by the user, which is not limited in this application. For example, the perception module may count the geographic location of the user, and when the user moves within a range for a predetermined period of time (e.g., 4 hours), the area (e.g., within 500 meters) to which the geographic location belongs may be considered to be the user's home or company. For another example, after the sensing module connects to Wi-Fi, the connection duration may be counted, and if the number of times of connecting to a certain Wi-Fi is greater than a threshold and the duration of each connection is greater than a threshold (e.g., 2 hours), the Wi-Fi may be considered as the user home Wi-Fi or the company Wi-Fi. For another example, after the sensing module is connected to the cellular network, the connection duration of the cellular network may be counted, and if the handover does not occur within a predetermined duration (e.g., 2 hours), it may be determined that the cellular network covers the user home or the user company.
Optionally, the sensing module may detect whether the user is at home, i.e. monitor the home fence, based on the above-mentioned information. When any one of the conditions is met, for example, the sensing module detects that the mobile phone is connected with Wi-Fi, the user can be determined to be at home. Alternatively, the home fence trigger, i.e., the user leaving home, may be determined when the awareness module detects a predetermined time (e.g., 10 minutes) of disconnection from Wi-Fi connectivity in the home.
It should be noted that, if the sensing module detects that a plurality of conditions in the home fence are satisfied, for example, the mobile phone is connected to Wi-Fi in the home, and the geographic location of the mobile phone is within the home range of the user, the sensing module determines that the user is at home. When determining whether the user leaves the home, as long as any condition in the home fence is triggered, the user can be determined to leave the home, for example, if the sensing module detects that the Wi-Fi is turned off for a predetermined time, but does not detect that the geographic location of the mobile phone is outside the home range of the user, the sensing module still determines that the user leaves the home, that is, the home fence is triggered, and S203b is executed. Certainly, in other embodiments, the sensing module may also trigger all detected conditions, for example, after the sensing module detects that the Wi-Fi is disconnected, and before further detecting that the geographic location of the mobile phone moves out of the home range, the sensing module does not trigger the home fence, and after detecting that the geographic location of the mobile phone moves out of the home range, the sensing module determines that the user leaves home, that is, the home fence triggers, so as to prevent erroneous determination.
For example, for a corporate fence, the judgment method is similar to that of a home fence, and the details are not repeated here.
Illustratively, the sleep fence may indicate a sleep time interval, which may be, for example, 23:00 to 5 days: 00, in the event interval, the user usually sleeps without performing subsequent subway trip detection. The sensing module can detect the time, and when the time indicated by the sleeping fence is entered, subsequent steps are not required to be executed. When the perception module determines that the current time is not within the time range specified by the sleep fence, a sleep fence trigger can be determined.
It should be noted that, if the sensing module subscribes to multiple fences such as the home fence and the company fence, when a condition specified by any fence is satisfied, the subsequent steps are not executed, that is, the sensing module determines that the user is at home, and the subsequent steps are not required to be executed, thereby reducing power consumption.
It should be further noted that, after subscribing to the fence, the sensing module can perform monitoring in real time, and when any one of the steps in the following embodiments is performed, if any one of the fences in S203a is satisfied, the current step is stopped, and the fence in S203a is detected. For example, if the sensing module detects that the mobile phone is connected to the Wi-Fi of the user' S home when performing the following S204a, the sensing module may determine that the user is at home, and perform S203a, that is, subscribe to the home fence, and perform the subsequent steps after the user leaves home again.
It should be further noted that, in this step, if the user detects that the fence condition is met, the user may be determined to be at home, and when the user detects that the mobile phone does not meet the fence condition, for example, the Wi-Fi indicated by the fence is turned off, the user may be determined to be away from home, i.e., triggered by the fence.
For example, as shown in fig. 4a, after the current location of the user is at home and the sensing module subscribes to a home fence, a company fence and a sleep fence, the sensing module acquires the current location information of the user. The awareness module determines that the user is at home based on the user's current location. The sensing module detects a home fence to detect whether a user leaves home. Referring to fig. 4b, for example, after the user leaves the home, the sensing module determines that the user leaves the home based on the current location of the user, the sensing module determines the home fence trigger, and S203b is executed.
S203b, the perception module indicates the trigger of the home fence, the company fence, and the sleep fence to the smart travel service.
For example, the sensing module detects any one of the fence triggers, and may send indication information to the smart travel service to indicate the corresponding fence trigger. For example, the sensing module detects that the user leaves the home, that is, determines a home fence trigger, and the sensing module sends indication information to the smart travel service for indicating the home fence trigger.
S204a, the smart travel service instruction perception module registers the motion state fence.
Illustratively, the smart travel service responds to the home fence, the company fence and/or the sleep fence trigger indicated by the perception module, and the smart travel service sends indication information to the perception module for indicating the perception module to subscribe to the motion state fence.
For example, the sensing module may periodically acquire the motion state of the mobile phone after subscribing to the motion state fence in response to the indication of the smart travel service. In one example, the sensing module may obtain the motion state of the mobile phone by invoking a sensor (e.g., an acceleration sensor, etc.) in the mobile phone. In another example, the sensing module may also acquire the motion state of the mobile phone through other applications capable of acquiring the motion state of the mobile phone in real time in the mobile phone.
For example, the motion state fence can be used to instruct the sensing module to detect the motion state of the mobile phone to detect whether the user is in a walking state. For example, the sensing module may be provided with a threshold corresponding to each motion state, such as a walking state threshold, a riding state threshold, a subway riding state threshold, a car riding state threshold, and the like. Each threshold may be a single value or a single range, and the present application is not limited thereto. The sensing module may compare with set thresholds to determine the motion state based on parameters obtained from the sensors. For example, if the perception module detects that the parameter satisfies a walking state threshold based on the parameter obtained from the sensor, the motion state may be determined to be a walking state. For another example, if the sensing module detects that the parameter satisfies the threshold of the riding state based on the parameter acquired from the sensor, it may be determined that the exercise state is the riding state.
In one example, if the sensing module determines that the current user is in a walking state based on the acquired motion state of the mobile phone, it determines that the motion state fence is triggered, and then S204b is executed.
In another example, if the sensing module determines that the current user is in a non-walking state, such as a riding state or a riding state, based on the acquired motion state of the mobile phone, it may be determined that the motion state fence is not triggered.
For example, as shown in fig. 4b, after the user leaves the home, the smart travel service determines that the user leaves the home based on the indication of the perception module. The intelligent travel service indication perception module subscribes the motion state fence. After the sensing module responds to the indication of the smart travel service and subscribes the motion state fence, the motion state of the mobile phone is periodically acquired. After leaving home, the user rides to move to a subway station. The sensing module can detect that the motion state of the mobile phone is not walking. Referring to fig. 4c, for example, the user arrives near the subway station and walks down to the subway station. For example, the sensing module may acquire the current motion state of the mobile phone and determine that the motion state of the mobile phone (which may also be understood as the motion state of the user) is walking, and the sensing module may determine that the motion state fence triggers, and execute S204 b.
It should be noted that, in the embodiment of the present application, after the sensing module subscribes to the motion state fence, the motion state fence may be periodically detected. When the perception module performs any of the following embodiments, if the perception module detects that the motion state of the mobile phone is not walking, S204a is executed again, that is, the detection of the motion state fence is continued. For example, still referring to fig. 4c, when the user walks, the sensing module may determine that the motion state fence triggers, the sensing module performs subsequent steps, and when the sensing module performs any step in fig. 3, the sensing module acquires that the motion state of the mobile phone is not walking, and the sensing module may end the current step. For example, the user walks to the vicinity of a subway station, the sensing module may be detecting the crossing fence (in a manner to be described below), and the user again travels by bike. The sensing module detects that the motion state of the mobile phone is changed into the non-walking state, and the sensing module can release the current step, i.e. the detection of the touching fence is not performed any more, but the detection of the motion state is performed repeatedly as described in S204 a.
S204b, the perception module indicates the motion state fence trigger to the smart travel service.
For example, after determining that the user walks, that is, after determining the motion state fence trigger, the perception module sends indication information to the smart travel service for indicating the motion state fence trigger.
With reference to fig. 2, fig. 3 is a schematic flowchart of an exemplary subway trip detection method, please refer to fig. 3, which specifically includes:
s301a, the smart travel service indicates registration and fencing to the perception module.
Illustratively, the smart travel service sends instruction information to the perception module, for instructing the perception module to register and carve a fence. The perception module responds to the indication of the intelligent travel service, and registers and carves the fence.
Illustratively, the hit fence is used to instruct the sensing module to detect the condition indicated by the hit fence. As shown in fig. 4d, when the sensing module detects that the fence carving condition is satisfied, the sensing module may determine that the fence carving is triggered, and then S301b is executed. Optionally, the fencing condition may include, but is not limited to, at least one of: cellular networks near subways, geographic reach of subways, etc.
For example, the cellular network near the subway may be a cell covering the subway, and the detailed description may refer to the related contents of the cellular network near the home, which is not described herein again. For example, when the sensing module detects that the mobile phone scans or switches to a cellular network near a subway, it may be determined that the user arrives near the subway station, that is, it is determined that the subway station is triggered by fencing.
For example, the geographic range of the subway may be optionally within a preset range of a subway station, for example, 500 meters, and may be set according to actual requirements, which is not limited in the present application. For example, when the sensing module detects that the geographic location of the mobile phone is within the geographic range of the subway, the fence trigger can be determined and carved.
It should be noted that "near the subway station" in the embodiment of the present application is optionally within a range of 200 meters or 500 meters of the user near the subway station, depending on the size of the geographic range indicated by the geofence or the size of the coverage area of the cellular network of the base station near the subway station. Optionally, the corresponding ranges of the subway stations and the carved fences are the same or different. For example, the geographic range indicated by the subway station a and the carved fence is different from the geographic range indicated by the subway station B and the carved fence, wherein the geographic range indicated by the subway station a and the carved fence is within 500 meters of the subway station a, and the geographic range indicated by the subway station B and the carved fence is within 600 meters of the subway station B. That is, when the cell phone detects that the user is within 500 meters of the subway station a, the hit fence trigger for subway station a may be determined. When the mobile phone detects that the user reaches the range of 600 meters of the subway station B, the fence triggering of the subway station B can be determined.
For example, as described above, the sensing module may obtain, from the cloud, subway travel network information in the city, where the subway travel network information includes station information of each subway station (for example, the station information includes a station name, cellular network information, and the like, and the concept may refer to the above, and is not described here again). The sensing module can subscribe and carve the fence based on information (which can be referred to as fence carving information for short) corresponding to the conditions specified by the fence carving in the station information of each subway station of the city.
For example, the fencing information may include, but is not limited to, at least one of: geographical location of the subway station and cellular network information near the subway station. Optionally, the station information of the subway station may include a geographical range of the subway station, and the geographical ranges corresponding to the subway stations are the same or different in size. Alternatively, if the geographical location of the subway station is included in the station information of each subway station, the sensing module may determine the geographical range of the subway station based on a set range size (e.g., 500 meters).
For example, and the fencing condition includes a cellular network near a subway as an example. Referring to fig. 4e, for example, the signal of the base station B covers national library stations, and as described above, the cloud stores the station information of each subway station (the concept can be referred to above, and is not described here again). The perception module may obtain site information of the national library station from the cloud, where the site information includes a name of the national library station, a geographic location of the national library station, Wi-Fi information within the national library station, and cellular network information (i.e., identification information of base station B) near the national library station.
For example, the sensing module may acquire station information of each subway station from the cloud, and the sensing module may subscribe to and carve fences of each subway station based on the acquired station information of each subway station. For example, national library station and geofence are set based on the cellular network information of the national library station. That is, when the sensing module detects that the mobile phone accesses the cellular network indicated by the national library station and the fencing, the triggering of the national library station and the fencing can be determined, and the situation that the user arrives near the national library station can also be understood.
For example, referring to fig. 4e, when the user is at the user location a, the mobile phone accesses the base station a. The handset may periodically or triggered scan for nearby cellular networks based on the configuration of the cellular network. For example, the scanning described in this embodiment of the present application may optionally be that the mobile phone may receive a probe signal sent by a base station (or an access point hereinafter), where the probe signal optionally includes information such as identification information and address information of the base station (or the access point).
Still referring to fig. 4e, the handset is illustratively at user location a, scanning only to base station a. The sensing module matches the identification information of the base station A with the cellular networks indicated by the metro stations and the carved fences, and the sensing module determines that the matching is not successful and does not process the matching.
Illustratively, the user walks to user location B. The mobile phone still accesses the base station a, and at the current position (i.e., the user position B), the mobile phone can scan the base station a and the base station B and acquire the identification information of the base station a and the base station B.
In one example, the sensing module may match the identification information of the base station a and the identification information of the base station B with the cellular networks of the metro stations and the fencing indication, respectively. The sensing module can determine that the identification information of the base station B is successfully matched with the cellular network indicated by the country library station and the carved fence, and the sensing module can determine that the user arrives near the country library station, namely the national library station and the carved fence trigger can be determined.
In another example, the awareness module may match the identification information of base station a and the identification information of base station B with the cellular networks of the metro stations and the fencing indication, respectively. The awareness module may determine that the identification information of base station B successfully matches the cellular network of the national library station and the fencing indication. The sensing module can further acquire communication quality parameters between the base station B and the sensing module. Optionally, the communication quality parameter includes, but is not limited to, at least one of: SNR (SIGNAL to NOISE RATIO), RSRP (Reference SIGNAL Receiving Power), RSRQ (Reference SIGNAL Receiving Quality), RSSI (Received SIGNAL Strength Indication), and the like. For example, the communication quality parameter may be obtained by a mobile phone (for example, the mobile communication module 150 in fig. 1) based on a received detection signal, and a specific obtaining manner may refer to the prior art, which is not described herein again. Optionally, if the obtained communication quality parameter is greater than or equal to a set threshold (which may be set according to actual requirements, and is not limited in this application), the sensing module may determine that the national library station and the fence are triggered. Alternatively, if the acquired communication quality parameter is smaller than the set threshold, the processing is not performed, and it may be understood that the sensing module repeatedly performs the above steps. It should be noted that the subway network information corresponding to each subway station and the carved rail may include the threshold corresponding to the communication quality parameter, that is, the subway trip network information of each subway station acquired by the sensing module may include a set threshold (also referred to as a communication quality parameter threshold), and the communication quality parameter thresholds corresponding to each subway station may be the same or different, which is not limited in this application. Optionally, the threshold corresponding to the communication quality parameter may be determined by the cloud based on the communication quality parameter reported by the user. For example, after the handset successfully refreshes the code (including entering and exiting the station), the handset can acquire the cellular network information of the current station, including the identification information of the cellular network and the signal strength information of the cellular network. At this time, the mobile phone can report the currently acquired cellular network information to the cloud. The cloud end can receive cellular network information reported by a plurality of users, and obtains a threshold value corresponding to the communication quality parameter of the cellular network of each site based on the obtained cellular network information. For example, the cloud may obtain, every period (e.g., 3 days, which may be set according to actual needs, and is not limited in this application), an average value of communication quality parameters of the cellular network of the same subway station, which are reported by all users in this period, and use the average value as a threshold value corresponding to the communication quality parameters of the cellular network of the subway station. Optionally, the cloud may also use a range of the upper and lower 1 standard deviation of the average value in this period as a threshold range, that is, when the mobile phone detects that the communication quality parameter of the cellular network is within the threshold range, it may be determined that the condition of meeting and fencing is satisfied.
In another example, when the user is located at the user location B, the sensing module determines and triggers a fence detection period (which may be set according to actual requirements, and is not limited in this application), and the sensing module detects a currently accessed base station. The sensing module may obtain that the currently accessed base station is the base station a from the mobile communication module 150, that is, the sensing module does not process the same result as the last detection (for example, the user location a). When the user walks to the user position C, the mobile phone is switched to the base station B, namely the mobile phone accesses the base station B. The sensing module determines and tests the periodic trigger of the fence, and the sensing module obtains the information of the base station accessed currently. The sensing module may acquire the identification information that the currently accessed base station is the base station B from the mobile communication module 150. And the sensing module matches the identification information of the base station B with the cellular networks of the subway stations and the fence carving indication. The sensing module determines that the identification information of the base station B is successfully matched with the cellular network indicated by the country library station and the carved fence, and the sensing module can confirm that the user is near the country library station, namely the national library station and the carved fence trigger can be determined.
In yet another example, the mobile communication module 150 may report the identification information of the base station after handover to the sensing module after each handover of the base station. For example, in the user location B, the cellular network handover is not performed by the mobile phone, and the mobile communication module 150 does not report any information. When the user moves towards the subway station (for example, the user may be at any position between the user position B and the user position C), the mobile phone detects that the switching condition is met (the specific details refer to the prior art, and the application is not limited), and the mobile phone is switched to the base station B. After the mobile phone accesses the base station B, the mobile communication module 150 reports the switched base station, i.e., the identification information of the base station B, to the sensing module. The perception module may determine the national library station and fence trigger based on the identification information of base station B.
For example, and the fencing conditions include the geographic range of a subway station as an example. Referring to fig. 4e, for example, when the user is at the user location B, the sensing module determines and triggers the fence carving detection period, and the sensing module obtains the current location information of the mobile phone. The sensing module matches the location information with the geographical ranges indicated by the metro stations and the carved fences and determines that the matching fails, i.e., the user is not near a metro station. When the user walks to the user position C, the sensing module determines and tests the periodic trigger of the fence, and the sensing module obtains the current position information of the mobile phone. The sensing module matches the position information with the geographical ranges indicated by the metro stations and the fencing lines, the geographical ranges indicated by the national library stations and the fencing lines can be determined to be matched, and the sensing module determines the triggering of the national library stations and the fencing lines.
For example, if the sensing module subscribes to the fence and includes a plurality of conditions, for example, the geographic range of the cellular network and the subway station near the subway is included, when any one of the conditions is satisfied, for example, it is detected that the mobile phone is located within the geographic range of the subway station; or detecting that the mobile phone is accessed to a cellular network near the subway station; or, the mobile phone is detected to be located within the geographic range of the subway station, and the mobile phone is accessed to the cellular network near the subway station, so that the fence marking trigger can be determined.
Optionally, similar to the moving state fences described above, after the sensing module subscribes to and fences, the sensing module performs detection based on and fences when performing the steps in the following embodiments. For example, if the sensing module detects that the user leaves the vicinity of the subway station, that is, does not satisfy the condition indicated by the fence carving, the sensing module may stop the current process and detect the fence carving in S303 a. For example, after a user arrives near a subway station, the sensing module determines and carves fence triggering, the sensing module subscribes to a high-precision fence, and conditions indicated by the high-precision fence are detected. The sensing module is also used for detecting and carving corresponding conditions of the fence, and if the user stops near the subway station and does not enter the range of the high-precision fence, and the user leaves the range indicated by the fence, the sensing module can detect that the user leaves and carves the fence. Alternatively, the perception module may stop detecting the condition indicated by the high precision fence. Optionally, the perception module may dismiss the high precision fence. It can be understood that, in the embodiment of the present application, the fences are in a stacked relationship, and when the outer fence is triggered and kept in a triggered state, the condition indicated by the next fence is detected, so as to reduce power consumption. Alternatively, if it is detected that the condition indicated by the more outer fence is not currently satisfied, the detection of the condition indicated by the current fence is stopped. Alternatively, the pens may be retained, but only the conditions indicated by the pens are not detected. Optionally, the sensing module may also release the fence, and then subscribe to the fence again after each fence of the outer layer is triggered, which is not limited in the present application. It should be noted that "subscribing" to a fence in the embodiment of the present application may be understood as establishing a fence, or may be understood as having established a fence in advance, and detecting the condition indicated by the fence is started after "subscribing", and the present application is not limited thereto, and the description will not be repeated below.
S301b, the perception module indicates to the intelligent travel service and triggers to carve the fence.
Illustratively, the perception module sends instruction information to the smart travel service for instructing and carving fence triggering. Optionally, the indication information may include a site name, which is used to indicate a site corresponding to the triggered and carved fence.
S302a, the smart travel service indicates to the perception module to register the high-precision fence.
Illustratively, the smart travel service receives an indication of the perception module, determines whether a subway station (e.g., a national library subway station) is triggered or not, and then sends indication information to the perception module to indicate the perception module to register a high-precision fence. It can be understood that the carved fence is a fence in a coarse precision range, and when the perception module determines and carves the fence trigger, it can be determined that the user arrives near the subway station. The handset can then perform subsequent high-precision fence identification. That is, after the coarse-precision fence is satisfied, the identification of the high-precision fence is performed, so that the power consumption of the device is effectively reduced.
For example, as described above, the sensing module has obtained the station information of each subway station from the cloud, including the station information of the current subway station, such as a national library subway station, including but not limited to at least one of the following: subway station name, subway station location, Wi-Fi information within a subway station, Bluetooth network information, cellular network information near a subway station, and the like. The perception module responds to the indication of the intelligent travel service, and can subscribe the high-precision fence based on the acquired site information corresponding to the national library station.
Optionally, the conditions of the high precision fence include, but are not limited to, at least one of: bluetooth network information near a subway gate, Wi-Fi network information near a subway gate, and the like. Accordingly, the perception module may subscribe to the high-precision fence of the national library station based on Wi-Fi information and/or bluetooth network information in the site information of the national library station to detect whether the user arrives near the gate of the national library station.
Referring to fig. 4f, for example, after subscribing to the high-precision fence, the sensing module can detect the condition indicated by the high-precision fence. When the user continues to walk towards the subway gate to the user location shown in fig. 4f, the perception module may detect that the condition indicated by the high-precision fence is satisfied, and the perception module may determine that the high-precision fence is triggered. That is, the perception module may confirm that the user arrives near a gate of the subway station.
The following description will be given taking as an example that the conditions indicated by the high-precision fence include a Wi-Fi network near a subway station. It should be noted that the condition indicated by the high-precision fence includes that the processing manner of the scenario when the bluetooth network is similar to that of the scenario of the Wi-Fi network, and a description thereof is not repeated. Referring to fig. 4g, the national library station illustratively includes one or more Access Points (APs) near the gate, which may include AP1, AP2, and AP3, for example. The Wi-Fi1 network of AP1, the Wi-Fi2 network of AP2, and the Wi-Fi3 network of AP3 cover the area of gates in national library stations. The station information of the national library station acquired from the cloud end by the sensing module comprises Wi-Fi network information of the national library station. The Wi-Fi network information includes but is not limited to: access point information for AP1, access point information for AP2, and access point information for AP 3. Access point information includes, but is not limited to: the name of the AP (which may also be the Wi-Fi name), the Wi-Fi address information of the AP, etc.
The perception module can subscribe the high-precision fence of the national library station based on the Wi-Fi network information of the national library station acquired from the cloud. The sensing module can acquire the Wi-Fi scanning result through the wireless communication module 160 of the mobile phone. In one example, the awareness module may instruct the wireless communication module 160 to perform Wi-Fi scanning to obtain nearby Wi-Fi information (including the name of the AP, address information, etc.). In another example, the wireless communication module 160 may periodically scan for nearby Wi-Fi and the perception module may invoke the results of the scan by the wireless communication module 160. In yet another example, the wireless communication module 160 may perform Wi-Fi scanning in response to other applications in the handset, and the sensing module may also obtain the scanning results. In the embodiment of the present application, the sensing module periodically obtains the scanning result from the wireless communication module 160 as an example for explanation.
Illustratively, the perception module detects whether to enter a high-precision fence of a national library station based on the scanned result. Still referring to fig. 4g, illustratively, when the user walks from user location C in fig. 4e to user location D in fig. 4g, the perception module instructs the wireless communication module 160 to perform Wi-Fi scanning. Assuming that there is no Wi-Fi network coverage at the location, the wireless communication module 160 does not scan for Wi-Fi networks. The wireless communication module 160 reports the scanning result to the sensing module. And the perception module determines that the high-precision fence is not triggered based on the acquired scanning result.
Continuing with FIG. 4g, the user illustratively walks to user location E. In this position, the wireless communication module 160 may scan to the Wi-Fi1 network and obtain access point information for the AP 1. Illustratively, the wireless communication module 160 reports the scanning result to the sensing module. The awareness module obtains access point information for the AP 1. The perception module matches the identification information of the AP1 with a Wi-Fi network indicated by a high-precision fence of a national library station and determines that the matching is successful. The perception module determines a high-precision fence trigger for a national library station. That is, the user has reached the vicinity of the gate of the national library station.
In one possible implementation manner, the sensing module may determine a communication quality parameter of the Wi-Fi network based on the received Wi-Fi signal (the concept may refer to the above), and when the communication quality parameter of the Wi-Fi network is greater than a threshold, the high-precision fence trigger may be determined. For example, the manner of obtaining the threshold corresponding to the communication quality parameter of the Wi-Fi network may refer to the manner of obtaining the threshold of the cellular network, and a description thereof is not repeated here.
S302b, the perception module indicates the high precision fence trigger to the smart travel service.
Illustratively, after the perception module determines that the high-precision fence is triggered, the perception module indicates the high-precision fence to be triggered to the smart travel service.
In a possible implementation manner, after the smart travel service determines that the high-precision fence is triggered, it may be further determined whether a subway station (e.g., a national library station) where the user is currently located is a start station of the subway travel. Optionally, as described above, the smart travel service or awareness module may maintain a swipe record, optionally including but not limited to: ingress/egress information, site information, etc. Illustratively, the inbound/outbound information is used to indicate whether the swipe record corresponds to outbound or inbound. The station information is used for indicating the subway station where the codes are refreshed to enter or exit. The smart travel service can obtain the latest code swiping record. When the last time the code is swiped to the station, the station where the user is currently located is determined to be the starting station, and S303a is executed. In another example, when the last time the code swiping record is an inbound, it may be determined that the current station is not the starting station, it may be understood that the user has swiped the inbound, the current flow is ended, and S201a is executed again.
In another possible implementation, some stations in a city may be provided with only and carved fences, but with high precision fences. For example, some stations have cellular networks nearby, but there is no bluetooth network or Wi-Fi network in the stations, and accordingly, for these stations, the Wi-Fi information of these stations and other information for subscribing to the high-precision fence are not included in the station information stored in the cloud. For such stations, after subscribing and carving the fence and determining that the station is triggered by carving the fence, the sensing module detects that the information required by the high-precision fence of the station is not acquired, and executes S303a without subscribing the high-precision fence, namely, executes subsequent indoor and outdoor detection.
In yet another possible implementation manner, for some sites, for example, sites connected with a mall and sites located underground, the sensing module may not perform indoor and outdoor detection on such sites to further save power consumption, and the present application is not limited thereto.
S303a, the smart travel service indicates to the perception module to register the indoor fence.
Illustratively, the smart travel service sends instruction information to the perception module, for instructing the perception module to register the indoor fence, so as to detect whether the user enters the subway station. For example, referring to (1) of fig. 5, Wi-Fi in a subway station may leak through a door of the subway, i.e., when the mobile phone is located at user location 1 shown in (1) of fig. 5, the mobile phone may scan for Wi-Fi in the subway station. Accordingly, the perception module determines a high-precision fence trigger in this case. If the mobile phone ejects the bus card (a specific concept will be explained in the following embodiments) under the condition of high-precision fence triggering (or after confirming that the current station is the starting station), the improper card ejection will cause interference to the user for the user passing through the subway station instead of the bus. In the embodiment of the application, the mobile phone can further combine indoor and outdoor judgment to reduce the problem probability of mistakenly popping the riding card.
Illustratively, the perception module subscribes to the indoor fence in response to an indication of the smart travel service to detect whether the user enters a subway station. The conditions indicated by the indoor pens include, but are not limited to, at least one of: GPS satellite search conditions and lighting conditions. In the embodiment of the present application, only the GPS satellite search situation and the illumination situation are taken as examples for description. In other embodiments, the sensing module may also subscribe to the indoor fence based on other conditions, for example, conditions such as detected noise, and the like, which is not limited in this application.
Illustratively, the sensing module subscribes to the indoor fence, and in a scene that the indoor fence indicates that the condition includes a GPS satellite search situation, the sensing module indicates the GPS module in the mobile phone to search for a positioning satellite. The sensing module may periodically (for example, the period duration is 5s, which may be set according to actual requirements, and is not limited in this application) acquire the positioning satellite search result. Optionally, the search results include, but are not limited to: the number of positioning satellites searched and the communication quality parameter with each positioning satellite (the concept can be referred to above).
In a possible implementation manner, if the number of positioning satellites indicated in the positioning satellite search results acquired by the sensing module in the period is less than the satellite number threshold, and/or the communication quality parameter is less than the satellite communication quality parameter threshold, the sensing module may determine that the user enters the room, that is, the indoor fence trigger. That is, in one example, an indoor fence trigger can be determined when the sensing module detects a decrease in the number of satellites to a threshold. In another example, an indoor fence trigger may be determined when the sensing module detects a decrease in a communication quality parameter of a satellite to a threshold. In yet another example, the indoor fence trigger can be determined when the sensing module detects that the number of satellites has decreased to a threshold and the communication quality parameter has decreased to a threshold.
In an example, the threshold value of the number of satellites is optionally one third (or one half, and may be set according to actual needs, which is not limited in this application) of the number of satellites acquired in the last period. The communication quality parameter threshold may optionally be one third (or one half, which may be set according to actual needs, and is not limited in this application) of the communication quality threshold obtained in the previous cycle. That is to say, when the number of the positioning satellites searched in the present period is less than one third of the number of the positioning satellites searched in the previous period, and the satellite communication quality parameter acquired in the present period is less than one third of the satellite communication quality parameter acquired in the previous period, it is determined that the user enters the room and the indoor fence is triggered. In another example, the threshold of the number of satellites and the threshold of the satellite communication quality parameter may be set fixed thresholds, which is not limited in this application. Optionally, the threshold of the number of satellites and the threshold of the satellite communication quality parameter corresponding to each subway station may be the same or different, and the present application is not limited thereto.
In another possible implementation manner, as described above, the sensing module may continue to detect the high-precision fence after subscribing to the high-precision fence. When the sensing module detects that the mobile phone is not in the high-precision fence, for example, the mobile phone cannot scan a Wi-Fi network or a Bluetooth network in a subway station, the sensing module can determine that the user does not enter the room, and detect the high-precision fence again.
In yet another possible implementation, the perception module may set a detection period fence, and the detection period fence may indicate a maximum number of detections. For example, the maximum number of detections indicated by the detection cycle fence is 3. Correspondingly, the sensing module acquires the GPS satellite search condition when the 3 rd detection cycle reaches the time, and if the GPS satellite search condition still does not satisfy the indoor fence, the sensing module ends the current process and returns to S201 a.
For example, the sensing module subscribes to an indoor fence, and in a scenario where the condition indicated by the indoor fence includes a lighting condition, the sensing module indicates a sensor (e.g., a proximity light sensor) in the mobile phone to obtain a lighting detection result. The light detection results include, but are not limited to, illumination intensity.
In a possible implementation manner, if the illumination intensity acquired by the sensing module in the period meets a set condition, the indoor fence trigger may be determined. In an example, the setting condition may be that a difference between the illumination intensity in the period and the illumination intensity obtained in the previous period is greater than a threshold (which may be set according to actual needs, and this application is not limited). It can be understood that if the fluctuation between the illumination intensity in the present period and the illumination intensity in the previous period is large, it is considered that the user enters the subway station. For example, in the daytime, after a user arrives at a station, the illumination intensity in the subway station is smaller than that outdoors. Accordingly, the sensing module may detect that the illumination intensity acquired in the current period may be one-half of the illumination intensity acquired in the last period. For another example, at night, after a user arrives at a station, the illumination intensity in the subway station is greater than that outdoors. Accordingly, the sensing module may detect that the intensity of light acquired in the current period may be twice the intensity of light acquired in the previous period. In another example, the set condition may be a set threshold, for example, at 5-17 points, the light intensity threshold is set to the light intensity threshold 1, and at 17-5 points, the light intensity threshold is set to the light intensity threshold 2. Optionally, the illumination intensity threshold 1 is greater than the illumination intensity threshold 2. The sensing module may determine whether a set condition is satisfied based on the current time and the acquired illumination intensity in the present period. For example, at 6 a.m., the illumination intensity acquired by the sensing module is less than the illumination intensity threshold 1, it may be determined that the user enters the subway station, i.e., the indoor fence trigger. For another example, at 8 pm, if the illumination intensity acquired by the sensing module is greater than the illumination intensity threshold 2, it may be determined that the user enters a subway station, that is, an indoor fence is triggered. Other parts not described may refer to the related content of the condition of the GPS satellite, and are not described herein again.
The indoor fence detection is exemplified below with reference to the application scenario diagram shown in fig. 5. Referring to (1) of fig. 5, exemplarily, the user walks to the user location 1, wherein the user location 1 is outside the door of the subway station, and the Wi-Fi network inside the subway station covers a partial area outside the door. The perception module determines that a Wi-Fi network within a national library station is detected and determines a high-precision fence trigger. Perception module instructs the high accuracy rail to trigger to wisdom trip service. After the intelligent travel service determines that the station is the starting station, the sensing module is indicated to register the indoor fence. The sensing module indicates a GPS module of the mobile phone to start satellite searching so as to obtain satellite searching results, wherein the satellite searching results comprise the number 1 of the searched positioning satellites and communication quality parameters 1. And, the sensing module acquires the current illumination intensity 1 from the sensor. The sensing module detects that the number 1 of the positioning satellites is larger than a satellite number threshold value, the communication quality parameter 1 is larger than a communication quality parameter threshold value, the illumination intensity 1 is larger than an illumination intensity threshold value 1, and the sensing module determines that the condition of the indoor fence is not met. Referring to fig. 5 (2), the user walks to user location 2, user location 2 is located in a subway station room, and a Wi-Fi network within the subway station covers the area. The sensing module determines that an indoor detection period arrives, and the sensing module instructs a GPS module of the mobile phone to start satellite searching so as to obtain satellite searching results, wherein the satellite searching results comprise the number 2 of searched positioning satellites and communication quality parameters 2. And the sensing module acquires the current illumination intensity 2 from the sensor. The sensing module detects that the number 2 of the positioning satellites is smaller than a satellite number threshold value, the communication quality parameter 2 is smaller than a communication quality parameter threshold value, the illumination intensity 2 is smaller than the illumination intensity threshold value 2, and the sensing module determines that the condition of the indoor fence is met, namely the indoor fence is triggered.
S303b, the perception module indicates the indoor fence trigger to the smart travel service.
Illustratively, after determining that the indoor fence is triggered, the sensing module sends indication information to the smart travel service to indicate that the indoor fence is triggered. The intelligent travel service responds to the indication of the sensing module and determines the triggering of the indoor fence, namely, the user enters the subway station and arrives near the gate. The smart travel service may pop up a riding card.
Optionally, the indication information sent by the perception module to the smart travel service may include a site name of the current site. The smart travel service may generate a riding card based on the site name and display the riding card in a display screen.
Fig. 6 is a schematic view of an exemplary illustrated ride card. Referring to fig. 6 (1), the smart travel service displays a riding card 602 in a display interface 601. Illustratively, the ride card 602 may be located in an upper display area of the display interface 601. Optionally, in other embodiments, the riding card 602 may also be in other positions, and the size may also be set according to actual requirements, which is not limited in this application.
Still referring to (1) of fig. 6, a prompt message "subway ride code" may be included in the ride card 602 for indicating that the ride card 602 is a subway trip card. Alternatively, the prompt may also be the name of the application to be jumped, e.g., "XX application subway ride code". The present application is not limited.
Continuing to refer to fig. 6 (1), for example, as described above, the smart travel service may obtain the name of the current station from the sensing module, and accordingly, the riding card 602 may further include but is not limited to: current site information (e.g., name of current site, i.e., national library site), etc.
Optionally, a swipe option 6021 may also be included in the ride card 602. The user may click on the swipe option 6021. As shown in (2) of fig. 6, when the mobile phone receives a click operation of the user, a subway taking code interface 603 (which may also be referred to as a subway taking code service interface, a subway trip service interface, a code swiping interface, etc.) of the payment application may be displayed. The subway bus interface 603 may include, but is not limited to: taxi taking travel service option, bus travel service option, subway travel service option 604, air ticket travel service option, and subway travel bus number display box 605. The subway trip bus code display frame includes, but is not limited to, prompt information (i.e., "beijing track transportation bus code") and a subway trip bus code graphic 6051 (which may also be referred to as a subway bus two-dimensional code, a subway bus code, etc.). Optionally, in the embodiment of the present application, the car code is taken as a two-dimensional code as an example, in other embodiments, the car code may also be a barcode, and the like, which is not limited in the present application. It should be noted that, in this example, only the subway train taking code interface is described as an example, in which after receiving the operation of clicking the code swiping option 6021 by the user, the user jumps to the payment application. In other embodiments, the application jumped after the mobile phone receives the operation of clicking the code swiping option 6021 by the user may be a code swiping application used last time by the user, for example, a payment application, or another application having a code swiping service (i.e., a subway code swiping service). Alternatively, the application jumped may be an application frequently used by the user. The present application is not limited.
In one possible implementation, an application that can be used for code swiping, such as an application with subway car code service, such as a payment application or a chat application, may not be installed in the mobile phone. The mobile phone responds to the received operation that the user clicks the code swiping option 6021, detects that the application for code swiping is not installed in the mobile phone, and the smart travel service can acquire the application for code swiping supported by the city where the mobile phone is located from the cloud. For example, after the smart travel service detects that the application for code swiping is not installed in the mobile phone, the smart travel service may send an application recommendation request to the cloud, where optionally, the application recommendation request includes information of a current city of the mobile phone, such as "beijing". The cloud end responds to the received application recommendation request, and finds applications which are supported by the current city (such as Beijing) of the mobile phone and can be used for code swiping. Optionally, the cloud may recommend the found applications to the smart travel service. Optionally, the cloud may also recommend the most used applications for code swiping to the smart travel service. The example of recommending payment application to the smart travel service by the cloud is taken as an example for explanation. Illustratively, the smart travel service may display a prompt box on the display screen, and the prompt box may include a prompt message "download payment application, experience bus code service, go to application market for download" or not. The prompt box may include a "cancel" option and an "go to immediately" option. The user may click on the "go to immediately" option to download the payment application in the application marketplace.
In another possible implementation, the handset may have installed an application for code swiping, such as a payment application, but the user has not logged into the payment application. Illustratively, after the smart travel service detects that the user clicks the code swiping option 6021 and jumps to the payment application, the payment application detects that the user is not logged in, and the payment application can display a user login interface. After the user successfully logs in (i.e., inputs the verification code or inputs the password), the payment application displays a subway ride code interface.
In yet another possible implementation, the cell phone may have installed an application for code swiping (again taking the payment application as an example), and has logged in the payment application. However, the subway ride code service has not been opened by the payment application. That is, although the payment application includes the subway ride code service, since the subway ride code service is not activated, the subway ride code is not displayed in the interface of the subway ride code service. For example, after the intelligent travel service detects that the user clicks the code swiping option 6021, and jumps to the subway taking code interface of the payment application, the payment application detects that the subway taking code service is not opened, the payment application can display an opening option in the subway taking code interface, and the user clicks the opening option. And the payment application responds to the received user operation and opens the subway riding code service. After the subway bus number service is started, the payment application displays the subway bus number in a subway bus number interface.
It should be noted that, in the embodiment of the present application, only the display interface 601 is taken as an example for description, and in other embodiments, the display interface 601 may also be another interface.
In one example, as shown in (1) of fig. 7a, the mobile phone is in a screen-locked state. The riding card 702 can be displayed in the screen locking interface 701 of the mobile phone. The display position may be set according to actual requirements, which is not limited in the present application, and other descriptions may refer to the related description of fig. 6, which is not described herein again. Optionally, if the mobile phone is in the screen-off state, the mobile phone may be switched to the screen-locking state, and the riding card is displayed on the screen-locking interface.
In another example, as shown in (2) of fig. 7a, the user may slide the cell phone display to display the negative one-screen interface 703. The riding card 704 can be displayed in the negative one-screen interface 703 of the mobile phone. Other descriptions can refer to the description related to fig. 6, and are not repeated here. Optionally, the mobile phone may also display the ride card in a drop-down menu.
In yet another example, as shown in (1) of fig. 7b, the currently displayed interface of the mobile phone is a chat application (which may also be another application, and is not limited in this application) interface, and as shown in (2) of fig. 7b, a riding card 706 is displayed in a chat application interface 705 of the mobile phone. Optionally, in this scenario, if the user does not operate the ride card 706 within a preset time period (for example, within 5s), or the user slides up the ride card 706 from the bottom of the ride card 706 (or another gesture may be performed, which may be set according to an actual requirement, and is not limited in this application), the mobile phone cancels display of the ride card 706 on the current interface (for example, the chat application interface). For example, when the mobile phone exits the current application interface in response to the received user operation and displays the desktop, the mobile phone may display the riding card on the desktop.
In yet another example, as shown in (1) of fig. 7c, the currently displayed interface of the handset is a chat application interface. As shown in fig. 7c (2), a floating control 707 is displayed in the chat application interface 705 of the handset. Optionally, a subway travel icon (e.g., a black circle in the hover space 707) may be included in the hover control 707 to indicate that the hover control 707 corresponds to a subway ride code service to distinguish from other hover controls. Illustratively, the user clicks on the hover control 707. As shown in (2) of fig. 7c, the smart travel service expands and displays the hover control 707 in response to the received user operation. Optionally, the deployed hover control 707 includes, but is not limited to, at least one of: a current site name (e.g., a national library site), a corresponding service name (e.g., a subway ride code), and a swipe option 7071. For example, the user may click the code swiping option 7071 to enable the mobile phone to jump to the subway riding code interface, and specific details may refer to the above, which is not described herein again. Optionally, in other embodiments, after the smart travel service displays the floating control 707 in the display interface of the mobile phone, the smart travel service does not receive an operation of the user clicking the floating control 707 within a predetermined time period (for example, 5s), and the smart travel service hides the floating control 707. In one example, the hover control 707 may disappear. In another example, the hover control 707 may leave only a portion displayed at an edge of the display interface. The user may expand the hover control 707 by clicking or sliding the remaining display portion of the hover control 707 on the screen. In another example, the levitation control 707 may fade to display, and the fading degree may be set according to actual needs, which is not limited in this application. It should be noted that, when the application interface is displayed on the mobile phone, if the subway riding card or the suspension control needs to be popped up, the corresponding display mode can be selected according to the application setting. For example, when a mobile phone displays a video application, a subway ride card may be displayed. When the video picture is displayed on the full screen of the mobile phone, the suspension control can be displayed and can be specifically set according to actual requirements, and the method is not limited. It should be further noted that the size and position of the levitation control 707 shown in fig. 7c are only exemplary, and the present application is not limited thereto.
Optionally, the mobile phone may display the riding card on at least one of the above interfaces (desktop, lock screen, minus one screen, etc.). For example, the mobile phone may display the riding card on the screen-locking interface and the desktop, that is, the mobile phone displays the riding card on the screen-locking interface, and the mobile phone displays the desktop in response to the received unlocking operation, where the desktop includes the riding card.
In one possible implementation, the smart travel service may also remind the passenger card 602 by displaying at least one of the following: vibration prompts, sound prompts (prompt tones can be played through a loudspeaker or an earphone), screen flicker prompts, indicator light flicker prompts and the like.
In another possible implementation manner, the cards displayed in the display interface of the mobile phone may include multiple cards, for example, flight travel cards, takeaway reminding cards, and the like. The smart travel service displays the ride card 602, which is displayed on top. For example, the cards currently displayed by the mobile phone include flight travel cards and takeaway reminding cards. The mobile phone can display the current two cards in a training mode. Assuming that a flight travel card is currently displayed, for example, after the smart travel service generates the riding card 602, the riding card 602 is displayed on top, that is, the currently displayed card is the riding card 602, and other cards are superimposed below the riding card 602.
In one possible implementation, the smart travel service can pop up the riding card after determining that the high-precision fence is triggered. In another example, the smart travel service can pop up the riding card when determining that the current station is the first station.
In another possible implementation manner, if the smart travel service is turned off, the smart travel service may send instruction information to the perception module for instructing to release all fences. The perception module dismisses all fences in response to the received operation. For example, referring to (1) of fig. 7d, the intelligent assistant service interface 708 (i.e. the intelligent travel service) includes, but is not limited to, one or more controls, such as an intelligent voice option, an intelligent visual option, an intelligent screen option, and a "YOYO suggestion" option. The user may click on the "YOYO suggestions" option. As shown in (2) of fig. 7d, the mobile phone receives the user operation, and displays the YOYO suggestion interface 709. One or more options may be included in the YOYO recommendation interface 709, including, for example, a flight travel option, a calendar option, a subway ride code option, and more options 7091. Optionally, the status of the corresponding service may be included in each option. For example, if the subway ride code option is in an on state, the subway ride code option displays "turned on" to indicate that the subway ride code option is in an on state. The user can click on the subway ride code option. As shown in (3) of fig. 7d, the handset displays a service management interface 710 in response to the received user operation. Service management interface 710 may include options related to subway ride code services, including, for example, a subway ride code option (which may also be referred to as an on/off option), a card set option, a floating window option, a notification option, a headphone announcement option, and the like. The subway bus taking code option is used for starting or closing subway trip reminding service. If the service is closed, the intelligent travel service releases all fences related to subway travel. The card set option is used to turn on or off the ride card prompt. If the function is started, the mobile phone can display the riding card. If the function is closed, the mobile phone does not display the riding card. The floating window option is used for opening or closing the floating window display mode, as described above, the subway taking service can be displayed in the interface in the form of floating control, and when the function is opened, the display in the form of floating window is allowed. If the function is off, the floating window display is not allowed. The notification option is used to turn on or off service information in the notification bar. For example, if the user clicks a subway ride code option, the mobile phone, in response to the received user operation, closes a subway ride code service, that is, closes all services related to subway trips, and releases fences related to subway trips, that is, all fences related in the embodiment of the present application.
In yet another possible implementation manner, as described above, the fences of the perception module are subscribed after the indication of the smart travel service, in other embodiments, the smart travel service may send an indication of subscribing the fences to the perception module, and the perception module may subscribe to all the fences described above based on the indication of the smart travel service and detect the fences according to the execution sequence between the fences. For example, the awareness module can subscribe to a swipe recording fence upon detecting a city fence trigger.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In an example, fig. 8 shows a software structure diagram of an electronic device according to an embodiment of the present application. Referring to fig. 8, the software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a hierarchical architecture as an example, and exemplarily illustrates a software structure of the electronic device 100. The layered architecture of electronic devices divides software into layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, which are an application layer, an application framework layer, an Android runtime (Android runtime) and system library (not shown), and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 8, the application package may include applications such as a smart travel service, a payment application, a chat application, a perception module, and the like.
Illustratively, the perceiving module is resident to run or run in a low power consumption form, has the ability to perceive external facts or circumstances, and provides this ability to other modules in a "fence" form. Such as "time fences" to sense temporal changes, "geo-location fences" to sense geo-location, and the like. When the card reminding service is in an open state, the sensing module monitors the registered capability (or events, such as specific time, specific place, or specific event) of the service logic processing module, and if a user triggers one of the registered capability (or events), the sensing module sends a notification to the service logic processing module. In addition, the sensing module may also detect related events and obtain the state of the events from other application programs or application framework layers or system layers or kernel layers of the application program layer through an Application Programming Interface (API), such as detecting bluetooth connection, network connection, monitoring user short messages, customizing timers, and the like.
Illustratively, the intelligent travel service may include a business logic processing module and a business presentation module. The service logic processing module is used for core service calculation, subscribing different fences to the sensing module, sensing scene changes according to fence events, calling rules or algorithm models defined by service scenes in combination with user interaction information provided by the service presentation module, and deciding which service information is pushed to a user and a display mode (card, notification, earphone broadcast and the like). And sending the service information to a service presentation module to be displayed to the user. And the service presentation module is used for user interface interaction and result display. The service presentation module can receive the display and disappearance indications and corresponding data of cards, notifications, earphone broadcasts and the like sent by the service logic processing module, and display or disappearance of the cards, the notifications and the broadcasts is carried out. And the system is used for transmitting user interaction information (such as user click, card sliding and the like) to the service logic processing module to make the next service decision. It can be understood that, in the embodiment of the present application, the display-related steps performed by the smart travel service are performed by the business presentation module, and other steps are performed by the business logic processing module.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 8, the application framework layer may include a window manager, resource manager, and the like.
The inner core layer includes: display driver, Wi-Fi driver, Bluetooth driver, audio driver, sensor driver, etc.
It is to be understood that the layers in the software structure shown in fig. 8 and the components included in each layer do not constitute a specific limitation of the electronic device. In other embodiments of the present application, the electronic device may include more or fewer layers than those shown, and more or fewer components may be included in each layer, which is not limiting.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (18)

1. A subway trip detection method is applied to electronic equipment, and the method comprises the following steps:
subscribing a coarse-precision fence of a subway station, wherein the coarse-precision fence is used for indicating that the electronic equipment is positioned near the subway station;
detecting that the electronic equipment is located near a first subway station, and determining coarse precision fence triggering corresponding to the first subway station;
after triggering a coarse-precision fence corresponding to the first subway station, subscribing to a first high-precision fence corresponding to the first subway station; the first high-precision fence is used for indicating that the electronic equipment is located near a gate of the first subway station;
detecting that the electronic equipment is located near a gate of the first subway station, and determining that the first high-precision fence is triggered;
after the first high-precision fence is triggered, subscribing a first indoor fence; the first indoor fence is used for indicating that the electronic equipment is located indoors of the first subway station;
determining that the first indoor fence is triggered when the electronic device is detected to be located indoors of the first subway station;
and displaying the subway riding card under the condition that the first high-precision fence and the first indoor fence are both triggered.
2. The method of claim 1, further comprising:
detecting that the electronic equipment is located near a second subway station, and determining coarse-precision fence triggering corresponding to the second subway station;
after the coarse-precision fence corresponding to the second subway station is triggered, subscribing a second high-precision fence corresponding to the second subway station; the second high-precision fence is used for indicating that the electronic equipment is located near a gate of the second subway station;
detecting that the electronic equipment is located near a gate of the second subway station, and determining that the second high-precision fence is triggered;
after the second high-precision fence is triggered, subscribing a second indoor fence; the second indoor fence is used for indicating that the electronic equipment is located indoors of the second subway station;
and under the condition that the second indoor fence is not triggered, if the electronic equipment is detected to leave the vicinity of the gate of the second subway station, the second indoor fence and the second high-precision fence are released.
3. The method of claim 1, wherein the first indoor fence comprises at least one of an illumination threshold and a satellite state threshold, the satellite state threshold comprising a number of satellites threshold and a satellite communication quality threshold.
4. The method of claim 3, wherein the first indoor fence comprises the satellite state threshold, and wherein after the subscribing to the first indoor fence, the method further comprises:
at a first moment, acquiring a first quantity value of the satellite searched by the electronic equipment and a first communication quality parameter between the electronic equipment and each searched satellite;
detecting that the first quantity value does not satisfy the satellite quantity threshold, and/or that the first communication quality parameter does not satisfy the satellite communication quality threshold, determining that the electronic device is outside the first subway station;
at a second moment, acquiring a second numerical value of the satellite searched by the electronic equipment and a second communication quality parameter between the electronic equipment and each searched satellite; the second time is after the first time;
and determining that the electronic equipment is indoors in the first subway station when the second quantity value is detected to meet the satellite quantity threshold and/or the second communication quality parameter meets the satellite communication quality threshold.
5. The method of claim 3, wherein the first indoor fence comprises a first illumination threshold for a first preset period of time and a second illumination threshold for a second preset period of time, the method further comprising, after the subscribing to the first indoor fence:
at a third moment, acquiring a first illumination intensity of the electronic equipment in the current environment;
detecting that the first illumination intensity does not satisfy the first illumination threshold, determining that the electronic device is outdoors at the first subway station;
at a fourth moment, acquiring a second illumination intensity of the electronic equipment in the current environment; the fourth time is after the third time, and the third time and the fourth time both belong to the first preset time period;
and determining that the electronic equipment is indoors in the first subway station when the second illumination intensity is detected to meet the first illumination threshold.
6. The method of claim 3, wherein the first indoor fence comprises a first illumination threshold for a first preset period of time and a second illumination threshold for a second preset period of time, the method further comprising, after the subscribing to the first indoor fence:
at a fifth moment, acquiring a third illumination intensity of the electronic equipment in the current environment;
detecting that the third illumination intensity does not satisfy the second illumination threshold, determining that the electronic device is outdoors at the first subway station;
at a sixth moment, acquiring fourth illumination intensity of the electronic equipment in the current environment; the sixth time is after the fifth time, and the fifth time and the sixth time both belong to the second preset time period;
and determining that the electronic equipment is indoors in the first subway station when the fourth illumination intensity is detected to meet the second illumination threshold.
7. The method according to claim 5 or 6, wherein the first preset period of time is during the day and the second preset period of time is during the night.
8. The method of claim 5 or 6, wherein the first illumination threshold and the second illumination threshold are fixed values, and wherein the first illumination threshold is greater than the second illumination threshold.
9. The method according to claim 5 or 6, wherein the first illumination threshold is used to indicate that the illumination intensity obtained this time is one third of the illumination intensity obtained last time; the second illumination threshold is used for indicating that the illumination intensity obtained this time is three times of the illumination intensity obtained last time.
10. The method of claim 1, wherein the coarse-precision fence comprises at least one of cellular network information and geographic location information of a subway station.
11. The method of claim 10, wherein the coarse-precision fence comprises cellular network information of metro stations within a city in which the electronic device is located, and after the subscribing to the coarse-precision fence, the method further comprises:
at a seventh moment, acquiring first cellular network information of a first cellular network connected with the electronic equipment;
determining that the electronic device is not near the subway station based on the first cellular network information and the cellular network information of the subway station indicated by the coarse-precision fence;
at an eighth moment, acquiring second cellular network information of a second cellular network connected with the electronic equipment; the eighth time is after the seventh time;
determining that the electronic device is located near the first subway station based on the second cellular network information and the cellular network information of the subway station indicated by the coarse-precision fence.
12. The method of claim 10, wherein the coarse-precision fence comprises geographical location information of a subway station, and wherein after the subscribing to the coarse-precision fence, the method further comprises:
at the ninth moment, first geographical position information of the electronic equipment is obtained;
determining that the electronic equipment is not near the subway station based on the first geographical position information and the geographical position information of the subway station indicated by the coarse-precision fence;
acquiring second geographical location information of the electronic device at a tenth time, wherein the tenth time is after the ninth time;
and determining that the electronic equipment is located near the first subway station based on the second geographical location information and the geographical location information of the subway station indicated by the coarse-precision fence.
13. The method of claim 1, wherein the first high-precision fence comprises wireless network information of the first subway station.
14. The method of claim 13, wherein the wireless network information of the first subway station comprises at least one of bluetooth network information of the first subway station and Wi-Fi network information of the first subway station.
15. The method of claim 14, wherein after subscribing to the first high-precision fence, the method further comprises:
at an eleventh moment, acquiring first wireless network information of a first wireless network detected by the electronic equipment;
determining that the electronic device is not near a gate of the first subway station based on the first wireless network information and the wireless network information of the first subway station;
at a twelfth moment, second wireless network information of a second wireless network detected by the electronic equipment is acquired, wherein the twelfth moment is after the eleventh moment;
and determining that the electronic equipment is located near a gate of the first subway station based on the second wireless network information and the wireless network information of the first subway station.
16. The method of claim 1, wherein the subway ride card comprises a name and a flash option for the first subway station.
17. The method of claim 16, further comprising:
responding to the received operation of clicking the code swiping option, and displaying a subway riding code interface; the subway riding code interface comprises a subway riding code; the subway taking codes are two-dimensional codes or bar codes.
18. An electronic device, comprising:
one or more processors, memory;
and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-17.
CN202111460090.9A 2021-12-01 2021-12-01 Subway trip detection method and electronic equipment Active CN115038032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111460090.9A CN115038032B (en) 2021-12-01 2021-12-01 Subway trip detection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111460090.9A CN115038032B (en) 2021-12-01 2021-12-01 Subway trip detection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115038032A true CN115038032A (en) 2022-09-09
CN115038032B CN115038032B (en) 2023-01-17

Family

ID=83117844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111460090.9A Active CN115038032B (en) 2021-12-01 2021-12-01 Subway trip detection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115038032B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116437293A (en) * 2023-06-09 2023-07-14 荣耀终端有限公司 Geofence establishment method, server and communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140120943A1 (en) * 2012-10-31 2014-05-01 Qualcomm Incorporated Method and apparatus for determining a position of a device relative to a virtual fence
CN107301543A (en) * 2017-06-29 2017-10-27 维沃移动通信有限公司 A kind of method of mobile payment and mobile terminal
CN110110026A (en) * 2019-04-30 2019-08-09 北京小米移动软件有限公司 A kind of method, apparatus and medium of intelligent prompt trip help information
CN110503423A (en) * 2019-08-27 2019-11-26 广东小天才科技有限公司 Subway method of payment and device, terminal device, computer readable storage medium
US20200037102A1 (en) * 2017-06-02 2020-01-30 Alibaba Group Holding Limited Method and apparatus for determining index grids of geo-fence
CN112398895A (en) * 2019-08-19 2021-02-23 阿里巴巴集团控股有限公司 Method and device for providing service information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140120943A1 (en) * 2012-10-31 2014-05-01 Qualcomm Incorporated Method and apparatus for determining a position of a device relative to a virtual fence
US20200037102A1 (en) * 2017-06-02 2020-01-30 Alibaba Group Holding Limited Method and apparatus for determining index grids of geo-fence
CN107301543A (en) * 2017-06-29 2017-10-27 维沃移动通信有限公司 A kind of method of mobile payment and mobile terminal
CN110110026A (en) * 2019-04-30 2019-08-09 北京小米移动软件有限公司 A kind of method, apparatus and medium of intelligent prompt trip help information
CN112398895A (en) * 2019-08-19 2021-02-23 阿里巴巴集团控股有限公司 Method and device for providing service information
CN110503423A (en) * 2019-08-27 2019-11-26 广东小天才科技有限公司 Subway method of payment and device, terminal device, computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116437293A (en) * 2023-06-09 2023-07-14 荣耀终端有限公司 Geofence establishment method, server and communication system
CN116437293B (en) * 2023-06-09 2023-10-20 荣耀终端有限公司 Geofence establishment method, server and communication system

Also Published As

Publication number Publication date
CN115038032B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN114489868B (en) Subway trip detection method and electronic equipment
CN113615217B (en) Method for determining that terminal equipment is located inside geo-fence and terminal equipment
US10091612B2 (en) Establishing geo-fences and related alarms
CN106851555B (en) Apparatus and method for geo-fencing operations
US20130300560A1 (en) Tracking passengers on cruise ships
CN112995409B (en) Display method of intelligent communication strategy effective scene, mobile terminal and computer readable storage medium
US20120309373A1 (en) Proximity-Based Application Activation
CN108700895A (en) The report method and device of flight path information, information determine method and device
CN111629337B (en) Method and terminal for controlling network searching
CN114880065B (en) Method, device, system and storage medium for controlling card display
CN105939517B (en) A kind of method and apparatus preventing mobile terminal access pseudo-base station
CN105933907B (en) A kind of pseudo-base station identification device, method and mobile terminal
CN106210249A (en) Intelligent terminal's mode switching method and device
CN115038032B (en) Subway trip detection method and electronic equipment
CN115022448B (en) Subway trip detection method and electronic equipment
US8805421B2 (en) Method and system for sending ring setting reminders to mobile devices within a predetermined area
CN115022461B (en) Subway trip detection method and electronic equipment
CN105302457B (en) Terminal control method and device
CN106454774A (en) Illegal text message reminding device and illegal text message reminding method
CN105126339B (en) A kind of game control device and method
CN112997533B (en) Processing method and device for cell reselection, mobile terminal and storage medium
CN115033309B (en) Subway trip detection method and electronic equipment
CN115022449B (en) Subway travel detection method and electronic equipment
CN105959301A (en) Method and system for optimizing multimedia call
CN115033308B (en) Subway trip detection method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant