Service pushing method, electronic equipment, system and storage medium
The terminal device pre-identifies the wireless signal, reduces the number of service requests to the server, solves the problem of frequent requests by the terminal device before receiving service information, and realizes power consumption and traffic savings.
Patent Information
- Application Number
- CN202310579239.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-05-22
AI Technical Summary
Before the terminal device receives push service information, it is necessary to frequently initiate location confirmation requests to the server, resulting in an increase in power consumption and traffic.
The terminal device performs pre-identification by detecting wireless signals, determines whether there are selected points of interest around the perimeter, and initiates push requests to the server when the conditions are met to reduce unnecessary service requests.
It effectively saves the power and traffic of terminal equipment, reduces the load on the server, and improves the efficiency of service push.
Smart Images

Figure CN119012123A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] With the development of mobile Internet and smart terminals, more and more terminal devices (such as mobile phones) can provide location-dependent "near-field services" such as "local life", "near-field e-commerce", and "services around you".
[0003] It is understandable that the above-mentioned "near field service" is an instant application service. Specifically, when a user arrives at a specific service location area, the terminal device can provide the corresponding service entrance to the user. For example, when a user enters any restaurant for a meal, the user's terminal device can push certain services (for example, membership card information) to the user through the negative one screen or service card.
[0004] Before the terminal device receives the pushed service information, it 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 frequently initiate service requests, consuming the power consumption and traffic of the terminal device. Summary of the invention
[0005] The present application provides a service push method, electronic device, system and storage medium, which are helpful to save power consumption of terminal devices in service push scenarios.
[0006] 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.
[0007] 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.
[0008] 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.
[0009] In one possible implementation manner, 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.
[0010] In one possible implementation, 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,
[0011] 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.
[0012] 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, and the information request includes an area identifier of the target sub-area.
[0013] 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 interest point information set, determining that there are to-be-selected interest points around the terminal device.
[0014] 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 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, then it is determined that there are to-be-selected points of interest around the terminal device.
[0015] 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.
[0016] In one possible implementation manner, the wireless signal is obtained after being broadcast by a wireless communication device around the terminal device; or, the wireless signal is obtained after the terminal device scans the surrounding wireless communication devices.
[0017] 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 an 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 a point of interest information set of the entire area.
[0018] 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.
[0019] 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.
[0020] In a fifth aspect, the present application provides a terminal device, comprising: a processor and a memory, the memory being used to store a computer program; the processor being used to run the computer program to implement the service push method as described in the first aspect.
[0021] In a sixth aspect, the present application provides a server, comprising: a processor and a memory, the memory being used to store a computer program; the processor being used to run the computer program to implement the service push method as described in the second aspect.
[0022] 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 executed on a computer, the computer implements the service push method as described in the first aspect or the second aspect.
[0023] 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.
[0024] In one possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.
[0025] 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
[0026] Figure 1A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0028] Figure 3 A flowchart of an embodiment of the service push method provided by this application;
[0029] Figure 4 A schematic diagram of the downsampling process provided in an embodiment of the present application;
[0030] Figure 5 A schematic diagram of the structure of an embodiment of a service push device provided by the present application;
[0031] Figure 6 A schematic diagram of the structure of another embodiment of the service push device provided in this application. DETAILED DESCRIPTION
[0032] In the embodiments of the present application, unless otherwise specified, the character " / " indicates that the objects before and after the association are in an or relationship. For example, A / B can represent A or B. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
[0033] It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used to distinguish the description purpose, 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.
[0034] 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 may 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 may be an element itself, or a set containing one or more elements.
[0035] In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment", etc. are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0036] In the embodiments of the present application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. In the embodiments of the present application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.
[0037] The equal to involved in the embodiments of the present application can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. It should be noted that when equal to is used in conjunction with greater than, it cannot be used in conjunction with less than; when equal to is used in conjunction with less than, it cannot be used in conjunction with greater than.
[0038] With the development of mobile Internet and smart terminals, more and more terminal devices (such as mobile phones) can provide location-dependent "near-field services" such as "local life", "near-field e-commerce", and "services around you".
[0039] It is understandable that the above-mentioned "near field service" is an instant application service. Specifically, when a user arrives at a specific service location area, the terminal device can provide the corresponding service entrance to the user. For example, when a user enters any restaurant for a meal, the user's terminal device can push certain services (for example, membership card information) to the user through the negative one screen or service card.
[0040] Before the terminal device receives the pushed service information, it 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 frequently initiate service requests, consuming the power consumption and traffic of the terminal device.
[0041] 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.
[0042] 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 may 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 function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking 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 for communicating on a wireless system and a next generation communication system, for example, a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc. The mobile terminal may also be a wearable device. Wearable devices can also be called wearable smart devices. They are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction.
[0043] The server may be a local server or a cloud server. The embodiment of the present application does not impose any special limitation on the type of server.
[0044] Figure 1 First, a schematic structural diagram of the terminal device 100 is shown as an example.
[0045] 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.
[0046] It is to be understood that the structure illustrated in the embodiment 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0047] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0048] 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.
[0049] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0050] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.
[0051] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.
[0052] 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 achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0053] 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 to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0054] The UART interface is a universal serial data bus for asynchronous communication. The 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 generally 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 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0055] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting 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.
[0056] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the 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.
[0057] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0058] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic 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 different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0059] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
[0060] 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 supplies power to the processor 110, the internal memory 121, the display screen 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 number, battery health status (leakage, impedance), etc. 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.
[0061] 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.
[0062] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0063] 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.
[0064] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.
[0065] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0066] 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).
[0067] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which 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, which execute program instructions to generate or change display information.
[0068] The display screen 194 is used to display images, videos, etc. The 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), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0069] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0070] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0071] 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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.
[0072] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0073] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0074] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0075] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0076] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may 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 may 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.
[0077] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0078] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0079] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0080] 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 voice can be received by placing the receiver 170B close to the ear.
[0081] Microphone 170C, also called "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 the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.
[0082] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0083] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0084] 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 anti-shake shooting. 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.
[0085] 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 positioning and navigation.
[0086] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather 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 according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.
[0087] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and applied to applications such as horizontal and vertical screen switching and pedometers.
[0088] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0089] 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 that 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 automatically unlocks and locks the screen.
[0090] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.
[0091] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0092] 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 avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0093] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.
[0094] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
[0095] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.
[0096] 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.
[0097] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0098] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. 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 at the same time. The types of the multiple cards can be the same or different. 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.
[0099] Combine the following Figure 2 The server provided in the embodiments of the present application is further introduced. Figure 2 A schematic structural diagram of the server 200 is shown.
[0100] The server 200 may include at least one processor and at least one memory connected to the processor, wherein the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method provided in the embodiment shown in the present application.
[0101] Figure 2 A block diagram of an exemplary server 200 suitable for implementing the embodiments of the present application is shown. Figure 2 The server 200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0102] like Figure 2 As shown, the server 200 is in the form of a general-purpose computing device. The components of the server 200 may include, but are not limited to: one or more processors 210, a memory 220, a communication bus 240 connecting different system components (including the memory 220 and the processor 210), and a communication interface 230.
[0103] The communication bus 240 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
[0104] 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.
[0105] The memory 220 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Figure 2 Not shown, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may 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) of program modules that are configured to perform the functions of the various embodiments of the present application.
[0106] A program / utility having a set (at least one) of program modules may be stored in memory 220, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.
[0107] The server 200 may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, 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., network cards, modems, etc.). Such communication may be performed via the communication interface 230. Furthermore, the server 200 may also communicate with the network adapter ( Figure 2 The network adapter can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the communication bus 240. It should be understood that although Figure 2 Not shown, 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, disk arrays (Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives, and data backup storage systems.
[0108] 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.
[0109] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic 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 different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0110] Now combined Figure 3 and Figure 4 The service push method provided in the embodiment of the present application is described.
[0111] like Figure 3 The figure is a flow chart of an embodiment of the service push method provided by the present application, which specifically includes the following steps:
[0112] Step 301: The server sends a set of information about points of interest to a terminal device. Correspondingly, the terminal device receives the set of information about points of interest.
[0113] Specifically, the point of interest information set may be an information set including all points of interest in a region. For example, taking the region as a country, the point of interest information set may be an information set including all points of interest in the country. The information of any point of interest may include information such as the device identification number of the wireless communication device sending the wireless signal in the point of interest and its corresponding signal strength.
[0114] The device identification number of a wireless communication device may be an identification number used to uniquely identify the wireless communication device. Exemplarily, the device identification number may be a device number, or the device identification number may be a media access control (MAC) address, which may be a physical address of the wireless communication device. The embodiments of the present application do not impose any special limitations on the specific form of the device identification number.
[0115] 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 specifically limit this.
[0116] 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.
[0117] 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 the server to form a point of interest information set. Exemplarily, 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 sampling at different locations of any point of interest, and multiple sampling values can be obtained. Then, the wireless communication device that sends the wireless signal in each point of interest can be assigned a device identification number, and the device identification number can be bound to the signal strength of the wireless signal sent by the corresponding wireless communication device.
[0118] 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 contains characteristic information of each point of interest. The characteristic information of the point of interest may include a 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 the terminal device is within the coverage of the wireless communication device, that is, whether it is within the corresponding point of interest.
[0119] Figure 4 The downsampling process is shown as an example. Figure 4 , which may include the following steps:
[0120] Step 3011, sampling the wireless signal received in any point of interest.
[0121] Specifically, the received wireless signals can be sampled at different locations within any point of interest, and the signal strength of the wireless signals at different locations can be obtained. It is understandable that at any location, since there may be one or more wireless communication devices around, one or more wireless signals can be received.
[0122] Step 3012, counting the number of wireless communication devices.
[0123] Specifically, after sampling the wireless signal, the number of wireless communication devices that appear during the sampling process may be counted.
[0124] If the number of wireless communication devices obtained by sampling is less than the first preset threshold, step 3015 may be executed. Or,
[0125] 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.
[0126] 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.
[0127] 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.
[0128] The first round of screening may be based on the mean signal strength of the wireless signal. For example, the mean signal strength of the wireless signal sent by each wireless communication device may be counted, and the devices may be sorted according to the mean signal strength, and the wireless communication devices corresponding to the smaller mean signal strength may be screened out according to a first preset ratio.
[0129] It is understandable that the above first preset ratio is only an exemplary description, but does not constitute a limitation on 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.
[0130] Table 1 exemplarily shows wireless communication devices before the first round of screening.
[0131] Table 1
[0132]
[0133]
[0134] Referring to Table 1, by sampling the wireless signal, the sampling information of n wireless communication devices can be statistically obtained, for example, the sampling information of wireless communication devices M1-Mn. The sampling information of each wireless communication device includes a MAC address, a mean signal strength, and a sampling number. The MAC address is used to identify the identity of the wireless communication device, and the mean signal strength is used to characterize the statistical average of the signal strengths of the wireless signals sampled multiple times by the wireless communication device. The sampling number is used to characterize the number of times the wireless communication device is 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] MAC Address Signal strength mean Sampling times M1 -43 479 M2 -49 465 M3 -52 492 M4 -66 346 M5 -67 321 M6 -67 303
[0138] A certain number of wireless communication devices can be obtained by performing the first round of screening based on the average signal strength of the wireless signal. Taking Table 2 as an example, 6 wireless communication devices can be screened out, and these 6 wireless communication devices are the wireless communication devices with the highest average wireless signal strength.
[0139] Step 3014, counting the sampling times of each wireless communication device, and filtering based on the sampling times.
[0140] 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.
[0141] The second round of screening can be based on the sampling times of the wireless communication devices. For example, the sampling times of each wireless communication device can be counted, sorted according to the sampling times, and the wireless communication devices corresponding to the smaller sampling times can be screened out according to the second preset ratio.
[0142] It is understandable that the second preset ratio is only an exemplary description, but 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.
[0143] Taking Table 2 as an example, after a second round of screening is performed on Table 2 based on the sampling times of the wireless communication device, a screening result as shown in Table 3 can be obtained.
[0144] Table 3
[0145]
[0146]
[0147] Referring to Table 3, a certain number of wireless communication devices can be obtained by performing a second round of screening based on the number of sampling times. These wireless communication devices can be considered as the wireless communication devices that best match the points of interest.
[0148] Step 3015, determine the signal strength threshold of each wireless communication device.
[0149] In some optional embodiments, after the wireless communication devices are screened, for example, after the screening of step 203 and / or step 204 is performed, screened wireless communication devices can be obtained. Among the screened wireless communication devices, for any wireless communication device, a signal strength threshold of the wireless communication device can be determined based on the wireless signal mean value of the wireless communication device.
[0150] In some optional embodiments, if the number of wireless communication devices obtained by sampling is less than a first preset threshold, then among the wireless communication devices obtained by sampling, for any wireless communication device, a signal strength threshold of the wireless communication device can be determined based on the wireless signal mean value of the wireless communication device.
[0151] Exemplarily, the signal strength threshold can be calculated using the following formula:
[0152]
[0153] Among them, Rssi th is the signal strength threshold of the wireless signal, Rssi mean is the signal strength mean of the sampled wireless signal, factor1 is the scaling factor, factor2 is the benchmark factor, and factor3 is the empirical factor.
[0154] In some optional embodiments, the point of interest information set may include a point of interest information set for the entire region, for example, the point of interest information set may be an information set of all points of interest in a country. In this scenario, the terminal device requests the server for the point of interest information set for the entire region. Exemplarily, after receiving the request from the terminal device, the server may send the point of interest information set for the entire region to the terminal device.
[0155] In some optional embodiments, the point of interest information set may include point of interest information sets of multiple sub-areas. Exemplarily, a full area may be pre-divided into multiple sub-areas, and each sub-area may include one or more corresponding points of interest. It is understandable that if the server sends the information set containing the points of interest of the full area to the terminal device, since the amount of data of the information set containing the points of interest of the full area is large, it will cause excessive bandwidth to be occupied and the data transmission efficiency is low. If only the point of interest information set containing the sub-area is sent to the terminal device, the amount of data sent can be reduced, thereby reducing the occupation of bandwidth and improving the data transmission efficiency. In this scenario, the terminal device can request the point of interest information set of the sub-area from the server according to the sub-area currently located. Exemplarily, when the terminal device can obtain the area identifier of the current sub-area, the area identifier is used to identify the position of the sub-area in the full area. Then, the terminal device can send an information request to the server to request the server to send the point of interest information set of the sub-area, wherein the information request may include the area identifier of the current sub-area. 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.
[0156] Step 302: In response to detecting a wireless signal, the terminal device performs pre-identification based on the detected wireless signal.
[0157] 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 specifically limited in the embodiments of the present application.
[0158] In some optional embodiments, the terminal device may passively receive surrounding wireless signals to obtain information about surrounding wireless communication devices. Exemplarily, the wireless communication device may broadcast wireless signals, wherein the broadcast may be periodic or aperiodic, and the embodiments of the present application do not specifically limit this. The terminal device may passively receive the broadcast signal.
[0159] In some optional embodiments, the terminal device may actively scan the wireless signals of the surrounding wireless communication devices. Exemplarily, the terminal device may periodically scan the wireless signals of the surrounding wireless communication devices, or the terminal device may periodically scan the wireless signals of the surrounding wireless communication devices. It is understandable that the terminal device may also actively scan the wireless signals of the surrounding wireless communication devices in other ways, and the embodiments of the present application do not specifically limit this.
[0160] When the terminal device receives the wireless signal of the wireless communication device, it can pre-identify the information based on the wireless communication device. The information of the wireless communication device can be obtained by analyzing the above-mentioned detected wireless signal, and the information of the wireless communication device can include the device identification number of the wireless communication device and its signal strength. It can be understood that the signal strength is the signal strength of the wireless signal sent by the wireless communication device detected by the terminal device.
[0161] 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, the detected Wi-Fi signals may be pre-identified.
[0162] In some optional embodiments, the terminal device can perform pre-identification based on the screen state of the terminal device after detecting the surrounding wireless signals. Exemplarily, when the terminal device detects the surrounding base station signals, it can determine whether the screen of the terminal device is in a bright screen state. If the screen of the current terminal device is in a bright screen state, pre-identification can be performed; or, if the screen of the current terminal device is not in a bright screen state, pre-identification is not performed.
[0163] After pre-identification based on the information of the wireless communication device, a pre-identification result can be obtained, which can 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.
[0164] 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 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 be searched 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.
[0165] 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.
[0166] In some optional embodiments, in order to improve the accuracy and efficiency of recognition, wireless communication devices that do not meet the requirements can be screened out. Exemplarily, after finding the point of interest corresponding to the target wireless communication device in the point of interest information set, the signal strength of the wireless signal sent by the target wireless communication device is compared with the signal strength threshold. If the signal strength of the wireless signal sent by the target wireless communication device is greater than or equal to the signal strength threshold of the target wireless communication device, the pre-recognition result of the target wireless communication device can be sent to the server; or, if the signal strength of the wireless signal sent by the target wireless communication device is less than the signal strength threshold of the target wireless communication device, the pre-recognition result of the target wireless communication device does not need to be sent to the server.
[0167] Step 303: The terminal device sends the pre-recognition result to the server. Correspondingly, the server receives the pre-recognition result.
[0168] Step 304: The server determines the target point of interest based on the pre-recognition result.
[0169] Specifically, after receiving the pre-recognition result, the server may determine the target point of interest based on the pre-recognition result.
[0170] Exemplarily, the server may determine the target point of interest based on the signal strength of the wireless signal sent by one or more wireless communication devices in the pre-identification result. 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 points of interest to be selected. Exemplarily, the points of interest to be selected may be sorted according to the confidence level, and the target point of interest may be the point of interest with the highest confidence level, or the target point of interest may be multiple points of interest to be selected arranged from high to low confidence levels.
[0171] 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.
[0172] 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.
[0173] Figure 5 This is a schematic diagram of the structure of an embodiment of the service push device of this application, such as Figure 5 As shown, the service push device 50 is applied to a terminal device, and the service push device 50 may include: an acquisition module 51, an identification module 52 and a request module 53; wherein,
[0174] An acquisition module 51 is used 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 in a target area;
[0175] an identification module 52, configured to perform pre-identification according to 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;
[0176] The request module 53 is used to send a push request to the server if it is determined that there are POIs to be selected around the terminal device, requesting the server to push service information of the target POI, where the terminal device is currently located.
[0177] 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.
[0178] In one possible implementation manner, 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.
[0179] In one possible implementation, 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,
[0180] 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.
[0181] In one possible implementation manner, the acquisition module 51 is further used 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.
[0182] In one possible implementation, the identification module 52 is further configured to determine that there are points of interest to be selected around the terminal device if there is a wireless communication device corresponding to the detected wireless signal in the point of interest information set.
[0183] In one possible implementation, the identification module 52 is also used to determine that there are points of interest to be selected 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.
[0184] 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 is in a bright state.
[0185] In one possible implementation, the wireless signal is obtained by broadcasting from a wireless communication device around the terminal device; or,
[0186] The wireless signal is obtained by the terminal device after scanning surrounding wireless communication devices.
[0187] Figure 5 The service push device 50 provided in the illustrated embodiment can be used to execute the technical solution of the method embodiment illustrated in the present application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0188] Figure 6 This is a structural diagram of another embodiment of the service push device of this application, such as Figure 6 As shown, the service push device 50 is applied to a server, and the service push device 60 may include: a sending module 61; wherein,
[0189] A sending module 61, configured to send a set of information about points of interest in a target sub-area to the terminal device in response to receiving an information request from the terminal device;
[0190] 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.
[0191] Figure 6 The service push device 60 provided in the illustrated embodiment can be used to execute the technical solution of the method embodiment illustrated in the present application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0192] It should be understood that the above Figure 5 The service push device 50 and Figure 6The division of the various modules of the service push device 60 shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling 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 in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or the above modules can be completed by the hardware integrated logic circuit in the processor element or the instructions in the form of software.
[0193] 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 (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0194] 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 (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present 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.
[0195] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. 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.
[0196] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.
[0197] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" 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 be represented by: 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.
[0198] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in 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. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0199] Those skilled in the art can 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.
[0200] In several embodiments provided in the present 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 the present 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present 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), disk or optical disk, and other media that can store program codes.
[0201] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A service push method, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is characterized in that The wireless signal is obtained by broadcasting from a wireless communication device around the terminal device; or, DD231085I The wireless signal is obtained by the terminal device after scanning surrounding wireless communication devices.
10. A service push method, It is 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, It is 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, It is 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, It is 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
Information recommendation method, device, terminal, and storage medium
CN109376313A
Method for determining that terminal device is located inside geofence, and terminal device
CN113615217A
Internet of things label for factory and warehouse applications
US20220159354A1
