CN115835135A - CELL fence matching method and electronic equipment - Google Patents

CELL fence matching method and electronic equipment Download PDF

Info

Publication number
CN115835135A
CN115835135A CN202310106625.5A CN202310106625A CN115835135A CN 115835135 A CN115835135 A CN 115835135A CN 202310106625 A CN202310106625 A CN 202310106625A CN 115835135 A CN115835135 A CN 115835135A
Authority
CN
China
Prior art keywords
cell
processor
fence
information
cell information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310106625.5A
Other languages
Chinese (zh)
Other versions
CN115835135B (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 CN202310106625.5A priority Critical patent/CN115835135B/en
Publication of CN115835135A publication Critical patent/CN115835135A/en
Application granted granted Critical
Publication of CN115835135B publication Critical patent/CN115835135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a CELL fence matching method and electronic equipment, relates to the technical field of electronics, and can enable the electronic equipment to have a complete and continuous CELL fence matching scheme, wherein the method comprises the following steps: the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the entering of the electronic device into the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter a first CELL rail, and comprises a process identifier of a first application process; in response to the first event, the second processor controls the first application process to execute the target function.

Description

CELL fence matching method and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a CELL fence matching method and an electronic device.
Background
A CELL (CELL) fence is established by an electronic device based on CELL information of one or more CELL sites within a particular area. When the position of the electronic equipment is matched with the CELL fence, the electronic equipment can be judged to enter the CELL fence, namely a certain specific area.
Currently, the matching scheme of the electronic device based on the CELL fence is operated on the Application Processor (AP). However, when the AP enters the sleep state, the electronic device cannot continue to match the CELL fence, which results in an incomplete and continuous matching scheme for the CELL fence.
Disclosure of Invention
The embodiment of the application provides a matching method of a CELL fence and electronic equipment, which can enable the electronic equipment to have a complete and continuous CELL fence matching scheme.
The embodiment of the application adopts the following technical scheme:
in a first aspect, a CELL fence matching method is provided, which is applied to an electronic device, where the electronic device includes a first processor and a second processor; the first processor stores relevant information of a first CELL fence provided by a first place, wherein the relevant information of the first CELL fence comprises a plurality of groups of first CELL information, and each group of first CELL information comprises a position area code LAC and a base station number CID of a CELL base station; the second processor comprises a first application process for implementing a target function; the method comprises the following steps: the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the electronic device entering the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter a first CELL rail, and comprises a process identifier of a first application process; in response to the first event, the second processor controls the first application process to execute the target function.
Based on the first aspect, in the embodiment of the present application, whether the electronic device enters the first CELL fence is determined through the second CELL information periodically acquired by the first processor; if the first processor determines that the electronic device enters the first CELL fence, the first processor reports a first event to the second processor, so that the second processor controls the first application process to execute the target function. That is to say, in the present application, the CELL matching scheme is deployed in the first processor, and after the first processor determines that the electronic device enters the first CELL fence, the fence entry event is reported to the second processor (that is, the first event is reported), so that the second processor controls the first application process to execute the target function, and the electronic device can have a complete and continuous CELL fence matching scheme.
In one possible design of the first aspect, the first application process is used for achieving an express pickup reminding function, and the first CELL fence is established by the electronic device based on CELL information corresponding to an express receiving point; the second processor controls the first application process to execute the target function, and the method comprises the following steps: the second processor controls the first application process to display first prompt information; the first prompt message is used for reminding a user of taking the express delivery.
In the design mode, after the electronic equipment enters the first CELL fence, the first application process can display first prompt information to remind a user to express and take a piece, and user experience is improved.
In one possible design of the first aspect, the first application process is configured to implement a near field communication, NFC, function, the first application process including a first virtual card; the first CELL fence is established after the electronic equipment completes data interaction by using a first virtual card; the second processor controls the first application process to execute the target function, and comprises the following steps: and the second processor controls the first application process to be automatically switched into a first virtual card corresponding to the first CELL fence.
In the design mode, after the electronic device enters the first CELL fence, the first application process can activate the first virtual card, so that the electronic device can realize the Near Field Communication (NFC) function, and if a user uses the first virtual card to complete payment of riding fees, user experience is improved.
In one possible design of the first aspect, the method further includes: the first processor periodically acquires third CELL information; the third CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment leaves the first CELL fence according to the third CELL information, the first processor reports a second event to the second processor; wherein the electronic device leaving the first CELL fence comprises: the third CELL information is different from each group of first CELL information in the multiple groups of first CELL information; the second event is used for indicating the electronic equipment to leave the first CELL fence, and the second event comprises the process identification of the first application process; in response to the second event, the second processor controls the first application process to close the target function.
In the design mode, the first processor can also periodically acquire third CELL information, and determine whether the electronic equipment leaves the first CELL fence according to the third CELL information; if the electronic equipment leaves the first CELL fence, the first processor reports a second event to the second processor, namely reports a fence exit event, so that the second processor controls the first application process to close the target function, and the power consumption is reduced while the user experience is improved.
In one possible design of the first aspect, the method further includes: after the first application process executes the target function, the first processor caches the currently acquired fourth CELL information and updates the related information of the first CELL fence; wherein, the fourth CELL information comprises LAC and CID of a CELL base station.
In the design mode, after the first application process executes the target function, the first processor may further cache the currently acquired fourth CELL information, and update the relevant information of the first CELL fence, so that the accuracy of the CELL fence matching scheme can be improved.
In one possible design of the first aspect, the method further includes: if the distance between the real-time position of the electronic equipment and the first place is larger than a first distance threshold, the first processor deletes relevant information of the first CELL fence, and/or the first processor stops obtaining second CELL information; or, if the electronic device is in a static state and the time length of the electronic device in the static state is greater than or equal to the first time length, the first processor deletes the relevant information of the first CELL fence, and/or the first processor stops acquiring the second CELL information.
In the design mode, if the distance between the real-time position of the electronic equipment and the first place is greater than a first distance threshold value, namely the electronic equipment leaves the first place, the first processor deletes the relevant information of the first CELL fence; or, the electronic device is in a static state, and the time length of the electronic device in the static state is greater than or equal to the first time length, that is, the electronic device is in the static state for a long time, the relevant information of the first CELL fence is deleted, so that the situation that the relevant information of the first CELL fence occupies the storage space of the first processor can be avoided.
In a possible design of the first aspect, the electronic device further includes a modem, where the modem is configured to collect CELL information around the electronic device; the first processor periodically acquires second CELL information, and the method comprises the following steps: the first processor sends a first request to the modem; the first request is used for requesting the modem to report CELL information around the electronic equipment; responding to the first request, and periodically acquiring CELL information around the electronic equipment by the modem; the modem reports CELL information around the electronic equipment to the first processor; the CELL information surrounding the electronic device includes second CELL information.
In one possible design of the first aspect, the first processor sends the first request to the modem, including: the first processor judges whether relevant information of a CELL fence exists in the first processor; if the first processor has the relevant information of the CELL fence, the first processor sends a first request to the modem.
In one possible design of the first aspect, the method further includes: if the first processor does not have the relevant information of the CELL fence, the first processor judges whether the first processor sends a first request to the modem; if the first processor sends the first request to the modem, the first processor sends a second request to the modem; and the second request is used for requesting the modem to stop reporting the CELL information around the electronic equipment.
In one possible design of the first aspect, the first processor is a smart Sensor Hub; the first processor caches the currently acquired fourth CELL information and updates the related information of the first CELL fence, including: and the Sensor Hub calls a preset function packaged by the platform to cache the fourth CELL information, and updates the related information of the first CELL fence.
In one possible design of the first aspect, the first processor is a smart Sensor Hub, and the second processor is an application processor AP; the first processor reporting the first event to the second processor, comprising: the Sensor Hub calls a public function of a high-pass information interface QMI provided by the platform and reports a first event to the AP.
In a second aspect, an electronic device is provided, which has the function of implementing the method of the first aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a third aspect, an electronic device is provided that may include a first processor, a second processor, and a memory; the first processor stores relevant information of a first CELL fence provided by a first place, wherein the relevant information of the first CELL fence comprises a plurality of groups of first CELL information, and each group of first CELL information comprises a position area code LAC and a base station number CID of a CELL base station; the second processor comprises a first application process for providing a target function; the memory has stored therein computer program code comprising computer instructions which, when executed by the first processor, cause the first processor to perform the steps of: the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the electronic device entering the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter a first CELL fence, and the first event comprises a process identifier of a first application process; when the second processor executes the computer instructions, the second processor is caused to perform the steps of: in response to the first event, the second processor controls the first application process to execute the target function.
In a possible design of the third aspect, the first application process is used for realizing an express pickup reminding function, and the first CELL fence is established by the electronic device based on CELL information corresponding to the express receiving point; when the second processor runs the computer instructions, the second processor is enabled to specifically execute the following steps: the second processor controls the first application process to display first prompt information; the first prompt message is used for reminding a user of taking the express delivery.
In one possible design of the third aspect, the first application process is used to implement a near field communication, NFC, function, and the first application process includes a first virtual card; the first CELL fence is established after the electronic equipment completes data interaction by using a first virtual card; when the second processor runs the computer instructions, the second processor is enabled to specifically execute the following steps: and the second processor controls the first application process to be automatically switched into a first virtual card corresponding to the first CELL fence.
In one possible design of the third aspect, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: the first processor periodically acquires third CELL information; the third CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment leaves the first CELL fence according to the third CELL information, the first processor reports a second event to the second processor; wherein the electronic device leaving the first CELL fence comprises: the third CELL information is different from each group of first CELL information in the multiple groups of first CELL information; the second event is used for indicating the electronic equipment to leave the first CELL fence, and the second event comprises the process identification of the first application process; when the second processor executes the computer instructions, the second processor is caused to further perform the steps of: in response to the second event, the second processor controls the first application process to close the target function.
In one possible design of the third aspect, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: after the first application process executes the target function, the first processor caches the currently acquired fourth CELL information and updates the related information of the first CELL fence; wherein, the fourth CELL information comprises LAC and CID of a CELL base station.
In one possible design of the third aspect, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: if the distance between the real-time position of the electronic equipment and the first place is larger than a first distance threshold value, the first processor deletes relevant information of the first CELL fence, and/or the first processor stops acquiring second CELL information; or, if the electronic device is in a static state and the time length of the electronic device in the static state is greater than or equal to the first time length, the first processor deletes the relevant information of the first CELL fence, and/or the first processor stops acquiring the second CELL information.
In a possible design of the third aspect, the electronic device further includes a modem, where the modem is configured to collect CELL information around the electronic device; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: the first processor sends a first request to the modem; the first request is used for requesting the modem to report CELL information around the electronic equipment; responding to the first request, and periodically acquiring CELL information around the electronic equipment by the modem; the modem reports CELL information around the electronic equipment to the first processor; the CELL information surrounding the electronic device includes second CELL information.
In one possible design of the third aspect, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: the first processor judges whether relevant information of a CELL fence exists in the first processor; if the first processor has the relevant information of the CELL fence, the first processor sends a first request to the modem.
In one possible design of the third aspect, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: if the first processor does not have the relevant information of the CELL fence, the first processor judges whether the first processor sends a first request to the modem; if the first processor sends a first request to the modem, the first processor sends a second request to the modem; and the second request is used for requesting the modem to stop reporting the CELL information around the electronic equipment.
In one possible design of the third aspect, the first processor is a smart Sensor Hub; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: and the Sensor Hub calls a preset function packaged by the platform to cache the fourth CELL information, and updates the related information of the first CELL fence.
In one possible design of the third aspect, the first processor is a smart Sensor Hub; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: the Sensor Hub calls a public function of a high-pass information interface QMI provided by the platform and reports a first event to the AP.
In a fourth aspect, there is provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the method of any of the first aspects above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects above.
For technical effects brought by any one of the design manners in the second aspect to the fifth aspect, reference may be made to technical effects brought by different design manners in the first aspect, and details are not described herein.
Drawings
Fig. 1 is a first schematic view of an application scenario of a CELL fence matching scheme according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an application scenario of a CELL fence matching scheme according to an embodiment of the present application;
fig. 3 is a schematic view of an application scenario three of a CELL fence matching scheme according to an embodiment of the present application;
fig. 4 is a schematic view of a fourth application scenario of the CELL fence matching scheme according to the embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic software framework diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of an initialization according to an embodiment of the present application;
fig. 8 is a first flowchart illustrating a CELL fence matching method according to an embodiment of the present disclosure;
fig. 9 is a second flowchart illustrating a CELL fence matching method according to an embodiment of the present disclosure;
fig. 10 is a third schematic flowchart of a CELL fence matching method according to an embodiment of the present disclosure;
fig. 11 is a fourth schematic flowchart of a CELL fence matching method according to an embodiment of the present disclosure;
fig. 12 is a fifth flowchart illustrating a CELL fence matching method according to an embodiment of the present disclosure;
fig. 13 is a sixth schematic flowchart of a CELL fence matching method according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the solution of the embodiments of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present application without making any creative efforts shall fall within the protection scope of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
For clarity and conciseness of the following description of each embodiment, an application scenario related to the embodiments of the present application is first given.
The scheme provided by the embodiment of the application can be applied to electronic equipment supporting Near Field Communication (NFC) function. For example, data exchange can be performed when the electronic device with the NFC function and the NFC card reader are close to each other, so as to implement various NFC functions, such as card swiping, data transmission, and the like.
Generally, an NFC-enabled electronic device may include an application process (or application program) for implementing near field communication. Such as NFC smart flash card applications, public transportation applications, bank card applications, access control applications, and the like.
In some embodiments, the NFC flash card application may include multiple virtual cards of different types, such as a cell access card, a public transportation card, a company access card, and the like. On this basis, when the electronic device enters a CELL fence corresponding to a certain specific area or moves within the CELL fence of the area, the electronic device may activate a virtual card corresponding to the specific area.
Wherein, the activation state of one virtual card in the plurality of virtual cards of different types is activated. However, the virtual card that is in the activated state is often a default card that is pre-configured. Taking the above electronic device as an example of a mobile phone, for example, as shown in fig. 1 (a), an activated virtual card in the mobile phone is a cell access card, that is, a preconfigured default card is a cell access card. On the basis, when a user takes a bus, the mobile phone enters a CELL fence corresponding to a bus station area. As shown in fig. 1 (b), the mobile phone may switch the activated cell access card to a public transportation card, that is, the currently activated virtual card is a public transportation card. Furthermore, the user can make the mobile phone approach the card reader on the bus, so that data interaction between the mobile phone and the card reader on the bus is realized, namely the mobile phone finishes the payment of taking the bus.
Correspondingly, when the mobile phone enters the CELL fence corresponding to the area near the company, the mobile phone can be switched from the public transport card to the company access card, that is, the currently activated virtual card is switched to the company access card. Furthermore, the user can make the mobile phone approach the card reader on the company entrance guard, so that data interaction between the mobile phone and the card reader on the company entrance guard is realized, and the mobile phone finishes card swiping and door entering.
In other embodiments, the electronic device further comprises an application process for implementing an intelligent reminder service, such as a smart aware application. The smart sensing application belongs to a background application (not sensed by a user) of the electronic device, namely belongs to a service process inside the electronic device. In some embodiments, the electronic device further includes a foreground application (e.g., YOYO advice-courier alert application) developed based on the smart aware application, the YOYO advice-courier alert application being capable of implementing a courier arrival smart alert service upon the smart aware application receiving an event that the electronic device enters the CELL fence. For example, after the electronic device enters CELL, the YOYO advice-courier reminder application may remind the user to pick up the item.
In some embodiments, the electronic device may prompt the user to take the express delivery by displaying a first prompt message on the screen. Illustratively, the first prompt message may be pushed by one or more of a notification bar message, a drop-down bar message, a screen locking interface, a primary interface or a negative one-screen interface, which pops out a YOYO advice card.
Still taking the above-mentioned electronic device as an example of a mobile phone, for example, when the mobile phone enters an express receiving point area, the mobile phone may automatically pop up a YOYO suggestion card on one negative screen to remind the user to take the express. For example, the YOYO advice card may include a delivery order number, a recipient mobile phone tail number, a delivery receiving point name, a delivery arrival time at the receiving point, and the like. As shown in fig. 2, for another example, the YOYO advice card may include a pickup code, a name of a courier receiving point, a scanned pickup, and the like.
For another example, as shown in fig. 3, when the mobile phone enters the express receiving point area, the mobile phone may automatically pop up a YOYO advice card on the lock screen interface to remind the user to pick up the express. Alternatively, as shown in fig. 4, when the mobile phone enters the courier receiving point area, the mobile phone may display a YOYO advice message in the notification bar to remind the user to take the pickup. Of course, the mobile phone can remind the user to take the part in other ways, which are not listed here.
It should be noted that, for the illustration of the content of the YOYO suggestion card in fig. 3 and the content of the YOYO suggestion message in fig. 4, reference may be made to the above embodiments, and details are not repeated here. In addition, the express receiving point described in the above embodiment may be understood as a temporary transfer point of the express, and after the express is temporarily stored at the express receiving point, the user may take out the express from the express receiving point at a convenient time. For example, the express receiving point may include an express cabinet, a courier station, and the like, and the express receiving point name may include: express cabinet name, post house name, etc.
In some embodiments, the CELL fence refers to a CELL fence established by the electronic device using CELL information of the first location. In the moving process of the electronic equipment, the electronic equipment periodically collects the surrounding CELL information and matches the collected CELL information with the established CELL fence; and if the collected CELL information is matched with the established CELL fence, the electronic equipment is considered to enter the CELL fence. Then, the electronic device can control the NFC smart flash card application or the YOYO advice-express reminder application to execute the corresponding function. For example, the electronic device may control the NFC smart flash card application to automatically switch the corresponding virtual card; alternatively, the electronic device controls the YOYO advice-courier reminder application to automatically pop up the YOYO advice card to remind the user to pick up the item.
In some embodiments, when the electronic device includes an NFC smart card application for implementing an NFC function, the CELL fence established by the electronic device based on the first location is acquired after the electronic device completes data interaction with a virtual card corresponding to the first location for the first time. For example, assuming that the first place is a bus station area, the electronic device collects CELL information around the bus station after the first time of using the public transportation card to swipe a bus, and establishes a CELL fence based on the collected CELL information.
In other embodiments, when the electronic device includes a smart awareness application for implementing a smart courier reminder service, the CELL fence established by the electronic device based on the first location is learned by the electronic device from the user representation. The user image includes CELL information near the user's home, CELL information near the express receiving point, and the like. Illustratively, when the electronic device receives a message to be taken, the electronic device collects CELL information around a home of the user, CELL information around express receiving points and CELL information between the home and the express receiving points of the user, and establishes a CELL fence based on the collected CELL information.
The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the drawings of the specification.
For example, the electronic device provided in the embodiments of the present application may be a mobile phone, a sports camera (GoPro), a digital camera, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) Virtual Reality (VR) device, and the like, and the embodiments of the present application do not particularly limit the specific form of the electronic device.
Fig. 5 is a schematic structural diagram of the electronic device 100. Among them, the electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a modem (modem) 181, a button 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. Wherein, the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), a smart Hub (Sensor Hub), and/or the like. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
In the embodiment of the present application, the smart Sensor Hub (Sensor Hub) may be referred to as a first processor, and the Application Processor (AP) may be referred to as a second processor. In some embodiments, the matching scheme for CELL fence can be deployed on the application processor side, i.e. the matching scheme for CELL fence runs in a Central Processing Unit (CPU). However, when the system is in a sleep state (for example, the mobile phone is turned off), the application processor enters the sleep state, and at this time, the application processor cannot execute the matching scheme of the CELL fence, that is, the scheme of the present application cannot be implemented. This is because when the system is in a sleep state, the application processor cannot acquire the CELL information due to the sleep state, and thus cannot perform matching with the CELL fence based on the acquired CELL information. If the application processor is forcibly awakened and the CELL information is acquired, the CELL information acquisition needs to be periodically and frequently acquired, so that the behavior of forcibly awakening the application processor and acquiring the CELL information brings extremely high power consumption to the electronic equipment, and the extremely high power consumption is unacceptable for the electronic equipment, and can cause the problems of overhigh power consumption, overhigh temperature and the like of the electronic equipment.
Based on this, the matching scheme of the CELL fence can be deployed at the Sensor Hub side, that is, the matching scheme of the CELL fence runs in a Micro Controller Unit (MCU), the CELL information is collected by the Sensor Hub, and the CELL fence is matched based on the collected CELL information. The Sensor Hub is a chip which is integrated in a Micro Controller Unit (MCU), has certain processing capability and low power consumption, can be used for processing data from various sensors, and therefore the matching scheme of the CELL fence is deployed on the Sensor Hub side, and the matching capability of the all-weather low-power-consumption CELL fence of the electronic equipment can be realized.
Illustratively, the Sensor Hub may be connected to the modem 181 and collect CELL information from the modem 181; and then, the Sensor Hub matches the collected CELL information with the CELL fence, and judges whether the electronic equipment enters the CELL fence. Thus, when the application processor is in a dormant state, the Sensor Hub can realize real-time control over the modem 181 so as to control the modem 181 to periodically acquire the CELL information, thereby realizing the all-weather low-power-consumption CELL fence matching monitoring capability of the electronic equipment. That is to say, the present application deploys the matching scheme of the CELL fence at the Sensor Hub side, which can provide continuous and complete matching capability of the CELL fence and achieve the function of reducing power consumption.
The controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete 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 have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device. In other embodiments, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging 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, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera module 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 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 electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-OLED, a quantum dot light-emitting diode (QLED), and the like.
The electronic device 100 may implement a photographing function through the ISP, the camera module 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as audio, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.
The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of hardware and software.
In order to make the technical solutions of the present application clearer and easier to understand, the method of the embodiments of the present application is exemplarily described below with reference to a software architecture of an electronic device.
Fig. 6 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
The software system of the electronic device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, the software structure of the electronic device 100 is exemplarily described by taking the hierarchical Android system as an example.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into, from top to bottom, an application layer (APP), an application framework layer (FWK), a Hardware Abstraction Layer (HAL), and a driver layer. It should be understood that: as will be shown by the example of the Android systems, in other operating systems (e.g., iOS systems), the scheme of the present application can also be implemented as long as the functions implemented by the respective function modules are similar to the embodiments of the present application.
In some embodiments, the application layer may include a series of Application Packages (APKs). As shown in fig. 6, various applications, such as applications for conversation, memo, browser, contact, gallery, calendar, map, bluetooth, music, video, and short message, may be installed in the application program layer. In the embodiment of the application, the application program layer further includes an application process for implementing near field communication, such as an NFC smart card application; or the intelligent express reminding system further comprises an application process for realizing the intelligent express reminding service, such as intelligent perception application. The following embodiments are described with the application layer including a smart aware application as an example.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application layer. The application framework layer includes a number of predefined functions. For example, the application framework layer may include a window manager, a content provider, a view system, an explorer, a notification manager, etc., which are not limited in any way by the embodiments of the present application.
Illustratively, the window manager described above is used to manage window programs. The window manager can obtain 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 it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system described above can be used to build a display interface for an application. Each display interface may be comprised of one or more controls. Generally, controls may include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, micro (Widget) pieces, and the like. The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, and the like, to the application. The notification manager can display notification information in the status bar by using an application program, can be used for conveying notification type messages, can automatically disappear after a short time of stopping, and does not need user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, 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, to prompt text messages in the status bar, to emit a prompt tone, to vibrate, to flash an indicator light, etc.
In this embodiment of the application, the application framework layer further includes a fence management service (lbs service), and the fence management service may interact with the hardware abstraction layer after being started, and may issue the relevant information of the CELL fence (e.g., multiple sets of first CELL information) to the driver layer through the hardware abstraction layer.
The hardware abstraction layer is an interface layer between the kernel layer and the hardware, and may be used to abstract the hardware. In some embodiments, the hardware abstraction layer includes a hardware abstraction layer interface definition language (HIDL) interface. Wherein, the hardware abstraction layer can include: camera HAL, audio HAL, wi-Fi HAL, CELL HAL, and the like.
The driving layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver, a modem driver and the like. In the embodiment of the present application, the driving layer further includes a CELL driver, and the CELL driver includes a CELL matching module. Wherein, the CELL drives to cache the relevant information of the CELL fence (such as multiple groups of first CELL information); the CELL matching module is configured to execute a CELL fence matching scheme to determine whether the electronic device enters/exits a CELL fence (e.g., a first CELL fence).
In the embodiment of the application, an application layer, an application framework layer, a hardware abstraction layer, and a driver layer may be deployed on an application processor side, and the driver layer may be deployed on a smart Sensor Hub (Sensor Hub) side. Therefore, the Sensor Hub can execute the matching scheme of the CELL fence, and the all-weather low-power-consumption CELL fence matching monitoring capability of the electronic equipment can be realized.
The electronic device of the embodiment of the application depends on a high-pass chip platform. Because the architectures of different chip platforms are different, in order to implement the scheme of the present application, it is first necessary to initialize each module in the software framework layer in the high-pass chip platform.
It should be noted that the high-pass chip platform may initialize each module in the software framework layer when the electronic device is powered on. The electronic device may be powered on for the first time or each time.
Illustratively, as shown in fig. 7, initializing each module in the software framework layer includes: initializing a wisdom-aware application, initializing a fence management service, initializing a HAL layer, and initializing a driver layer. Wherein, initializing the wisdom perception application and initializing the fence management service includes: and giving initial values to variables and functions of codes in the intelligent perception application and the fence management service. Initializing the HAL layer includes: assigning initial values to variables and functions of codes in the HAL layer; create thread A, create a journal, and create a reliability Design (DFR) mechanism. Initializing the driving layer includes: creating a CELL driver, creating a thread B and acquiring interface parameters of relevant information of a user receiving a CELL fence.
The initialization of the variables and functions of the codes in the HAL layer can be realized by calling a cellfunce function. The thread a is configured to receive each event (e.g., an event that the electronic device enters/exits the CELL fence) reported to the HAL layer by the driver layer. The log is used for recording relevant information of the CELL fence, so that subsequent developers can quickly locate the CELL fence when performing problem maintenance. The reliability Design (DFR) mechanism is used to monitor the state of the driver layer, such as monitoring whether the Sensor Hub is restarted, abnormal, etc.
Accordingly, CELL drives the relevant information (e.g., sets of first CELL information) for caching the CELL fence. Thread B is used to collect CELL information (e.g., sets of second CELL information) collected by the modem. Illustratively, the CELL driver can be created by preset functions (sns _ malloc, sns _ free, etc.) of the high-pass chip platform package.
The following illustrates the methods provided in the examples of the present application.
As shown in fig. 8, when the smart aware application in the application layer is started, the smart aware application may connect/disconnect the fence management service through a Software Development Kit (SDK). When the intelligent perception application is successfully connected with the fence management service, the intelligent perception application can start the fence management service by calling a preset API. The fence management service can interact with the hardware abstraction layer during operation.
Correspondingly, the hardware abstraction layer can establish connection with the driver layer through a common function of a high-pass information interface (QMI) provided by the high-pass chip platform. When the hardware abstraction layer is successfully connected with the driver layer, the hardware abstraction layer can interact with the driver layer.
For example, the smart aware application may collect, at runtime, a plurality of sets of first CELL information provided by the first location via a wireless communication module (e.g., a modem chip), and establish information related to the first CELL fence. The intelligent perception application can start the fence management service by calling a preset API (application program interface), so that the fence management service issues the related information of the first CELL fence to the hardware abstraction layer. And then, the hardware abstraction layer can issue the relevant information of the first CELL fence to the driving layer through interaction with the driving layer, so that the driving layer caches the relevant information of the first CELL fence.
In some embodiments, as also shown in fig. 8, the smart awareness application issues information related to the first CELL fence to the CELL HAL in the hardware abstraction layer through the fence management service; the intelligent perception application issues relevant information of a first CELL fence to a CELL HAL in a hardware abstraction layer through a fence management service, and carries a process identifier (such as a callback function) of the intelligent perception application. Then, the CELL HAL firstly caches the process identification of the intelligent perception application, then issues the relevant information of the first CELL fence to the CELL driver in the driving layer, and the CELL driver caches the relevant information of the first CELL fence.
Illustratively, in one aspect, the CELL driver returns the cached results of the CELL fence to the smart aware application. For example, the CELL driver returns the successful result of CELL fence caching to the wisdom-aware application through CELL HAL in the hardware abstraction layer, and the fence management service. The successful result of the CELL fence caching returned by the CELL driver also carries the identifier of the CELL fence (for example, the ID of the first CELL fence). On the other hand, the CELL driver notifies the modem driver, and the modem driver drives a hardware device such as a modem chip to acquire CELL information (for example, second CELL information) around the electronic device.
For example, with reference to the foregoing embodiment, when the modem driver drives the modem chip to acquire the second CELL information, the thread B created by the driver layer collects the second CELL information, and reports the collected second CELL information to the CELL matching module in the CELL driver, and the CELL matching module performs matching between the relevant information (for example, multiple sets of first CELL information) in the first CELL fence and the second CELL information, and generates a matching result. Illustratively, the matching result includes that the second CELL information is matched with the plurality of groups of first CELL information; or the second CELL information is not matched with the plurality of groups of first CELL information. And subsequently, the CELL matching module generates a fence entering/exiting event according to a matching result. Illustratively, if the matching result is that the second CELL information is matched with multiple groups of first CELL information, the CELL matching module generates a first event according to the matching result, that is, an event that the electronic device enters the first CELL fence is generated; and if the matching result is that the second CELL information is not matched with the multiple groups of first CELL information, the CELL matching module generates a second event according to the matching result, namely an event that the electronic equipment exits the first CELL fence is generated.
Further, the CELL matching module reports the fence entry/exit event to a CELL HAL in the hardware abstraction layer, and the CELL HAL can report the fence entry/exit event to an intelligent perception application in the application layer through an API provided by a fence management service. And after receiving the fence entry/exit event, the intelligent perception application executes the target function provided by the intelligent perception application. Taking a fence event as an entry event, that is, the electronic device enters the first CELL fence example, for example, the smart perception application triggers YOYO advice-express reminder application to automatically pop up a YOYO advice card, and wakes up the electronic device screen to remind the user to pick up the item.
For example, after the CELL HAL caches, the CELL HAL reports the fence entry/exit event to the fence management service using the callback function, and then the fence management service reports the fence entry/exit event to the application process corresponding to the callback function through the callback function, that is, reports the application process to the smart awareness application.
In the embodiment of the present application, since the electronic device is equipped with a high-pass chip platform, the communication method between the hardware abstraction layer and the driver layer is a CS-architecture-based communication method, that is, the AP and the Sensor Hub communicate with each other by using the CS-architecture communication method. The communication mode of the CS architecture refers to that the hardware abstraction layer serves as a client (client), the driver layer serves as a server (server) to establish a link for bidirectional communication, and a heartbeat mechanism is used for communication.
Illustratively, when a CELL HAL in a hardware abstraction layer issues related information of a first CELL fence to a CELL driver in a driver layer, the CELL HAL sends a request message for issuing the related information of the first CELL fence to the CELL driver, and after receiving a request message for issuing the related information of the first CELL fence sent by the CELL HAL, the CELL driver returns a response message corresponding to the request message to the CELL HAL; and then the CELL HAL sends the relevant information of the first CELL fence to the CELL driver.
Correspondingly, when the CELL driver in the driver layer reports the rail entering/exiting event to the CELL HAL in the hardware abstraction layer, the CELL driver sends a request message for reporting the rail entering/exiting event to the CELL HAL, and after receiving the request message for reporting the rail entering/exiting event sent by the CELL driver, the CELL HAL returns a response message corresponding to the request message to the CELL driver. Then, CELL drives reporting fence entry/exit events to CELL HAL.
In some embodiments, the smart sensing application may further identify a state of the electronic device, and issue the state of the electronic device to the driver layer by layer through the fence management service and the hardware abstraction layer, so that the driver layer executes a corresponding function according to the state of the electronic device. For example, the state of the electronic device may include a stationary state, a moving state, and a distance between the real-time location of the electronic device and the first location.
Illustratively, when the smart awareness application recognizes that the electronic device is in a static state, and the time length of the electronic device in the static state is greater than or equal to a first time length, the smart awareness application issues the state of the electronic device to the driver layer by layer through the fence management service and the hardware abstraction layer. After the drive layer wisdom perception uses the state of the electronic equipment issued, the CELL drive in the drive layer informs the modem drive to drive the modem chip to stop collecting the CELL information around the electronic equipment; and/or, deleting the first CELL fence driven by the CELL in the driving layer.
Or when the intelligent perception application identifies that the distance between the real-time position of the electronic equipment and the first place is greater than a first distance threshold value, the intelligent perception application issues the state of the electronic equipment to the driving layer by layer through the fence management service and the hardware abstraction layer. After the drive layer wisdom perception uses the state of the electronic equipment issued, the CELL drive in the drive layer informs the modem drive to drive the modem chip to stop collecting the CELL information around the electronic equipment; and/or, deleting the first CELL fence driven by the CELL in the driving layer.
In some embodiments, the CELL driver is also used to determine information about the presence of a CELL fence. Illustratively, if relevant information of a CELL fence exists in the CELL driver, the CELL driver informs the modem driver to drive the modem chip to acquire CELL information around the electronic device. And if the relevant information of the CELL fence does not exist in the CELL driver, the CELL driver informs the modem driver to drive the modem chip to stop acquiring the CELL information around the electronic equipment.
As shown in fig. 9, the hardware abstraction layer also includes a state detection module. The state detection module is used for monitoring the state of the CELL driver, such as monitoring whether the CELL driver is restarted. Illustratively, the state detection module includes a reliability Design (DFR) mechanism created by a hardware abstraction layer, and may be configured to monitor whether the CELL driver is restarted.
In some embodiments, the state detection module periodically sends a request message for acquiring the state of the CELL driver to the CELL driver, and after receiving the request message sent by the state detection module, the CELL driver returns a response message to the state detection module to return to the state of the CELL driver (if the state is restarted). On the basis, if the state of the CELL drive returned to the state detection module by the CELL drive is a restarting state, the state detection module generates an abnormal event according to the restarting state and reports the abnormal event to the intelligent perception application through the fence management service. Illustratively, the state detection module reports the exception event to the smart aware application through the fence management service using a cached process identifier (e.g., callback function).
After the smart sensing application receives the abnormal event reported by the state detection module, the smart sensing application acquires multiple groups of first CELL information provided by the first place again through a wireless communication module (such as a modem chip) and reestablishes relevant information of a first CELL fence. Correspondingly, the intelligent perception application issues the related information of the reestablished first CELL fence to the CELL driver through the fence management service.
The embodiments of the present application are introduced above with reference to software architecture and hardware structure, and the following describes technical solutions of the embodiments of the present application in detail with reference to the description.
It can be understood that the technical solution provided by the embodiment of the present application is applied to the electronic device, which includes a first processor and a second processor; the first processor may be a smart Sensor Hub (Sensor Hub), and the second processor may be an Application Processor (AP). For example, the AP may collect CELL information around the first site through a smart perception application included in the application layer to obtain relevant information of the first CELL fence, and add the relevant information of the first CELL fence to the Sensor Hub.
Taking the first place as an express receiving point as an example, the smart perception application may collect CELL information near the home of the user to obtain related information of the first CELL fence. For example, the smart perception application may collect CELL information of a location where the electronic device is located within a preset time period (e.g., 1-00-3; then, after the electronic device changes from the static state to the moving state, the smart sensor application collects CELL information of the position of the electronic device within a period of time (e.g., 10 minutes). On the basis, the intelligent perception application establishes a first CELL fence based on the collected CELL information.
Illustratively, the information related to the first CELL fence includes a plurality of sets of first CELL information, each set of first CELL information including a Location Area Code (LAC) and a base station identity (CID) of a CELL base station. On the basis, the intelligent perception application can add the related information of the first CELL fence to the Sensor Hub in a set form, so that the Sensor Hub can store the related information of the first CELL fence. The relevant information for the first CELL fence as stored in the Sensor Hub can be: CELL ID1= { LAC1+ CID1, LAC2+ CID2, \ 8230;, LACn + CIDn }. Wherein CELL ID1 refers to the identity of the first CELL fence, i.e., the ID of the first CELL fence.
It can be understood that the function of the electronic device executing the CELL matching algorithm is in CELL driving of the driving layer on the Sensor Hub side, and therefore, the AP saving the relevant information of the first CELL fence to the Sensor Hub means: and the intelligent perception application issues the relevant information of the first CELL fence to the CELL driver of the driver layer.
In some embodiments, the smart awareness application may issue the relevant information layer of the first CELL fence layer by the CELL HAL in the hardware abstraction layer to the CELL driver in the driver layer through the fence management service, so that the CELL driver caches the relevant information of the first CELL fence. Further, the CELL driver may generate an ID of the first CELL fence according to the related information of the first CELL fence, and return the addition result to the smart awareness application. Illustratively, the addition result is used to indicate that the first CELL fence is successfully saved, and the addition result also carries the ID of the first CELL fence.
Illustratively, as shown in FIG. 10, first, the wisdom-aware application invokes the SDK interface connection fence management service. When the smart sensing application is successfully connected with the fence management service, the smart sensing application can call the LBS service interface to transmit the relevant information of the first CELL fence to the fence management service. After the fence management service receives the relevant information of the first CELL fence, the fence management service calls an interface corresponding to the CELL HAL and sends the relevant information of the first CELL fence to the CELL HAL. After the CELL HAL receives the relevant information of the first CELL fence, the CELL HAL calls an interface corresponding to the drive CELL and issues the relevant information of the first CELL fence to the drive CELL.
Further, after the drive CELL receives the relevant information of the first CELL fence, the drive CELL firstly caches the relevant information of the first CELL fence. For example, the drive CELL uses a preset function (such as sns _ malloc, sns _ free, etc.) provided by the high-pass chip platform to cache the related information of the first CELL fence. And then, driving the CELL to generate the ID of the first CELL fence according to the relevant information of the first CELL fence, and returning an adding result to the intelligent perception application. Illustratively, the CELL is driven to call an interface corresponding to the CELL HAL, and the adding result is reported to the CELL HAL. After the CELL HAL receives the addition result, the CELL HAL reports the addition result to the fence management service by using the cached process identifier (such as a callback function). After receiving the adding result, the fence management service uses a process identifier (such as a callback function) to report the adding result to the intelligent perception application corresponding to the callback function.
Based on the mode, after the CELL driver caches the relevant information of the first CELL fence, the CELL driver executes a CELL matching algorithm based on the relevant information of the first CELL fence to judge whether the electronic equipment enters/exits the first CELL fence. Exemplarily, fig. 11 is a schematic flowchart of a matching method for a CELL fence according to an embodiment of the present invention, and as shown in fig. 11, the method can be implemented by the following steps.
S201, the first processor periodically acquires second CELL information.
Wherein the second CELL information comprises LAC and CID of a CELL base station.
In some embodiments, the first processor may drive the modem chip to periodically acquire CELL information around the electronic device to obtain second CELL information. Illustratively, CELL information around an electronic device can be acquired by driving a hardware device such as a modem chip by a modem driver disposed on the first processor side.
With reference to fig. 10, as shown in fig. 12, after the CELL driver on the first processor side receives the information related to the first CELL fence, the CELL driver notifies the modem driver to drive a hardware device such as a modem chip to acquire CELL information around the electronic device. Illustratively, the CELL driver sends a first request to the modem driver, the first request requesting the modem driver to report CELL information around the electronic device. After receiving a first request sent by a CELL driver, a modem driver responds to the first request and drives a modem chip to periodically acquire CELL information around the electronic device; and then, the modem driver collects the CELL information around the electronic equipment acquired by the modem chip, and returns the acquired CELL information around the electronic equipment to the CELL driver, so that the CELL driver acquires second CELL information.
In some embodiments, before the CELL driver sends the first request to the modem driver, the method further comprises: the CELL drive judges whether relevant information of a CELL fence exists in the CELL drive; and if the relevant information of the CELL fence exists in the CELL driver, the CELL driver sends a first request to the modem driver. If the relevant information of the CELL fence does not exist in the CELL driver, judging whether the CELL driver sends a first request to the modem driver or not; and if the CELL driver sends the first request to the modem driver, the CELL driver sends a second request to the modem driver, wherein the second request is used for requesting the modem driver to stop reporting the CELL information around the electronic equipment. If the CELL driver does not send the first request to the modem driver, the CELL driver does nothing.
That is, when the related information of the CELL fence exists in the CELL driver, the CELL driver may obtain the CELL information (e.g., multiple sets of second CELL information) around the electronic device, so that the CELL matching module included in the CELL driver executes the CELL matching algorithm. In this way, the reliability of the first processor executing the CELL matching algorithm can be ensured.
S202, the first processor judges whether the electronic equipment enters a first CELL fence.
In some embodiments, the first processor matches the information related to the first CELL fence (i.e., multiple sets of first CELL information) with the second CELL information, and determines whether the electronic device enters the first CELL fence according to a matching result.
For example, as shown in fig. 12, a CELL matching module included in the CELL driver on the first processor side may execute a CELL matching algorithm to determine whether the electronic device enters the first CELL fence. For example, the CELL matching module matches a plurality of sets of CELL information with the second CELL information, and if the plurality of sets of first CELL information are matched with the second CELL information, the CELL matching module determines that the electronic device enters a first CELL fence. Correspondingly, if the multiple groups of first CELL information are not matched with the second CELL information, the CELL matching module determines that the electronic equipment does not enter the first CELL fence.
Wherein, the matching of the multiple groups of first CELL information and the second CELL information comprises: the second CELL information is the same as any one of the first CELL information. The mismatch between the plurality of sets of first CELL information and the second CELL information comprises: the second CELL information is different from each of the first CELL information groups.
In other words, based on the above matching algorithm, if the second CELL information is the same as any one of the first CELL information, the CELL matching module determines that the electronic device enters the first CELL fence. Correspondingly, if the second CELL information is different from each group of first CELL information in the multiple groups of first CELL information, the CELL matching module confirms that the electronic equipment does not enter the first CELL fence.
Further, in step S202, after the first processor executes the CELL matching algorithm, the matching result output by the algorithm is converted into a fence entry/exit event, and the fence entry/exit event is reported to the first processor. For example, if the matching result output by the CELL matching algorithm is that the second CELL information is the same as any one of the first CELL information groups, the first processor converts the matching result into a fence entry event (or called a first event).
In order to further achieve the purpose of reducing power consumption, in some embodiments, if the matching result output by the CELL matching algorithm is that the plurality of sets of first CELL information are not matched with the plurality of sets of second CELL information, the first processor does not convert the matching result into a fence non-entry event. In this way, the first processor does not need to report the fence non-entry event to the second processor, so that the power consumption can be further reduced.
S203, the first processor reports the first event to the second processor.
It can be understood that, if the first processor determines that the electronic device enters the first CELL fence, the first processor reports the first event to the second processor, that is, reports the fence entry event. Wherein the first event includes a process identifier of the first application process, such as a process identifier (e.g., callback function) of the smart aware application.
For example, as shown in fig. 12, the CELL driver calls an interface corresponding to the CELL HAL to report a first event (i.e., report a fence entry event) to the CELL HAL. After receiving the first event, the CELL HAL reports the first event to the fence management service using a process identifier (e.g., callback function) of the smart aware application. After receiving the first event, the fence management service reports the first event to the smart aware application through a process identifier (e.g., callback function) of the smart aware application.
And S204, responding to the first event, and controlling the first application process to execute the target function by the second processor.
Taking the first application process as an example of the smart perception application, the second processor may control the first application process to activate a first virtual card (such as the public transportation card mentioned above); alternatively, the second processor may control the first application process to display the first prompt message, such as automatically popping up the YOYO express card, to prompt the user to pick up the package.
In some embodiments, as shown in fig. 13, after the first processor determines that the electronic device enters the first CELL fence, the method further comprises:
s205, the first processor periodically acquires third CELL information.
Wherein the third CELL information comprises LAC and CID of a CELL base station.
Fig. 13 and the above-mentioned embodiments show a specific implementation method for the first processor to periodically obtain the third CELL information, and a specific implementation process of the method is similar to a process for the first processor to periodically obtain the second CELL information, and details are not repeated here.
S206, the first processor judges whether the electronic equipment leaves the first CELL fence.
In some embodiments, the first processor matches the information related to the first CELL fence (i.e., multiple sets of first CELL information) with the third CELL information, and determines whether the electronic device leaves the first CELL fence according to a matching result.
For example, as shown in fig. 12, a CELL matching module included in the CELL driver on the first processor side may execute a CELL matching algorithm to determine whether the electronic device leaves (or exits) the first CELL fence. For example, the CELL matching module matches a plurality of sets of CELL information with the third CELL information, and if the plurality of sets of first CELL information are not matched with the third CELL information, the CELL matching module determines that the electronic device leaves the first CELL fence. Correspondingly, if the plurality of sets of first CELL information are matched with the third CELL information, the CELL matching module determines that the electronic equipment does not leave the first CELL fence.
Wherein the mismatch between the plurality of sets of first CELL information and the third CELL information comprises: the third CELL information is different from each of the first CELL information sets. The matching of the plurality of sets of first CELL information and the second CELL information comprises: the third CELL information is the same as any one of the first CELL information.
In other words, based on the above matching algorithm, if the third CELL information is different from each of the first CELL information in the plurality of sets of first CELL information, the CELL matching module determines that the electronic device leaves the first CELL fence. Correspondingly, if the third CELL information is the same as any one of the first CELL information, the CELL matching module confirms that the electronic equipment does not leave the first CELL fence.
Further, in step S206, after the first processor executes the CELL matching algorithm, the matching result output by the algorithm is converted into a fence entry/exit event, and the fence entry/exit event is reported to the first processor. For example, if the matching result output by the CELL matching algorithm is that the third CELL information is different from each of the first CELL information in the plurality of sets of first CELL information, the first processor converts the matching result into a fence exit (leaving) event (or called a second event).
In order to further achieve the purpose of reducing power consumption, in some embodiments, if the matching result output by the CELL matching algorithm is that the third CELL information is the same as any one of the first CELL information in the plurality of sets of first CELL information, the first processor does not convert the matching result into a fence non-leaving event. In this way, the first processor does not need to report the fence non-leaving event to the second processor, so that the power consumption can be further reduced.
And S207, the first processor reports the second event to the second processor.
It is understood that if the first processor determines that the electronic device leaves the first CELL fence, the first processor reports the second event to the second processor, i.e., reports a fence exit event. Wherein the second event includes a process identifier of the first application process, such as a process identifier (e.g., callback function) of the smart aware application.
It should be noted that, the first processor reports the second event to the second processor, which is similar to the specific implementation manner of reporting the first event to the second processor by the first processor, and reference may be made to the foregoing embodiment, and details are not repeated here.
And S208, responding to the second event, and controlling the first application process to close the target function by the second processor.
Taking the first application process as an example of the smart perception application, the second processor may control the first application process to exit the activated first virtual card (e.g., the public transportation card). For example, the second processor may control the first application process to switch the activated first virtual card to a default virtual card (such as the cell access control card described above).
Alternatively, the second processor may control the first application process to exit the displayed first prompt message. For example, the second processor may control the first application process to exit the YOYO express card.
In summary, in the embodiment of the present application, the first processor (i.e., the Sensor Hub) may periodically acquire the second CELL information, and determine whether the electronic device enters the first CELL fence based on matching between the acquired second CELL information and the related information of the first CELL fence (e.g., multiple sets of first CELL information). That is to say, the present application deploys the matching scheme of the CELL fence at the Sensor Hub side, and if the Sensor Hub determines that the electronic device enters the first CELL fence, the Sensor Hub reports a fence entry event to the second processor (i.e., the AP), so as to wake up the AP, so that the AP controls the first application process to execute the target function. That is to say, the present application deploys the CELL fence matching scheme on the Sensor Hub side, thereby providing a continuous and complete low-power CELL fence matching capability.
In view of the fact that the CELL information in different places is different and the CELL information in the same place may change in real time, in the embodiment of the present application, after the first application process executes the target function, the first application process may further acquire the current CELL information to obtain the fourth CELL information. And then, the first application process issues the acquired fourth CELL to the first processor, so that the first processor updates the relevant information of the first CELL fence by using the fourth CELL information. Wherein, the fourth CELL information comprises LAC and CID of a CELL base station.
For example, the first application process (e.g., the smart perception application) may issue the fourth CELL information to the CELL driver in the driver layer through the fence management service and the CELL HAL in the hardware abstraction layer, so that the CELL driver caches the fourth CELL information and updates the related information of the first CELL fence. For example, the CELL driver may call a preset function (e.g., sns _ malloc, sns _ free, etc.) of the high-pass chip platform package to cache the fourth CELL information.
The contents described in the embodiments of the present application may explain and explain technical features in other embodiments of the present application, and technical features described in the embodiments may also be applied to other embodiments to combine with technical features in other embodiments to form a new solution.
The embodiment of the application also provides an electronic device, which can comprise a first processor, a second processor and a memory; the first processor stores relevant information of a first CELL fence provided by a first place, wherein the relevant information of the first CELL fence comprises a plurality of groups of first CELL information, and each group of first CELL information comprises a position area code LAC and a base station number CID of a CELL base station; the second processor comprises a first application process for providing a target function; the memory has stored therein computer program code comprising computer instructions which, when executed by the first processor, cause the first processor to perform the steps of: the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the electronic device entering the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter a first CELL rail, and comprises a process identifier of a first application process; when the second processor executes the computer instructions, the second processor is caused to perform the steps of: in response to the first event, the second processor controls the first application process to execute the target function.
In some embodiments, the first application process is used for realizing an express pickup reminding function, and the first CELL fence is established by the electronic device based on CELL information corresponding to an express receiving point; when the second processor runs the computer instructions, the second processor is enabled to specifically execute the following steps: the second processor controls the first application process to display first prompt information; the first prompt message is used for reminding a user of taking the express delivery.
In some embodiments, the first application process is for implementing a near field communication, NFC, function, the first application process comprising a first virtual card; the first CELL fence is established after the electronic equipment completes data interaction by using a first virtual card; when the second processor runs the computer instructions, the second processor is enabled to specifically execute the following steps: and the second processor controls the first application process to be automatically switched into a first virtual card corresponding to the first CELL fence.
In some embodiments, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: the first processor periodically acquires third CELL information; the third CELL information comprises LAC and CID of a CELL base station; if the first processor determines that the electronic equipment leaves the first CELL fence according to the third CELL information, the first processor reports a second event to the second processor; wherein the electronic device leaving the first CELL fence comprises: the third CELL information is different from each group of first CELL information in the multiple groups of first CELL information; the second event is used for indicating the electronic equipment to leave the first CELL fence, and the second event comprises the process identification of the first application process; when the second processor executes the computer instructions, the second processor is caused to further perform the steps of: and responding to a second event, and controlling the first application process to close the target function by the second processor.
In some embodiments, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: after the first application process executes the target function, the first processor caches the currently acquired fourth CELL information and updates the related information of the first CELL fence; wherein, the fourth CELL information comprises LAC and CID of a CELL base station.
In some embodiments, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: if the distance between the real-time position of the electronic equipment and the first place is larger than a first distance threshold, the first processor deletes relevant information of the first CELL fence, and/or the first processor stops obtaining second CELL information; or, if the electronic device is in a static state and the time length of the electronic device in the static state is greater than or equal to the first time length, the first processor deletes the relevant information of the first CELL fence, and/or the first processor stops acquiring the second CELL information.
In some embodiments, the electronic device further comprises a modem for collecting CELL information around the electronic device; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: the first processor sends a first request to the modem; the first request is used for requesting the modem to report CELL information around the electronic equipment; responding to the first request, and periodically acquiring CELL information around the electronic equipment by the modem; the modem reports CELL information around the electronic equipment to the first processor; the CELL information surrounding the electronic device includes second CELL information.
In some embodiments, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: the first processor judges whether relevant information of a CELL fence exists in the first processor; if the first processor has the relevant information of the CELL fence, the first processor sends a first request to the modem.
In some embodiments, the computer instructions, when executed by the first processor, cause the first processor to further perform the steps of: if the first processor does not have the relevant information of the CELL fence, the first processor judges whether the first processor sends a first request to the modem; if the first processor sends a first request to the modem, the first processor sends a second request to the modem; and the second request is used for requesting the modem to stop reporting the CELL information around the electronic equipment.
In some embodiments, the first processor is a smart Sensor Hub; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: and the Sensor Hub calls a preset function packaged by the platform to cache the fourth CELL information, and updates the related information of the first CELL fence.
In some embodiments, the first processor is a smart Sensor Hub; when the first processor runs the computer instructions, the first processor is enabled to specifically execute the following steps: and the Sensor Hub calls a public function of a high-pass information interface QMI provided by the platform and reports the first event to the AP.
The embodiment of the present application further provides a chip system, as shown in fig. 14, the chip system 1100 includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 may be the processor 110 shown in fig. 1 in the foregoing embodiment. The interface circuit 1102 may be, for example, an interface circuit between the processor 110 and an external memory; or an interface circuit between the processor and the internal memory 121.
The processor 1101 and the interface circuit 1102 may be interconnected by wires. For example, interface circuit 1102 may be used to receive signals from other devices (e.g., a memory of electronic apparatus 100). As another example, the interface circuit 1102 may be used to send signals to other devices (e.g., the processor 1101). Illustratively, the interface circuit 1102 may read instructions stored in the memory and send the instructions to the processor 1101. The instructions, when executed by the processor 1101, may cause the electronic device to perform the steps performed by the first processor and the second processor in the above embodiments. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
Embodiments of the present application further provide a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform the functions or steps performed by the first processor and the second processor in the foregoing method embodiments.
Embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute each function or step executed by the first processor and the second processor in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A CELL CELL fence matching method is applied to electronic equipment, and the electronic equipment comprises a first processor and a second processor; the first processor stores relevant information of a first CELL fence provided by a first place, wherein the relevant information of the first CELL fence comprises a plurality of groups of first CELL information, and each group of first CELL information comprises a position area code LAC and a base station number CID of a CELL base station; the second processor comprises a first application process for implementing a target function; the method comprises the following steps:
the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station;
if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the electronic device entering the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter the first CELL fence, and the first event comprises a process identification of the first application process;
in response to the first event, the second processor controls the first application process to execute the target function.
2. The method of claim 1, wherein the first application process is configured to implement an express pickup reminding function, and the first CELL fence is established by the electronic device based on CELL information corresponding to an express receiving point; the second processor controls the first application process to execute the target function, and the method comprises the following steps:
the second processor controls the first application process to display first prompt information; the first prompt message is used for reminding a user of taking the express delivery.
3. The method of claim 1, wherein the first application process is configured to implement a Near Field Communication (NFC) function, and wherein the first application process comprises a first virtual card; the first CELL fence is established after the electronic equipment completes data interaction by using the first virtual card; the second processor controls the first application process to execute the target function, and the method comprises the following steps:
and the second processor controls the first application process to be automatically switched to the first virtual card corresponding to the first CELL fence.
4. The method according to any one of claims 1-3, further comprising:
the first processor periodically acquires third CELL information; the third CELL information comprises LAC and CID of a CELL base station;
if the first processor determines that the electronic equipment leaves the first CELL fence according to the third CELL information, the first processor reports a second event to the second processor; wherein the electronic device leaving the first CELL fence comprises: the third CELL information is different from each group of first CELL information in the multiple groups of first CELL information; the second event is used for indicating that the electronic equipment leaves the first CELL fence, and the second event comprises a process identification of the first application process;
and in response to the second event, the second processor controls the first application process to close the target function.
5. The method according to any one of claims 1-3, further comprising:
after the first application process executes the target function, the first processor caches currently acquired fourth CELL information and updates related information of the first CELL fence;
wherein the fourth CELL information comprises LAC and CID of a CELL base station.
6. The method according to any one of claims 1-3, further comprising:
if the distance between the real-time position of the electronic equipment and the first place is larger than a first distance threshold, the first processor deletes relevant information of the first CELL fence, and/or the first processor stops acquiring the second CELL information; alternatively, the first and second electrodes may be,
and if the electronic equipment is in a static state and the time length of the electronic equipment in the static state is greater than or equal to a first time length, deleting the relevant information of the first CELL fence by the first processor, and/or stopping acquiring the second CELL information by the first processor.
7. The method of any one of claims 1-3, wherein the electronic device further comprises a modem for collecting CELL information around the electronic device; the first processor periodically acquires second CELL information, comprising:
the first processor sending a first request to the modem; the first request is used for requesting the modem to report CELL information around the electronic equipment;
in response to the first request, the modem periodically collects CELL information around the electronic device;
the modem reports CELL information around the electronic equipment to the first processor; the CELL information around the electronic device comprises the second CELL information.
8. The method of claim 7, wherein the first processor sends a first request to the modem comprising:
the first processor judges whether relevant information of a CELL fence exists in the first processor;
and if the first processor has the relevant information of the CELL fence, the first processor sends the first request to the modem.
9. The method of claim 8, further comprising:
if the first processor does not have the relevant information of the CELL fence, the first processor judges whether the first processor sends the first request to the modem;
if the first processor sends the first request to the modem, the first processor sends a second request to the modem;
the second request is used for requesting the modem to stop reporting the CELL information around the electronic equipment.
10. The method of claim 5, wherein the first processor is a smart Sensor Hub; the first processor caches currently acquired fourth CELL information, and updates related information of the first CELL fence, including:
and the Sensor Hub calls a preset function packaged by a platform to cache the fourth CELL information and updates the related information of the first CELL fence.
11. The method according to any of claims 1-3, 8-10, wherein the first processor is a smart Sensor Hub, and the second processor is an application processor, AP; the first processor reporting a first event to the second processor, comprising:
and the Sensor Hub calls a public function of a high-pass information interface QMI provided by a platform and reports the first event to the AP.
12. An electronic device comprising a first processor, a second processor, and a memory; the first processor stores relevant information of a first CELL fence provided by a first place, wherein the relevant information of the first CELL fence comprises a plurality of groups of first CELL information, and each group of first CELL information comprises a position area code LAC and a base station number CID of a CELL base station; the second processor comprises a first application process for providing a target function;
the memory having stored therein computer program code comprising computer instructions;
when the computer instructions are executed by the first processor, cause the first processor to perform the steps of:
the first processor periodically acquires second CELL information; the second CELL information comprises LAC and CID of a CELL base station;
if the first processor determines that the electronic equipment enters the first CELL fence according to the second CELL information, the first processor reports a first event to the second processor; wherein the electronic device entering the first CELL fence comprises: the second CELL information is the same as any one group of first CELL information in the multiple groups of first CELL information; the first event is used for indicating the electronic equipment to enter the first CELL fence, and the first event comprises a process identification of the first application process;
when the second processor executes the computer instructions, the second processor is caused to perform the steps of:
in response to the first event, the second processor controls the first application process to execute the target function.
13. A computer readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-11.
CN202310106625.5A 2023-02-13 2023-02-13 CELL fence matching method and electronic equipment Active CN115835135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310106625.5A CN115835135B (en) 2023-02-13 2023-02-13 CELL fence matching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310106625.5A CN115835135B (en) 2023-02-13 2023-02-13 CELL fence matching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115835135A true CN115835135A (en) 2023-03-21
CN115835135B CN115835135B (en) 2023-11-07

Family

ID=85521123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310106625.5A Active CN115835135B (en) 2023-02-13 2023-02-13 CELL fence matching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115835135B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273830A (en) * 2023-11-23 2023-12-22 荣耀终端有限公司 Method for displaying card, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020041952A1 (en) * 2018-08-27 2020-03-05 华为技术有限公司 Method and electronic apparatus for controlling express delivery cabinet on the basis of express delivery message
CN113794801A (en) * 2021-08-09 2021-12-14 荣耀终端有限公司 Method and device for processing geo-fence
CN114463898A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 Express delivery pickup reminding method and device
CN115016704A (en) * 2021-12-29 2022-09-06 荣耀终端有限公司 Express delivery prompting method and electronic equipment
CN115063138A (en) * 2022-06-01 2022-09-16 Oppo广东移动通信有限公司 Intelligent card cutting method and related device
CN115097993A (en) * 2021-12-29 2022-09-23 荣耀终端有限公司 Express delivery prompting method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020041952A1 (en) * 2018-08-27 2020-03-05 华为技术有限公司 Method and electronic apparatus for controlling express delivery cabinet on the basis of express delivery message
CN111434129A (en) * 2018-08-27 2020-07-17 华为技术有限公司 Method for controlling express cabinet based on express message and electronic equipment
CN114463898A (en) * 2021-07-30 2022-05-10 荣耀终端有限公司 Express delivery pickup reminding method and device
CN113794801A (en) * 2021-08-09 2021-12-14 荣耀终端有限公司 Method and device for processing geo-fence
CN115016704A (en) * 2021-12-29 2022-09-06 荣耀终端有限公司 Express delivery prompting method and electronic equipment
CN115097993A (en) * 2021-12-29 2022-09-23 荣耀终端有限公司 Express delivery prompting method and electronic equipment
CN115063138A (en) * 2022-06-01 2022-09-16 Oppo广东移动通信有限公司 Intelligent card cutting method and related device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273830A (en) * 2023-11-23 2023-12-22 荣耀终端有限公司 Method for displaying card, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN115835135B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
US20220040533A1 (en) Electronic apparatus and operating method thereof
CN110235086B (en) Electronic equipment and fingerprint identification method thereof
US10944446B2 (en) Electronic device and method for short range wireless communication in the electronic device
CN108153446B (en) Electronic device including display and method of manufacturing display
US10521575B2 (en) Authentication method and electronic device using the same
CN107710724B (en) Method of controlling display, electronic device, and computer-readable recording medium
EP3101509A1 (en) Electronic device and method for controlling execution of application in electronic device
KR20180097384A (en) Electronic apparatus and controlling method thereof
KR20160031357A (en) Memory Allocating Method and Electronic device supporting the same
US10635223B2 (en) Electronic apparatus and operating method thereof
EP3113121A1 (en) Method for performing authentication and electronic device thereof
US20170070080A1 (en) Electronic device and operating method thereof
US10481917B2 (en) Method and apparatus for hibernation operation in multiple operating system environments
KR102324964B1 (en) Electronic device and method for processing input of external input device
US11231763B2 (en) Electronic device and method for controlling heat generated on surface of electronic device
WO2022068591A1 (en) Target service execution method and electronic device
CN115835135B (en) CELL fence matching method and electronic equipment
CN112732434A (en) Application management method and device
US20170017373A1 (en) Electronic device and method for controlling the same
CN111381996B (en) Memory exception handling method and device
CN108885853B (en) Electronic device and method for controlling the same
CN114115634A (en) Multimedia content display method, device, terminal and storage medium
CN114077529B (en) Log uploading method and device, electronic equipment and computer readable storage medium
CN115097993B (en) Express prompt method and electronic equipment
CN115016705B (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