CN115174740B - Recommendation method, electronic device and storage medium - Google Patents

Recommendation method, electronic device and storage medium Download PDF

Info

Publication number
CN115174740B
CN115174740B CN202210716987.1A CN202210716987A CN115174740B CN 115174740 B CN115174740 B CN 115174740B CN 202210716987 A CN202210716987 A CN 202210716987A CN 115174740 B CN115174740 B CN 115174740B
Authority
CN
China
Prior art keywords
target
preset
equipment
recommendation
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210716987.1A
Other languages
Chinese (zh)
Other versions
CN115174740A (en
Inventor
吕乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN202210716987.1A priority Critical patent/CN115174740B/en
Publication of CN115174740A publication Critical patent/CN115174740A/en
Application granted granted Critical
Publication of CN115174740B publication Critical patent/CN115174740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a recommendation method, electronic equipment and a storage medium, wherein the recommendation method comprises the following steps: acquiring the position of at least one device; and recommending the position of the target equipment serving as a target activity place when the number of the target equipment is larger than or equal to a first preset number threshold value, wherein the target equipment is equipment with the position meeting the preset position condition. When the number of the devices with the positions meeting the preset position conditions is detected to be larger than or equal to the first preset number threshold, the positions of the devices are used as target movable sites to be recommended, so that the sites can be accurately marked, and the sites can be recommended quickly.

Description

Recommendation method, electronic device and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a recommendation method, an electronic device, and a storage medium.
Background
With the increasing level of living of people, there is an increasing demand for outdoor exercises, and in order to meet the above demand, it is first required to find a place capable of providing outdoor exercises. However, users typically only know the currently known sites, which may be less affected by factors such as cost, planning constraints, etc. However, some venues may be suitable for providing outdoor sports, such as open space for playing football, but how to recommend the venue has been under study.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
The application aims to provide a recommending method, electronic equipment and a storage medium, which not only can accurately mark a place, but also can rapidly recommend the place.
When the technical scheme of the application is implemented, in order to meet the legal and legal requirements of privacy data collection and protection, the principle of user knowledge and consent is required to be followed.
In a first aspect, the present application provides a recommendation method, which is applicable to an electronic device (such as a mobile phone), including:
S1, acquiring the position of at least one device;
And S2, recommending the position of the target equipment serving as a target activity place when the number of the target equipment is larger than or equal to a first preset number threshold, wherein the target equipment is the equipment with the position meeting the preset position condition.
Optionally, the meeting the preset position condition includes at least one of the following:
the similarity is greater than or equal to a preset similarity threshold;
The distance is less than or equal to a first preset distance threshold.
Optionally, before recommending the location of the target device as the target activity site, the method further includes:
Acquiring building distribution information around the position of the target equipment;
and when the building distribution information meets a preset distribution condition, determining the position of the target equipment as a target activity site.
Optionally, the recommending the location of the target device as the target activity site includes:
and sending out recommendation information, wherein the recommendation information comprises the position of the target device and the number of the target devices.
Optionally, before the step S2, the method further includes:
performing difference-by-difference correction on the position of the equipment; the target device is a device with the position meeting the preset position condition after the difference correction.
Optionally, after the step S2, the method further includes:
and pushing the activity information corresponding to the position of the target equipment to surrounding equipment when the number of the target equipment is determined to be greater than or equal to a second preset number threshold.
Optionally, a distance between the surrounding device and the target device is less than or equal to a second preset distance threshold.
Optionally, the second preset number threshold is greater than the first preset number threshold.
Optionally, the step S1 includes:
And receiving a recommendation request sent by a first device with a first working mode, wherein the recommendation request comprises the position of the first device and the position of at least one second device with a second working mode, and the first device and the second device are in the same Bluetooth Mesh network.
Optionally, the recommendation request further includes a type of recommendation venue; the step S1 further includes:
and determining the target activity site according to the type of the recommended site in the recommendation request.
In a second aspect, the present application also provides an electronic device, including: the computer program comprises a memory and a processor, wherein the memory stores a computer program, and the computer program realizes the steps of any one of the recommendation methods when being executed by the processor.
In a third aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the recommendation method as described in any of the above.
The recommendation method, the electronic device and the storage medium provided by the embodiment of the application comprise the following steps: acquiring the position of at least one device; and recommending the position of the target equipment serving as a target activity place when the number of the target equipment is larger than or equal to a first preset number threshold value, wherein the target equipment is equipment with the position meeting the preset position condition. When the number of the devices with the positions meeting the preset position conditions is detected to be larger than or equal to the first preset number threshold, the positions of the devices are used as target movable sites to be recommended, so that the sites can be accurately marked, and the sites can be recommended quickly.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present application;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a recommendation method according to an embodiment of the present application;
fig. 4 is a specific flow chart of a recommendation method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a process of selecting a gateway when Mesh networking in an embodiment of the present application;
fig. 6 is a specific flow chart diagram of a recommendation method according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments. Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element(s) defined by the phrase "comprising one … …" does not exclude the presence of additional identical elements in a process, method, article, or apparatus that comprises the element(s), alternatively, elements, features, or elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, a particular meaning of which is to be determined by its interpretation in this particular embodiment or by further context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; A. b and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
It should be noted that, in this document, step numbers such as S1 and S2 are adopted, and the purpose of the present application is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S2 first and then execute S1 when implementing the present application, which is within the scope of protection of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The electronic device may be implemented in various forms. For example, the electronic devices described in the present application may include mobile terminals such as mobile phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal DIGITAL ASSISTANT, PDA), portable media players (Portable MEDIA PLAYER, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a wireless network module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
The radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Optionally, the radio frequency unit 101 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (GENERAL PACKET Radio Service), CDMA2000 (Code Division Multiple Access, code Division multiple Access 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), 5G, and the like.
The wireless network belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the wireless network module 102, so that wireless broadband internet access is provided for the user. Although fig. 1 shows a wireless network module 102, it is to be understood that it is not an essential component of a mobile terminal and can be omitted entirely as desired within the scope of not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the wireless network module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the wireless network module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, optionally, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects the touch azimuth of the user, detects a signal brought by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Alternatively, the touch panel 1071 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Alternatively, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Alternatively, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and the processor 110 then provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, and alternatively, the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. Alternatively, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, the application processor optionally handling mainly an operating system, a user interface, an application program, etc., the modem processor handling mainly wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Alternatively, the UE201 may be the terminal 100 described above, which is not described here again.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. Alternatively, the eNodeB2021 may connect with other enodebs 2022 over a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access for the UE201 to the EPC 203.
EPC203 may include MME (Mobility MANAGEMENT ENTITY ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (SERVING GATE WAY ) 2034, pgw (PDN GATE WAY, packet data network gateway) 2035, PCRF (Policy AND CHARGING Rules Function) 2036, and so on. Optionally, MME2031 is a control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g., 5G), etc.
Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are presented.
Referring to fig. 3, a recommendation method provided by the embodiment of the present application may be suitable for a situation of recommending a venue, and the method may be performed by a recommendation device provided by the embodiment of the present application, where the device may be implemented in a software and/or hardware manner, and optionally, the device may be specifically a server, an intelligent terminal, or the like. The smart terminal may be implemented in various forms, and the smart terminal described in this embodiment may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a Portable media player (Portable MEDIA PLAYER, PMP), a wearable device, a smart bracelet, a pedometer, and the like. In this embodiment, taking the execution body of the recommendation method as an example of a server, the recommendation method includes:
step S1: the location of at least one device is obtained.
Alternatively, the device may be implemented in various forms, and the device described in this embodiment may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a Portable media player (Portable MEDIA PLAYER, PMP), a wearable device, a smart bracelet, a pedometer, and the like. The location is used to characterize the geographic location where the device is currently located, and the location may include at least one of: longitude and latitude coordinates, the name of the point of interest (e.g., 100 meters east to west in Happy dao, etc.). The server obtains the position of at least one device, which may be the corresponding position sent by the at least one device, or the positions of a plurality of devices sent by the at least one device.
Step S2: and recommending the position of the target equipment serving as a target activity place when the number of the target equipment is larger than or equal to a first preset number threshold value, wherein the target equipment is equipment with the position meeting the preset position condition.
Optionally, after the server obtains the position of at least one device, the server may detect whether the number of devices, that is, the target devices, whose positions meet the preset position condition is greater than or equal to a first preset number threshold, and if it is determined that the number of the target devices is greater than or equal to the first preset number threshold, recommend the position of the target devices as a target activity site; if the number of the target devices is determined to be smaller than the first preset number threshold, continuing to detect whether the number of the devices, namely the target devices, of which the positions meet the preset position conditions is larger than or equal to the first preset number threshold.
Alternatively, the first preset number of thresholds may be set according to actual situation needs, for example, may be set to 6, 10, or the like. The meeting the preset position condition can be set according to actual situation requirements, and optionally, the meeting the preset position condition comprises at least one of the following: the similarity is greater than or equal to a preset similarity threshold; the distance is less than or equal to a first preset distance threshold. It should be noted that, if the position is a latitude and longitude coordinate, the distance meeting the preset position condition may be less than or equal to a first preset distance threshold. If the location is the name of the located interest point, the condition meeting the preset location may be that the similarity is greater than or equal to a preset similarity threshold.
Optionally, when the number of the target devices is determined to be greater than or equal to the first preset number threshold, it is indicated that multiple people gather in the same area or position, and at this time, multiple people may be participating in the same activity, such as playing football, playing basketball, playing beach volleyball, etc., the position of the target device may be recommended as the target activity site, so as to achieve accurate marking of the site and quick recommendation of the site. Optionally, the target activity site may be used to provide a certain activity, and may specifically be determined according to actual situation needs, for example, if the location of the target device is known to have been recommended by querying a history recommendation list, the target activity site may be determined according to history recommendation information; if the location of the target device is not recommended, the determination may be made based on a building distribution near the location of the target device, and/or a recommendation request sent by the device, etc.
Optionally, the recommending the location of the target device as the target activity site includes:
and sending out recommendation information, wherein the recommendation information comprises the position of the target device and the number of the target devices.
Alternatively, in order to enable people not near the location of the target device or people with a site requirement to know the activity site information or the previous participation in the activity in time, the server may send recommendation information including the location of the target device and the number of the target devices to other devices, so as to achieve recommendation of the location of the target device as the target activity site.
In summary, in the recommendation method provided in the foregoing embodiment, when it is detected that the number of devices whose positions meet the preset position condition is greater than or equal to the first preset number threshold, the positions of the devices are used as the target activity sites to recommend, so that the sites can be accurately marked and recommended quickly.
Optionally, the step S1 includes:
And receiving a recommendation request sent by a first device with a first working mode, wherein the recommendation request comprises the position of the first device and the position of at least one second device with a second working mode, and the first device and the second device are in the same Bluetooth Mesh network.
Optionally, the first mode and the second mode may be set according to actual situation requirements, where when the first device and the second device are in the same bluetooth Mesh network, the first mode may be set to a master mode, and the second mode may be set to a slave mode, that is, the first device serves as a gateway master device, and the second device serves as a gateway slave device. Optionally, the first device with the first working mode is used for counting the number of devices in the same bluetooth Mesh network and reporting the device information in the same bluetooth Mesh network. Optionally, the first device and the second device both have bluetooth modules for bluetooth Mesh networking. Optionally, when different devices that are close to each other send out bluetooth broadcast signals respectively, if at least two devices carry the same special character for identifying the device type, the at least two devices may perform bluetooth Mesh networking, where two devices that are first added initiate voting, that is, each device uses a corresponding timestamp (i.e., a time of joining the network) when networking as a unique identifier when networking, so as to elect a device with the largest timestamp (i.e., a last added device) as a gateway master device (i.e., a working mode is a master mode), and other devices as gateway slave devices (i.e., a working mode is a slave mode). If the time stamps of the two devices are the same, the identifier corresponding to one device can be added by one at random. Alternatively, whenever a new device joins, the voting is re-conducted to elect the newly joined device as the gateway master.
Alternatively, the gateway master may count the number of devices currently joining the gateway and location information each time a new device joins the bluetooth Mesh network (i.e., bluetooth Mesh gateway). For example, the new gateway master device may broadcast a message to the slave devices, so that the slave devices send their own location information to themselves based on the broadcast message, thereby knowing the number, location, signal strength, and other information of the slave devices. Therefore, by receiving the recommendation request sent by the first device with the working mode being the first mode, the position of at least one device is obtained, the recommendation can be initiated quickly, and the flow consumption of the data reported by the device is effectively saved.
Optionally, the recommendation request further includes a type of recommendation venue; the step S1 further includes:
and determining the target activity site according to the type of the recommended site in the recommendation request.
Optionally, the user of the device may trigger the site recommendation function of the corresponding device through a preset operation, for example, the user may trigger the field football field recommendation function of the device by shaking the device, touching the device, and so on, so that the first device with the working mode being the first mode sends a recommendation request to the server, where the recommendation request may include a type of recommended site. Optionally, the recommended venue type is used to characterize a venue-appropriate activity type, such as playing football, playing basketball, etc. Correspondingly, the server can determine the target activity site according to the type of the recommended site in the recommendation request. Thus, the target activity site is directly determined according to the recommendation request, and the rapidity of site recommendation is further improved.
Optionally, before recommending the location of the target device as the target activity site, the method further includes:
Acquiring building distribution information around the position of the target equipment;
and when the building distribution information meets a preset distribution condition, determining the position of the target equipment as a target activity site.
Alternatively, the server may obtain building distribution information around the location of the target device based on the location of the target device by querying a third party server, such as a map server, etc., including but not limited to building distribution shape, height, size, etc. The preset distribution conditions can be set according to actual situation requirements, for example, no building exists in a preset distance from the position of the target equipment, and a space is formed around the position of the target equipment, and the size of the space meets the requirements of a target activity field.
Optionally, according to building distribution information around the position of the target device, it may be determined whether the position of the target device is a target activity field, for example, taking the target activity field as a field football field as an example, and if it is determined that there is no tall building around the position of the target device according to the building distribution information around the position of the target device and the size of the open field meets the football field size requirement, the position of the target device may be determined as the field football field. Thus, the field type can be accurately determined, and the accuracy of field marking is further improved.
Optionally, after the step S2, the method further includes:
When the number of the target devices is determined to be greater than or equal to a second preset number threshold, pushing activity information corresponding to the positions of the target devices to surrounding devices; the distance between the surrounding equipment and the target equipment is smaller than or equal to a second preset distance threshold value, and the second preset quantity threshold value is larger than the first preset quantity threshold value.
Optionally, when the number of the target devices is greater than or equal to the second preset number threshold, it is indicated that more people gather at the positions of the target devices, and it may be considered that the positions of the target devices may be playing activities, such as football games, basketball games, etc., so that in order to enable more users to learn activity information in time and/or learn activity information without personally reaching the positions of the target devices, the server may push the activity information corresponding to the positions of the target devices to surrounding devices of the target devices. Alternatively, the second preset number threshold may be set according to actual situation needs, for example, may be set to 30 persons, 60 persons, or the like. Therefore, the activity information corresponding to the position of the target device is pushed to the surrounding devices, so that a user can know the activity information conveniently, and the user experience is improved.
Optionally, before the step S2, the method further includes:
performing difference-by-difference correction on the position of the equipment; the target device is a device with the position meeting the preset position condition after the difference correction.
Optionally, since the positioning accuracy of the different devices may be different, the accuracy of the positions obtained by the different devices may be different correspondingly, so as to improve the accuracy of the on-site marking, the server may perform the difference-by-difference correction on the positions of the devices according to the position of the at least one device, and determine the target device based on the position after the difference-by-difference correction. Thus, the accuracy of the field marking is further improved by performing the difference correction on the position of the equipment.
Based on the same application concept as the previous embodiments, the present embodiment describes the technical solution of the previous embodiments in detail by a specific example. In this example, the device is a smart watch or a smart bracelet, the location is GPS data, and the server is an internet of things cloud server.
Referring to fig. 4, the recommendation method provided by the embodiment of the present application may be applied to a device, and includes:
Step S10, equipment aggregation.
Step S11, mutually scanning Bluetooth broadcasting signals sent by the devices.
Step S12, checking whether special characters representing the device type exist in the Bluetooth broadcast signal, if yes, executing step S13, and/or if not, executing step S17.
Step S13, determining the same type of equipment capable of Mesh networking.
And S14, mesh networking is carried out, and GPS data are acquired mutually.
And step S15, performing differential correction on the GPS data according to the acquired GPS data.
And S16, reporting the corrected GPS data to an Internet of things cloud server.
And step S17, ending.
Optionally, when more than n devices (such as smartwatches or smartbands) are clustered in close proximity, each device may send out a bluetooth broadcast signal, where a special character β may be used to identify the device type, and bluetooth of the same type of device may generate Mesh networking. When more than m devices of the same type are arranged, m is smaller than n, and the signal intensity is more than k (unit: dBm), the batch of devices can be judged to be in the same place, and each device can carry out difference correction according to GPS data collected by a GPS module of the device and GPS data uploaded by other devices between the devices, so that accurate GPS data is obtained, and the accurate GPS data is uploaded and reported to an Internet of things cloud server through a Mesh network.
Optionally, referring to fig. 5, a schematic process diagram of selecting a gateway during Mesh networking in this embodiment, in this example, a device A, B, C is taken for networking, which includes:
Step S140, determining an identification ID according to the time stamp of each device.
Step S141, selecting the device with the largest ID as the gateway master device.
Step S142, detecting that the new equipment is added, and taking the current timestamp as the identification ID corresponding to the new equipment.
Step S143, the device with the largest ID is selected as the gateway master device again.
Alternatively, the bluetooth broadcast signal from the device may be networked because the device type is identified with the same β -character. When networking is performed, voting is initiated according to the two devices added first, each device uses the timestamp when networking as the unique identification ID when networking to perform voting (the identification IDs are compared in pairs, and when the identification IDs are the same, one identification ID is added at random), and the device with the largest voting timestamp (namely the last added device) becomes the gateway main device. And when a new device is added, voting is reelected, and the newly added device is selected as the gateway master device. The gateway main equipment is used for counting the equipment number and reporting the GPS data after networking.
Optionally, each time a new device is added to the bluetooth Mesh gateway, the gateway master device counts the number of devices added to the gateway, when the position reporting is performed, the counted data (i.e. the number of devices) and the position data are combined and reported to the internet of things cloud server, and the internet of things cloud server can count the number of total devices, the number of newly added devices in a certain time period, and the like according to the data, so that the number of devices can be accurately known.
Referring to fig. 6, the recommendation method provided by the embodiment of the application can be applied to an internet of things cloud server, and includes:
Step S20, GPS data of at least one device and the number of the devices are acquired.
Step S21, detecting whether the number of devices approximating the GPS data is larger than x, if yes, executing step S22, and/or if not, executing step S26.
Step S22, judging whether the position corresponding to the GPS data is recorded, if yes, executing step S23, and/or if not, executing step S28.
Step S23, strengthening the record and recording the number of devices at the position.
Step S24, judging whether the equipment number is larger than y, if yes, executing step S25, and/or if not, executing step S31.
And S25, recommending the match data corresponding to the position to a nearby user.
Step S26, judging whether a court needs to be recommended, if so, executing step S27, and/or if not, executing step S31.
Step S27, matching nearby courts, and acquiring the number of people on the courts.
And step S28, marking the position as an available court.
Step S29, popularizing the court.
Step S30, recommending to surrounding users based on the current position of the court.
Step S31 ends.
Optionally, the internet of things cloud server uses TFMA algorithm to further process the received data. The TFMA algorithm details the processing logic as follows: firstly, the cloud server of the Internet of things acquires GPS data of the equipment and the uploaded equipment number. Then, carrying out similar comparison on the GPS data, if the equipment for uploading the approximate GPS data is larger than x, then, matching whether the approximate GPS data exists in a server database, if so, indicating that the position is a football field capable of playing football, and recording the equipment number; if the GPS data is not similar, a relevant position service interface is called, whether a tall building exists nearby is inquired, whether the position is an open field is judged, if the position is judged to be the open field, the coordinates of the position are recorded, the number of equipment is recorded, the starting time of personnel gathering is recorded, the information of finding a new field is promoted to all intelligent watches or intelligent bracelet users, the position of the field is informed, and the number of people on the field is informed.
Alternatively, if the user has a appeal of playing football, the user may use specific actions on the smart watch or smart bracelet, such as a swing, a bump, etc., to wake up the field football field recommendation function, recommend nearby football fields, and inform the real-time number of people.
Optionally, if the reported number of the devices in a certain place is filtered by TFMA algorithm, and if the number of the collected people in the place exceeds y people, recommending nearby hot events, recommending the game data to all users within the surrounding target distance range value, and reminding the users to watch. Optionally, in this embodiment, only one device is defaulted for each person, so the number of devices is approximately equal to the number of people, that is, the approximate number of people in the location can be known by reporting the number of devices to the cloud server of the internet of things.
In summary, in the recommendation method provided in the above embodiment, the recording of the open field can be assisted, and the accurate location information of the field can be recorded; the known open field can be popularized, and the use condition of the field can be provided; in the case where a person uses the venue, the person around the venue may recommend the event on the venue to the person around the venue according to the number of persons using the venue, provide the start time of the event, and go to a certain time.
The embodiment of the application also provides electronic equipment, which comprises: the computer program comprises a memory and a processor, wherein the memory stores a computer program which realizes the steps of the recommendation method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, which is characterized in that the computer readable storage medium stores a computer program, and the computer program realizes the steps of the recommendation method when being executed by a processor.
Embodiments of the present application also provide a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the recommendation method as described in the various possible embodiments above.
The embodiment of the application also provides a chip, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that a device provided with the chip executes the recommended method in the various possible implementation modes.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In the present application, the same or similar term concept, technical solution and/or application scenario description will be generally described in detail only when first appearing and then repeatedly appearing, and for brevity, the description will not be repeated generally, and in understanding the present application technical solution and the like, reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution and/or application scenario description and the like which are not described in detail later.
In the present application, the descriptions of the embodiments are emphasized, and the details or descriptions of the other embodiments may be referred to.
The technical features of the technical scheme of the application can be arbitrarily combined, and all possible combinations of the technical features in the above embodiment are not described for the sake of brevity, however, as long as there is no contradiction between the combinations of the technical features, the application shall be considered as the scope of the description of the application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, storage disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state storage disk Solid STATE DISK (SSD)), etc.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A recommendation method, comprising:
S1, acquiring the position of at least one device;
S2, recommending the position of target equipment serving as a target activity place when the number of the target equipment is determined to be greater than or equal to a first preset number threshold, wherein the target equipment is equipment with the position meeting a preset position condition;
The step S1 includes:
Receiving a recommendation request sent by a first device with a first working mode, wherein the recommendation request comprises the position of the first device and the position of at least one second device with a second working mode, and the first device and the second device are in the same Bluetooth Mesh network; the first mode is a master mode, and the second mode is a slave mode; the position of the second device is that the second device sends the broadcast message sent by the first device to the first device;
The meeting of the preset position conditions comprises at least one of the following:
The similarity between the positions is greater than or equal to a preset similarity threshold;
The distance between the locations is less than or equal to a first preset distance threshold.
2. The method of claim 1, wherein before recommending the location of the target device as the target venue, further comprising:
Acquiring building distribution information around the position of the target equipment;
and when the building distribution information meets a preset distribution condition, determining the position of the target equipment as a target activity site.
3. The method according to any one of claims 1 to 2, wherein recommending the location of the target device as a target arena comprises:
and sending out recommendation information, wherein the recommendation information comprises the position of the target device and the number of the target devices.
4. The method according to any one of claims 1 to 2, further comprising, prior to step S2:
performing difference-by-difference correction on the position of the equipment; the target device is a device with the position meeting the preset position condition after the difference correction.
5. The method according to any one of claims 1 to 2, further comprising, after step S2:
and pushing the activity information corresponding to the position of the target equipment to surrounding equipment when the number of the target equipment is determined to be greater than or equal to a second preset number threshold.
6. The method of claim 1, wherein the recommendation request further comprises a type of recommendation venue; the step S1 further includes:
and determining the target activity site according to the type of the recommended site in the recommendation request.
7. An electronic device, the electronic device comprising: a memory, a processor, wherein the memory has stored thereon a computer program which, when executed by the processor, implements the steps of the recommendation method according to any of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the recommendation method according to any one of claims 1 to 6.
CN202210716987.1A 2022-06-23 2022-06-23 Recommendation method, electronic device and storage medium Active CN115174740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210716987.1A CN115174740B (en) 2022-06-23 2022-06-23 Recommendation method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210716987.1A CN115174740B (en) 2022-06-23 2022-06-23 Recommendation method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115174740A CN115174740A (en) 2022-10-11
CN115174740B true CN115174740B (en) 2024-06-14

Family

ID=83487540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210716987.1A Active CN115174740B (en) 2022-06-23 2022-06-23 Recommendation method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115174740B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559903A (en) * 2020-12-15 2021-03-26 广州市贺氏办公设备有限公司 Community member searching method, system, device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279211A (en) * 2014-12-26 2016-01-27 维沃移动通信有限公司 Push method for application and mobile terminal thereof
CN106028391B (en) * 2016-05-19 2020-12-01 腾讯科技(深圳)有限公司 People flow statistical method and device
CN107688638B (en) * 2017-08-23 2020-02-28 Oppo广东移动通信有限公司 Recommendation method and device for application list, storage medium and mobile terminal
CN108882176A (en) * 2018-08-31 2018-11-23 上海与德科技有限公司 The acquisition methods and report method of position
CN111143676A (en) * 2019-12-26 2020-05-12 斑马网络技术有限公司 Interest point recommendation method and device, electronic equipment and computer-readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559903A (en) * 2020-12-15 2021-03-26 广州市贺氏办公设备有限公司 Community member searching method, system, device and medium

Also Published As

Publication number Publication date
CN115174740A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN108334539B (en) Object recommendation method, mobile terminal and computer-readable storage medium
CN109934512B (en) Prediction model training method and training system
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN109005574B (en) Cell selection method, mobile terminal and computer readable storage medium
CN108241752B (en) Photo display method, mobile terminal and computer readable storage medium
CN107959936A (en) Recognition methods, system, terminal and the computer-readable storage medium of 4G pseudo-base stations
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN110300420B (en) Quick network searching method, mobile terminal and storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN109840444B (en) Code scanning identification method, equipment and computer readable storage medium
CN109065120B (en) Information processing method and device and computer storage medium
CN109275146A (en) A kind of pseudo-base station detection method, terminal and computer readable storage medium
CN108011937A (en) Information push method, server, intelligent terminal and computer-readable recording medium
CN109862607B (en) Network recommendation method and mobile terminal
CN108595600B (en) Photo classification method, mobile terminal and readable storage medium
CN108322611B (en) Screen locking information pushing method and device and computer readable storage medium
CN108260009B (en) Video processing method, mobile terminal and computer readable storage medium
CN113485899A (en) Information processing method, terminal device and storage medium
CN112492340B (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN109740121B (en) Search method of mobile terminal, mobile terminal and storage medium
CN110069320B (en) Classification correction method, terminal, system and storage medium for application program
CN109711850B (en) Secure payment method, device and computer readable storage medium
CN109388947B (en) Background management method, device and computer readable storage medium
CN109145227B (en) Map information display method, terminal and computer readable storage medium
CN115174740B (en) Recommendation method, electronic device and storage medium

Legal Events

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