CN115022449B - Subway travel detection method and electronic equipment - Google Patents

Subway travel detection method and electronic equipment Download PDF

Info

Publication number
CN115022449B
CN115022449B CN202111459193.3A CN202111459193A CN115022449B CN 115022449 B CN115022449 B CN 115022449B CN 202111459193 A CN202111459193 A CN 202111459193A CN 115022449 B CN115022449 B CN 115022449B
Authority
CN
China
Prior art keywords
fence
subway
electronic equipment
information
scene
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.)
Active
Application number
CN202111459193.3A
Other languages
Chinese (zh)
Other versions
CN115022449A (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 CN202111459193.3A priority Critical patent/CN115022449B/en
Publication of CN115022449A publication Critical patent/CN115022449A/en
Application granted granted Critical
Publication of CN115022449B publication Critical patent/CN115022449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/29Individual registration on entry or exit involving the use of a pass the pass containing active electronic elements, e.g. smartcards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • 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 travel detection method and electronic equipment, wherein the method comprises the following steps: the electronic device detects whether a user arrives near a 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 the vicinity of the subway station and in the vicinity of the gate of the subway station and within the subway station, the subway ride card may be ejected. In the process of detecting a plurality of fences, the electronic equipment detects the fences layer by layer so as to detect the inner fence again under the condition that the outer fence is triggered. Thereby effectively reducing the system power consumption.

Description

Subway travel detection method and electronic equipment
Technical Field
The application relates to the field of terminal equipment, in particular to a subway travel detection method and electronic equipment.
Background
With the development of the field of terminal equipment, the application scene of the terminal is wider and wider. For example, a user may ride a subway through a barcode brushing service provided by an application installed in a terminal. However, the operation of the code brushing service provided by the current application is complicated, and the user experience is poor.
Disclosure of Invention
The application provides an optimized subway travel detection method and electronic equipment.
In some embodiments provided by the application, the electronic equipment can provide more accurate and more convenient code brushing service for the subway travel mode of the user so as to improve the user experience.
For example, a plurality of applications having a code brushing function may be installed in the electronic device. In some scenarios, when a user needs to brush the code, the application with the code brushing function can be triggered, so that the application displays a subway train code interface. The user can use the subway riding code in the subway riding code interface to enter or exit through the code brushing, so that the user does not need to purchase the subway card or carry the subway card. In order to further improve user experience, in some scenarios, the electronic device may provide a quick entry, so that the user may jump to the subway train code interface under a simple operation, for example, by clicking a button corresponding to the quick entry, thereby simplifying the user operation. The display timing of the quick portal associated with the application to which the subway riding code interface belongs needs to be considered, so that timeliness is required to be considered, excessive disturbance to the user is avoided, the requirement of the user needs to be met, and the quick portal can be displayed to the user when the user needs to sit on the subway. By way of example, the electronic device may be provided with a plurality of pens and detect the pens step by step, so that under the condition that the outer-layer pens are triggered, the inner-layer pens are detected again, and thus the power consumption is effectively reduced.
In a first aspect, the application provides a subway travel detection method. The method comprises the following steps: the electronic equipment subscribes to a city fence, wherein the city fence is used for indicating at least one city, and the at least one city is a city supporting subway travel detection; the electronic equipment detects that the city in which the electronic equipment is located is one of at least one city, and determines city fence triggering; after the electronic equipment city fence is triggered, subscribing a scene fence, wherein the scene fence is used for indicating at least one of a daily stay scene and a sleep scene; the electronic equipment detects that the electronic equipment is not in any scene indicated by the scene fence, and determines scene fence triggering; after triggering the scene fence, subscribing a motion state fence, wherein the motion state fence is used for indicating the motion state of the electronic equipment to be a walking state; the electronic equipment detects that the motion state of the electronic equipment is a walking state, and determines motion state fence triggering; after the movement state fence is triggered, subscribing a subway fence, wherein the subway fence is used for indicating that the electronic equipment is positioned in a subway station; the electronic equipment detects that the electronic equipment is positioned in a subway station, and subway fence triggering is determined; and the electronic equipment displays the subway riding card under the condition that the subway fence is triggered. Like this, electronic equipment can set up a plurality of rail to detect the rail step by step, with the condition that outer rail triggered, detect the inlayer rail again, thereby effectively reduce the consumption.
According to a first aspect, a city fence is used to indicate a geographic scope of each of at least one city. In this way, the electronic device may be based on the geographic location of the electronic device to detect whether the electronic device is within a specified city. It can be understood that the city of subway detection is opened. If the electronic device is located in a city where subway detection is not opened, the subsequent steps may not be performed, thereby saving power consumption.
According to a first aspect, or any implementation manner of the first aspect, after subscribing to a city fence, the method includes: acquiring first geographic position information of electronic equipment; determining, based on the first geographic location information, that the electronic device is not within a geographic range of the at least one city; acquiring second geographic position information of the electronic equipment; the first geographic location information is different from the second geographic location information; based on the second geographic location information, it is determined that the electronic device is within a geographic range of at least one city. Thus, if the electronic device is located in a city where subway detection is not opened, the subsequent steps may not be performed, thereby saving power consumption.
According to a first aspect, or any implementation of the first aspect above, the daily stay scenario comprises at least one of a home scenario and a company scenario. Therefore, the electronic equipment can not execute the subsequent subway travel detection flow when detecting that the user cannot take the subway, so that the power consumption is saved.
According to the first aspect, or any implementation manner of the first aspect, a daily scene includes a home scene, and a scene fence includes at least one of home network information and home geographic location information. Therefore, the electronic equipment detects that the user is at home, and the subsequent subway travel detection flow can not be executed, so that the power consumption is saved.
According to a first aspect, or any implementation manner of the first aspect, the home network information includes at least one of: bluetooth network information of a home scene, wi-Fi network information of a home scene, cellular network information of a home scene. In this way, the electronic device may determine whether the user is at home based on the network state of the electronic device.
According to the first aspect, or any implementation manner of the first aspect, the daily scene includes a company scene, and the scene fence includes at least one of company network information and company geographic location information. Therefore, the electronic equipment detects that the user is in the company, and the subsequent subway travel detection flow can not be executed, so that the power consumption is saved.
According to the first aspect, or any implementation manner of the first aspect, the company network information includes at least one of the following: bluetooth network information of a company scene, wi-Fi network information of the company scene, and cellular network information of the company scene.
According to the first aspect, or any implementation manner of the first aspect, if the context fence includes home network information, after subscribing to the context fence, the method includes: acquiring first network information of a first network connected with electronic equipment; detecting that the first network information is the same as the home network information, and determining that the electronic equipment is in a home scene; acquiring second network information of a second network connected with the electronic equipment; the first network is different from the second network; and detecting that the second network information is different from the home network information, and determining that the electronic equipment is not in the home scene. In this way, the electronic device may determine whether the user is at home based on the scanned network.
According to the first aspect, or any implementation manner of the first aspect, if the context fence includes home geographic location information, after subscribing to the context fence, the method includes: acquiring third geographic position information of the electronic equipment; detecting that the third geographic position information is in the geographic range indicated by the family geographic position information, and determining that the electronic equipment is in a family scene; acquiring fourth geographic position information of the electronic equipment; the fourth geographic location information is different from the third geographic location information; the fourth geographic location information is detected to be out of the geographic range indicated by the home geographic location information, and it is determined that the electronic device is not in the home scene. In this way, the electronic device may determine whether the user is at home based on the geographic location information.
According to the first aspect, or any implementation manner of the first aspect, the scene fence is used for indicating a sleep scene, and the sleep time period corresponding to the sleep scene is included in the scene fence. Thus, during some special time periods, the electronic device may not execute the subsequent trip detection process, so as to save power consumption.
According to a first aspect, or any implementation manner of the first aspect, after subscribing to a context fence, the method includes:
at a first time, acquiring the current time as the first time; determining that the electronic device is in a sleep scene during a sleep period indicated by the first time presence Jing Weilan; acquiring the current time as second time at second time, wherein the second time is different from the first time; and determining that the electronic device is not in the sleep scene when the second time is not in the sleep period indicated by the scene fence.
According to a first aspect, or any implementation of the first aspect above, the athletic performance rail includes a walking performance threshold range, and after subscribing to the athletic performance rail, includes: acquiring a first motion state of the electronic equipment; detecting that the first motion state does not meet the walking state threshold range, and determining that the motion state of the electronic equipment is not a walking state; acquiring a second motion state of the electronic equipment; and detecting that the second motion state meets the walking state threshold range, and determining that the motion state of the electronic device is a walking state. In this way, the electronic device may determine the user's motion state based on the set state threshold.
According to the first aspect, or any implementation manner of the first aspect, before subscribing to the context fence, the method further includes: subscribing a brushing code recording fence, wherein the brushing code recording fence is used for indicating the electronic equipment to ride by using the subway riding code brushing code; and detecting that the electronic equipment stores the brush code record, and determining the trigger of the brush code record fence. Thus, corresponding to some users who are not suitable for the code brushing function, the subsequent detection flow can be omitted, so that the power consumption is saved.
According to a first aspect, or any implementation manner of the first aspect above, the subway rail includes one or more of a subway station rough precision rail, a high precision rail, and an indoor rail; the coarse precision fence is used for indicating that the electronic equipment is positioned near the subway station; the high-precision fence is used for indicating that the electronic equipment is positioned near a gate of the subway station; indoor fences are used to indicate that an electronic device is located in a subway station. In this way, the electronic apparatus can determine whether the user arrives in the subway station based on the plurality of subway rails, and determine whether ejection of the ride card is required based on the detection result.
According to a first aspect, or any implementation manner of the first aspect, a subscription subway rail includes: subscribing the coarse precision fence; detecting that the electronic equipment is positioned near a target subway station, and determining coarse-precision fence triggering corresponding to the target subway station; subscribing the high-precision fence corresponding to the target subway station after triggering the coarse-precision fence corresponding to the target subway station; detecting that the electronic equipment is positioned near a gate of a target subway station, and determining high-precision fence triggering; subscribing the indoor fence after triggering the high-precision fence; and detecting that the electronic equipment is positioned in the target subway station, and determining indoor fence triggering. For example, multiple subway pens may be hierarchically subscribed to save power consumption.
According to a first aspect, or any implementation of the first aspect above, the coarse precision fence comprises at least one of cellular network information and geographical location information of the subway station.
According to a first aspect, or any implementation manner of the first aspect, the coarse precision fence includes cellular network information of each subway station in a city where the electronic device is located, and after subscribing to the coarse precision fence, the coarse precision fence includes: acquiring first cellular network information of a first cellular network connected with electronic equipment; and determining that the electronic equipment is positioned near the target subway station based on the first cellular network information and the cellular network information of the subway station indicated by the coarse precision fence.
According to a first aspect, or any implementation manner of the first aspect, the coarse precision fence includes geographical location information of a subway station, and after subscribing to the coarse precision fence, the method includes: acquiring fifth geographic position information of the electronic equipment; and determining that the electronic equipment is positioned near the target subway station based on the fifth geographic position information and the geographic position information of the subway station indicated by the coarse precision fence.
According to a first aspect, or any implementation manner of the first aspect above, the high-precision fence includes wireless network information of the target subway station.
According to the first aspect, or any implementation manner of the first aspect, the wireless network information of the subway station includes at least one of bluetooth network information of the subway station and Wi-Fi network information of the subway station.
According to a first aspect, or any implementation manner of the first aspect, after subscribing to a high precision fence, the method includes: acquiring first wireless network information of a first wireless network detected by electronic equipment; and determining that the electronic equipment is positioned near a gate of the target subway station based on the first wireless network information and the wireless network information of the subway station indicated by the high-precision fence.
According to a first aspect, or any implementation of the first aspect above, the indoor fence comprises at least one of a lighting threshold and a satellite state threshold, the satellite state threshold comprising a satellite number threshold and a satellite communication quality threshold.
According to a first aspect, or any implementation manner of the first aspect, the indoor fence includes a lighting threshold, and after subscribing to the indoor fence, the method includes: acquiring illumination information of the electronic equipment; and determining that the electronic equipment is positioned in the target subway station based on the illumination information and the illumination threshold value.
According to a first aspect, or any implementation manner of the first aspect, the indoor fence includes a satellite state threshold, and after subscribing to the indoor fence, includes: acquiring the number of satellites searched by the electronic equipment and the communication quality parameters between the satellites; and detecting that the number of the satellites searched by the electronic equipment meets a satellite number threshold value, and/or detecting that the communication quality parameters between the electronic equipment and the searched satellites meet a satellite communication quality threshold value, and determining that the electronic equipment is positioned in the target subway station.
According to a first aspect, or any implementation manner of the first aspect, before subscribing to an indoor fence, the method includes: acquiring a brushing code record stored in electronic equipment; detecting whether a subway station which enters a station for the last brushing code recorded in the brushing code record is a target subway station or not; detecting a non-target subway station of a subway station which enters the station in the last brushing code, determining an initial station of the non-current subway travel of the target subway station, and subscribing the indoor fence. In this way, the electronic device may reduce power consumption by performing subsequent steps after determining the starting station.
According to a first aspect, or any implementation manner of the first aspect, the subway train card includes a name and a brush code option of the first subway station.
According to the first aspect, or any implementation manner of the first aspect, a subway train code interface is displayed in response to a received operation of clicking the code brushing option; the subway riding code interface comprises a subway riding code; the subway riding code is a two-dimensional code or a bar code.
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, which when executed by the one or more processors, cause the electronic device to perform the instructions of the first aspect or any of the possible implementations of the first aspect.
Any implementation manner of the second aspect and the second aspect corresponds to any implementation manner of the first aspect and the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, embodiments of the present application provide a computer readable medium storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
Any implementation manner of the third aspect and any implementation manner of the third aspect corresponds to any implementation manner of the first aspect and any implementation manner of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation manner of the third aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a fourth aspect, embodiments of the present application provide a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
Any implementation manner of the fourth aspect and any implementation manner of the fourth aspect corresponds to any implementation manner of the first aspect and any implementation manner of the first aspect, respectively. Technical effects corresponding to any implementation manner of the fourth aspect may be referred to the technical effects corresponding to any implementation manner of the first aspect, and are not described herein.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processing circuit and a transceiver pin. Wherein the transceiver pin and the processing circuit communicate with each other via an internal connection path, the processing circuit performing the method of the first aspect or any one of the possible implementation manners of the first aspect to control the receiving pin to receive signals and to control the transmitting pin to transmit signals.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an electronic device exemplarily shown;
fig. 2 is a schematic flow chart of an exemplary subway travel detection method;
fig. 3 is a schematic flow chart of an exemplary subway travel detection method;
FIGS. 4 a-4 g are schematic diagrams of exemplary application scenarios;
fig. 5 is a schematic view 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 software configuration diagram of an exemplary electronic device.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the application, are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, the first target object and the second target object, etc., are used to distinguish between different target objects, and are not used to describe a particular order of target objects.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
Fig. 1 shows a schematic configuration 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: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
In the embodiment of the present application, the electronic device is taken as an example of a mobile phone, and in other embodiments, the electronic device may be a tablet, a wearable device, or the like.
Some embodiments of the application relate to coarse precision fences associated with subway stations (e.g., Rail) and high precision rail, which may correspond to a coarse precision rail (e.g., -for a subway station>Fence) and a high precision fence. The coarse precision fence (e.g.)>Fence) may be the one that can identify the geographic range of the subway station, the user may trigger the coarse precision fence if carrying the electronic device into the geographic range of the subway station; the high-precision fence can be a geofence of the geographic range of the code gate brushing machine in the subway station, and if the user carries the electronic equipment into the geographic range of the code gate brushing machine in the subway station, the high-precision fence can be triggered. The geofence may identify the geographic range corresponding to the geofence by using a geographic location (e.g., determining the geographic location by GPS positioning or the like), or may identify the geographic range corresponding to the geofence by using a signal fingerprint (e.g., base station information, wifi information, bluetooth information or the like that can be detected in the geographic range) within the geographic range.
For example, the software structure of the electronic device 100 may include a perception module, a smart trip service, a third party application, and the like. Optionally, the third party application related in the embodiment of the present application includes a payment application, a one-card application, and the like, including an application of subway riding service.
Fig. 2 is a schematic flow chart of an exemplary subway travel 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.
In an exemplary embodiment of the present application, the cloud may obtain subway travel network information in the city. Station information of each subway station in the city can be included in the subway travel network information, and the station information includes but is not limited to: subway station name, subway station location, wi-Fi information within a subway station, cellular network information in the vicinity of a subway station, bluetooth network information within a subway station, and the like.
The subway station name is the station name of the station, and can be, for example, a national library station, a Beijing and western station and the like.
Illustratively, the subway station location is optionally latitude and longitude information of the subway station.
Illustratively, wi-Fi information in a subway station is optionally Wi-Fi network information in the subway station (which can also be understood to be near a gate). Wi-Fi network information may include, but is not limited to: identification information of the Wi-Fi network, address information of the Wi-Fi network, and the like.
Illustratively, the cellular network information in the vicinity of the subway station is optionally a cell identity corresponding to a base station in the vicinity of the subway station. Alternatively, the cellular network information may also be identification information of the base station, which is not limited by the present application. For example, the vicinity of the national library station includes a base station a and a base station B, the base station a includes a cell 1, a cell 2, and a cell 3, wherein the cell 2 and the cell 3 cover the national library station (may be full coverage or partial coverage), the base station B includes a cell 4 and a cell 5, and the cell 4 covers the national library station. Accordingly, cellular network information for the national library station 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. Alternatively, the cellular network information of the international library station may also include identification information of the base station a and identification information of the base station B.
Alternatively, in a city where subways are laid, there may be some cities corresponding to subway travel network information. For example, subways are uniformly distributed in cities A, B and C, and cloud only stores subway travel network information of cities A and B. Correspondingly, the mobile phone located in the city A can execute a subway travel detection flow based on the subway travel network information corresponding to the city A acquired from the cloud. The mobile phone located in the city B can execute the subway travel detection flow based on the subway travel network information corresponding to the city B acquired from the cloud. For city C, before the cloud end does not acquire subway travel network information of city C, the mobile phone in city C cannot execute subway travel detection flow.
In the embodiment of the application, the smart travel service can send the indication information to the perception module for indicating 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 if the handset is currently within a specified city. For example, the designated city may optionally be a city stored in the cloud end and corresponding to subway network information, which may also be understood as a city that may support the mobile phone to perform subway trip detection. The awareness module may subscribe to the city fence based on an indication of the smart travel service.
In one possible implementation manner, the sensing module may acquire city information of each city and subway travel network information of each city stored in the cloud from the cloud when any scene such as first power on, initialization, screen-off charging, etc. The cities stored in the cloud are the cities corresponding to the subway travel network information. Urban information includes, but is not limited to: city name and city scope. For example, when subscribing to a fence, the perception module may subscribe to the corresponding fence based on the acquired relevant information. For example, in the following embodiments, the sensing module has acquired cellular network information of each subway station in the city where the sensing module is currently located from the cloud, and the sensing module may subscribe to the subway station and the rail according to the acquired cellular network information, and specific implementation will be described in the following embodiments.
Optionally, the sensing module may periodically acquire city information and subway network trip information from the cloud. Optionally, the city information and the subway travel network information stored in the cloud may be updated, and the sensing module may cover the newly acquired city information and subway travel network information with the last acquired subway travel network information. In one example, the perception module may send a request message to the cloud periodically (e.g., every 3 days) to request the cloud to feed back subway travel network information. In another example, the cloud may periodically push subway travel network information to the cell phone. In another example, the cloud end may push the subway travel network information to the mobile phone under the condition that the subway travel network information is updated. Optionally, the cloud may only feed back updated subway travel network information, and the sensing module may update the stored subway travel network information based on the acquired subway travel network information. In another example, when the mobile phone is in off-screen charging, the mobile phone can acquire the latest city information and subway network travel information from the cloud, 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 related steps in the following embodiments, the sensing module may acquire related information from the acquired subway travel network information, so as to subscribe to the corresponding fence.
Illustratively, after the sensing module subscribes to the city fence, the sensing module may obtain the geographic location where the handset is located. For example, the sensing module may invoke a GPS function of the mobile phone to obtain a 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 geographic location information of the mobile phone.
In one example, the sensing module detects that the geographic location of the handset is within the range of the specified city, the sensing module may determine a city fence trigger, and execute S201b. For example, still taking the above example, the cloud end stores subway network information of city a and city B, but does not store subway network information of city C. The sensing 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 city information of city a and city information of 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 mobile phone is within the city range of city a, and the sensing module may determine that the city fence triggers, and execute S201b. 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 moves out of 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 S201a. It will be understood that when the mobile phone performs any of the steps in the following embodiments, the sensing module may still periodically obtain the geographic location of the mobile phone, and when the sensing module detects that the geographic location of the mobile phone is within the city range specified by the city fence, the sensing module may continue to perform the current step. When the sensing module detects that the geographic position 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 one possible implementation, after the sensing module receives the indication of subscribing to the city fence for the smart trip service, the sensing module may obtain the current location of the mobile phone. The sensing module can report the obtained geographic position information to the cloud end, and the cloud end can compare the obtained geographic position with the stored city range corresponding to the subway travel network information so as to determine whether the mobile phone is in the appointed city range. The cloud can send the comparison result to the perception module, and the perception module can determine whether to trigger the city fence based on the comparison result of the cloud. The perception module may periodically perform the steps described above. That is, the sensing module may not cache city information to reduce system cache occupancy.
In another possible implementation manner, the sensing module may acquire city information of a city corresponding to the subway travel network information from the cloud. The perception module may subscribe to the city fence based on the obtained city information.
S201b, the perception module indicates city fence triggering to the intelligent travel service.
For example, the sensing module determines city fence trigger, i.e., after the cell phone is within a specified city range, the sensing module may indicate city fence trigger to the smart trip service.
In one possible implementation manner, as described above, the sensing module only obtains the 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 message may be used to request the cloud to feed back subway travel network information corresponding to the city. That is, after determining the city in which the mobile phone is located, the sensing module acquires the subway travel network information corresponding to the city, so that the buffer occupancy of the mobile phone can be reduced.
S202a, the intelligent travel service indicates registration of the brush code record fence to the sensing module.
Optionally, after the smart travel service receives the city fence triggering indication sent by the sensing module, it can be determined that the city where the mobile phone is located is provided with the subway network, and the mobile phone can acquire subway travel network information of the city from the cloud to execute subway travel detection.
For example, the smart travel service may send indication information to the sensing module for instructing the sensing module to register the brush code record fence. The function of the code brushing record fence can be understood as indicating whether the sensing module detects that whether the mobile phone successfully brushes the code or not, and can be understood as whether a user passes through the subway or not through the code brushing record fence.
In an exemplary embodiment of the present application, the smart trip service (or the sensing module) may record a swipe code record, and when the user successfully swipes the swipe code through a third party application or a system application in the mobile phone each time, the smart trip service may save the swipe code successful record.
Optionally, for some users, such as the elderly or users who do not need to take a subway, they may never take a subway by a code brushing manner, and for such users, the smart trip service does not need to provide subway trip detection for such users, that is, does not need to execute subsequent processes of base station detection, wi-Fi detection, and the like, 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 can detect that the mobile phone swipes the code successfully, the swipe code recording fence trigger can be determined. For example, after the user a multiplies the subway from the swipe code, the sensing module subscribes to the swipe code recording fence and is not triggered. On some day, user a successfully swipes the code through the swipe code service in the payment application and takes the subway, the perception module can detect that the mobile phone swipes the code successfully, and determine that the swipe code records the fence trigger, and S202b is performed.
For example, for a mobile phone installed with a swipe code service application and swiped through a car by the swipe code service, the perception module may detect that the mobile phone has a swipe code record stored therein, may determine a swipe code record fence trigger, and execute S202b.
It should be noted that the code brushing service in the embodiment of the present application may alternatively be a mode of brushing codes by riding two-dimensional codes. The method of swiping a card to enter a station by NFC or the like is not suitable for the present application. For example, if the mobile phone is in a car through the card swiping mode of NFC, the sensing module will not trigger the code swiping record fence until the user successfully swipes the code through the car, and then will trigger the code swiping record fence.
S202b, the sensing module indicates the intelligent trip service to brush codes to record fence triggering.
For example, after detecting the trigger of the brush code recording fence, the sensing module may send indication information to the smart trip service, and indicate the trigger of the brush code recording fence by the user.
In one possible implementation, the brush code fence is an optional fence. For example, the handset may perform S203a after detecting the city fence trigger. The application is not limited.
S203a, the smart travel service indicates to the awareness module to register a home fence, a company fence, and a sleep fence.
Illustratively, the smart travel service sends indication information to the awareness module for instructing the awareness module to subscribe to at least one of a home fence, a corporate fence, and a sleep fence. The perception module registers at least one of a home fence, a corporate fence, and a sleep fence in response to an indication of the smart travel service. In the embodiment of the application, the intelligent travel service indication sensing module subscribes to a home fence, a company fence and a sleeping fence as an example. It should be noted that the fences in the embodiments of the present application are only illustrative examples, and in other embodiments, fences of other conditions may be included, for example, a time fence may be used, where the time fence may indicate a time between a last subway shutdown time in the city and a first subway start time in the city. The application is not limited.
By way of example, a home fence may be understood as a fence trigger that may be determined after the sensing module detects that the user is away from home without performing subsequent steps when the sensing module detects that the cell phone is located in the user's home.
By way of example, a corporate fence may be understood as a corporate fence trigger that may be determined after the sensing module detects that the handset is located in the user's company without performing subsequent steps.
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 company fences and home fences, which are not described herein.
For example, the sensing module may obtain home fence information, company fence information, and sleep fence information in advance. After receiving the indication of the intelligent travel service, the perception module can subscribe to corresponding pens based on the acquired home pen information, company pen information and sleep pen information. In one example, home fence information, company fence information, and sleep fence information may be stored at the cloud, and the sensing module may obtain the home fence information, the company fence information, and the sleep fence information from the cloud when obtaining the subway network information. The home fence information, the company fence information and the sleep fence information correspond to the user account, and after the user logs in the mobile phone, the home fence information and the like corresponding to the user account can be obtained from the cloud. That is, the home fence information and the like corresponding to different user account numbers 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 the user's home, cellular network information in the vicinity of the user's home, geographical location information of the user's home, etc. For example, the sensing module may obtain Wi-Fi information or scanned Wi-Fi information of the mobile phone that is currently connected, and when the sensing module detects that the connected Wi-Fi or scanned Wi-Fi includes Wi-Fi information (e.g., wi-Fi name) in the user's home, the sensing module may determine that the user is located in the home. For another example, the sensing module may obtain information about a base station to which the mobile phone is currently connected or information about a base station that is scanned, 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 determine that the user is in the home. For another example, the sensing module may obtain the geographic location information of the mobile phone, and when the sensing module detects that the geographic location of the user is in the vicinity of the user's home, it may determine that the user is in the home. It should be noted that Wi-Fi information, cellular information, geographical location information, etc. in the user's home may be obtained by the sensing module, or may be obtained by the sensing module from other applications in the mobile phone, or may be obtained from the cloud, or may be set by the user, which is not limited by the present application. For example, the awareness module may count the geographic location of the user, and when the user continues to move within a range for a predetermined period of time (e.g., 4 hours), the area to which the geographic location belongs (e.g., 500 meters) may be considered the user's home or company. For another example, after the sensing module connects Wi-Fi, the connection duration may be counted, and if the number of times of connecting a certain Wi-Fi is greater than a threshold value, and the duration of each connection is greater than the threshold value (for example, 2 hours), the Wi-Fi may be considered to be the user home Wi-Fi or the company Wi-Fi. For another example, after the sensing module connects 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 (for example, 2 hours), it may be confirmed that the cellular network covers the user home or the user company.
Alternatively, the sensing module may be based on the above information to detect whether the user is at home, i.e. to monitor the home fence. 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 may be determined when the sensing module detects a disconnection from Wi-Fi in the home for a predetermined period of time (e.g., 10 minutes), i.e., the user leaves 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 judging whether the user leaves home, if any condition in the home fence triggers, it can be determined that the user leaves home, for example, the sensing module detects that Wi-Fi is disconnected for a predetermined time period, but does not detect that the geographic position of the mobile phone moves out of the home range of the user, the sensing module still determines that the user leaves home, that is, the home fence triggers, and S203b is executed. Of course, in other embodiments, the sensing module may also not trigger the home fence when the sensing module detects that the geographic location of the mobile phone is out of the home range after the sensing module detects that the Wi-Fi is disconnected and further detects that the geographic location of the mobile phone is out of the home range, and may determine that the user leaves home, i.e. the home fence is triggered after the sensing module detects that the geographic location of the mobile phone is out of the home range, thereby preventing erroneous judgment.
For example, for corporate fences, the judgment manner is similar to that of home fences, and will not be described in detail here.
Illustratively, the sleep fence may indicate a sleep time interval, which may be, for example, 23:00 to the next day 5:00, during the event interval, the user is usually sleeping, and no subsequent subway trip detection is required to be performed. The sensing module may detect the time and when the time indicated by the sleep fence is entered, no subsequent steps need to be performed. When the perception module determines that the current time is not within the time range specified by the sleep fence, a sleep fence trigger may be determined.
If the sensing module subscribes to the plurality of pens, such as the home pen and the company pen, and when any one of the designated conditions of the pens is satisfied, the sensing module determines that the user is at home, and does not need to execute the subsequent steps, thereby reducing power consumption.
It should be further noted that, after subscribing to the above-mentioned fence, the sensing module may monitor in real time, and if any one of the fences in S203a is satisfied when any one of the steps in the following embodiments is executed, the executing of the current step is stopped, and the fence in S203a is detected. For example, if the sensing module detects Wi-Fi of the user' S home connected to the mobile phone when executing the following S204a, the sensing module may determine that the user is at home and execute S203a, that is, subscribe to the home fence, and execute the subsequent steps after the user leaves home again.
It should be further noted that, in this step, if the user detects that the condition of the fence is satisfied, it may be determined that the user is at home, and when the user detects that the mobile phone does not satisfy the condition of the fence, for example, wi-Fi indicated by the fence is disconnected, it may be determined that the user is away from home, that is, the fence is triggered.
For example, as shown in fig. 4a, the current location of the user is in the home, and after the sensing module subscribes to the home fence, the company fence and the sleep fence, the sensing module acquires the current location information of the user. The perception module determines that the user is at home based on the user's current location. The sensing module detects the home fence to detect whether the user leaves home. Referring to fig. 4b, illustratively, after the user leaves home, the sensing module determines that the user leaves home based on the current location of the user, the sensing module determines a home fence trigger, and performs S203b.
S203b, the sensing module indicates the triggering of the home fence, the company fence and the sleeping fence to the intelligent travel service.
For example, the sensing module detects any of the above fence triggers and may send indication information to the smart trip service to indicate the corresponding fence trigger. For example, the sensing module detects that the user leaves home, i.e., determines home fence triggering, and the sensing module sends indication information to the smart travel service for indicating the home fence triggering.
S204a, the intelligent travel service indication sensing module registers the movement state fence.
For example, the smart travel service sends indication information to the sensing module in response to the home, company and/or sleep fence triggers indicated by the sensing module, for indicating the sensing module to subscribe to the sports status fence.
For example, the sensing module may periodically acquire the movement state of the mobile phone after subscribing to the movement state fence in response to the indication of the smart trip service. In one example, the perception module may obtain the motion state of the handset by invoking a sensor (e.g., acceleration sensor, etc.) in the handset. In another example, the sensing module may also acquire the motion state of the mobile phone through other motion state applications in the mobile phone that may acquire the motion state of the mobile phone in real time.
For example, the motion state fence can be used for indicating the sensing module to detect the motion state of the mobile phone so as to detect whether the user is in a walking state. For example, the sensing module may be provided with thresholds corresponding to respective motion states, such as a walking state threshold, a riding state threshold, a subway-on state threshold, an automobile-on state threshold, and so on. It should be noted that each threshold may be a numerical value or a range, and the present application is not limited thereto. The sensing module may compare with set thresholds based on parameters obtained from the sensors to determine the motion state. For example, if the sensing module detects that the parameter satisfies the walking state threshold based on the parameter acquired 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 meets the riding state threshold based on the parameter obtained from the sensor, the motion state may be determined to be the riding state.
In one example, if the sensing module determines that the current user is walking based on the acquired motion state of the mobile phone, the motion state fence trigger is determined, and S204b is executed.
In another example, if the sensing module determines that the current user is not walking, e.g., is riding or riding, based on the acquired motion state of the phone, it may be determined that the motion state fence is not triggered.
For example, as shown in fig. 4b, after the user leaves home, the smart trip service determines that the user leaves home based on the indication of the perception module. The intelligent travel service instructs the perception module to subscribe to the sports status fence. And the perception module periodically acquires the motion state of the mobile phone after subscribing the motion state fence in response to the indication of the intelligent travel service. After leaving home, the user rides to move to the subway station. The sensing module can detect that the motion state of the mobile phone is not walking. Referring to fig. 4c, an exemplary user arrives near a subway station, and gets off the subway station. Illustratively, 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 is triggered by the fence, and perform S204b.
It should be noted that, in the embodiment of the present application, after the sensing module subscribes to the motion state fence, the sensing module may periodically detect the motion state fence. When the sensing module performs any of the following steps in the embodiment, if the sensing module detects that the motion state of the mobile phone is not walking, S204a is re-performed, that is, the motion state fence is continuously detected. For example, referring still 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 obtains 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 near a subway station, the sensing module may be detecting and scoring the fence (in a manner that will be described below), and the user is riding the bike again. The sensing module detects that the motion state of the mobile phone is changed into the non-walking state, and the sensing module can remove the current step, namely, the rail is not detected any more, and the motion state is detected by repeatedly executing the steps described in the step S204 a.
S204b, the perception module indicates the movement state fence trigger to the intelligent travel service.
For example, the sensing module determines that the user walks, i.e. after determining that the movement state fence is triggered, sends indication information to the smart travel service for indicating the movement state fence to trigger.
Referring to fig. 2, fig. 3 is a schematic flow chart of an exemplary subway travel detection method, referring to fig. 3, specifically including:
s301a, the intelligent travel service indicates registration and rail carving to the sensing module.
Illustratively, the smart travel service sends indication information to the perception module for indicating the perception module to register and score the fence. The sensing module is used for responding to the indication of the intelligent travel service, registering and carving the fence.
Illustratively, and the score fence is used to instruct the sensing module to detect the condition indicated by the instant fence. As shown in fig. 4d, when the sensing module detects that the condition of fencing is satisfied, the sensing module can determine and score the triggering of the fencing, and execute S301b. Optionally, and the conditions of the fencing may include, but are not limited to, at least one of: cellular networks in the vicinity of subways, geographical ranges 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 relevant content of the cellular network near the home above, which is not repeated herein. For example, when the sensing module detects that the mobile phone scans or switches to the cellular network near the subway, it can be determined that the user arrives near the subway station, i.e. the subway station and the rail carving trigger are determined.
The geographical range of the subway is optionally within a preset range of a subway station, for example, 500 meters, and can be set according to actual requirements, and the application is not limited. For example, when the sensing module detects that the geographic location of the mobile phone is within the geographic range of the subway, a fence trigger may be determined and carved.
It should be noted that, in the embodiment of the present application, the "vicinity of the subway station" may be optionally that the user is within 200 meters or 500 meters of the vicinity of the subway station, which depends on the size of the geographic area indicated by the fence or the coverage area of the cellular network of the base station in the vicinity of the subway. Optionally, the ranges of each subway station and each rail are the same or different. For example, the geographic range indicated by the metro station a and the fence is different from the geographic range indicated by the metro station B and the fence, wherein the geographic range indicated by the metro station a and the fence is within 500 meters of the metro station a, and the geographic range indicated by the metro station B and the fence is within 600 meters of the metro station B. That is, when the handset detects that the user arrives within 500 meters of subway station a, it can determine the subway station a and the rail-carving trigger. When the mobile phone detects that the user arrives in the range of 600 meters of the subway station B, the subway station B and the rail carving trigger can be determined.
For example, as described above, the sensing module may obtain subway travel network information in the city from the cloud, where the subway travel network information includes site information of each subway station (for example, including site names, cellular network information, etc., the concept may refer to the above and will not be repeated here). The sensing module can subscribe to and score the fence based on information (which can be simply referred to as the fence scoring information) corresponding to the condition designated by the fence scoring in the site information of each subway station in the city.
For example and corral information may include, but is not limited to, at least one of: geographic location of the subway station and cellular network information in the vicinity of the subway station. Optionally, the site information of the subway stations may include geographic ranges of the subway stations, where the geographic ranges corresponding to each subway station are the same or different. Alternatively, if the site information of each subway station includes the geographical location of the subway station, the sensing module may determine the geographical range of the subway station based on the set range size (e.g., 500 meters).
The conditions of the fencing and the like include, for example, a cellular network in the vicinity of the subway. Referring to fig. 4e, an exemplary signal of the base station B covers the national library station, and as described above, the cloud end stores the station information of each subway station (the concept can be referred to above, and the description is omitted here). The sensing 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 the base station B) in the vicinity of the national library station.
For example, the sensing module may obtain the site information of each subway station from the cloud, and the sensing module may subscribe to the rail of each subway station and the rail of each subway station based on the obtained site information of each subway station. For example, the national library station and the score fence are set based on cellular network information of the national library station. That is, when the sensing module detects that the mobile phone is connected to the cellular network indicated by the national library station and the fence, the national library station and the fence trigger can be determined, and the user can be understood to arrive near the national library station.
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 triggerably scan for nearby cellular networks based on the configuration of the cellular network. For example, the scanning in the 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, address information, and the like of the base station (or the access point).
Still referring to fig. 4e, the handset scans only base station a at user location a, as an example. The sensing module is used for matching the identification information of the base station A with the cellular networks indicated by the subway stations and the carved fences, and the sensing module is used for determining that the matching is unsuccessful and does not process the subway stations and the cellular networks indicated by the carved fences.
Illustratively, the user walks to user location B. The mobile phone still accesses the base station A, and at the current position (namely 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 base station a and the identification information of base station B with the cellular network indicated by each subway station and the fence. The sensing module can determine that the identification information of the base station B is successfully matched with the cellular network indicated by the national library station and the fence, and the sensing module can determine that the user arrives near the national library station, namely the national library station and the fence are triggered.
In another example, the perception module may match the identification information of base station a and the identification information of base station B with the cellular network indicated by each subway station and the fence. The perception module can determine that the identification information of the base station B is successfully matched with the cellular network indicated by the national library station and the fence. The perception module may further obtain a communication quality parameter with the base station B. Optionally, the communication quality parameter includes, but is not limited to, at least one of: SNR (SIGNAL NOISE RATIO, signal-to-noise ratio), RSRP (Reference Signal Receiving Power, reference signal received power), RSRQ (Reference Signal Receiving Quality, reference signal received quality), RSSI (Received Signal Strength Indication ), and the like. For example, the communication quality parameter may be obtained by a mobile phone (for example, may be the mobile communication module 150 in fig. 1) based on the received detection signal, and the specific obtaining manner may refer to the prior art, which is not described in detail herein. Optionally, if the acquired communication quality parameter is greater than or equal to a set threshold (which may be set according to actual requirements, and the application is not limited thereto), the sensing module may determine the national library station and the fence trigger. Alternatively, if the acquired communication quality parameter is smaller than the set threshold, the sensing module may not process the communication quality parameter, and may also understand that the sensing module repeatedly executes the above steps. It should be noted that, the subway network information corresponding to each subway station and each rail may include the above-mentioned threshold value corresponding to the communication quality parameter, that is, the subway travel network information of each subway station acquired by the sensing module may include a set threshold value (may also be referred to as a communication quality parameter threshold value), and the communication quality parameter threshold values corresponding to each subway station may be the same or different, which is not limited by the present application. Optionally, the threshold value corresponding to the communication quality parameter may be determined by the cloud end based on the communication quality parameter reported by the user. For example, after the mobile phone successfully swipes the code (including inbound and outbound), the mobile phone may obtain cellular network information of the current site, including identification information of the cellular network, and signal strength information of the cellular network. The mobile phone can report the acquired cellular network information to the cloud. The cloud end can receive cellular network information reported by a plurality of users and acquire a threshold value corresponding to the communication quality parameter of the cellular network of each site based on the acquired cellular network information. For example, the cloud may acquire an average value of communication quality parameters of the cellular network of the same subway station reported by all users in each period (for example, 3 days, may be set according to actual requirements, and the application is not limited thereto), and take the average value as a threshold corresponding to the communication quality parameters of the cellular network of the subway station. Alternatively, the cloud may use the range of 1 standard deviation above and below the average value in the present 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, the meeting and fence-carving conditions can be determined.
In yet another example, when the user is at the user location B, the sensing module determines and the fence detection period (which may be set according to the actual requirement, and the present application is not limited) triggers, and the sensing module detects the currently accessed base station. The sensing module may acquire from the mobile communication module 150 that the currently accessed base station is base station a, that is, the same result as the last detection (e.g., user position a), and the sensing module does not perform processing. When the user walks to the user position C, the mobile phone is switched to the base station B, namely the mobile phone is accessed to the base station B. The sensing module determines and cuts in the detection cycle trigger of the fence, the sensing module obtains the information of the base station that is accessed currently. The sensing module may obtain the identification information of the currently accessed base station as base station B from the mobile communication module 150. And the perception module matches the identification information of the base station B with the cellular network indicated by each subway station and the carved fence. The sensing module determines that the identification information of the base station B is successfully matched with the cellular network indicated by the national library station and the fence-carving indication, and can confirm that a user is near the national library station, namely the national library station and the fence-carving trigger can be determined.
In yet another example, the mobile communication module 150 may report the identification information of the base station after the handover to the sensing module after each base station handover. For example, at user location B, the cellular network handover is not performed by the handset and no information is reported by the mobile communication module 150. When the user moves in the subway station direction (for example, may be any position between the user position B and the user position C), the mobile phone detects that the handover condition is satisfied (the specific details may refer to the prior art, and the application is not limited thereto), and the mobile phone is handed over to the base station B. After the mobile phone accesses the base station B, the mobile communication module 150 reports the identification information of the base station after the switching, i.e., the base station B, to the sensing module. The perception module can determine national library station and fence-carving trigger based on the identification information of the base station B.
By way of example, and the conditions for fencing include the geographic extent of the subway station. Referring to fig. 4e, when the user is at the user position B, the sensing module determines and the fence detection period is triggered, and the sensing module obtains the current position information of the mobile phone. The perception module matches the location information with the geographic ranges indicated by the metro stations and the rail, and determines that the match failed, i.e., the user is not near the metro station. When the user walks to the user position C, the sensing module determines and the fence-carving detection period is triggered, and the sensing module acquires the current position information of the mobile phone. The sensing module matches the position information with the geographic range indicated by the metro station and the fence, can determine that the position information is matched with the geographic range indicated by the national library station and the fence, and determines that the national library station and the fence are triggered.
For example, if the sensing module subscribes to and the rail includes a plurality of conditions, such as including a cellular network near the subway and a geographic range of the subway station, when any one of the conditions is satisfied, such as detecting that the mobile phone is located in the geographic range of the subway station; or detecting that the mobile phone is accessed to a cellular network near the subway station; or detecting that the mobile phone is positioned in the geographic range of the subway station, and accessing the mobile phone into a cellular network near the subway station to determine and etch the fence trigger.
Optionally, similar to the above-described motion state fences, the sensing module subscribes to and scores the fences, and the sensing module detects the fences based on and scores the fences as well when performing the steps of the following embodiments. For example, if the sensing module detects that the user leaves the vicinity of the subway station, that is, the condition indicated by the fence is not satisfied, the sensing module may stop the current flow and detect the fence. For example, after a user arrives near a subway station, a sensing module determines and marks a fence trigger, and the sensing module subscribes to the high-precision fence and detects conditions indicated by the high-precision fence. The sensing module is also detecting and carving the corresponding conditions of the fence, if the user stays 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 sensing module may cease detecting the condition indicated by the high precision fence. Alternatively, the sensing module may deactivate the high precision fence. It will be appreciated that in embodiments of the present application, the pens are in a stacked relationship, and that when the outer pen is activated and remains activated, the condition indicated by the next pen is detected to reduce power consumption. Alternatively, if it is detected that the condition indicated by the fence of the further outer layer is not currently satisfied, the detection of the condition indicated by the current fence is stopped. Alternatively, the fence may remain without detecting only the condition indicated by the fence. Optionally, the sensing module may also release the fences, and re-subscribe the fences after triggering the fences at the outer layer. It should be noted that, in the embodiment of the present application, the "subscribing" fence may be understood as establishing the fence, or may be understood as having established the fence in advance, and detecting the condition indicated by the fence is started after the "subscribing", which is not limited by the present application, and will not be repeated hereinafter.
S301b, the sensing module indicates and marks the fence to the intelligent travel service.
Illustratively, the sensing module sends indication information to the smart travel service for indicating and rail-marking triggers. Optionally, the indication information may include a site name, which is used to indicate the site corresponding to the triggered and carved fence.
S302a, the intelligent travel service indicates to the sensing module to register the high-precision fence.
The smart travel service receives an indication of the sensing module, and sends indication information to the sensing module after determining the subway station (such as a national library subway station) and the rail carving trigger, wherein the indication information is used for indicating the sensing module to register the high-precision rail. It is understood that the fence is a thick fence, and when the sensing module determines that the fence is triggered, the user can be determined to reach the vicinity of the subway station. The handset may then perform subsequent identification of the high precision fence. That is, the recognition of the high-precision fence is performed only after the coarse-precision fence is satisfied, thereby effectively reducing the power consumption of the apparatus.
Illustratively, as described above, the sensing module has acquired site information for each subway station from the cloud, including site information for a current subway station, such as a national library subway station, including, but not limited to, at least one of: subway station name, subway station location, wi-Fi information within a subway station, bluetooth network information, cellular network information in the vicinity of a subway station, and the like. The perception module responds to the indication of the intelligent travel service and can subscribe to 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 the subway gate, and the like. Correspondingly, the sensing module can 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 so as to detect whether a user arrives near a gate of the national library station.
Referring to fig. 4f, exemplary, after subscribing to the high precision fence, the sensing module may detect the condition indicated by the high precision fence. When the user continues to walk in the direction of the subway gate to the user position shown in fig. 4f, the sensing module may detect that the condition indicated by the high precision fence is satisfied, and the sensing module may determine that the high precision fence is triggered. That is, the sensing module can confirm that the user arrives near the gate of the subway station.
The following description will exemplify conditions indicated by the high-precision fence including Wi-Fi networks near subway stations. It should be noted that, the conditions of the high-precision fence indication include that the processing manner of the scene when the bluetooth network is similar to that of the Wi-Fi network, and the description of the present application is not repeated. Referring to fig. 4g, an exemplary country library station 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 where the gate in the national library station is located. The sensing module acquires site information of the national library station from the cloud and comprises Wi-Fi network information of the national library station. Among these, 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 AP3. Access point information includes, but is not limited to: the name of the AP (or the name of Wi-Fi), wi-Fi address information of the AP, and the like.
The perception module can subscribe to a high-precision fence of the national library station based on Wi-Fi network information of the national library station acquired from the cloud. The sensing module may obtain Wi-Fi scanning results 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 a Wi-Fi scan 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 sensing module may invoke the scan results of 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 is described as an example.
Illustratively, the perception module detects whether to enter a high precision fence of a national library station based on the scanned results. Still referring to fig. 4g, illustratively, as 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 conduct Wi-Fi scanning. Assuming that Wi-Fi network coverage is not present at the location, the wireless communication module 160 does not scan for Wi-Fi networks. The wireless communication module 160 reports the scan result to the sensing module. The sensing module determines that the high-precision fence is not triggered based on the acquired scanning result.
With continued reference to fig. 4g, the user walks to user location E, by way of example. In this location, the wireless communication module 160 may scan for Wi-Fi1 networks and obtain access point information to AP 1. Illustratively, the wireless communication module 160 reports the scan results to the sensing module. The sensing module acquires the access point information of the AP 1. The sensing module matches the identification information of the AP1 with a Wi-Fi network indicated by a high-precision fence of the 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 arrived near the gate of the national library station.
In one possible implementation, the sensing module may determine a communication quality parameter of the Wi-Fi network based on the received Wi-Fi signal (the concept may be referred to above), and when the communication quality parameter of the Wi-Fi network is greater than a threshold, may determine a high-precision fence trigger. For example, the manner of acquiring the threshold corresponding to the communication quality parameter of the Wi-Fi network may refer to the manner of acquiring the threshold of the cellular network above, and will not be repeated here.
S302b, the sensing module indicates high-precision fence triggering to the intelligent travel service.
Illustratively, the sensing module indicates the high precision fence trigger to the smart travel service after determining the high precision fence trigger.
In one possible implementation, after the smart trip service determines that the high-precision fence is triggered, it may further determine whether the subway station (e.g., a national library station) where the user is currently located is the starting station of the subway trip. Optionally, as described above, the smart travel service or awareness module may maintain a swipe code record that optionally includes, but is not limited to: ingress/egress information, site information, etc. Illustratively, the in/out information is used to indicate that the brush code record corresponds to an out or in station. The station information is used for indicating subway stations which enter or exit through the code brushing. The smart trip service may obtain the last swipe code record. When the last swipe code record is the outbound, it can be determined that the station where the user is currently located is the start station, and S303a is performed. In another example, when the last swipe code is recorded as an inbound, it may be determined that the current station is not the start station, and it may be understood that the user has swiped the code for the inbound, ending the current flow, and re-executing S201a.
In another possible implementation, some sites within a city may be provided with only and carved pens, but with high precision pens. For example, some sites have cellular networks nearby, but there is no bluetooth network or Wi-Fi network in the site, and accordingly, for these sites, wi-Fi information of these sites, etc. are not included in the cloud-stored site information, which is used to subscribe to the high-precision fence. For such sites, after the sensing module subscribes and marks the fence and determines that the site and the mark fence are triggered, the sensing module detects that the information required by the high-precision fence of the site is not acquired, and the sensing module does not need to subscribe to the high-precision fence and executes S303a, namely, executes subsequent indoor and outdoor detection.
In yet another possible implementation, for some sites, such as sites connected to a mall and sites located underground, the sensing module may not perform indoor or outdoor detection on such sites to further save power consumption, and the application is not limited.
S303a, the intelligent travel service indicates the registration of the indoor fence to the sensing module.
For example, the smart travel service sends indication information to the sensing module for indicating the sensing module to register with the indoor fence to detect whether the user enters the subway station. For example, referring to fig. 5 (1), wi-Fi in the subway station may leak through the door of the subway, i.e., the mobile phone may scan Wi-Fi in the subway station when the mobile phone is located at the user position 1 shown in fig. 5 (1). Accordingly, the sensing module in this case determines a high precision fence trigger. If the handset ejects the ride card in the event of a high precision fence trigger (or after confirming that the current station is the start station) (the specific concept will be described in the embodiments below), then an unsuitable card ejection would be disturbing to the user for users who are walking through subway stations rather than riding. In the embodiment of the application, the mobile phone can further combine indoor and outdoor judgment to reduce the probability of the problem of false ejection of the riding card.
Illustratively, the awareness module subscribes to the indoor fence in response to an indication of the smart travel service to detect whether the user enters the subway station. The conditions indicated by the indoor fence include, but are not limited to, at least one of: GPS star search conditions and lighting conditions. In the embodiment of the application, the GPS star searching situation and the illumination situation are only taken as examples for illustration. In other embodiments, the sensing module may also subscribe to the indoor fence based on other conditions, such as detected noise, and the like, as the application is not limited.
Illustratively, the sensing module subscribes to the indoor fence, and in a scenario where the condition indicated by the indoor fence includes a GPS star search situation, the sensing module indicates the GPS module in the handset to search for positioning satellites. The sensing module can acquire the search result of the positioning satellite periodically (for example, the period duration is 5s, and the sensing module can be set according to actual requirements, and the application is not limited). Optionally, the search results include, but are not limited to: the number of positioning satellites searched and the communication quality parameters with each positioning satellite (concepts refer to above).
In one possible implementation, if the number of positioning satellites indicated in the positioning satellite search results acquired by the sensing module in the current 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, i.e., the indoor fence triggers. That is, in one example, when the perception module detects that the number of satellites decreases to a threshold, an indoor fence trigger may be determined. In another example, when the perception module detects that a communication quality parameter of a satellite has fallen to a threshold, an indoor fence trigger may be determined. In yet another example, when the perception module detects that the number of satellites decreases to a threshold and the communication quality parameter decreases to a threshold, an indoor fence trigger may be determined.
In one example, the threshold number of satellites is optionally one third (or one half) of the number of satellites acquired in the previous period (which may be set according to practical requirements, and the application is not limited thereto). The communication quality parameter threshold is optionally one third (or one half) of the communication quality threshold acquired in the previous period (which may be set according to actual requirements, and the application is not limited thereto). That is, 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 satellite number threshold and the satellite communication quality parameter threshold may be fixed thresholds that are set, and the application is not limited. Alternatively, the number of satellites corresponding to each subway station and the satellite communication quality parameter threshold may be the same or different, which is not limited by the present application.
In another possible implementation, the perception module may continue to detect the high precision fence after subscribing to the high precision fence, as described above. When the sensing module detects that the mobile phone is not in the high-precision fence, for example, a Wi-Fi network or a Bluetooth network in a subway station cannot be scanned, the sensing module can determine that the user does not enter a room and re-detect the high-precision fence.
In yet another possible implementation, the sensing module may set a detection period fence, which 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 star searching condition at the arrival time of the 3 rd detection period, and if the GPS star searching condition still does not meet the indoor fence, the sensing module finishes the current flow and returns to S201a.
Illustratively, the sensing module subscribes to the 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 handset to obtain the lighting detection result. Light detection results include, but are not limited to, illumination intensity.
In one possible implementation, if the illumination intensity acquired by the sensing module in the current period meets the set condition, the indoor fence trigger may be determined. In one example, the setting condition may be that the difference between the illumination intensity in the present period and the illumination intensity obtained in the previous period is greater than a threshold (may be set according to actual requirements, and the present application is not limited thereto). It will be appreciated that if the fluctuation between the illumination intensity in the present period and the illumination intensity in the previous period is large, it may be considered that the user enters the subway station. For example, during the day, after a user enters a subway station, the intensity of illumination in the subway station will be less than outdoors. Accordingly, the sensing module may detect that the illumination intensity obtained in the current period may be one half of the illumination intensity obtained in the previous period. For another example, at night, after a user enters a station, the intensity of illumination in the subway station is greater than outdoors. Accordingly, the sensing module may detect that the illumination intensity acquired in the current period may be twice the illumination intensity acquired in the previous period. In another example, the set condition may be a set threshold, for example, at 5-17 points, the illumination intensity threshold is set to an illumination intensity threshold 1, and at 17-5 points, the illumination intensity threshold is set to an illumination intensity threshold 2. Optionally, the illumination intensity threshold 1 is greater than the illumination intensity threshold 2. The sensing module can determine whether the set condition is satisfied based on the current time and the illumination intensity acquired in the current period. For example, at 6 a.m., the intensity of illumination acquired by the perception module is less than the threshold intensity of illumination 1, it may be determined that the user enters the subway station, i.e., the indoor fence triggers. For another example, at 8 pm, the light intensity obtained by the sensing module is greater than the light intensity threshold 2, and it may be determined that the user enters the subway station, i.e., the indoor fence is triggered. Other undescribed portions may refer to the relevant content of the GPS satellite condition and will not be described in detail here.
Indoor fence detection is illustrated below in conjunction with the application scenario diagram shown in fig. 5. Referring to fig. 5 (1), an exemplary user walks to user location 1, wherein user location 1 is outside the door of the subway station and the Wi-Fi network within the subway station covers a partial area outside the door. The perception module determines that a Wi-Fi network within the national library station is detected and determines a high-precision fence trigger. The perception module indicates high-precision fence triggering to the intelligent travel service. After the intelligent travel service determines that the intelligent travel service is the starting station, the sensing module is instructed to register the indoor fence. The sensing module instructs the GPS module of the mobile phone to start searching satellites to obtain a satellite searching result, wherein the satellite searching result comprises the number 1 of the searched positioning satellites and the communication quality parameter 1. And, the perception module obtains the current illumination intensity 1 from the sensor. The sensing module detects that the number 1 of positioning satellites is larger than a satellite number threshold, the communication quality parameter 1 is larger than a communication quality parameter threshold, the illumination intensity 1 is larger than the illumination intensity threshold 1, and the sensing module determines that the condition of the indoor fence is not met. Referring to (2) of fig. 5, the user walks to user location 2, the user location 2 is located in the subway station room, and the Wi-Fi network in the subway station covers the area. The sensing module determines that the indoor detection period arrives, and instructs the GPS module of the mobile phone to start searching satellites to acquire a satellite searching result, wherein the satellite searching result comprises the number 2 of the searched positioning satellites and the communication quality parameter 2. And, the perception module obtains the current illumination intensity 2 from the sensor. The sensing module detects that the number of positioning satellites 2 is smaller than a satellite number threshold, the communication quality parameter 2 is smaller than a communication quality parameter threshold, the illumination intensity 2 is smaller than the illumination intensity threshold 2, and the sensing module determines that the condition of the indoor fence is met, namely the indoor fence is triggered.
S303b, the sensing module indicates indoor fence triggering to the intelligent travel service.
For example, after the sensing module determines that the indoor fence is triggered, the sensing module sends indication information to the smart trip service for indicating that the indoor fence is triggered. The intelligent travel service responds to the indication of the sensing module to determine indoor fence triggering, namely, a user enters a subway station and arrives nearby a gate. The smart travel service may pop up the ride card.
Optionally, the indication information sent by the perception module to the smart trip service may include a site name of the current site. The smart travel service may generate a ride card based on the site name and display the ride card in the display screen.
Fig. 6 is a schematic view of an exemplary illustrated ride card. Referring to fig. 6 (1), an exemplary smart travel service displays a ride 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. Alternatively, in other embodiments, the riding card 602 may be located at other positions and sized according to actual needs, and the application is not limited.
Still referring to fig. 6 (1), a prompt "subway ride code" may be included in the ride card 602 to indicate that the ride card 602 is a subway travel card. Alternatively, the hint information may be the name of the application to be jumped to, for example, "XX applies subway ride". The application is not limited.
With continued reference to fig. 6 (1), exemplary, as described above, the smart travel service may obtain the name of the current website from the perception module, and accordingly, the riding card 602 may further include, but is not limited to: current site information (e.g., name of the current site, i.e., national library station), etc.
Optionally, a swipe code option 6021 may also be included in the ride card 602. The user may click on the swipe code option 6021. As shown in fig. 6 (2), the mobile phone receives a click operation from the user, and may display a subway train code interface 603 (which may also be referred to as a subway train code service interface, a subway trip service interface, a code brushing interface, etc.) of the payment application. The subway train code interface 603 may include, but is not limited to: the travel service option, the bus travel service option, the subway travel service option 604, the air ticket travel service option and the subway travel riding code display box 605. The subway travel code display frame includes, but is not limited to, a prompt message (i.e. "Beijing rail transit code"), and a subway travel code pattern 6051 (which may also be referred to as a subway two-dimensional code, a subway code, etc.). Alternatively, in the embodiment of the present application, the riding code is taken as an example of the two-dimensional code, and in other embodiments, the riding code may be a bar code, etc., which is not limited by the present application. In this example, only the subway train code interface that jumps to the payment application after receiving the operation of clicking the code brushing option 6021 by the user is described as an example. In other embodiments, the application that the mobile phone jumps after receiving the operation of clicking the brush code option 6021 by the user may be a brush code application that the user last used, for example, may be a payment application, or may be another application with a brush code service (i.e. a subway riding code service). Alternatively, the application of the jump may be an application frequently used by the user. The application is not limited.
In one possible implementation, an application available for code brushing, such as a payment application or a chat application, may not be installed in the handset, such as an application with subway ride code service. The mobile phone responds to the received operation of clicking the code brushing option 6021 by the user, the fact that the application for code brushing is not installed in the mobile phone is detected, and the smart travel service can acquire the application for code brushing supported by the city where the mobile phone is located from the cloud. For example, after the smart travel service detects that the mobile phone has no application for brushing codes installed therein, the smart travel service may send an application recommendation request to the cloud, where the application recommendation request includes city information of the mobile phone currently located, for example, "Beijing". And the cloud responds to the received application recommendation request, and searches applications supported by the current city (such as Beijing) where the mobile phone is located and used for brushing codes. Optionally, the cloud may recommend the plurality of applications found to the smart travel service. Optionally, the cloud may also recommend the most used application for brushing codes to the smart travel service. Taking the cloud end as an example to recommend payment application to the smart travel service for explanation. For example, the smart travel service may display a prompt box on the display screen, where the prompt box may include prompt information "after downloading the payment application, the riding code service may be experienced, whether to go to the application market for downloading. The prompt box may include a "cancel" option and an "immediately go" option. The user may click on the "go immediately" option to download the payment application in the application marketplace.
In another possible implementation, the handset may have installed an application for brushing codes, 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 swipe code option 6021 and jumps to the payment application, the payment application detects that the user is not logged in, and the payment application may display a user login interface. After the user successfully logs in (i.e., enters an authentication code or a password), the payment application displays a subway ride interface.
In yet another possible implementation, the handset may have installed an application for brushing codes (again, as an example of a payment application) and has logged into the payment application. However, the payment application has not yet opened the subway train code service. That is, the payment application includes the subway train code service, but the subway train code is temporarily not displayed in the interface of the subway train code service because the subway train code service is not activated. For example, after the smart travel service detects that the user clicks the code brushing option 6021 and jumps to the subway train code interface of the payment application, the payment application detects that the subway train code service is not opened, and the payment application can display an "open" option in the subway train code interface, and the user clicks the "open" option. And the payment application responds to the received user operation and opens the subway train code service. After the subway train taking code service is opened, the payment application displays the subway train taking code in the subway train taking code interface.
In the embodiment of the present application, the display interface 601 is only taken as a desktop for illustration, and in other embodiments, the display interface 601 may be other interfaces.
In one example, as shown in fig. 7a (1), the handset is in a locked state. A ride card 702 may be displayed in the lock screen interface 701 of the cell phone. The positions shown can be set according to actual requirements, the application is not limited, and other descriptions can refer to the related descriptions of fig. 6, which are not repeated here. Optionally, if the mobile phone is in the off-screen state, the mobile phone can switch to the on-screen state, and the riding card is displayed on the on-screen interface.
In another example, as shown in fig. 7a (2), the user may slide the cell phone display to display the negative one-screen interface 703. A ride card 704 may be displayed in the negative one-screen interface 703 of the cell phone. Other descriptions may be referred to in the relevant description of fig. 6, and are not repeated here. Optionally, the handset may also display the ride card in a drop down menu.
In yet another example, as shown in fig. 7b (1), the interface currently displayed by the handset is a chat application (and possibly other applications, the application is not limited to) interface, and as shown in fig. 7b (2), a ride card 706 is displayed in the chat application interface 705 of the handset. Optionally, in this scenario, if the user does not operate the card 706 for a preset period of time (e.g., within 5 seconds), or if the user slides up the bottom of the card 706 (other gestures may be provided according to the actual requirements, the application is not limited), the mobile phone cancels the display of the card 706 on the current interface (e.g., chat application interface). For example, when the mobile phone exits the current application interface in response to a received user operation and displays the desktop, the mobile phone may display the ride card on the desktop.
In yet another example, as shown in fig. 7c (1), the interface currently displayed by the handset is a chat application interface. As shown in fig. 7c (2), a hover control 707 is displayed in the chat application interface 705 of the handset. Optionally, a subway travel icon (e.g., a black circle in hover space 707) may be included in hover control 707 to indicate that hover control 707 corresponds to a subway ride service to distinguish from other hover controls. Illustratively, the user clicks hover control 707. As shown in fig. 7c (2), the smart travel service expands and displays the hover control 707 in response to the received user operation. Optionally, the deployed suspension control 707 includes, but is not limited to, at least one of: the current site name (e.g., national library station), the corresponding service name (e.g., subway ride code), and the swipe code option 7071. For example, the user may click on the swipe code option 7071 to cause the phone to jump to the subway train code interface, and specific details are referred to above and will not be repeated here. Alternatively, in other embodiments, if the smart travel service does not receive the user clicking on the hover control 707 within a predetermined time period (e.g., 5 s) after displaying the hover control 707 in the display interface of the mobile phone, the smart travel service hides the hover 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 the 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 yet another example, the suspension control 707 may fade the display, and the fade level may be set according to actual requirements, which is not limited by the present application. When the application interface is displayed, if the subway riding card needs to be ejected or the suspension control is needed, the corresponding display mode can be selected according to the application setting. For example, when a cell phone displays a video application, a subway ride card may be displayed. When the mobile phone displays the video picture in a full screen mode, the suspension control can be displayed, and the suspension control 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 floating control 707 shown in fig. 7c are only illustrative examples, and the present application is not limited thereto.
Alternatively, the cell phone may display the ride card on at least one of the interfaces (desktop, lock screen, negative one screen, etc.). For example, the mobile phone may display the ride card at the lock screen interface and the desktop, i.e., the mobile phone displays the ride card at the lock screen interface, the mobile phone displays the desktop in response to the received unlock operation, the desktop including the ride card therein.
In one possible implementation, while the smart travel service displays the ride card 602, the reminder may also be made by at least one of: vibration cues, sound cues (cue tones may be played through speakers or headphones), screen blinking cues, indicator light blinking cues, and the like.
In another possible implementation, the cards displayed in the display interface of the mobile phone may include a plurality of cards, including, for example, a flight travel card, a take-away reminder card, 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 cell phone include a flight travel card and a take-away reminder card. The mobile phone can display the current two cards in a training way. Assuming that the flight travel card is currently displayed, the smart travel service generates the riding card 602 and then displays the riding card 602 on top, i.e. the currently displayed card is the riding card 602, and other cards are superimposed under the riding card 602.
In one possible implementation, the smart travel service may pop up the ride card after determining the high precision fence trigger. In another example, the smart travel service may eject the ride card if it is determined that the current stop is the first stop.
In another possible implementation, if the smart travel service is turned off, the smart travel service may send indication information to the sensing module for indicating that all pens are released. The sensing module is used for responding to the received operation and releasing all the fences. For example, referring to FIG. 7d (1), the intelligent helper service interface 708 (i.e., intelligent travel service) includes, but is not limited to, one or more controls, including, for example, an intelligent voice option, an intelligent visual option, an intelligent screen option, and a "YOYO advice" option. The user may click on the "yoyoyo suggestion" option. As shown in fig. 7d (2), the mobile phone receives the user operation, and displays the YOYO advice interface 709. One or more options may be included in yoyoyo advice interface 709 including, but not limited to, for example, a flight travel option, a calendar option, a subway ride option, and more options 7091. Optionally, each option may include a status of a corresponding service. For example, the subway ride option is in an on state, and then the subway ride option displays "on" to indicate that the subway ride option is in an on state. The user may click on the subway ride option. As shown in fig. 7d (3), the handset displays a service management interface 710 in response to the received user operation. Related options for subway ride services may be included in the service management interface 710, including, for example, a subway ride option (which may also be referred to as an on/off option), a card set option, a hover window option, a notification option, a headset broadcast option, and the like. The subway riding code option is used for starting or closing subway travel reminding service. If the service is closed, the intelligent travel service releases all the metro travel related fences. The deck option is used to turn on or off ride deck cues. 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 to turn on or off the floating window display mode, and as described above, the subway riding service can be displayed in the interface in the form of a floating control, and the function is turned on, so that the subway riding service is allowed to be displayed in the floating window mode. If the function is off, display in a floating window 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 the subway riding code option, the mobile phone responds to the received user operation to close the subway riding code service, that is, close all the services related to the subway travel, and release the rails related to the subway travel, that is, all the rails related to the embodiment of the application.
In yet another possible implementation, as described above, the pens of the sensing module are all subscribed to after the indication of the smart travel service, in other embodiments, the smart travel service may send an indication of the subscribed pens to the sensing module, which may subscribe to all of the pens described above based on the indication of the smart travel service, and detect the pens in the order of execution among the pens. For example, the sensing module may subscribe to the swipe code recording fence after detecting a city fence trigger.
It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. The present application can be implemented in hardware or a combination of hardware and computer software, in conjunction with the example algorithm steps described in connection with the embodiments disclosed herein. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches 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 one example, fig. 8 shows a software architecture 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 employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated. The layered architecture of the electronic device divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries (not shown), and a kernel layer.
The application layer may include a series of application packages. As shown in fig. 8, the application package may include applications such as smart travel services, payment applications, chat applications, awareness modules, and the like.
Illustratively, the perception module operates resident or in a low power form, having the ability to perceive an external fact or environment, providing that ability to other modules in the form of a "fence". Such as "time-varying" time-fences, geo-location-aware "geo-location fences," etc. When the card reminding service is in an on state, the sensing module monitors the capacity (or matters such as specific time, specific place or specific event) registered by the service logic processing module, and if a user triggers one of the capacity, the sensing module sends a notification to the service logic processing module. In addition, the sensing module may also detect related events and acquire status of events from other application or application framework layers or system layers or kernel layers of the application layer through an API (application programming interface ), such as detecting bluetooth connection, network connection, monitoring user sms, customizing timers, etc.
By way of example, the smart travel service may include a business logic processing module and a business presentation module. The business logic processing module is used for core business calculation, subscribing different fences to the sensing module, sensing scene change according to fence events, combining user interaction information provided by the business presentation module, calling a rule or algorithm model defined by the business scene, and deciding which service information and presentation modes (cards, notices, earphone broadcasting and the like) are pushed to the user. And sending the service information to a service presentation module for presentation to the user. The business presentation module is used for user interface interaction and result display. The service presentation module can receive the display and disappearance instruction and corresponding data of the card, the notification, the earphone broadcasting and the like sent by the service logic processing module, and display or disappearance of the card, the notification and the broadcasting is carried out. And the service logic processing module is used for transmitting the user interaction information (such as user clicking, sliding card and the like) to the service logic processing module for making a next service decision. It may be understood that, in the embodiment of the present application, the display-related steps performed by the smart trip service are performed by the service presentation module, and the other steps are performed by the service logic processing module.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs 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, a resource manager, and the like.
The kernel layer comprises: display drive, wi-Fi drive, bluetooth drive, audio drive, sensor drive, etc.
It will be appreciated that the layers and components contained in the layers in the software structure shown in fig. 8 do not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the application is not limited.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (28)

1. A subway trip detection method, characterized in that it is applied to an electronic device, the method comprising:
subscribing to a city fence, wherein the city fence is used for indicating at least one city, and the at least one city is a city supporting subway travel detection;
detecting that the city in which the electronic equipment is located is one of the at least one city, and determining that the city fence is triggered; when detecting that the city in which the electronic equipment is located is not one of the at least one city, the subsequent processing flow of the subway travel detection method is not executed any more;
after the urban fence is triggered, subscribing a brushing code recording fence, wherein the brushing code recording fence is used for indicating the electronic equipment to ride by using the subway riding code brushing code;
detecting that the electronic equipment stores a brushing code record, and determining the triggering of a brushing code record fence; when the fact that the electronic equipment does not store the brush code record is detected, the subsequent processing flow of the subway trip detection method is not executed any more;
after triggering the code brushing record fence, subscribing a scene fence, wherein the scene fence is used for indicating at least one of a daily stay scene and a sleep scene; the daily stay scene is used for indicating a scene that a user does not need to take a subway;
Detecting that the electronic equipment is not in any scene indicated by the scene fence, and determining that the scene fence is triggered; when the electronic equipment is detected to be in any scene indicated by the scene fence, the subsequent processing flow of the subway trip detection method is not executed any more;
after the scene fence is triggered, subscribing a motion state fence, wherein the motion state fence is used for indicating the motion state of the electronic equipment to be a walking state;
detecting that the motion state of the electronic equipment is a walking state, and determining the motion state fence trigger; when detecting that the motion state of the electronic equipment is not the walking state, continuously detecting whether the motion state fence is triggered or not;
after the movement state fence is triggered, periodically or triggered scanning nearby cellular networks, and matching the identification of the base station accessed by the electronic equipment with the cellular network corresponding to each subway station;
at a first position, the identification of a first base station accessed by the electronic equipment is not matched with the cellular network corresponding to each subway station;
when the electronic equipment is moved from the first position to the second position, if the electronic equipment is unchanged from the accessed base station, the electronic equipment is not processed;
When the electronic equipment is moved from the second position to a third position, if a base station accessed by the electronic equipment is switched from the first base station to a second base station, matching the identification of the second base station with a cellular network corresponding to each subway station;
if the identification of the second base station is matched with the cellular network corresponding to the target subway station, executing Wi-Fi network scanning operation, and matching the identification information of the scanned Wi-Fi access points with Wi-Fi networks corresponding to the subway stations;
at the fourth position, the Wi-Fi network is not scanned, or the identification information of the scanned Wi-Fi access point is not matched with the Wi-Fi network corresponding to each subway station;
scanning for a target Wi-Fi access point when the electronic device is moved from the fourth location to a fifth location;
if the identification information of the target Wi-Fi access point is matched with the Wi-Fi network corresponding to the target subway station, acquiring the latest brushing code record, and displaying the subway riding card when the latest brushing code record is an outbound;
when the electronic equipment is moved from the third position to the sixth position, if the base station accessed by the electronic equipment is switched from the second base station to the third base station, the identification of the third base station is not matched with the cellular network corresponding to each subway station, and the Wi-Fi network scanning operation is stopped.
2. The method of claim 1, wherein the city fence is used to indicate a geographic extent of each of the at least one city.
3. The method of claim 2, wherein after subscribing to the city fence, comprising:
acquiring first geographic position information of the electronic equipment;
determining, based on the first geographic location information, that the electronic device is not within a geographic range of the at least one city;
acquiring second geographic position information of the electronic equipment; the first geographic location information is different from the second geographic location information;
based on the second geographic location information, it is determined that the electronic device is within a geographic range of the at least one city.
4. The method of claim 1, wherein the daily stay scenario comprises at least one of a home scenario and a corporate scenario.
5. The method of claim 4, wherein the daily stay scenario comprises the home scenario, and wherein the scenario fence comprises at least one of home network information and home geographic location information.
6. The method of claim 5, wherein the home network information comprises at least one of:
Bluetooth network information of a home scene, wi-Fi network information of a home scene, cellular network information of a home scene.
7. The method of claim 4, wherein the corporate scene is included in the daily stay scene, and wherein the scene fence includes at least one of corporate network information and corporate geographic location information.
8. The method of claim 7, wherein the corporate network information includes at least one of:
bluetooth network information of a company scene, wi-Fi network information of the company scene, and cellular network information of the company scene.
9. The method of claim 6, wherein if the context fence includes home network information, the subscribing to the context fence comprises:
acquiring first network information of a first network connected with the electronic equipment;
detecting that the first network information is the same as the home network information, and determining that the electronic equipment is in the home scene;
acquiring second network information of a second network connected with the electronic equipment; the first network is different from the second network;
and detecting that the second network information is different from the home network information, and determining that the electronic equipment is not in the home scene.
10. The method of claim 6, wherein if the context fence includes home geographic location information, the subscribing to the context fence comprises:
acquiring third geographic position information of the electronic equipment;
detecting that the third geographic position information is in the geographic range indicated by the family geographic position information, and determining that the electronic equipment is in the family scene;
acquiring fourth geographic position information of the electronic equipment; the fourth geographic location information is different from the third geographic location information;
and detecting that the fourth geographic position information is not in the geographic range indicated by the family geographic position information, and determining that the electronic equipment is not in the family scene.
11. The method of claim 1, wherein the scene fence is used to indicate the sleep scene, and wherein the scene fence includes a sleep period corresponding to the sleep scene.
12. The method of claim 11, wherein after subscribing to a context fence, comprising:
at a first time, acquiring a current time as the first time;
detecting that the first time is in a sleep time period indicated by the scene fence, and determining that the electronic equipment is in the sleep scene;
Acquiring the current time as second time at second time, wherein the second time is different from the first time;
and detecting that the second time is not in the sleep time period indicated by the scene fence, and determining that the electronic device is not in the sleep scene.
13. The method of claim 1, wherein the athletic status rail includes a range of walking status thresholds, and wherein the subscribing to an athletic status rail is followed by:
acquiring a first motion state of the electronic equipment;
detecting that the first motion state does not meet the walking state threshold range, and determining a motion state non-walking state of the electronic equipment;
acquiring a second motion state of the electronic equipment;
and detecting that the second motion state meets the walking state threshold range, and determining that the motion state of the electronic equipment is a walking state.
14. The method of claim 1, further comprising, after the motion state fence is triggered:
subscribing to a subway fence comprising one or more of a subway station rough precision fence, a high precision fence, and an indoor fence;
the coarse precision fence is used for indicating that the electronic equipment is located near a subway station;
The high-precision fence is used for indicating that the electronic equipment is located near a gate of a subway station;
the indoor fence is used for indicating that the electronic equipment is located in a subway station;
and displaying the subway riding card after determining that the subway fence is triggered.
15. The method of claim 14, wherein subscribing to the subway rail comprises:
subscribing to the coarse precision fence;
detecting that the electronic equipment is positioned near a target subway station, and determining coarse precision fence triggering corresponding to the target subway station;
subscribing the high-precision fence corresponding to the target subway station after triggering the coarse-precision fence corresponding to the target subway station;
detecting that the electronic equipment is positioned near a gate of the target subway station, and determining the high-precision fence trigger;
subscribing the indoor fence after triggering the high-precision fence;
and detecting that the electronic equipment is positioned in the target subway station, and determining that the indoor fence is triggered.
16. The method of claim 15, wherein the coarse precision fence comprises at least one of cellular network information and geographic location information of a subway station.
17. The method of claim 16, wherein the coarse precision fence comprises cellular network information for each subway station within a city where the electronic device is located, and wherein after subscribing to the coarse precision fence, comprises:
Acquiring first cellular network information of a first cellular network connected with the electronic equipment;
and determining that the electronic equipment is positioned near the target subway station based on the first cellular network information and the cellular network information of the subway station indicated by the coarse precision fence.
18. The method of claim 16, wherein the coarse precision fence comprises geographic location information of a subway station, and wherein the subscribing to the coarse precision fence comprises:
acquiring fifth geographic position information of the electronic equipment;
and determining that the electronic equipment is positioned near the target subway station based on the fifth geographic position information and the geographic position information of the subway station indicated by the coarse precision fence.
19. The method of claim 15, wherein the high precision fence comprises wireless network information of the target subway station.
20. The method of claim 19, wherein the wireless network information of the subway station comprises at least one of bluetooth network information of the subway station and Wi-Fi network information of the subway station.
21. The method of claim 20, wherein after subscribing to the high precision fence, comprising:
Acquiring first wireless network information of a first wireless network detected by the electronic equipment;
and determining that the electronic equipment is positioned near a gate of the target subway station based on the first wireless network information and the wireless network information of the subway station indicated by the high-precision fence.
22. The method of claim 15, wherein the indoor fence comprises at least one of a lighting threshold and a satellite state threshold, the satellite state threshold comprising a satellite quantity threshold and a satellite communication quality threshold.
23. The method of claim 22, wherein the indoor fence comprises the illumination threshold, and wherein after subscribing to the indoor fence, comprising:
acquiring illumination information of the electronic equipment;
and determining that the electronic equipment is positioned in the target subway station based on the illumination information and the illumination threshold value.
24. The method of claim 22, wherein the indoor fence comprises the satellite state threshold, and wherein the subscribing to the indoor fence comprises:
acquiring the number of satellites searched by the electronic equipment and the communication quality parameters between the satellites;
And detecting that the number of the satellites searched by the electronic equipment meets the satellite number threshold value, and/or detecting that the communication quality parameters between the electronic equipment and the searched satellites meet the satellite communication quality threshold value, and determining that the electronic equipment is positioned in the target subway station.
25. The method of claim 15, wherein prior to subscribing to the indoor fence, comprising:
acquiring a brushing code record stored in the electronic equipment;
detecting whether the last brushing code record recorded in the brushing code records is an outbound;
and detecting the last code brushing record as the outbound, determining the target subway station as the starting station of the subway trip, and subscribing the indoor fence.
26. The method of claim 1, wherein the subway ride card includes a name and a brush code option for a first subway station.
27. The method of claim 26, wherein the method further comprises:
responding to the received operation of clicking the code brushing option, and displaying a subway riding code interface; the subway riding code interface comprises a subway riding code; the subway riding code is a two-dimensional code or a bar code.
28. 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, which when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-27.
CN202111459193.3A 2021-12-01 2021-12-01 Subway travel detection method and electronic equipment Active CN115022449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111459193.3A CN115022449B (en) 2021-12-01 2021-12-01 Subway travel detection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111459193.3A CN115022449B (en) 2021-12-01 2021-12-01 Subway travel detection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115022449A CN115022449A (en) 2022-09-06
CN115022449B true CN115022449B (en) 2023-11-24

Family

ID=83064721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111459193.3A Active CN115022449B (en) 2021-12-01 2021-12-01 Subway travel detection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115022449B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142112A (en) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 Method and device for automatically detecting subway environment and automatically announcing stops with mobile terminal
CN110349428A (en) * 2019-08-15 2019-10-18 北京元光智行信息技术有限公司 Whether identification user is going to the method and device of bus station
CN111459569A (en) * 2020-03-26 2020-07-28 Oppo广东移动通信有限公司 Fast traffic method, device, electronic equipment and storage medium
CN113115211A (en) * 2021-04-23 2021-07-13 荣耀终端有限公司 Multilayer fence construction method, cloud server and first terminal device
CN113691933A (en) * 2021-08-12 2021-11-23 荣耀终端有限公司 Use method and device of multilayer fence and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142112A (en) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 Method and device for automatically detecting subway environment and automatically announcing stops with mobile terminal
CN110349428A (en) * 2019-08-15 2019-10-18 北京元光智行信息技术有限公司 Whether identification user is going to the method and device of bus station
CN111459569A (en) * 2020-03-26 2020-07-28 Oppo广东移动通信有限公司 Fast traffic method, device, electronic equipment and storage medium
CN113115211A (en) * 2021-04-23 2021-07-13 荣耀终端有限公司 Multilayer fence construction method, cloud server and first terminal device
CN113691933A (en) * 2021-08-12 2021-11-23 荣耀终端有限公司 Use method and device of multilayer fence and storage medium

Also Published As

Publication number Publication date
CN115022449A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN114489868B (en) Subway trip detection method and electronic equipment
CN102017744B (en) Delayed emergency position determination and transmission
CN107071799A (en) Network section collocation method and device, wireless access network RAN node and terminal
US10681521B1 (en) Method and apparatus for emergency alert in networks
CN111629337B (en) Method and terminal for controlling network searching
US8804680B2 (en) System and method for managing wireless connections and radio resources
CN108924364A (en) Message prompt method, mobile terminal and computer readable storage medium
KR20190057384A (en) Network access method for roaming service of mobile terminal and mobile terminal
CN105933882A (en) Emergency call device and method
CN116029719B (en) Payment service recommendation method, electronic device and storage medium
CN105939517B (en) A kind of method and apparatus preventing mobile terminal access pseudo-base station
CN110300420A (en) A kind of quick method for searching network, mobile terminal and storage medium
CN106210249A (en) Intelligent terminal's mode switching method and device
CN109275146A (en) A kind of pseudo-base station detection method, terminal and computer readable storage medium
CN109862607B (en) Network recommendation method and mobile terminal
CN106412265B (en) Method for pushing and device are reminded in interaction based on location information
CN115038032B (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
CN114173325B (en) Detection method and device of Bluetooth positioning device and storage medium
CN115022448B (en) Subway trip detection method and electronic equipment
CN115022461B (en) Subway trip detection method and electronic equipment
CN115022449B (en) Subway travel detection method and electronic equipment
CN105126339B (en) A kind of game control device and method
CN116033343B (en) Card display method and electronic equipment
CN105959301A (en) Method and system for optimizing multimedia call

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