CN116233749B - Message pushing method, mobile terminal and computer readable storage medium - Google Patents

Message pushing method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN116233749B
CN116233749B CN202310520468.2A CN202310520468A CN116233749B CN 116233749 B CN116233749 B CN 116233749B CN 202310520468 A CN202310520468 A CN 202310520468A CN 116233749 B CN116233749 B CN 116233749B
Authority
CN
China
Prior art keywords
user
geofence
mobile terminal
preset
message
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
CN202310520468.2A
Other languages
Chinese (zh)
Other versions
CN116233749A (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 CN202310520468.2A priority Critical patent/CN116233749B/en
Publication of CN116233749A publication Critical patent/CN116233749A/en
Application granted granted Critical
Publication of CN116233749B publication Critical patent/CN116233749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a message pushing method, a mobile terminal and a computer readable storage medium, and relates to the technical field of Internet. After the user carries the mobile terminal into a certain preset geofence, the mobile terminal can collect and analyze the activity characteristics of the user in the preset geofence. Wherein the activity characteristic is a movement condition of the user carrying the mobile terminal within a preset geofence. Then, whether the activity characteristics of the user meet the preset activity conditions is judged. If the activity characteristics of the user meet the preset activity conditions, the user is indicated to have a high probability of executing corresponding services in the preset geofence, namely the activity intention of the user is to execute the corresponding services in the preset geofence. Therefore, the accuracy of message pushing can be improved, the interference of unnecessary message pushing on a user is reduced, and the user experience is improved. Moreover, the mobile terminal can reduce unnecessary message pushing and reduce power consumption generated by the mobile terminal to a certain extent.

Description

Message pushing method, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a message pushing method, a mobile terminal, and a computer readable storage medium.
Background
Geofencing (Geo-fencing) is a virtual geographic boundary surrounded by a virtual fence. When a user carries the mobile terminal into, out of or active in a specific geographic area, the mobile terminal can automatically push corresponding prompt messages based on the geofence in which the mobile terminal is located. For example, when the mobile terminal detects that the user carries the mobile terminal into the geofence a, the mobile terminal can push the prompt message corresponding to the geofence a, and when the mobile terminal detects that the user carries the mobile terminal into the geofence B, the mobile terminal can push the prompt message corresponding to the geofence B.
Currently, a mobile terminal provides a pushing service for a user based on a geofence, and the pushing service of a prompt message is triggered after the user is detected to enter the geofence. However, in some scenarios, the user holds the mobile terminal and may simply pass through the geofence without entering the geofence to execute the service, and if the mobile terminal detects that the user enters the geofence, the mobile terminal triggers the prompt message pushing service corresponding to the execution service, which may cause interference to the user and affect the user experience. In addition, the mobile terminal recommends prompt information which is not needed by the user to the user, and the power consumption generated by the mobile terminal can be increased to a certain extent.
Disclosure of Invention
The embodiment of the application provides a message pushing method, a mobile terminal and a computer readable storage medium, which are used for improving the accuracy of message pushing, reducing the interference of unnecessary message pushing on a user, improving the user experience, reducing the unnecessary message pushing and reducing the power consumption generated by the mobile terminal to a certain extent.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
in a first aspect, a message pushing method is provided, and the method is applied to a mobile terminal, and includes: the mobile terminal monitors a wireless signal detected by the mobile terminal or a resident cell, and acquires an identifier of the monitored wireless signal or an identifier of the cell; the mobile terminal judges whether the activity characteristics of the user in the first preset geofence meet preset activity conditions or not under the condition that the mobile terminal enters the first preset geofence based on the monitored identification; the activity characteristic is the movement condition of the user carrying the mobile terminal in a preset geofence; if the activity characteristics of the user in the first preset geofence meet the preset activity conditions, the mobile terminal pushes a message to the user in a first message pushing mode, wherein the message is used for reminding the user of the service to be executed in the first preset geofence.
In the scheme, the mobile terminal does not trigger the message pushing service corresponding to the execution service when detecting that the user enters the geofence, but pushes the information corresponding to the preset activity intention to the user only when detecting that the user enters the geofence and the activity characteristics of the user meet certain conditions. Therefore, the accuracy of message pushing can be improved, the interference of unnecessary message pushing on a user is reduced, and the user experience is improved. In addition, the mobile terminal recommends prompt information needed by the user to the user, unnecessary message pushing is reduced, and power consumption generated by the mobile terminal can be reduced to a certain extent.
With reference to the first aspect, in one possible design manner, after the mobile terminal pushes the message to the user in the first message pushing manner, the method further includes: and under the condition that the mobile terminal enters a second preset geofence based on the monitored identification, pushing a message to a user by the mobile terminal in a second message pushing mode, wherein the range of the second preset geofence is smaller than that of the first preset geofence.
And under the condition that the mobile terminal enters the first preset geofence based on the monitored identification, if the activity characteristics of the user in the first preset geofence meet the preset activity conditions, the mobile terminal pushes the message to the user in a first message pushing mode. And under the condition that the mobile terminal enters the second preset geofence based on the monitored identification, the mobile terminal pushes the message to the user in a second message pushing mode. In this way, the mobile terminal pushes the message for reminding the user of the service to be executed in the first preset geofence to the user in the double geofences, so that the situation that the user forgets to execute the service is reduced, and the user experience is improved.
With reference to the first aspect, in one possible design manner, when the mobile terminal determines, based on the monitored identifier, that the mobile terminal enters the second preset geofence, the mobile terminal pushes a message to the user in a second message pushing manner, where the method includes: the mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, and pushes the message to the user in a second message pushing mode under the condition that the service corresponding to the second preset geofence exists.
And under the condition that the mobile terminal enters the first preset geofence based on the monitored identification, if the activity characteristics of the user in the first preset geofence meet the preset activity conditions, the mobile terminal pushes the message to the user in a first message pushing mode. The mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, and pushes the message to the user in a second message pushing mode under the condition that the service corresponding to the second preset geofence exists. Therefore, the mobile terminal can push the message used for reminding the user of the service to be executed in the first preset geofence to the user in the double geofences, the situation that the user forgets to execute the service is reduced, the user experience is improved, and further, the mobile terminal can push the message to the user in a second message pushing mode only when determining that the mobile terminal enters the second preset geofence and the service corresponding to the second preset geofence exists, the pushing accuracy of the message is improved, and the user experience is further improved.
With reference to the first aspect, in one possible design manner, when the mobile terminal determines, based on the monitored identifier, that the mobile terminal enters the second preset geofence, the mobile terminal pushes a message to the user in a second message pushing manner, where the method includes: and the mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, and pushes the message to the user in a second message pushing mode when the time of the mobile terminal moving in the second preset geofence is greater than a preset time threshold.
And under the condition that the mobile terminal enters the first preset geofence based on the monitored identification, if the activity characteristics of the user in the first preset geofence meet the preset activity conditions, the mobile terminal pushes the message to the user in a first message pushing mode. And the mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, and pushes the message to the user in a second message pushing mode when the time of the mobile terminal moving in the second preset geofence is greater than a preset time threshold. Therefore, the mobile terminal can push the message for reminding the user of the service to be executed in the first preset geofence to the user in the double geofences, the situation that the user forgets to execute the service is reduced, and the user experience is improved. Further, when the mobile terminal is determined to enter the second preset geofence, and the moving time of the mobile terminal in the second preset geofence is greater than the preset time threshold, the mobile terminal can push the message to the user in a second message pushing mode, so that the message pushing accuracy is improved, and the user experience is further improved.
With reference to the first aspect, in one possible design manner, the method further includes: the mobile terminal judges whether a service corresponding to the first preset geofence exists or not under the condition that the activity characteristics of the user in the first preset geofence are judged to not meet the preset activity conditions; and under the condition that the mobile terminal judges that the service corresponding to the first preset geofence exists, the mobile terminal pushes the message to the user in a first message pushing mode.
Even if the mobile terminal judges that the activity characteristics of the user in the first preset geofence do not meet the preset activity conditions, the mobile terminal judges whether the service corresponding to the first preset geofence exists or not, and pushes the message to the user in a first message pushing mode when the mobile terminal judges that the service corresponding to the first preset geofence exists, so that the message pushing accuracy can be improved, and the user experience is further improved. With reference to the first aspect, in one possible design manner, the preset activity condition includes any one or more of the following:
the mobile terminal detects that N wireless signals or resident cells switched are wireless signals or resident cells in a preset geofence, and N is larger than a first preset threshold; the mobile terminal detects that the mobile terminal does not leave the first preset geofence within a preset time period, wherein the preset time period is greater than a second preset threshold; the distance between the mobile terminal and the location of the service to be executed is smaller than a preset distance threshold.
With reference to the first aspect, in one possible design manner, the first message pushing manner is to display a message in a text manner on a display interface of the mobile terminal or push the message to a user by using a suspension ball, vibration or earphone broadcasting manner by the mobile terminal.
With reference to the first aspect, in one possible design manner, the first message pushing manner is to display a message in a text manner on a display interface of the mobile terminal, and the second message pushing manner is to push the message to the user by using a suspension ball, vibration or earphone broadcasting manner by the mobile terminal.
In a second aspect, a mobile terminal is provided, the mobile terminal comprising a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute code instructions to perform the method of conditioning an audio signal as in any of the possible designs of the first aspect.
In a third aspect, a computer readable storage medium is provided, in which instructions are stored which, when run on a computer, cause the computer to perform a method of conditioning an audio signal as in any of the possible designs of the first aspect.
In a fourth aspect, there is provided a computer program product comprising computer programs/instructions which when executed by a processor implement the method of any one of the possible designs of the first aspect.
The technical effects caused by any one of the design manners of the second aspect, the third aspect and the fourth aspect may be referred to the technical effects caused by the different design manners of the first aspect, which are not described herein.
Drawings
FIG. 1 shows a schematic diagram of a geofence configuration;
fig. 2 shows a schematic diagram of the structure of the mobile phone 100;
FIG. 3 illustrates a schematic view of a scenario in which a user passes through a geofence corresponding to an express delivery receiving point;
fig. 4 shows a schematic view of a scenario in which a user goes to an express receiving point to take an express;
FIG. 5 shows a flow diagram of a message pushing method;
FIG. 6 shows a schematic view of a user entering a cache scope;
FIG. 7 is a schematic view of a user entering a view range of a view;
FIG. 8 shows a negative one-screen user interface schematic;
FIG. 9 shows a drop down menu user interface schematic;
FIG. 10 illustrates a schematic view of a scenario in which a user passes from a corresponding geofence of a subway station;
FIG. 11 shows a schematic view of a user going to a subway station to take a subway;
FIG. 12 is a flow diagram of a message pushing method;
FIG. 13 shows a schematic representation of a subway by-product scenario in which a user enters a subway by-product range;
FIG. 14 is a flow diagram of a message pushing method;
FIG. 15 illustrates a schematic view of a scenario in which a user has traversed from a corresponding geofence of an office building;
fig. 16 shows a schematic view of a scenario in which a user goes to an office building to perform a work punch card;
FIG. 17 is a flow diagram of a message pushing method;
FIG. 18 is a schematic diagram of a card punch scenario in which a user enters a card punch range;
fig. 19 shows a software block diagram of the mobile phone 100;
FIG. 20 is a schematic diagram showing the interaction flow of the software modules in the mobile phone 100;
fig. 21 shows a schematic interaction flow of each software module in the mobile phone 100;
fig. 22 shows a schematic interaction flow of software modules in the mobile phone 100.
Detailed Description
The following description of the technical solutions according to the embodiments of the present application will be given with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The following terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature.
In embodiments of the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the embodiment of the present application, "and/or" is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In the description of the present application, it should be noted that, unless explicitly stated and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; the specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
In order to better explain the technical scheme of the application, the following brief summary of terms related to the application is provided.
(1) And (3) a base station: the base station is a public mobile communication base station, and is a radio transceiver station provided on the network side of the mobile communication system for completing radio signal transmission with the mobile terminal.
(2) Sector: a sector is a wireless signal coverage area emitted by a base station and covering a certain geographical area, and is a division of the wireless signal coverage area of the base station. Each sector uses one or more carrier frequencies with specific frequency points (carrier frequency refers to the frequency of a usable carrier wave of a base station, for example, N carrier waves, n=1, 3,6, …) to complete coverage.
A sector is a geographical area covered by a single antenna under a base station, and it can be considered that an antenna corresponds to a sector, a base station using a single omni-directional antenna has only one sector, and a base station using a directional antenna generally has three sectors. For example, fig. 1 shows a schematic diagram of a geofence configuration, as shown in fig. 1, a base station may include three sectors.
(3) Cell (cell): also called a cell, an ideal shape is a regular hexagon, which means an area covered by one of the base stations or a part of the base stations (sector antenna) in a cellular mobile communication system, in which a mobile station can reliably communicate with the base station through a wireless channel. A cell is a logic concept under a sector, and the cell can define a plurality of cells under one sector based on different carrier frequencies and scrambling codes; one sector may correspond to a plurality of cells. For example, as shown in fig. 1, one base station may include a plurality of cells.
(4) Base station area: coverage of a base station. Now under a macro station, there are typically 3 sectors, i.e. a base station area is equal to the sum of the coverage of 3 sectors.
(5) Cell Identity (Cell id): in order to uniquely represent each cell in a gsm plmn, the network operator needs to assign a code to all cells in the network, namely: cell identification (cell id), which is combined with a location area identity (LAC), is used to identify each BTS (base transceiver site) in the network and the cell it covers.
(6) Geofence (Geo-fencing): geofences are a virtual geographic boundary bounded by a virtual fence. The geofence includes a geographic area covered by a plurality of pre-set base station cells and/or a plurality of pre-set wireless signals (e.g., bluetooth signals, WIFI signals). For example, as shown in fig. 1, the geofence includes a geographic area within a circular dashed box covered by a plurality of preset base station cells and/or a plurality of preset wireless signals (e.g., bluetooth signals, WIFI signals), it being understood that the circular dashed box is merely exemplary, and in a general scenario the geofence may be of any shape. It should be noted that the geofence is not necessarily limited by the coverage of WIFI signals and/or bluetooth signals, and the geofence may be a card-punching georange defined by longitude and latitude. In this way, the mobile terminal may also determine whether the mobile terminal enters a certain geographical area through the global positioning system (Global Positioning System, GPS). However, in general, the geofence is defined by the coverage range of the WIFI signal and/or the bluetooth signal, so that compared with the method that the mobile terminal is determined whether to enter a certain geographic range through the GPS, the method can save cost if the mobile terminal is determined whether to enter the certain geographic range through the identification of the WIFI signal and/or the bluetooth signal.
As in the previous background: currently, a mobile terminal provides a pushing service for a user based on a geofence, and the pushing service of a prompt message is triggered after the user is detected to enter the geofence. However, in some scenarios, the user may simply pass through the geofence, rather than enter the geofence to execute the service, and if the mobile terminal detects that the user enters the geofence, the mobile terminal triggers the prompt message pushing service corresponding to the execution service, which may cause interference to the user and affect the user experience. In addition, the mobile terminal recommends prompt information which is not needed by the user to the user, and the power consumption generated by the mobile terminal can be increased to a certain extent.
In order to solve the foregoing technical problems, an embodiment of the present application provides a message pushing method: after the user carries the mobile terminal into a certain preset geofence, the mobile terminal can collect and analyze the activity characteristics of the user in the preset geofence. Wherein the activity characteristic is a movement condition of the user carrying the mobile terminal within a preset geofence. Then, whether the activity characteristics of the user meet the preset activity conditions is judged. If the activity characteristics of the user meet the preset activity conditions, the user is indicated to have a high probability of executing corresponding services in the preset geofence, namely the activity intention of the user is to execute the corresponding services in the preset geofence. For example, the preset activity condition may be that the N cells in which the mobile terminal detected the handover are cells in the preset geofence and N is greater than a first preset threshold. The mobile terminal detects that none has left the preset geofence for a preset period of time. The mobile terminal may then push information about the service to be performed corresponding to the preset geofence to the user, where the information includes a prompt message and/or service information to be performed corresponding to the preset geofence (e.g., pick-up code for picking up express, train code link for taking trains, and card interface link corresponding to on-duty and off-duty card applications).
The prompting message is used for prompting the user to execute the service to be executed corresponding to the preset geofence, and the service information to be executed corresponding to the preset geofence is used for facilitating the user to execute the service to be executed corresponding to the preset geofence. For example, the mobile terminal may display the foregoing information on a User Interface (User Interface), and push information corresponding to the preset activity intention to the User in a vibration, suspension, earphone broadcasting, or other manner.
In the scheme, the mobile terminal does not trigger the message pushing service corresponding to the execution service when detecting that the user enters the geofence, but pushes the information corresponding to the preset activity intention to the user only when detecting that the user enters the geofence and the activity characteristics of the user meet certain conditions. Therefore, the accuracy of message pushing can be improved, the interference of unnecessary message pushing on a user is reduced, and the user experience is improved. In addition, the mobile terminal recommends prompt information needed by the user to the user, unnecessary message pushing is reduced, and power consumption generated by the mobile terminal can be reduced to a certain extent.
The mobile terminal provided by the embodiment of the application may also be called a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc. The mobile terminal may be a mobile phone (mobile), a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) mobile terminal, an augmented reality (augmented reality, AR) mobile terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wearing and developing wearable devices by applying a wearable technology, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
In addition, in the embodiment of the application, the mobile terminal can also be a mobile terminal in an internet of things (internet of things, ioT) system, and the IoT is an important component of future information technology development. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the mobile terminal.
In the embodiment of the application, the mobile terminal can comprise a hardware layer, an operating system layer running on the hardware layer and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (central processingunit, CPU), a memory management unit (memory management unit, MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processes through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address book, word processing software, instant messaging software and the like.
The embodiment of the application is illustrated by taking the mobile terminal as a mobile phone. Fig. 2 shows a schematic diagram of a structure of the mobile phone 100, as shown in fig. 2, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriberidentification module, SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present application is not limited to the specific embodiment of the mobile phone 100. In other embodiments of the application, the handset 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. In the embodiment of the present application, the processor 110 determines whether the activity feature of the user meets the preset activity condition by analyzing the activity feature of the user in the preset geofence, if the activity feature of the user meets the preset activity condition, it indicates that the user has a high probability of executing the service to be executed corresponding to the preset geofence in the preset geofence, that is, the activity intention of the user is to execute the corresponding service in the preset geofence. The processor 110 then pushes information corresponding to the preset activity intention to the user. The message includes a prompt message and/or service information to be executed corresponding to a preset geofence (for example, a pickup code for picking up express, a riding code link for riding a subway, and a card punching interface link corresponding to a card punching application on duty and off duty), where the prompt message is used to prompt the user to execute the service to be executed corresponding to the preset geofence, and the service information to be executed corresponding to the preset geofence is used to facilitate the user to execute the service to be executed corresponding to the preset geofence.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is a schematic illustration, and does not limit the structure of the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the above embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the cell phone 100. The charging management module 140 can also supply power to the mobile phone through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The mobile phone 100 implements display functions through a GPU, a display 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrixorganic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dotlightemitting diodes, QLED), or the like. In some embodiments, the cell phone 100 may include 1 or N display screens 194, N being a positive integer greater than 1. In the embodiment of the present application, the display screen 194 may be used to display a message prompting the user to execute the service to be executed corresponding to the preset geofence.
The mobile phone 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
The handset 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation with the handset 100. The handset 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, handset 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the handset 100 and cannot be separated from the handset 100.
The message pushing method provided by the embodiment of the application will be described in detail by taking an express scene, a subway riding scene and a business card punching scene as examples.
The message pushing method provided by the embodiment of the application is described in detail below by taking geofences of different places established by base station cells (cells). It should be noted that, in general, the WIFI signal and/or the bluetooth signal in a region may be fixed, and the wireless signals such as the WIFI signal and/or the bluetooth signal may also be used to establish geofences in different places. Specifically, in other embodiments, if the geofence includes a plurality of base station cells and/or a geographic area covered by a plurality of wireless signals (e.g., bluetooth, WIFI), the monitored object may be a base station signal, a WIFI signal, a bluetooth signal, etc. The mobile phone 100 monitors the base station signal, the WIFI signal, the bluetooth signal, etc. to obtain the monitored base station cell identifier and/or the wireless signal identifier of the wireless signal, which is not limited herein.
Express scene
For example, fig. 3 shows a schematic view of a scenario in which a user passes from a geofence corresponding to an express delivery receiving point. As shown in fig. 3, after the mobile phone 100 detects that the user a walks into the geofence (e.g., the range encircled by the special-shaped solid line in fig. 3), the user a pushes the express information to the user to prompt the user to take the express. And the actual intention of the user A is not to go to the express receiving point to take the express, and the user just passes through the geofence. If the mobile phone 100 detects that the user enters the geofence, the mobile phone 100 pushes the express information to the user, which can cause interference to the user and affect the user experience, and the mobile phone 100 recommends the user with unnecessary information, which can increase the power consumption of the mobile phone 100 to a certain extent.
The message pushing method provided by the embodiment of the application can solve the technical problems to a certain extent, for example, fig. 4 shows a schematic view of a scenario in which a user goes to an express receiving point to take an express. As shown in fig. 4, after the user a walks to the geofence (e.g., the range encircled by the special-shaped solid line in fig. 4) corresponding to the express receiving point with the mobile phone 100, the mobile phone 100 detects that the user a walks into the geofence and the activity characteristics of the user a meet the preset activity condition, and then sends out the express taking information.
In this scheme, the mobile phone 100 does not need to trigger to get the message pushing service corresponding to the express delivery when detecting that the user enters the geofence corresponding to the express delivery receiving point, but can push to the user to get the message corresponding to the express delivery when detecting that the user enters the geofence corresponding to the express delivery receiving point and the activity characteristic of the user meets the preset activity condition, so that the accuracy of message pushing is improved, the interference of unnecessary message pushing on the user is reduced, the user experience is improved, and the mobile phone 100 recommends the user to request the message, so that the unnecessary message pushing is reduced, and the power consumption of the mobile phone 100 caused by the fact can be reduced to a certain extent.
The embodiment of the application provides a message pushing method aiming at an express fetching scene. Fig. 5 is a schematic flow chart of a message pushing method, and the flow includes the following steps:
Step 501: under the condition that the mobile phone 100 determines that the express service exists, the mobile phone 100 monitors a cell where the mobile phone 100 resides, and obtains a cell identification of the monitored cell.
In some embodiments, the manner in which the mobile phone 100 determines that the express delivery service exists may specifically include: if the mobile phone 100 detects that the application program installed on the mobile phone 100 has a message to be fetched of a commodity, the mobile phone 100 determines that the express fetching service exists.
Under the condition that the mobile phone 100 determines that the express service is available, the mobile phone 100 monitors a cell where the mobile phone 100 resides, and acquires a cell identifier of the monitored cell, so that the mobile phone 100 judges whether the mobile phone 100 enters the express geofence or not based on the monitored cell identifier, and further, under the condition that the mobile phone 100 judges that the mobile phone 100 enters the express geofence and the activity characteristics of the user meet the preset activity conditions, the express message can be pushed to the user, and the user can conveniently take the express.
In the embodiment of the present application, a cell refers to an area covered by one base station or a part (sector antenna) of the base station in a cellular mobile communication system.
Cell identity (cell id) is the identity of a cell in a geofence. Along with the movement of the user, the position of the mobile phone 100 carried by the user also changes, and the cell in which the mobile phone 100 resides also changes, that is, the cell in which the mobile phone 100 resides switches. The mobile phone 100 may monitor a cell in which the mobile phone 100 resides, and obtain a cell id of the monitored cell. The cell id of the cell in which the handset 100 resides may be used to determine whether the handset 100 enters a geofence. It will be appreciated that the cell id may also be referred to as a cell identification, and is not limited herein.
Listening is to detect continuously some attribute changes of the object being listened to. The embodiments of the present application illustrate a message pushing scheme with reference to a geofence defined by a geographic area covered by a plurality of base station cells. The monitored object may be a base station signal. The mobile phone 100 monitors a base station signal to monitor a cell where the mobile phone 100 resides, and obtains a cell id of the monitored cell.
Step 502: the mobile phone 100 determines whether the mobile phone 100 enters the express geofence based on the monitored cell identification.
The express delivery geofence may be referred to as an express delivery receiving point geofence. The express delivery receiving point can be understood as a temporary intermediate point of the express delivery, and after the express delivery is temporarily stored in the express delivery receiving point, the user can take out the express delivery from the express delivery receiving point when convenient. For example, the express delivery receiving points may include express delivery cabinets, post houses, and the like.
A plurality of geofences and corresponding cell ids for each geofence may be stored in the handset 100. The plurality of geofences includes a pick-up express geofence. The mobile phone 100 may compare the monitored cell id with the cell ids corresponding to the plurality of geofences stored in the mobile phone 100, and determine whether the mobile phone 100 enters a certain geofence. For example, if the monitored cell id matches the cell id corresponding to the express geofence, it may be determined that the cell phone 100 entered the express geofence.
In some embodiments, the specific manner of determining, by the mobile phone 100, whether the mobile phone 100 enters into the geofence for taking the express delivery based on the monitored cell id may include: the cell phone 100 determines whether the cell id of the monitored cell matches the cell id in the express geofence cell id list. Wherein the express geofence cell id list includes cell ids for defining a plurality of different cells of the express geofence. If the mobile phone 100 determines that the cell id of the monitored cell matches the cell id in the cell id list of the express geofence, the mobile phone 100 determines that the cell id of the monitored cell belongs to the express geofence. If the mobile phone 100 determines that the cell id of the monitored cell does not match the cell id in the cell id list of the express taking geofence, the mobile phone 100 determines that the cell id of the monitored cell does not belong to the express taking geofence.
In some embodiments, the list of express geofence cell ids may be stored on the cloud side, so that the mobile phone 100 may obtain the list of express geofence cell ids from the cloud side.
The mobile phone 100 may register geofences of different locations with the cloud side, and the cloud side may generate cell ids related to the registered geofences and obtain the cell ids in the registered geofences from the cloud side. Specifically, in some embodiments, the mobile phone 100 may send, in response to a user operation, an express geofence registration request to the cloud side, where the express geofence registration request carries information such as a location of a company, a card punching range, and the like, and after the cloud side responds to the request, the cloud side may obtain an express geofence cell id list based on the information such as the location of an express carried in the express geofence registration request.
In some embodiments, the mobile phone 100 may automatically register the geofence based on the location of the express receiving point in the information to be picked up when the information to be picked up is received. If the mobile phone 100 receives the to-be-picked information of the plurality of commodities, only one geofence registration is performed based on the positions of the express receiving points corresponding to the plurality of commodities. Specifically, if the plurality of commodities received by the mobile phone 100 are at the same express receiving point, the mobile phone 100 performs the geofence registration only once based on the position of the express receiving point. If a part of the commodities received by the mobile phone 100 are at the same express receiving point and another part of the commodities are at another express receiving point, the mobile phone 100 only performs geofence registration once based on the position of each express receiving point. If the mobile phone 100 determines that the mobile phone 100 enters the express geofence based on the monitored cell id, it indicates that the user may go to the express, but it is uncertain whether the actual intention of the user is to actually go to the express. Thus, the mobile phone 100 may further determine the activity characteristics of the user in the express delivery geofence to determine the probability that the user actually intends to take the express delivery. Specifically, the mobile phone 100 determines whether the activity feature of the user meets the preset activity condition, i.e. step 503 is executed. If the mobile phone 100 determines that the mobile phone 100 does not enter the express geofence based on the monitored cell id, the mobile phone 100 continues to monitor the cell where the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 501 is executed.
Step 503: the mobile phone 100 determines whether the activity characteristics of the user satisfy the preset activity condition.
If the mobile phone 100 determines that the activity feature of the user meets the preset activity condition, it indicates that the probability that the user actually intends to get the express is high, and the mobile phone 100 pushes the express message, i.e. step 504 is executed. If the mobile phone 100 determines that the activity feature of the user does not meet the preset activity condition, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 501 is executed.
The activity feature is the movement of the user carrying the handset 100 within the geofence. For example, an activity feature refers to the number of different cells that the handset 100 switches to in the geofence and the time the handset 100 takes from entering the geofence to exiting the geofence.
The preset activity conditions may include at least one or more of:
(1) After the mobile phone 100 enters the express geofence, the detected N cells switched are all cells in the express geofence, and the N cells can be continuously switched, where N is greater than a first preset threshold, and the first preset threshold can be set by a technician according to actual conditions.
(2) After the mobile phone 100 enters the express geofence, the mobile phone does not leave the express geofence within a preset time period T, wherein the preset time period T is greater than a second preset threshold, and the second preset threshold can be set by a technician according to actual conditions.
(3) The distance between the mobile phone 100 and the express receiving point is smaller than a preset distance threshold. Step 504: the mobile phone 100 pushes the express message.
The express message is pushed when the mobile phone 100 detects that the user enters the geofence and satisfies the aforementioned preset activity condition.
The express taking message comprises a prompt message and/or service information of express taking, wherein the prompt message is used for prompting a user to take the express, and the service information of express taking is used for conveniently taking the express. The service information of the express delivery can be state information of the to-be-fetched commodity of the express delivery, a to-be-fetched commodity fetching code, an opening control of a to-be-fetched commodity fetching page and the like.
For example, fig. 6 shows a schematic view of a delivery-taking scenario in which a user enters a delivery-taking range. As shown in fig. 6, a plurality of virtual loops 1 are used to define a geofence for a delivery. When the user A is in the position 4 and does not enter the express geofence, when the user A is in the position 5, the mobile phone 100 detects that the user A enters the geofence, the mobile phone 100 judges that the activity characteristics of the user A in the express geofence meet the preset activity conditions, prompt information for requesting to pick up the express can be displayed on a main interface (for example, YOYO suggestion in the main interface), the prompt information can also be an opening control of a pick-up page of the commodity to be picked up, and the mobile phone 100 detects that the user A clicks the control, so that the user A can jump to the pick-up page of the commodity to be picked up, thereby enabling the user A to conveniently and rapidly pick up the express.
As another example, fig. 7 shows a schematic view of a delivery-taking scenario in which a user enters a delivery-taking range. As shown in fig. 7, dashed circle 1 represents a geofence for taking an express. When the user a does not enter the express geofence at the position 4, and when the user a enters the geofence at the position 5, the mobile phone 100 detects that the user a enters the geofence, and the mobile phone 100 judges that the activity characteristic of the user a in the express geofence meets the preset activity condition, then prompt information for requesting to pick up the express can be displayed on a main interface (for example, yoyoyo suggestion in the main interface), and the number of commodities to be picked up, the commodity picking up code to be picked up and an opening control (a page skipping icon) of a picking up page of the commodity to be picked up, so that the user a can conveniently and rapidly pick up the express.
The mobile phone 100 may display the aforementioned express information in the main interface, the negative one-screen, and the pull-down menu. For example, FIG. 8 shows a negative one-screen user interface schematic. As shown in fig. 8, the mobile phone 100 may display that the accessory has a pick-up point on the negative screen, and please note the pick-up prompt message. As another example, fig. 9 shows a drop down menu user interface schematic. As shown in fig. 9, the mobile phone 100 may display that the accessory has a pick-up point on a pull-down menu, and please note the pick-up prompt. Specifically, the mobile phone 100 may push the express message through one or more of a card in a drop-down menu, a card in a main interface, a card in a negative screen, and the like.
The mobile phone 100 can also push and take express information to the user in a vibration, suspension ball, earphone broadcasting mode and the like. It should be noted that, in some embodiments, the mobile phone 100 pushes the express information to the user in a floating ball manner, and the user may perform a double-click operation on the floating ball to directly enter the pickup page of the commodity to be picked up.
Subway scene
For example, FIG. 10 shows a schematic view of a scenario in which a user passes from a corresponding geofence of a subway station. As shown in fig. 10, when the user a walks on the road with the mobile terminal (such as the mobile phone 100), passes through the geofence corresponding to the subway station (for example, the range encircled by the special-shaped solid line in fig. 10), the mobile phone 100 detects that the user a walks into the geofence, and then pushes subway information to the user, so as to prompt the user to take a subway. While user a does not actually intend to go to a subway station to take a subway, the user simply passes the geofence. If the mobile phone 100 detects that the user enters the geofence, subway information is pushed to the user, interference is generated to the user, user experience is affected, and further, the mobile phone 100 recommends information which is not needed by the user to the user, and power consumption generated by the mobile phone 100 is increased to a certain extent.
The message pushing method provided by the embodiment of the application can solve the technical problems to a certain extent, for example, fig. 11 shows a schematic view of a scene that a user goes to a subway station to take a subway. As shown in fig. 11, after the user a walks to the geofence (e.g., the range surrounded by the special-shaped solid line in fig. 11) corresponding to the subway station with the mobile phone 100, the mobile phone 100 detects that the user a walks into the geofence and the activity characteristics of the user a meet the preset activity condition, and then the subway-taking information is sent.
In this solution, the mobile phone 100 does not need to trigger the message pushing service corresponding to the subway when detecting that the user enters the geofence corresponding to the subway station, but pushes the information corresponding to the subway to the user when detecting that the user enters the geofence corresponding to the subway station and the activity characteristics of the user meet the preset activity condition. In this way, the accuracy of message pushing is improved, the interference of unnecessary message pushing to the user is reduced, the user experience is improved, the mobile phone 100 recommends information required by the user to the user, the unnecessary message pushing is reduced, and the power consumption generated by the mobile phone 100 can be reduced to a certain extent.
The embodiment of the application provides a message pushing method for subway riding scenes. As shown in fig. 12, a flow chart of a message pushing method is shown, and the flow chart includes the following steps:
Step 1201: the mobile phone 100 monitors a cell where the mobile phone 100 resides and acquires a cell identifier of the monitored cell.
The technical scheme of step 1201 is the same as that of the foregoing step 501 in which the mobile phone 100 monitors the cell in which the mobile phone 100 resides and obtains the cell identifier of the monitored cell, and will not be described herein.
Step 1202: the cell phone 100 determines whether the cell phone 100 enters a subway-taking geofence based on the monitored cell identification.
A plurality of geofences and corresponding cell ids for each geofence may be stored in the handset 100. The plurality of geofences includes a subway rail. The mobile phone 100 may compare the monitored cell id with the cell ids corresponding to the plurality of geofences stored in the mobile phone 100, and determine whether the mobile phone 100 enters a certain geofence. For example, if the monitored cell id matches the cell id corresponding to the subway-taking geofence, it may be determined that the cell phone 100 entered the subway-taking geofence.
In some embodiments, the specific manner in which the mobile phone 100 determines whether the mobile phone 100 enters the subway-taking geofence based on the monitored cell id may include: the cell phone 100 determines whether the cell id of the monitored cell matches the cell id in the subway-taking geofence cell id list. Wherein the list of subway-by-subway geofence cell ids includes cell ids for defining a plurality of different cells of the subway-by-subway geofence. If the mobile phone 100 determines that the cell id of the monitored cell matches the cell id in the subway-taking geofence cell id list, the mobile phone 100 determines that the cell id of the monitored cell belongs to the subway-taking geofence. If the mobile phone 100 determines that the cell id of the monitored cell does not match the cell id in the subway-taking geofence cell id list, the mobile phone 100 determines that the cell id of the monitored cell does not belong to the subway-taking geofence.
In some embodiments, the list of subway-taking geofence cell ids may be stored on the cloud side, so that the cell phone 100 may obtain the list of subway-taking geofence cell ids from the cloud side.
The mobile phone 100 may register geofences of different locations with the cloud side, and the cloud side may generate cell ids related to the registered geofences and obtain the cell ids in the registered geofences from the cloud side. Specifically, in some embodiments, the mobile phone 100 may send a subway-taking geofence registration request to the cloud side in response to a user operation, where the subway-taking geofence registration request carries information such as a location of a company, a card punching range, and the like, and after the cloud side responds to the request, the cloud side may obtain a subway-taking geofence cell id list based on the information such as the location of a subway carried in the subway-taking geofence registration request.
If the mobile phone 100 determines that the mobile phone 100 enters the subway taking geofence based on the monitored cell id, it indicates that the user may take the subway, but it is uncertain whether to take the subway really. Thus, the mobile phone 100 may further determine the activity characteristics of the user in the subway-taking geofence to determine the probability that the user actually intends to take the subway. Specifically, the mobile phone 100 determines whether the activity feature of the user meets the preset activity condition, i.e. step 1203 is executed. If the mobile phone 100 determines that the mobile phone 100 does not enter the subway-taking geofence based on the monitored cell id, the mobile phone 100 continues the mobile phone 100 to monitor the cell where the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 1201 is executed.
Step 1203: the mobile phone 100 determines whether the activity characteristics of the user satisfy the preset activity condition.
If the mobile phone 100 determines that the activity feature of the user meets the preset activity condition, it indicates that the probability that the user actually intends to get on the subway is high, and the mobile phone 100 pushes the subway taking message, i.e. step 1205 is executed. If the mobile phone 100 determines that the activity characteristics of the user do not meet the preset activity conditions, the probability that the user actually intends to get on the subway is not high, but the intention of getting on the subway may actually exist, and if the business of getting on the subway actually exists, the user needs to be reminded of getting on the subway. Specifically, the mobile phone 100 determines whether there is subway riding service, i.e. execute step 1204.
The activity feature is the movement of the user carrying the handset 100 within the geofence. For example, an activity feature refers to the number of different cells that the handset 100 detects that the user is in the geofence, and the time the user is waiting in the geofence. The preset activity conditions in the scene are the same as those in the express-taking scene. It should be noted that the preset activity conditions in different scenes may be the same or different, which is not limited herein.
The preset activity conditions may include at least one or more of:
(1) After the mobile phone 100 enters the geofence, the detected N cells in the geofence are all cells, and the N cells may be continuously switched, where N is greater than a first preset threshold, and the first preset threshold may be set by a technician according to an actual situation.
(2) After the mobile phone 100 enters the geofence, the mobile phone does not leave the geofence within a preset time period T, where the preset time period T is greater than a second preset threshold, and the second preset threshold may be set by a technician according to an actual situation.
(3) The distance of the cell phone 100 from a subway station (e.g., entrance of the subway station) is less than a preset distance threshold.
Step 1204: the cellular phone 100 determines whether or not there is subway riding service.
If the mobile phone 100 determines that the subway riding service exists, the mobile phone 100 pushes the subway riding prompt message, i.e. step 1205 is executed. If the mobile phone 100 determines that the subway riding service does not exist, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 1201 is executed.
In some embodiments, the manner of determining whether the subway service exists by the mobile phone 100 may specifically include: the mobile phone 100 can infer whether the user currently needs to take advantage of the subway, that is, whether the user has a need to take advantage of the subway, by analyzing the historical track data of the user. If the mobile phone 100 deduces that the user currently has a subway riding demand in the subway riding geofence by analyzing the historical track data of the user, the subway riding service is determined to exist. If the cellular phone 100 deduces that the user does not have a subway riding demand in the subway riding geofence by analyzing the historical track data of the user, it is determined that no subway riding service exists.
Specifically, the mobile phone 100 may determine whether there is subway riding service through a subway riding intention prediction model pre-stored in the mobile phone 100. In the use stage of the subway riding intention prediction model, the subway riding intention prediction model is pre-stored in the mobile phone 100, and the subway riding intention prediction model is provided with historical track data of a user, so that whether subway riding business exists in the subway riding geofence or not is judged.
Step 1205: the cellular phone 100 pushes the subway riding message.
The subway riding message is pushed when the cell phone 100 detects that the user enters the geofence and satisfies the aforementioned intent to punch a card.
The subway riding information comprises prompt information and/or subway riding service information, wherein the prompt information is used for prompting a user to ride the subway, and the subway riding service information is used for facilitating the user to ride the vehicle. The business information of the subway can be an opening control of the riding code and the like. For example, fig. 13 shows a schematic view of a subway-taking scene in which a user enters a subway-taking range. As shown in fig. 13, dashed circle 2 represents a riding subway geofence. When the user A is at the position 10 and does not enter the subway taking geofence, when the user A is at the position 11, the mobile phone 100 detects that the user A enters the geofence, and the mobile phone 100 judges that the activity characteristics of the user A in the subway taking geofence meet the preset activity conditions, prompt information for requesting to pay attention to taking the subway can be displayed on a main interface (for example, YOYO suggestion in the user A), the prompt information can also be an opening control of a page where a subway taking code is located, and when the mobile phone 100 detects that the user A clicks the control, the user A can jump to the page where the subway taking code is located, so that the user A can take the subway conveniently and rapidly.
The mobile phone 100 may display the aforementioned subway-riding information in a main interface, a negative one-screen, and a drop-down menu.
The mobile phone 100 may also push subway information to the user in a vibration, suspension ball, earphone broadcasting, or other manners. It should be noted that, in some embodiments, the mobile phone 100 pushes subway information to the user in a floating ball manner, and the user may perform a double-click operation on the floating ball to directly enter the riding code display page.
In the foregoing embodiment, the mobile phone 100 can infer whether the user needs to take a subway or not currently through the history track data of the user. However, in general, since the track of the movement of the user is highly random, it cannot be inferred whether the user has a riding intention at that time, and thus, in other embodiments, the mobile phone 100 cannot determine that the user does have a riding business. In this way, the mobile phone 100 only needs to recommend a subway riding message to the user when the user is detected to enter the geofence range and the activity characteristics of the user meet the preset activity conditions, and does not need to judge whether the subway riding service (subway riding intention) exists or not when the activity characteristics of the user do not meet the preset activity conditions. Specifically, fig. 14 shows a flow chart of a message pushing method, as shown in fig. 14, the mobile phone 100 does not need to perform the foregoing step 1204, that is, the mobile phone 100 does not need to determine whether there is subway riding service. But after the mobile phone 100 determines that the activity feature of the user does not meet the preset activity condition, that is, the mobile phone 100 directly continues to monitor the cell in which the mobile phone 100 resides in the no branch of step 1203, and obtains the cell identifier of the monitored cell.
Office work card-punching scene
For example, FIG. 15 shows a schematic view of a scenario in which a user has traversed from a corresponding geofence of an office building. As shown in fig. 15, after the mobile phone 100 detects that the user a walks into the geofence (e.g., the range encircled by the special-shaped solid line in fig. 15), the mobile phone 100 pushes the on-duty card punching information to the user to prompt the user to punch cards on duty. While user a does not actually intend to go to office building work to punch cards, the user simply passes the geofence. If the mobile phone 100 detects that the user enters the geofence, the mobile phone 100 pushes the business card-punching information to the user, which can cause interference to the user and affect the user experience, and the mobile phone 100 recommends the user with unnecessary prompt information, which can increase the power consumption generated by the mobile phone 100 to a certain extent.
The message pushing method provided by the embodiment of the application can solve the technical problems to a certain extent, for example, fig. 16 shows a scene that a user goes to an office building to punch cards on duty. As shown in fig. 16, after the user a walks to the geofence corresponding to the office building (for example, the range encircled by the special-shaped solid line in fig. 16) with the mobile phone 100, the mobile phone 100 detects that the user a walks into the geofence and the activity characteristics of the user a meet the preset activity condition, and then sends out the on-duty card punching information.
In this scheme, the mobile phone 100 does not need to trigger the information pushing service corresponding to the office building when detecting that the user enters the geofence corresponding to the office building, but pushes the information corresponding to the office building to the user when detecting that the user enters the geofence corresponding to the office building and the activity characteristics of the user meet the preset activity conditions, so that the accuracy of the information pushing is improved, the interference of unnecessary information pushing on the user is reduced, the user experience is improved, and the mobile phone 100 recommends the user with the information required by the user, so that the unnecessary information pushing is reduced, and the power consumption of the mobile phone 100 caused by the information pushing is also reduced to a certain extent.
Also, unlike the above embodiments, in the on-duty card-punching scenario, the range of geofences constructed by a typical base station cell (cell) is larger than the range of geofences that a company can punch cards, so that at least two geofences with different radii are formed: company geofences and punch geofences. After detecting that the user enters a geofence with a larger radius (such as a company geofence) corresponding to an office building, the mobile phone 100 can display a business card-punching message in a text mode on a display interface of the mobile phone 100 under the condition that the activity characteristics of the user meet the preset activity condition so as to carry out a first card-punching reminding on the user. After that, when the mobile phone 100 detects that the user enters the geofence with a smaller radius (such as a card punching geofence), the mobile phone pushes the card punching information to the user by using a suspension ball, vibration or earphone broadcasting mode, so as to carry out card punching reminding again on the user. Thus, the mobile phone 100 can perform proper on-duty card punching reminding on the user, reduce the times that the user forgets to punch cards, and improve the user experience.
The embodiment of the application provides a message pushing method aiming at a working card punching scene. As shown in fig. 17, a flow chart of a message pushing method is shown, and the flow chart includes the following steps:
step 1701, the mobile phone 100 monitors a cell in which the mobile phone 100 resides, and obtains a cell identifier of the monitored cell.
The technical solution of step 1701 is the same as the technical solutions of step 501 and step 1201, and will not be described in detail here.
Step 1702, the mobile phone 100 determines whether the mobile phone 100 enters a corporate geofence based on the monitored cell identity.
The corporate geofence may include a geofence constructed by base station cells (cells) in the vicinity of the user's office building.
A plurality of geofences and corresponding cell ids for each geofence may be stored in the handset 100. The plurality of geofences includes a corporate geofence. The mobile phone 100 may compare the monitored cell id with the cell ids corresponding to the plurality of geofences stored in the mobile phone 100, and determine whether the mobile phone 100 enters a certain geofence. For example, if the monitored cell id matches the cell id corresponding to the company geofence, it may be determined that the cell phone 100 entered the company geofence.
In some embodiments, the specific manner in which the handset 100 determines whether the handset 100 enters a corporate geofence based on the listening cell id may include: the cell phone 100 determines whether the cell id of the monitored cell matches a cell id in the company geofence cell id list. Wherein the corporate geofence cell id list includes cell ids for defining a plurality of different cells of the corporate geofence. If the cell phone 100 determines that the cell id of the monitored cell matches the cell id in the company geofence cell id list, the cell phone 100 determines that the cell id of the monitored cell belongs to the company geofence. If the cell phone 100 determines that the cell id of the monitored cell does not match the cell id in the company geofence cell id list, the cell phone 100 determines that the cell id of the monitored cell does not belong to the company geofence. The list of company geofence cell ids may be stored on the cloud side, so that the cell phone 100 may obtain the list of company geofence cell ids from the cloud side.
The mobile phone 100 may register geofences of different locations with the cloud side, and the cloud side may generate cell ids related to the registered geofences and obtain the cell ids in the registered geofences from the cloud side. Specifically, in some embodiments, the mobile phone 100 may send, in response to a user operation, a company geofence registration request to the cloud side, where the company geofence registration request carries information such as a location, a card punching range, and the like of the company, and after the cloud side responds to the request, the cloud side may obtain a company geofence cell id list based on the information such as the location, the card punching range, and the like of the company carried in the company geofence registration request.
If the handset 100 determines that the handset 100 enters the company geofence based on the monitored cell id, it indicates that the user may go to the company to work, but it is uncertain whether to actually go to the company to work. The mobile phone 100 may then make further determinations of the user's activity characteristics in the company's geofence to determine the probability that the user actually intends to go to the company's office. Specifically, the mobile phone 100 determines whether the activity feature of the user meets the preset activity condition, i.e. execute step 1703. If the mobile phone 100 determines that the mobile phone 100 does not enter the company geofence based on the monitored cell id, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, i.e. step 1701 is executed.
Step 1703, the mobile phone 100 determines whether the activity feature of the user meets a preset activity condition.
If the mobile phone 100 determines that the activity feature of the user meets the preset activity condition, the mobile phone 100 pushes the card punching message in the first message pushing manner, that is, step 1704 is executed, if the mobile phone 100 determines that the activity feature of the user does not meet the preset activity condition, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 1701 is executed.
The activity feature is the movement of the user carrying the handset 100 within the geofence. For example, an activity feature refers to the number of different cells that the handset 100 detects that the user is in the geofence, and the time the user is waiting in the geofence. The preset activity conditions in the scene are the same as those in the express scene and the subway taking scene. It should be noted that the preset activity conditions in different scenes may be the same or different, which is not limited herein. The preset activity conditions include at least one or more of the following:
(1) After the mobile phone 100 enters the geofence, the detected N cells in the geofence are all cells, and the N cells may be continuously switched, where N is greater than a first preset threshold, and the first preset threshold may be set by a technician according to an actual situation.
(2) After the mobile phone 100 enters the geofence, the mobile phone does not leave the geofence within a preset time period T, where the preset time period T is greater than a second preset threshold, and the second preset threshold may be set by a technician according to an actual situation.
(3) The distance between the mobile phone 100 and the company is less than a preset distance threshold.
Step 1704, the mobile phone 100 pushes the card punching message in a first message pushing manner.
The notification may be prompted when the cell phone 100 detects that the user enters a punch-card geofence and satisfies the aforementioned preset activity conditions.
The card punching message comprises a prompt message and/or card punching service information, wherein the prompt message is used for prompting a user to punch cards, and the card punching service information is used for facilitating the user to punch cards. The business information of the punch card may include an open control of the punch card page, etc.
In other embodiments, the geofence may be wider than the company can punch. When the mobile phone 100 detects that the user enters the card-punching geofence and meets the preset activity condition, the mobile phone 100 carries out the prompting information of the first message pushing mode. The method may be a text prompt message, and specifically, the first message pushing method is to display the message in a text manner on a display interface of the mobile phone 100. For example, the pushing manner of the card punching message may include a negative yoyoyo suggestion activity card prompt of one screen, a notification prompt of a screen locking interface, a drop-down column message prompt of an application interface, a resident card prompt of a main interface, and the like, which are not limited in the embodiment of the application.
Step 1705, the mobile phone 100 determines whether the mobile phone 100 enters a card-punching geofence based on the monitored cell identifier.
A plurality of geofences and corresponding cell ids for each geofence may be stored in the handset 100. The plurality of geofences includes a punch-through geofence. The mobile phone 100 may compare the monitored cell id with the cell ids corresponding to the plurality of geofences stored in the mobile phone 100, and determine whether the mobile phone 100 enters a certain geofence. For example, if the monitored cell id matches the cell id corresponding to the geofence, it may be determined that the cell phone 100 entered the geofence.
In some embodiments, the specific manner in which the mobile phone 100 determines whether the mobile phone 100 enters the geofence based on the monitored cell id may include: the cell phone 100 determines whether the cell id of the monitored cell matches a cell id in the list of geofence cell ids. Wherein the list of geofence cell ids includes cell ids for defining a plurality of different cells of the geofence. If the mobile phone 100 determines that the cell id of the monitored cell matches the cell id in the cell id list of the geofence, the mobile phone 100 determines that the cell id of the monitored cell belongs to the geofence. If the mobile phone 100 determines that the cell id of the monitored cell does not match the cell id in the cell id list of the geofence, the mobile phone 100 determines that the cell id of the monitored cell does not belong to the geofence.
In some embodiments, the list of geofence cell ids may be stored on the cloud side, such that the cell phone 100 may obtain the list of geofence cell ids from the cloud side.
The mobile phone 100 may register geofences of different locations with the cloud side, and the cloud side may generate cell ids related to the registered geofences and obtain the cell ids in the registered geofences from the cloud side. Specifically, in some embodiments, the mobile phone 100 may send a request for registering a geofence with a card to the cloud side in response to a user operation, where the request for registering a geofence with a card carries information such as a location of a company, a range of the card, etc., and after the cloud side responds to the request, the cloud side may obtain a list of cell ids of the geofence with a card based on the information such as a location of a subway taken in the request for registering a geofence with a card.
It should be noted that the geofence is not necessarily limited by the coverage of WIFI signals and/or bluetooth signals, and the geofence may be defined by longitude and latitude. Thus, the handset 100 may also determine whether the handset 100 is within the geographic range of the punch card via the global positioning system (Global Positioning System, GPS).
If the mobile phone 100 determines that the mobile phone 100 enters the geofence, the mobile phone 100 determines whether there is a card punching service, i.e. step 1706 is executed. If the mobile phone 100 determines that the mobile phone 100 does not enter the geofence, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, i.e. step 1701 is performed. In the company geofence, when a user enters the geographical range where the company can punch cards, reminding can be enhanced, for example, a suspension ball, vibration and earphone broadcasting mode is utilized to recommend card punching prompt information to the user.
Step 1706, the mobile phone 100 determines whether there is a card punching service.
If the mobile phone 100 determines that the card punching service exists, the mobile phone 100 pushes the card punching message in the second message pushing manner, i.e. step 1707 is performed. If the mobile phone 100 determines that the card punching service does not exist, the mobile phone 100 continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 1701 is executed.
In some embodiments, the specific manner in which the mobile phone 100 determines whether there is a card punching service may include: if the mobile phone 100 judges that the current time is in the on-duty card punching time period, judging that card punching service exists; if the mobile phone 100 determines that the current time is not in the on-duty card punching time period, it determines that the card punching service does not exist.
Step 1707, the mobile phone 100 pushes the card punching message in a second message pushing manner.
The card punching message comprises a prompt message and/or card punching service information, wherein the prompt message is used for prompting a user to punch cards, and the card punching service information is used for facilitating the user to punch cards. The business information of the punching card can be an opening control of the punching card page and the like.
When the mobile phone 100 detects that the user enters the geofence, the mobile phone 100 may push the punch message in a second message pushing manner. The method can be to recommend the card punching information to the user by using the suspension ball, vibration and earphone broadcasting modes.
For example, fig. 18 shows a schematic diagram of a card punching scenario in which a user enters a card punching range. As shown in fig. 18, solid circle 3 represents the range that the company can punch a card, i.e., the punch geofence (second heavy geofence); the dashed circle 4 represents a corporate geofence (first heavy geofence). User a does not enter the punch geofence while in position 17; when the user a enters the company geofence at the location 18, the mobile phone 100 can display prompt information for asking to pay attention to attendance and punching a card on a main interface (for example, YOYO suggestion therein) when judging that the activity characteristics of the user a in the company geofence meet the preset activity condition. When the user a enters the geofence at the position 19, the mobile phone 100 determines that the user a triggers a strong alert, such as a vibration, when there is a card service in the geofence.
In other embodiments, when the user a enters the card-punching geofence at the position 19, the mobile phone 100 determines that the user a has a card-punching service in the card-punching geofence, a prompt message requesting to pay attention to the attendance card-punching can be displayed on a main interface (for example, YOYO suggestion therein), and the prompt message can also be an opening control of a company card-punching page, and the mobile phone 100 can jump to the company card-punching page after detecting that the user a clicks the control, so that the user a can punch a card conveniently and rapidly.
In the above-described punch scenario, there is a corporate geofence and an actual punch geofence within it. The cell phone 100 may first send a punch message to the user when it is detected that the user enters the corporate geofence and the activity characteristics of the user satisfy the aforementioned punch intent punch condition. Then, when detecting that the user enters the geofence, the mobile phone 100 sends out the card punching message to the user again, and compared with the last reminding, the reminding mode is easier for the user to feel.
In the above embodiment, after the mobile phone 100 determines that the mobile phone 100 enters the card-punching geofence based on the monitored identifier, the mobile phone 100 determines whether the card-punching service exists. In other embodiments, after determining that the mobile phone 100 enters the geofence based on the monitored identifier, the mobile phone 100 does not determine whether there is a card punching service, and may push a message to the user in the second message pushing manner when the time of moving in the geofence is greater than the preset time threshold.
When the mobile phone 100 determines that the mobile phone 100 enters the company geofence based on the monitored identification, if the activity characteristic of the user in the company geofence meets the preset activity condition, the mobile phone 100 pushes the on-duty card punching message to the user in a first message pushing mode. The mobile phone 100 determines that the mobile phone 100 enters the card punching geofence based on the monitored identification, and when the time that the mobile phone 100 moves in the card punching geofence is greater than a preset time threshold, the mobile phone 100 pushes the on-duty card punching message to the user in a second message pushing mode. Thus, the mobile phone 100 can push the message for reminding the user of the card punching on duty to the user in the double geofences, reduce the times that the user forgets to punch the card, and improve the user experience. Further, when it is determined that the mobile phone 100 enters the card-punching geofence, and the moving time of the mobile phone 100 in the card-punching geofence is greater than the preset time threshold, the mobile phone 100 pushes the working message to the user in the second message pushing mode, so that the pushing accuracy of the message is improved, and the user experience is further improved.
The software system of the mobile phone 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the mobile phone 100 is illustrated.
The software system of the mobile phone 100 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 mobile phone 100 is illustrated.
Fig. 19 shows a software block diagram of the mobile phone 100.
The layered architecture 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, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 19, the application package may include applications such as a camera, gallery, calendar, call, map, navigation, WLAN, bluetooth, music, video, short message, context awareness module, business logic processing module, business presentation module, and service center.
The context awareness module is resident or operates in a low power form, with the ability to perceive an external fact or environment. For example, when the card reminding service is in an on state, the context awareness module monitors the activity intention matters registered by the service logic processing module based on the preset geofence, and if a certain one of the matters is triggered by a user, the context awareness module can send a notification to the service logic processing module. In addition, the context awareness module may also detect related events and acquire status of events from other applications at the application layer or application framework layer or system layer or kernel layer through an application programming interface (application programming interface, API), such as detecting bluetooth connections, network connections, monitoring user messages, customizing timers, etc. In some embodiments of the present application, the context awareness module is mainly used for perceiving whether the user is in a preset geofence, where the preset geofence may be a geofence that can be punched corresponding to an office building where the user works, a geofence corresponding to a subway, a geofence corresponding to an express receiving point, and the like.
The business logic processing module has the capacity of registering the geofence corresponding to the activity intention item, acquiring the geofence data corresponding to the activity intention item and the business logic processing capacity, and can be used for realizing the logic of various card display and disappearance. For example, the business logic processing module receives a notification sent by the context awareness module and used for indicating that something is detected (such as that a geofence of an express prompt is triggered, that a geofence of a taking subway is triggered, and that a geofence of an express is triggered), and can send a command to the business presentation module (such as that of a yoyoyo suggestion) according to logic to display a card, wherein the command can carry a link, and then when a user clicks the card, the user can jump to a certain three-party APP or applet (such as a subway APP or applet, an enterprise card APP or applet, a shopping APP or applet) corresponding to the link according to the link. The business logic processing module can display or disappear the card on the terminal by receiving the notification sent by the context awareness module and used for indicating that the user uses the two-dimensional code.
And the service presentation module (such as YOYO suggestion) is used for displaying or disappearing the determined card on the screen of the mobile phone. For example, the service presentation module may receive a command transmitted by the service logic processing module to display a reminder card, and present the reminder card to the user, and when the user clicks on the card, may link to a certain page of a certain APP. For example, in some embodiments of the present application, in a card punching scenario, a user clicks a card punching card that is suggested to be displayed by YOYO, and the mobile phone can pull up a scanning interface for implementing card punching, so that the user can directly scan a two-dimensional code for card punching on the card punching machine, thereby implementing card punching, and facilitating use of the user. In the scene of getting the express delivery, the user clicks the express delivery card that YOYO suggestion shows, and the cell-phone can pull up the scanning interface that is used for realizing scanning express delivery cabinet, and the user just so can directly scan the goods code of getting on the express delivery cabinet, makes things convenient for user's use. In the scene of riding the ground, the user clicks the riding code card displayed by the YOYO suggestion, and the mobile phone can pull up the riding scanning interface for realizing the riding of the ground, so that the user can directly scan the riding code, and the user can conveniently use the riding code card.
The service center is used for providing service for the change of the data in the service, and the service center can be corresponding to a service center Database (DB). For example, taking the service center serving the card punching service as an example, the service center may receive card punching change information pushed by the cloud side, buffer card punching data in the service center DB, and notify the service presentation module to change the card punching information.
Taking the service center serving the subway-taking service as an example, the service center can receive subway-taking data change information pushed by the cloud side, buffer the subway-taking data in the service center DB, and inform the service presentation module to change the subway-taking information.
Taking the service center serving the express service as an example, the service center can receive the express data change information pushed by the cloud side, cache the express data in the service center DB, and inform the service presentation module to change the express information.
Correspondingly, if the command of disappearing the card transmitted by the service logic processing module is received, the service presentation module can disappear the card.
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. 19, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the handset 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the mobile terminal vibrates, and an indicator light blinks.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For the aforementioned express scenario, fig. 20 is a schematic diagram showing an interaction flow of each module in the mobile phone 100 based on the software architecture. As shown in fig. 20, the method includes the steps of:
step 2001: the business logic processing module registers the express geofence with the context awareness module.
Step 2002: the context awareness module monitors a cell where the mobile phone 100 resides under the condition that the express service is determined to exist, and obtains a cell identifier of the monitored cell.
Step 2003: the context awareness module determines whether the handset 100 enters the geofence for the courier based on the monitored cell identification.
If the context awareness module determines that the mobile phone 100 enters the geofence for taking the express based on the monitored cell id, it indicates that the user may take the express, but it is uncertain whether the actual intention of the user is really to take the express. Thus, the context awareness module may further determine the activity characteristics of the user in the express delivery geofence to determine the probability that the user actually intends to pick up the express delivery. Specifically, the context awareness module determines whether the activity feature of the user meets the preset activity condition, i.e. execute step 2004. If the context awareness module determines that the mobile phone 100 does not enter the express geofence based on the monitored cell id, the context awareness module continues to monitor the cell where the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, i.e. step 2002 is executed.
Step 2004: the context awareness module judges whether the activity characteristics of the user meet preset activity conditions.
If the context awareness module determines that the activity feature of the user meets the preset activity condition, the probability that the actual intention of the user is to get the express delivery is high, and the context awareness module sends a push express delivery message instruction to the service presentation module, namely, step 2005 is executed. If the context awareness module determines that the activity feature of the user does not meet the preset activity condition, then the cell in which the mobile phone 100 resides is continuously monitored, and the cell identifier of the monitored cell is obtained, that is, step 2002 is executed.
Step 2005: the context awareness module sends a push express message instruction to the service presentation module.
Step 2006: the service presentation module triggers the mobile phone 100 to push the express message.
For the subway riding scenario, fig. 21 is a schematic diagram showing an interaction flow of each module in the mobile phone 100 based on the software architecture. As shown in fig. 21, the method includes the steps of:
step 2101: the business logic processing module registers the subway geo-fence with the context awareness module.
Step 2102: the context awareness module monitors the cell where the mobile phone 100 resides and obtains the cell identification of the monitored cell.
Step 2103: the context awareness module determines whether the cell phone 100 enters a subway-taking geofence based on the monitored cell identification.
If the context awareness module determines that the cell phone 100 enters the subway taking geofence based on the monitored cell id, it indicates that the user may take the subway, but it is uncertain whether the actual intention of the user is really to take the subway. The context awareness module may then make further determinations of the user's activity characteristics in the subway-taking geofence to determine the probability that the user actually intends to take the subway. Specifically, the context awareness module determines whether the activity feature of the user meets the preset activity condition, i.e. executes step 2104. If the context awareness module determines that the mobile phone 100 does not enter the subway-taking geofence based on the monitored cell id, the context awareness module continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 2102 is executed.
Step 2104: the context awareness module judges whether the activity characteristics of the user meet preset activity conditions.
If the context awareness module 0 determines that the activity feature of the user meets the preset activity condition, it indicates that the probability that the user actually intends to get on the subway is high, and the mobile phone 100 pushes the subway taking message, i.e. step 2106 is executed. If the situation awareness module judges that the activity characteristics of the user do not meet the preset activity conditions, the probability that the user actually intends to get on the subway is not high, but the intention of getting on the subway can also exist, and if the business of getting on the subway exists, the user needs to be reminded of getting on the subway. Specifically, the context awareness module determines whether there is a subway riding service, i.e. execute step 2105.
Step 2105: the context awareness module judges whether subway riding service exists or not. If the context awareness module determines that the subway-riding service exists, the context awareness module sends a subway-riding message pushing instruction to the service presentation module, namely, step 2106 is executed. If the context awareness module determines that there is no subway riding service, the context awareness module continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 2102 is executed.
Step 2106: the context awareness module sends a subway message pushing instruction to the service presentation module.
Step 2107: the service presentation module triggers the handset 100 to push the subway by subway message.
For the foregoing card punching scenario, fig. 22 is a schematic diagram showing an interaction flow of each module in the mobile phone 100 based on the foregoing software architecture. As shown in fig. 22, the method includes the steps of:
step 2201: the business logic processing module registers the corporate geofence and the punch geofence with the context awareness module.
Step 2202: the context awareness module monitors the cell where the mobile phone 100 resides and obtains the cell identification of the monitored cell.
Step 2203: the context awareness module determines whether the handset 100 enters a corporate geofence based on the monitored cell identity.
If the context awareness module determines that the handset 100 enters a corporate geofence based on the monitored cell id, it indicates that the user may go to corporate shift, but does not determine whether to actually go to corporate shift. The context awareness module may then make further determinations of the user's activity characteristics in the corporate geofence to determine the probability that the user actually intends to go to the corporate office. Specifically, the context awareness module determines whether the activity feature of the user meets the preset activity condition, i.e. execute step 2204. If the context awareness module determines that the mobile phone 100 does not enter the company geofence based on the monitored cell id, the context awareness module continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, i.e. step 2202 is executed.
Step 2204: the context awareness module judges whether the activity characteristics of the user meet preset activity conditions.
If the context awareness module determines that the activity feature of the user meets the preset activity condition, the context awareness module sends a push-to-punch message instruction in a first message push manner to the service presentation module, and then step 2205 is executed. If the context awareness module determines that the activity feature of the user does not meet the preset activity condition, the context awareness module continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, i.e. step 2202 is performed.
Step 2205: the context awareness module sends a push card punching message instruction in a first message push mode to the service presentation module.
Step 2206: the service presentation module triggers the handset 100 to push the punch message in a first message push manner.
Step 2207: the context awareness module determines whether the handset 100 enters a geofence based on the monitored cell identification.
If the context awareness module determines that the mobile phone 100 enters the geofence, the context awareness module determines whether there is a card-punching service, i.e. step 2208 is performed. If the context awareness module determines that the mobile phone 100 does not enter the geofence, the context awareness module continues to monitor the cell in which the mobile phone 100 resides and obtains the cell identification of the monitored cell, i.e. step 2202 is performed.
Step 2208: the context awareness module judges whether a card punching service exists.
If the mobile phone 100 determines that the card punching service exists, the context awareness module sends a card punching message pushing instruction in the second message pushing manner to the service presenting module, that is, step 2209 is executed. If the context awareness module determines that there is no card punching service, the context awareness module continues to monitor the cell in which the mobile phone 100 resides, and obtains the cell identifier of the monitored cell, that is, step 2202 is executed.
Step 2209: the context awareness module sends a push card punching message instruction in a second message push mode to the service presentation module.
Step 2210: the service presentation module triggers the handset 100 to push the punch message in the second message push manner.
Embodiments of the present application also provide a computer readable storage medium, where the computer readable storage medium includes computer instructions, where the computer instructions, when executed on the mobile terminal, cause the mobile terminal to perform the functions or steps performed by the mobile phone 100 in the method embodiments described above.
Embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the functions or steps performed by the handset 100 in the method embodiments described above. The computer may be the mobile terminal (e.g., handset 100) described above.
Embodiments of the disclosed mechanisms may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code that is executed on a programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (Digital Signal Processor, DSP), microcontroller, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable storage media. Thus, a machine-readable storage medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, read-Only memories (CD-ROMs), magneto-optical disks, read-Only memories (ROMs), random access memories (Random Access Memory, RAMs), erasable programmable Read-Only memories (Erasable Programmable Read Only Memory, EPROMs), electrically erasable programmable Read-Only memories (Electrically Erasable Programmable Read-Only memories, EEPROMs), magnetic or optical cards, flash Memory, or tangible machine-readable Memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) in an electrical, optical, acoustical or other form of transmission signal based on the internet. Thus, a machine-readable storage medium includes any type of machine-readable storage medium suitable for storing or propagating electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims (10)

1. A message pushing method, wherein the method is applied to a mobile terminal, and the method comprises:
the mobile terminal monitors the wireless signal detected by the mobile terminal or the resident cell, and acquires the monitored wireless signal identification or cell identification;
the mobile terminal judges whether the activity characteristics of a user in a first preset geofence meet preset activity conditions or not under the condition that the mobile terminal enters the first preset geofence based on the monitored identification; wherein the activity characteristic is the movement condition of the user carrying the mobile terminal in a preset geofence; the preset activity conditions include: the mobile terminal detects that the N wireless signals or the resident cells switched are the wireless signals or the resident cells in the first preset geofence, and N is larger than a first preset threshold value;
if the activity characteristics of the user in the first preset geofence meet the preset activity conditions, the mobile terminal pushes a message to the user in a first message pushing mode, wherein the message is used for reminding the user of the service to be executed in the first preset geofence.
2. The method of claim 1, wherein after the mobile terminal pushes the message to the user in the first message pushing manner, the method further comprises:
and under the condition that the mobile terminal enters a second preset geofence based on the monitored identification, the mobile terminal pushes the message to the user in a second message pushing mode, wherein the range of the second preset geofence is smaller than that of the first preset geofence.
3. The method according to claim 2, wherein in case the mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, the mobile terminal pushes a message to a user in a second message pushing manner, comprising:
and the mobile terminal determines that the mobile terminal enters the second preset geofence based on the monitored identification, and pushes the message to the user in the second message pushing mode when the mobile terminal has the service corresponding to the second preset geofence.
4. The method according to claim 2, wherein in case the mobile terminal determines that the mobile terminal enters a second preset geofence based on the monitored identification, the mobile terminal pushes a message to a user in a second message pushing manner, comprising:
And the mobile terminal determines that the mobile terminal enters the second preset geofence based on the monitored identification, and pushes the message to the user in the second message pushing mode when the moving time of the mobile terminal in the second preset geofence is greater than a preset time threshold.
5. The method according to any one of claims 1-4, further comprising:
the mobile terminal judges whether a service corresponding to the first preset geofence exists or not under the condition that the activity characteristics of the user in the first preset geofence are judged to not meet the preset activity conditions;
and under the condition that the mobile terminal judges that the service corresponding to the first preset geofence exists, the mobile terminal pushes the message to the user in a first message pushing mode.
6. The method of any one of claims 1-4, wherein the preset activity conditions further comprise any one or more of:
the mobile terminal detects that the mobile terminal does not leave the first preset geofence within a preset time period, wherein the preset time period is greater than a second preset threshold;
The distance between the mobile terminal and the location of the service to be executed is smaller than a preset distance threshold.
7. The method according to any of claims 1-4, wherein the first message pushing manner is to display the message in text on a display interface of the mobile terminal or to push the message to a user by means of a hover ball, a shake or a headset broadcast by the mobile terminal.
8. The method according to any one of claims 2-4, wherein the first message pushing manner is to display the message in a text manner on a display interface of the mobile terminal, and the second message pushing manner is to push the message to a user by using a suspension ball, vibration or earphone broadcasting manner.
9. A mobile terminal comprising a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute the code instructions to cause the mobile terminal to perform the method of any of claims 1-8.
10. A computer readable storage medium comprising computer instructions which, when run on a mobile terminal, cause the mobile terminal to perform the method of any of claims 1-8.
CN202310520468.2A 2023-05-10 2023-05-10 Message pushing method, mobile terminal and computer readable storage medium Active CN116233749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310520468.2A CN116233749B (en) 2023-05-10 2023-05-10 Message pushing method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310520468.2A CN116233749B (en) 2023-05-10 2023-05-10 Message pushing method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN116233749A CN116233749A (en) 2023-06-06
CN116233749B true CN116233749B (en) 2023-09-12

Family

ID=86570079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310520468.2A Active CN116233749B (en) 2023-05-10 2023-05-10 Message pushing method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116233749B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2744234A1 (en) * 2012-12-11 2014-06-18 BlackBerry Limited Geofencing system and method
CN106790690A (en) * 2017-02-20 2017-05-31 中国地质大学(武汉) A kind of information push method and device across floor
CN111694486A (en) * 2017-05-16 2020-09-22 苹果公司 Device, method and graphical user interface for navigating between user interfaces
CN113779166A (en) * 2021-08-20 2021-12-10 上海瑾盛通信科技有限公司 Geo-fence control method and device, storage medium and electronic equipment
CN114463898A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 Express delivery pickup reminding method and device
CN114928809A (en) * 2021-06-11 2022-08-19 荣耀终端有限公司 Use method of geographic fence and electronic equipment
CN115016705A (en) * 2021-12-29 2022-09-06 荣耀终端有限公司 Express delivery prompting method and electronic equipment
CN115022461A (en) * 2021-12-01 2022-09-06 荣耀终端有限公司 Subway trip detection method and electronic equipment
CN115022448A (en) * 2021-12-01 2022-09-06 荣耀终端有限公司 Subway trip detection method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818331B2 (en) * 2005-04-29 2014-08-26 Jasper Technologies, Inc. Method for enabling a wireless device for geographically preferential services
US9498163B2 (en) * 2013-10-10 2016-11-22 Pushd, Inc. Automated location and activity aware medical monitoring

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2744234A1 (en) * 2012-12-11 2014-06-18 BlackBerry Limited Geofencing system and method
CN106790690A (en) * 2017-02-20 2017-05-31 中国地质大学(武汉) A kind of information push method and device across floor
CN111694486A (en) * 2017-05-16 2020-09-22 苹果公司 Device, method and graphical user interface for navigating between user interfaces
CN114928809A (en) * 2021-06-11 2022-08-19 荣耀终端有限公司 Use method of geographic fence and electronic equipment
CN114463898A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 Express delivery pickup reminding method and device
CN113779166A (en) * 2021-08-20 2021-12-10 上海瑾盛通信科技有限公司 Geo-fence control method and device, storage medium and electronic equipment
CN115022461A (en) * 2021-12-01 2022-09-06 荣耀终端有限公司 Subway trip detection method and electronic equipment
CN115022448A (en) * 2021-12-01 2022-09-06 荣耀终端有限公司 Subway trip detection method and electronic equipment
CN115016705A (en) * 2021-12-29 2022-09-06 荣耀终端有限公司 Express delivery prompting method and electronic equipment

Also Published As

Publication number Publication date
CN116233749A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN114466102B (en) Method for displaying application interface, related device and traffic information display system
CN114666694A (en) Bluetooth headset loss prevention method and electronic equipment
CN114554416B (en) Device tracking detection method and electronic device
CN112817634B (en) COTA package downloading method and device
CN116709180B (en) Geofence generation method and server
CN115016705B (en) Express prompt method and electronic equipment
CN116233749B (en) Message pushing method, mobile terminal and computer readable storage medium
CN115016704B (en) Express prompt method and electronic equipment
CN115097993B (en) Express prompt method and electronic equipment
CN113781731B (en) Alarm method and device
US20230333801A1 (en) Application Access Method And Related Apparatus
CN116709501A (en) Service scene identification method, electronic equipment and storage medium
CN115086413B (en) Information prompting method and electronic equipment
CN116844375B (en) Parking information display method and electronic equipment
CN115297438B (en) Express delivery prompt method, equipment and storage medium
CN116095230B (en) Application program recommendation method, terminal device and readable storage medium
CN116027941B (en) Service recommendation method and electronic equipment
CN117376830B (en) Geofence matching method, electronic device and computer readable storage medium
CN116684524B (en) Site marking method, electronic equipment and storage medium
CN115175164B (en) Communication control method and related device
CN116668951B (en) Method for generating geofence, electronic equipment and storage medium
KR20140136068A (en) A method and Apparatus for configuring machine to machine communication environment by local area network in a vehicle
EP4336865A1 (en) Interaction method and apparatus for electronic device
CN117273687B (en) Card punching recommendation method and electronic equipment
CN116431040A (en) Express prompt method and electronic equipment

Legal Events

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