Service pushing method, electronic device, system and storage medium
Through the pre-identification of wireless signals by terminal devices, unnecessary server requests are reduced, and the power consumption and traffic waste of terminal devices when providing near-field services is solved, and the efficiency of service push and user experience are improved.
Patent Information
- Application Number
- PCT/CN2024/075886
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-22
- Filing Date
- 2024-02-05
- Publication Date
- 2024-11-28
AI Technical Summary
When providing near-field services, terminal devices frequently initiate location requests to the server, resulting in waste of power consumption and traffic.
The terminal device performs pre-identification by detecting wireless signals, and only initiates a request to the server when the conditions are met to obtain service information of the points of interest and reduces unnecessary requests.
It effectively saves the power and traffic of terminal equipment, and improves the efficiency and user experience of service push.
Smart Images

Figure CN2024075886_28112024_PF_FP_ABST
Abstract
Description
Service push method, electronic device, system and storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 22, 2023, with application number 202310579239.8 and application name “Service Push Method, Electronic Device, System and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of smart terminals, and in particular to a service push method, electronic device, system and storage medium. Background Art
[0003] With the development of mobile Internet and smart terminals, more and more terminal devices (for example, mobile phones) can provide location-dependent "near-field services" such as "local life", "near-field e-commerce", and "nearby services".
[0004] It is understood that the aforementioned "near-field services" are instant application services. Specifically, when a user arrives at a specific service location, the terminal device can provide the corresponding service entrance to the user. For example, when a user enters a restaurant for a meal, the user's terminal device can push certain services (such as membership card information) to the user through the negative first screen or service card.
[0005] Before receiving the pushed service information, the terminal device needs to initiate a request to the server. The server confirms the user's location based on the request initiated by the terminal device and pushes the service information corresponding to the user's location to the user. However, the above method will cause the terminal device to initiate service requests frequently, which consumes the terminal device's power consumption and data flow.
[0006] Summary of the Invention
[0007] The present application provides a service push method, electronic device, system and storage medium, which help save power consumption of terminal devices in service push scenarios.
[0008] In the first aspect, the present application provides a service push method, applied to a terminal device, comprising: obtaining a point of interest information set sent by a server, the point of interest information set including information of multiple points of interest in a target area; in response to detecting a wireless signal, performing pre-identification based on the detected wireless signal, the pre-identification being used to determine whether there are points of interest to be selected around the terminal device; if it is determined that there are points of interest to be selected around the terminal device, sending a push request to the server to request the server to push service information of the target point of interest, the target point of interest being the point of interest where the terminal device is currently located.
[0009] In this application, before requesting the service of the point of interest from the server, the terminal device pre-identifies the detected wireless signal, and only initiates a request to the server when the pre-identification result meets the requirements. This can avoid frequent service requests to the server and save power and traffic of the terminal device.
[0010] In one possible implementation, the information of the point of interest is sampling information, and the sampling information includes device identity information of a wireless communication device within the point of interest and signal strength information of a wireless signal sent by the wireless communication device.
[0011] In one possible implementation, the information of the point of interest is down-sampling information, the down-sampling information is obtained by down-sampling the sampling information, and the down-sampling information includes a signal strength threshold.
[0012] In one possible implementation, the interest point information set is an interest point information set for the entire region, and the interest point information set for the entire region includes information of multiple interest points in the entire region; or
[0013] The interest point information set is a sub-area interest point information set, and the sub-area interest point information set includes information of multiple interest points in the sub-area, and the entire area is composed of multiple sub-areas.
[0014] In one possible implementation manner, obtaining the point of interest information set sent by the server includes: sending an information request to the server to request the server to send the point of interest information set of the target sub-area, wherein the information request includes an area identifier of the target sub-area.
[0015] In one possible implementation, the pre-identification based on the detected wireless signal includes: if there is a wireless communication device corresponding to the detected wireless signal in the point of interest information set, determining that there is a point of interest to be selected around the terminal device.
[0016] In one possible implementation, the pre-identification based on the detected wireless signal includes: if there is a wireless communication device corresponding to the detected wireless signal in the point of interest information set, and the signal strength of the detected wireless signal is greater than or equal to the signal strength threshold of the corresponding wireless communication device found in the point of interest information set, then it is determined that there are to-be-selected points of interest around the terminal device.
[0017] In one possible implementation, in response to detecting a wireless signal, performing pre-identification based on the detected wireless signal includes: in response to detecting a wireless signal and the screen of the terminal device is in a bright screen state, performing pre-identification based on the detected wireless signal.
[0018] In one possible implementation manner, the wireless signal is obtained by broadcasting from wireless communication devices around the terminal device; or, the wireless signal is obtained by the terminal device after scanning surrounding wireless communication devices.
[0019] In the second aspect, the present application provides a service push method, applied to a server, comprising: in response to receiving an information request from a terminal device, sending a point of interest information set of a target sub-area to the terminal device; wherein the information request includes the area identifier of the target sub-area, the point of interest information set of the sub-area includes information of multiple points of interest within the sub-area, and the point of interest information sets of multiple sub-areas constitute the point of interest information set of the entire area.
[0020] In a third aspect, the present application provides a service push device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the service push method as described in the first aspect.
[0021] In a fourth aspect, the present application provides a service push device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the service push method as described in the second aspect.
[0022] In a fifth aspect, the present application provides a terminal device comprising: a processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the service push method as described in the first aspect.
[0023] In a sixth aspect, the present application provides a server comprising: a processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the service push method as described in the second aspect.
[0024] In a seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer implements the service push method as described in the first aspect or the second aspect.
[0025] In an eighth aspect, the present application provides a computer program, which, when running on a processor of a terminal device, enables the terminal device to execute the service push method as described in the first aspect, or when running on a processor of a server, enables the server to execute the service push method as described in the second aspect.
[0026] In one possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor.
[0027] In a ninth aspect, the present application provides a service push system, comprising the terminal device as described in the fifth aspect and the server as described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] FIG1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0029] FIG2 is a schematic diagram of the structure of a server provided in an embodiment of the present application;
[0030] FIG3 is a flow chart of an embodiment of a service push method provided by the present application;
[0031] FIG4 is a schematic diagram of a downsampling process according to an embodiment of the present application;
[0032] FIG5 is a schematic structural diagram of an embodiment of a service push device provided by the present application;
[0033] FIG6 is a schematic structural diagram of another embodiment of the service push device provided in this application. DETAILED DESCRIPTION
[0034] In the embodiments of this application, unless otherwise specified, the character " / " indicates that the associated objects are in an "or" relationship. For example, A / B can represent A or B. "And / or" describes the relationship between the associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exists simultaneously, or B exists alone.
[0035] It should be pointed out that the words "first", "second", etc. involved in the embodiments of this application are only used for distinguishing description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.
[0036] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C can represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C can be an element itself, or a set containing one or more elements.
[0037] In the embodiments of this application, the terms "exemplary," "in some embodiments," and "in another embodiment" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.
[0038] In the embodiments of this application, the terms "of," "corresponding," and "relevant" may sometimes be used interchangeably. It should be noted that, when the distinction between them is not emphasized, the meanings they convey are the same. In the embodiments of this application, the terms "communication" and "transmission" may sometimes be used interchangeably. It should be noted that, when the distinction between them is not emphasized, the meanings they convey are the same. For example, "transmission" may include "sending" and / or "receiving," and may be either a noun or a verb.
[0039] In the embodiments of this application, "equal to" can be used in conjunction with "greater than" and is applicable to the technical solution adopted when "greater than" is used, and can also be used in conjunction with "less than" and is applicable to the technical solution adopted when "less than" is used. It should be noted that when "equal to" is used in conjunction with "greater than", it cannot be used in conjunction with "less than"; and when "equal to" is used in conjunction with "less than", it cannot be used in conjunction with "greater than".
[0040] With the development of mobile Internet and smart terminals, more and more terminal devices (for example, mobile phones) can provide location-dependent "near-field services" such as "local life", "near-field e-commerce", and "nearby services".
[0041] It is understood that the aforementioned "near-field services" are instant application services. Specifically, when a user arrives at a specific service location, the terminal device can provide the corresponding service entrance to the user. For example, when a user enters a restaurant for a meal, the user's terminal device can push certain services (such as membership card information) to the user through the negative first screen or service card.
[0042] Before receiving the pushed service information, the terminal device needs to initiate a request to the server. The server confirms the user's location based on the request initiated by the terminal device and pushes the service information corresponding to the user's location to the user. However, the above method will cause the terminal device to initiate service requests frequently, which consumes the terminal device's power consumption and data flow.
[0043] Based on the above problems, an embodiment of the present application proposes a service push method, which is applied to a terminal device and a server.
[0044] The terminal device can be a mobile terminal, which can also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The mobile terminal can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, an Internet of Vehicles terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set-top box (STB), a customer premises equipment (CPE) and / or other devices used to communicate on a wireless system and a next-generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network. The mobile terminal can also be a wearable device. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for everyday wear, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into clothing or accessories. Wearable devices are not just hardware devices; they also enable powerful functions through software support, data interaction, and cloud interaction.
[0045] The server can be a local server or a cloud server. The embodiment of the present application does not specifically limit the type of server.
[0046] FIG1 first exemplarily shows a schematic structural diagram of a terminal device 100 .
[0047] The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0048] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0049] The processor 110 may include one or more processing units. For example, 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0050] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0051] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0052] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (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.
[0053] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the terminal device 100.
[0054] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0055] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0056] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0057] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.
[0058] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0059] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the terminal device 100 and to transfer data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect to other terminal devices, such as AR devices.
[0060] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.
[0061] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also provide power to the terminal device via the power management module 141.
[0062] 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 charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0063] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0064] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0065] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0066] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0067] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0068] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0069] The terminal device 100 implements display functions through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 194 and the 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 modify display information.
[0070] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0071] The terminal device 100 can realize the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0072] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0073] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0074] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0075] Video codecs are used to compress or decompress digital video. Terminal device 100 may support one or more video codecs. This allows terminal device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0076] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in the terminal device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0077] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0078] The internal memory 121 can be used to store computer executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0079] The terminal device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0080] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0081] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0082] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the user can hear the voice by placing the receiver 170B close to the ear.
[0083] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, and can also identify the source of sound, realize directional recording function, etc.
[0084] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0085] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Terminal device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, terminal device 100 detects the intensity of the touch operation based on pressure sensor 180A. Terminal device 100 can also calculate the location of the touch based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, an instruction to create a new short message is executed.
[0086] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for shooting anti-shake. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0087] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0088] The magnetic sensor 180D includes a Hall effect sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Furthermore, based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0089] Accelerometer 180E can detect the magnitude of acceleration of the terminal device 100 in all directions (generally three axes). When the terminal device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the terminal device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0090] The distance sensor 180F is used to measure distance. The terminal device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0091] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect when the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0092] Ambient light sensor 180L is used to sense ambient light brightness. Terminal device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether terminal device 100 is in a pocket to prevent accidental touches.
[0093] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0094] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to prevent the terminal device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0095] The touch sensor 180K is also called a "touch control device." The touch sensor 180K can be provided on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be provided on the surface of the terminal device 100, at a location different from that of the display screen 194.
[0096] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.
[0097] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons. The terminal device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the terminal device 100.
[0098] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0099] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0100] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the terminal device 100 by inserting or removing it from the SIM card interface 195. The terminal device 100 can support one or N SIM card interfaces, where N is a positive integer greater than one. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
[0101] The server provided in the embodiment of the present application is further described below with reference to Figure 2. Figure 2 shows a schematic diagram of the structure of a server 200.
[0102] The above-mentioned server 200 may include: at least one processor; and at least one memory communicatively connected to the above-mentioned processor, wherein: the above-mentioned memory stores program instructions that can be executed by the above-mentioned processor, and the processor calls the above-mentioned program instructions to execute the method provided in the embodiment shown in this application.
[0103] Figure 2 shows a block diagram of an exemplary server 200 suitable for implementing the embodiments of the present application. The server 200 shown in Figure 2 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0104] As shown in Figure 2, server 200 is a general-purpose computing device. Components of server 200 may include, but are not limited to, one or more processors 210, memory 220, a communication bus 240 connecting various system components (including memory 220 and processor 210), and a communication interface 230.
[0105] Communication bus 240 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnection (PCI) bus.
[0106] The server 200 typically includes a variety of computer system readable media, which can be any available media that can be accessed by an electronic device, including volatile and non-volatile media, removable and non-removable media.
[0107] The memory 220 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (Random Access Memory; hereinafter referred to as: RAM) and / or a cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Although not shown in Figure 2, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a Compact Disc Read Only Memory (hereinafter referred to as: CD-ROM), a digital versatile disc read-only disk (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive can be connected to the communication bus 240 via one or more data medium interfaces. The memory 220 may include at least one program product having a set (e.g., at least one) program modules that are configured to perform the functions of the various embodiments of the present application.
[0108] A program / utility having a set (at least one) of program modules may be stored in memory 220. Such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.
[0109] The server 200 may also communicate with one or more external devices (e.g., a keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur via a communication interface 230. Furthermore, the server 200 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter (not shown in FIG. 2 ). The network adapter may communicate with other modules of the electronic device via a communication bus 240. It should be understood that, although not shown in FIG. 2 , other hardware and / or software modules may be used in conjunction with the server 200, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0110] The processor 210 executes various functional applications and data processing by running the programs stored in the memory 220, such as implementing the method provided in the embodiment of the present application.
[0111] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely an illustrative illustration and does not constitute a structural limitation on the server 200. In other embodiments of the present application, the server 200 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.
[0112] The service push method provided in the embodiment of the present application is now described with reference to FIG3 and FIG4 .
[0113] FIG3 is a flow chart of an embodiment of the service push method provided by the present application, which specifically includes the following steps:
[0114] In step 301, the server sends a set of information about points of interest to a terminal device, and the terminal device receives the set of information about points of interest.
[0115] Specifically, the POI information set may include information about all POIs within a region. For example, taking a country as an example, the POI information set may include information about all POIs within the country. The information about any POI may include information such as the device identification number of the wireless communication device transmitting wireless signals within the POI and its corresponding signal strength.
[0116] The device identification number of a wireless communication device can be an identification number used to uniquely identify the wireless communication device. Exemplarily, the device identification number can be a device number, or the device identification number can be a media access control (MAC) address, which can be the physical address of the wireless communication device. The embodiments of the present application do not specifically limit the specific form of the device identification number.
[0117] It is understandable that the wireless signal may be a Wireless Fidelity (Wi-Fi) signal, a Bluetooth signal or a base station signal, and the embodiment of the present application does not impose any special limitation on this.
[0118] The point of interest information set may be stored in a server, and when the terminal device needs it, it may send a request to the server to obtain the above point of interest information set.
[0119] The information of each of the above-mentioned points of interest can be collected in advance, and the collected point of interest information can be stored in a server to form a point of interest information set. For example, the signal strength of the wireless signal of the wireless communication device (e.g., Wi-Fi device, base station, etc.) corresponding to each point of interest can be sampled, wherein the sampling method can be to sample at different locations of any point of interest, and multiple sampling values can be obtained. Then, a device identification number can be assigned to the wireless communication device that sends the wireless signal in each point of interest, and the device identification number can be bound to the signal strength of the wireless signal sent by the corresponding wireless communication device.
[0120] In some optional embodiments, the above-mentioned point of interest information set may be downsampled, thereby streamlining the point of interest information set so that the point of interest information set includes characteristic information for each point of interest. The characteristic information for a point of interest may include the device identification number of a wireless communication device within the point of interest and its corresponding signal strength threshold. The signal strength threshold may be used to determine whether a terminal device is within the coverage range of the wireless communication device, that is, whether it is within the corresponding point of interest.
[0121] FIG4 exemplarily shows the process of downsampling. Referring to FIG4 , the process may include the following steps:
[0122] Step 3011: Sample the wireless signal received in any point of interest.
[0123] Specifically, the received wireless signals at different locations within any point of interest can be sampled to obtain the signal strength of the wireless signals at different locations. It is understandable that at any location, since there may be one or more wireless communication devices in the surrounding area, one or more wireless signals can be received.
[0124] Step 3012: Count the number of wireless communication devices.
[0125] Specifically, after sampling the wireless signal, the number of wireless communication devices that appear during the sampling process may be counted.
[0126] If the number of wireless communication devices obtained by sampling is less than the first preset threshold, step 3015 may be executed. Alternatively,
[0127] If the number of wireless communication devices obtained by sampling is greater than or equal to the first preset threshold, step 3013 may be executed.
[0128] Step 3013: Count the average signal strength of the wireless signals sent by each wireless communication device, and perform screening based on the average signal strength.
[0129] Specifically, if the number of wireless communication devices obtained by sampling is greater than or equal to a first preset threshold, it can be considered that the number of wireless communication devices is too large, and a first round of screening can be performed.
[0130] The first round of screening can be based on the average signal strength of the wireless signals. For example, the average signal strength of the wireless signals sent by each wireless communication device can be calculated, and the devices can be sorted by average signal strength. Wireless communication devices with smaller average signal strengths can be screened out according to a first preset ratio.
[0131] It is understood that the above first preset ratio is merely an example and does not limit the embodiments of the present application. In some optional embodiments, the first preset number of wireless communication devices may be screened out, or the first preset number of wireless communication devices may be retained.
[0132] Table 1 exemplarily shows wireless communication devices before the first round of screening.
[0133] Table 1
[0134] Referring to Table 1, by sampling wireless signals, statistically analyzing the sampling information of n wireless communication devices, for example, the sampling information of wireless communication devices M1 through Mn, can be obtained. The sampling information for each wireless communication device includes the MAC address, mean signal strength, and sampling count. The MAC address identifies the wireless communication device, and the mean signal strength represents the statistical average of the signal strengths of wireless signals sampled multiple times by the wireless communication device. The sampling count represents the number of times the wireless communication device was sampled.
[0135] After the first round of screening of wireless communication devices, the screening results shown in Table 2 can be obtained.
[0136] Table 2
[0137] A certain number of wireless communication devices can be obtained by performing a first round of screening based on the average signal strength of the wireless signals. Taking Table 2 as an example, six wireless communication devices can be screened out. These six wireless communication devices are the wireless communication devices with the highest average wireless signal strength.
[0138] Step 3014: Count the number of sampling times of each wireless communication device, and perform screening based on the number of sampling times.
[0139] Specifically, after the first round of screening is performed, a second round of screening may be performed, thereby screening out wireless communication devices that are most likely to match the point of interest.
[0140] The second round of screening can be based on the number of sampling times of the wireless communication devices. For example, the number of sampling times of each wireless communication device can be counted, sorted by the number of sampling times, and the wireless communication devices with smaller sampling times can be screened out according to a second preset ratio.
[0141] It is understood that the above second preset ratio is only an example and does not constitute a limitation on the embodiments of the present application. In some optional embodiments, the second preset number of wireless communication devices may be screened out, or the second preset number of wireless communication devices may be retained.
[0142] Taking Table 2 as an example, after a second round of screening of Table 2 based on the sampling times of the wireless communication device, a screening result as shown in Table 3 can be obtained.
[0143] Table 3
[0144] Referring to Table 3, a second round of screening can be performed based on the number of sampling times to obtain a certain number of wireless communication devices. These wireless communication devices can be considered as the wireless communication devices that best match the points of interest.
[0145] Step 3015: Determine the signal strength threshold of each wireless communication device.
[0146] In some optional embodiments, after screening the wireless communication devices, for example, after performing the screening in step 203 and / or step 204, screened wireless communication devices can be obtained. For any of the screened wireless communication devices, a signal strength threshold for the wireless communication device can be determined based on the wireless signal mean value of the wireless communication device.
[0147] In some optional embodiments, if the number of wireless communication devices obtained through sampling is less than a first preset threshold, then for any wireless communication device obtained through sampling, a signal strength threshold of the wireless communication device can be determined based on the average value of the wireless signal of the wireless communication device.
[0148]
[0149] Factor1 is the scaling factor, factor2 is the benchmark factor, and factor3 is the empirical factor.
[0150] In some optional embodiments, the POI information set may include a regional POI information set. For example, the POI information set may include a regional POI information set for all POIs within a country. In this scenario, the terminal device requests the regional POI information set from the server. Exemplarily, upon receiving the request from the terminal device, the server may send the regional POI information set to the terminal device.
[0151] In some optional embodiments, a point of interest information set may include point of interest information sets for multiple sub-regions. For example, a full region may be pre-divided into multiple sub-regions, each of which may include one or more corresponding points of interest. It will be appreciated that if the server sends the point of interest information set for the entire region to the terminal device, the larger the data volume of the point of interest information set for the entire region, the greater the bandwidth usage and the lower the data transmission efficiency. However, if only the point of interest information set for a sub-region is sent to the terminal device, the amount of data sent can be reduced, thereby reducing bandwidth usage and improving data transmission efficiency. In this scenario, the terminal device may request the point of interest information set for the sub-region based on the sub-region it is currently located in from the server. For example, when the terminal device can obtain the region identifier of the current sub-region, which identifies the sub-region's location within the full region, the terminal device may then send an information request to the server requesting the point of interest information set for the sub-region, wherein the information request may include the region identifier of the current sub-region. After receiving the information request, the server may obtain the area identifier in the information request, find the POI information set of the sub-area corresponding to the area identifier according to the area identifier, and send the POI information set of the sub-area to the terminal device.
[0152] Step 302: In response to detecting a wireless signal, the terminal device performs pre-identification based on the detected wireless signal.
[0153] Specifically, the terminal device can receive surrounding wireless signals. As mentioned above, the wireless signals may include Wi-Fi signals, Bluetooth signals, or base station signals sent by surrounding wireless communication devices, which are not particularly limited in the present embodiment.
[0154] In some optional embodiments, a terminal device may passively receive surrounding wireless signals to obtain information about surrounding wireless communication devices. For example, a wireless communication device may broadcast a wireless signal, where the broadcast may be periodic or aperiodic, and is not specifically limited in this embodiment of the present application. The terminal device may passively receive the broadcast signal.
[0155] In some optional embodiments, the terminal device may actively scan for wireless signals from surrounding wireless communication devices. For example, the terminal device may periodically scan for wireless signals from surrounding wireless communication devices, or the terminal device may periodically scan for wireless signals from surrounding wireless communication devices. It is understood that the terminal device may also actively scan for wireless signals from surrounding wireless communication devices in other ways, and this embodiment of the present application does not impose any particular limitation thereto.
[0156] When a terminal device receives a wireless signal from a wireless communication device, it can pre-identify information based on the wireless communication device. The wireless communication device information can be obtained by analyzing the detected wireless signal. The wireless communication device information may include the device identification number of the wireless communication device and its signal strength. It is understood that the signal strength is the signal strength of the wireless signal transmitted by the wireless communication device as detected by the terminal device.
[0157] In some optional embodiments, the terminal device may perform pre-identification after detecting surrounding wireless signals. For example, when the terminal device detects surrounding Wi-Fi signals, it may perform pre-identification on the detected Wi-Fi signals.
[0158] In some optional embodiments, after detecting surrounding wireless signals, the terminal device may perform pre-identification based on the terminal device's screen status. For example, after detecting surrounding base station signals, the terminal device may determine whether the terminal device's screen is in a bright screen state. If the terminal device's screen is currently in a bright screen state, pre-identification may be performed; otherwise, if the terminal device's screen is currently not in a bright screen state, pre-identification may not be performed.
[0159] After pre-identification is performed based on the information of the wireless communication device, a pre-identification result can be obtained. The pre-identification result may include a device identification number of the target wireless communication device and a signal strength of a wireless signal sent by the target wireless communication device.
[0160] Among them, the pre-identification method can be: after the terminal device detects one or more wireless signals in the surrounding area, it can obtain the target wireless communication device that sends the wireless signal based on the wireless signal. For example, the device identification number of the target wireless communication device can be obtained from the wireless signal. Then, it can be searched from the point of interest information set whether there is a point of interest corresponding to the target wireless communication device. Taking the device identification number as the MAC address of the wireless communication device as an example, the terminal device can obtain the MAC address of the wireless communication device that sends the wireless signal through the detected wireless signal. Then, it can search in the point of interest information set based on the MAC address to obtain the target wireless communication device that matches the given MAC address.
[0161] If there is a point of interest corresponding to the target wireless communication device in the point of interest information set, the device identification number of the target wireless communication device and the signal strength of the wireless signal sent by the target wireless communication device can be sent to the server, so that the server can accurately identify the target point of interest where the terminal device is currently located based on the pre-identification result sent by the terminal device.
[0162] In some optional embodiments, in order to improve recognition accuracy and efficiency, wireless communication devices that do not meet the requirements can be screened out. For example, after finding a point of interest corresponding to a target wireless communication device in the point of interest information set, the signal strength of the wireless signal transmitted by the target wireless communication device can be compared with a signal strength threshold. If the signal strength of the wireless signal transmitted by the target wireless communication device is greater than or equal to the signal strength threshold of the target wireless communication device, the pre-identification result of the target wireless communication device can be sent to the server; alternatively, if the signal strength of the wireless signal transmitted by the target wireless communication device is less than the signal strength threshold of the target wireless communication device, the pre-identification result of the target wireless communication device does not need to be sent to the server.
[0163] In step 303, the terminal device sends the pre-recognition result to the server, and the server receives the pre-recognition result accordingly.
[0164] Step 304: The server determines the target point of interest based on the pre-recognition result.
[0165] Specifically, after receiving the pre-recognition result, the server may determine the target point of interest based on the pre-recognition result.
[0166] For example, the server may determine a target point of interest based on the signal strength of wireless signals transmitted by one or more wireless communication devices in the pre-identification results. The target point of interest is the point of interest where the terminal device is currently located, and the target point of interest may be one or more selected points of interest. For example, the selected points of interest may be sorted based on confidence, and the target point of interest may be the point of interest with the highest confidence, or the target point of interest may be multiple selected points of interest ranked from high to low confidence.
[0167] In step 305, the server pushes the service information corresponding to the target point of interest to the terminal device. Correspondingly, the terminal device receives the service information corresponding to the target point of interest.
[0168] Specifically, after determining the target point of interest, the server may push service information corresponding to the target point of interest to the terminal device.
[0169] FIG5 is a schematic diagram of the structure of an embodiment of the service push device of the present application. As shown in FIG5 , the service push device 50 is applied to a terminal device. The service push device 50 may include: an acquisition module 51, an identification module 52 and a request module 53; wherein,
[0170] An acquisition module 51 is configured to acquire a point of interest information set sent by a server, wherein the point of interest information set includes information of multiple points of interest within a target area;
[0171] an identification module 52 for performing pre-identification based on the detected wireless signal in response to detecting the wireless signal, wherein the pre-identification is used to determine whether there is a point of interest to be selected around the terminal device;
[0172] The request module 53 is used to send a push request to the server if it is determined that there are any points of interest to be selected around the terminal device, requesting the server to push service information of the target point of interest, where the target point of interest is the point of interest where the terminal device is currently located.
[0173] In one possible implementation, the information of the point of interest is sampling information, and the sampling information includes device identity information of a wireless communication device within the point of interest and signal strength information of a wireless signal sent by the wireless communication device.
[0174] In one possible implementation, the information of the point of interest is down-sampling information, the down-sampling information is obtained by down-sampling the sampling information, and the down-sampling information includes a signal strength threshold.
[0175] In one possible implementation, the interest point information set is an interest point information set for the entire region, and the interest point information set for the entire region includes information of multiple interest points in the entire region; or
[0176] The interest point information set is a sub-area interest point information set, and the sub-area interest point information set includes information of multiple interest points in the sub-area, and the entire area is composed of multiple sub-areas.
[0177] In one possible implementation, the acquisition module 51 is further configured to send an information request to the server, requesting the server to send a set of information about points of interest in a target sub-area, wherein the information request includes an area identifier of the target sub-area.
[0178] In one possible implementation, the identification module 52 is further configured to determine that there are to-be-selected points of interest around the terminal device if there is a wireless communication device corresponding to the detected wireless signal in the point of interest information set.
[0179] In one possible implementation, the identification module 52 is also used to determine that there are to-be-selected points of interest around the terminal device if there is a wireless communication device corresponding to the detected wireless signal in the point of interest information set, and the signal strength of the detected wireless signal is greater than or equal to the signal strength threshold of the corresponding wireless communication device found in the point of interest information set.
[0180] In one possible implementation, the identification module 52 is further configured to perform pre-identification based on the detected wireless signal in response to the detection of the wireless signal and the screen of the terminal device being in a bright state.
[0181] In one possible implementation, the wireless signal is obtained by broadcasting from wireless communication devices around the terminal device; or
[0182] The wireless signal is obtained by the terminal device after scanning surrounding wireless communication devices.
[0183] The service push device 50 provided in the embodiment shown in FIG5 can be used to execute the technical solution of the method embodiment shown in this application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0184] FIG6 is a schematic diagram of the structure of another embodiment of the service push device of the present application. As shown in FIG6 , the service push device 50 is applied to a server. The service push device 60 may include: a sending module 61; wherein,
[0185] A sending module 61 is configured to send the point of interest information set of the target sub-area to the terminal device in response to receiving an information request from the terminal device;
[0186] The information request includes the area identifier of the target sub-area, the POI information set of the sub-area includes information of multiple POIs in the sub-area, and the POI information sets of multiple sub-areas constitute the POI information set of the entire area.
[0187] The service push device 60 provided in the embodiment shown in FIG6 can be used to execute the technical solution of the method embodiment shown in this application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0188] It should be understood that the division of the various modules of the service push device 50 shown in Figure 5 and the service push device 60 shown in Figure 6 is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into a physical entity, or they can be physically separated. Moreover, these modules can all be implemented in the form of software called through processing elements; or they can all be implemented in the form of hardware; or some modules can be implemented in the form of software called through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated into a chip of an electronic device. The implementation of other modules is similar. In addition, these modules can all or partly be integrated together, or they can be implemented independently. During implementation, each step of the above method or each of the above modules can be completed by the hardware integrated logic circuit in the processor element or by instructions in the form of software.
[0189] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more microprocessors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, these modules may be integrated together to implement a system-on-a-chip (SOC).
[0190] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller, or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of this application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0191] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment shown in the present application.
[0192] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.
[0193] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.
[0194] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0195] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0196] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk, and other media that can store program code.
[0197] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A service push method, characterized in that: Applied to a terminal device, the method comprises: Acquire a point of interest information set sent by a server, wherein the point of interest information set includes information of multiple points of interest in a target area; In response to detecting a wireless signal, performing pre-identification according to the detected wireless signal, wherein the pre-identification is used to determine whether there is a point of interest to be selected around the terminal device; If it is determined that there are points of interest to be selected around the terminal device, a push request is sent to the server to request the server to push service information of the target point of interest, where the target point of interest is the point of interest where the terminal device is currently located.
2. The method according to claim 1, characterized in that: The information of the point of interest is sampling information, and the sampling information includes device identity information of a wireless communication device within the point of interest and signal strength information of a wireless signal sent by the wireless communication device.
3. The method according to claim 2, characterized in that The information of the point of interest is down-sampling information, and the down-sampling information is obtained by down-sampling the sampling information. The down-sampling information includes a signal strength threshold.
4. The method according to claim 1, characterized in that: The interest point information set is an interest point information set for the entire area, and the interest point information set for the entire area includes information of multiple interest points in the entire area; or, The interest point information set is an interest point information set of a sub-region, the interest point information set of the sub-region includes information of a plurality of interest points in the sub-region, and the whole region is composed of a plurality of the sub-regions.
5. The method according to claim 4, characterized in that The step of obtaining the point of interest information set sent by the server includes: An information request is sent to the server to request the server to send a set of information about points of interest in a target sub-area, wherein the information request includes an area identifier of the target sub-area.
6. The method according to any one of claims 1 to 5, characterized in that: The pre-identification according to the detected wireless signal includes: If there is a wireless communication device corresponding to the detected wireless signal in the interest point information set, it is determined that there are to-be-selected interest points around the terminal device.
7. The method according to claim 3, characterized in that The pre-identification according to the detected wireless signal includes: If there is a wireless communication device corresponding to the detected wireless signal in the interest point information set, and the signal strength of the detected wireless signal is greater than or equal to the signal strength threshold of the corresponding wireless communication device found in the interest point information set, it is determined that there are to-be-selected points of interest around the terminal device.
8. The method according to claim 1, characterized in that In response to detecting the wireless signal, performing pre-identification according to the detected wireless signal includes: In response to detecting a wireless signal and the screen of the terminal device being in a bright screen state, pre-identification is performed based on the detected wireless signal.
9. The method according to claim 1, characterized in that: The wireless signal is obtained by broadcasting from a wireless communication device around the terminal device; or, The wireless signal is obtained by the terminal device after scanning surrounding wireless communication devices.
10. A service push method, characterized in that: Applied to a server, the method comprises: In response to receiving an information request from a terminal device, sending a set of information about points of interest in the target sub-area to the terminal device; The information request includes the area identifier of the target sub-area, the interest point information set of the sub-area includes information of multiple interest points in the sub-area, and the interest point information sets of multiple sub-areas constitute the interest point information set of the entire area.
11. A terminal device, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the service push method according to any one of claims 1 to 9.
12. A server, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the service push method as claimed in claim 10.
13. A service push system, comprising the terminal device as claimed in claim 11 and the server as claimed in claim 12.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the service push method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
User portrait generation method, device, terminal, and storage medium
CN109041035A
Information recommendation method, device, terminal, and storage medium
CN109376313A
Energy-efficient location determination
CN110087184A
Interest point recommendation method and device, intelligent terminal, server and storage medium
CN110427554A
Electronic device and method for providing geofencing service
US20210168556A1
