Offline social contact management method and related equipment
By acquiring offline social request data and constructing a relay path network for positioning and identity verification, the problem of identity verification when the signal is interrupted or the range is limited in offline social interactions is solved, ensuring the reliability and security of offline social interactions.
Patent Information
- Application Number
- CN202511175518.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-11-04
AI Technical Summary
Existing offline social management methods cannot dynamically determine social conditions based on the user's surrounding environment. When the signal is interrupted or the range is limited, the location of the other party is obtained through a relay path and combined with the binding information to achieve automated identity verification, which has the problems of identity uncertainty and security risks.
By acquiring the requester's offline social request data, the surrounding environment data of the requested party is determined. The location data of the requested party is fed back using a preset relay method, and its identity is confirmed by combining the binding information, including collecting user identifier, device identifier, target location and time information. A relay path network is constructed using Bluetooth signal strength and location information for positioning and identity verification.
During the transition from online to offline social interaction, it effectively ensures the authenticity of both parties' identities and the security of their interactions, avoids misidentification or interference from malicious devices, and improves the reliability and security of offline social interaction.
Smart Images

Figure CN120896918A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of Internet, and in particular to an offline social management method and device, an electronic device and a storage medium thereof. BACKGROUND
[0002] With the development of social platforms, more and more users tend to extend online social relationships to offline meetings. However, in the process of changing from online social to offline social, there are problems of insufficient identity verification and security guarantee. On the one hand, existing offline social relies on a single positioning or check-in mechanism, which is difficult to prevent security risks such as false positioning, device impersonation or malicious tracking; on the other hand, there is a lack of effective relay path management mechanism, which leads to the fact that when both parties are not in the direct signal coverage range, the position of the other party cannot be accurately positioned, thereby affecting the smooth progress of offline social.
[0003] Although some existing social platforms can be matched based on location services, they are mostly single-point signal judgments and do not introduce multi-node relay and dynamic signal feature analysis, so it is difficult to ensure positioning accuracy in complex environments. At the same time, the existing solutions generally rely on manual verification or platform background comparison by the user in the identity confirmation link, and lack an automatic confirmation mechanism combining on-site positioning data and binding information, resulting in identity uncertainty and security risks for users in the actual meeting process.
[0004] Therefore, the existing offline social management method has the problems of being unable to dynamically judge social conditions based on the surrounding environment of the user, obtaining the positioning of the other party through a relay path when the signal is interrupted or the range is limited, and realizing automatic identity confirmation combined with binding information. SUMMARY
[0005] Embodiments of the present application provide an offline social management method to solve the problems of the existing offline social management method, which cannot dynamically judge social conditions based on the surrounding environment of the user, obtain the positioning of the other party through a relay path when the signal is interrupted or the range is limited, and realize automatic identity confirmation combined with binding information.
[0006] In a first aspect, embodiments of the present application provide an offline social management method, which comprises the following steps: obtaining offline social request data of a requestor; determining environmental surrounding data of a requested party based on the offline social request data; feeding back positioning data of the requested party according to the environmental surrounding data through a preset relay method; confirming identity information of the requested party based on the positioning data and corresponding binding information.
[0007] Optionally, the step of obtaining offline social request data of a requestor comprises: Collecting user identification information, device identification information, target location information and target time information of the requester through a mobile terminal of the requester or an entity device in communication connection with the mobile terminal, wherein the target location information and the target time information are determined by the requested party; Packaging the user identification information, the device identification information, the target location information and the target time information to obtain the offline social request data.
[0008] Optionally, the environment surrounding data of the requested party is determined based on the offline social request data, comprising: When the entity device of the requester enters the range of the target location information within the target time information, the BLE scanning step of the entity device of the requested party is controlled to be started, and surrounding device information data of the entity device of the requested party is collected, wherein the surrounding device information data comprises Bluetooth signal strength and corresponding position information of surrounding devices; The environment surrounding data of the requested party is determined based on the Bluetooth signal strength and the corresponding position information.
[0009] Optionally, before the positioning data of the requested party is fed back based on the environment surrounding data through a preset relay method, the method further comprises: When the environment surrounding data meets a preset social demand condition, the positioning data of the requested party is fed back based on the environment surrounding data through the preset relay method, wherein the preset social demand condition comprises at least one of the following: When the number of surrounding devices is greater than or equal to a preset number threshold; When the Bluetooth signal strength change of the surrounding devices meets a preset dynamic change condition; When the position information of the surrounding devices exists a preset distribution difference condition for the requested party within a preset time period.
[0010] Optionally, the positioning data of the requested party is fed back based on the environment surrounding data through a preset relay method, comprising: Based on the environment surrounding data, the BLE signal of the requester is obtained in at least one surrounding device, and a relay point is generated based on the position information of the current surrounding device; A relay path network is generated according to a plurality of relay points; In the relay path network, the positioning data of the requested party relative to the requester is calculated according to the Bluetooth signal strength change and the corresponding position information between the requester and the requested party in each node.
[0011] Optionally, the calculating, in the relay path network, the positioning data of the requested party relative to the requesting party according to the Bluetooth signal strength variation between the requesting party and the requested party in each node and the corresponding position information comprises: obtaining the Bluetooth signal strength variation between the requesting party and the requested party in each node in the relay path network; determining the orientation data between the requesting party and the requested party based on the Bluetooth signal strength variation; calculating the positioning data of the requested party relative to the requesting party according to a preset weighted fusion algorithm based on the orientation data and the corresponding position information.
[0012] Optionally, the confirming the identity information of the requested party based on the positioning data and the corresponding binding information comprises: determining the distance data between the requesting party and the requested party based on the positioning data; judging whether the requesting party and the requested party are kept within a preset social distance within a preset time range based on the distance data; when kept within the preset social distance, performing information matching according to the corresponding binding information, and confirming the identity information of the requested party after successful matching.
[0013] In a second aspect, an embodiment of the present application further provides an offline social management device, which comprises: a first obtaining module configured to obtain offline social request data of a requesting party; a first determining module configured to determine environmental surrounding data of a requested party based on the offline social request data; a first feedback module configured to feed back positioning data of the requested party according to the environmental surrounding data through a preset relay method; a second determining module configured to confirm identity information of the requested party based on the positioning data and corresponding binding information.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the offline social management method provided by the embodiment of the present application when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executable on a processor to implement the steps in the offline social management method provided by the embodiment of the present application.
[0016] In the embodiment of the present application, offline social request data of a requestor is acquired; based on the offline social request data, environment surrounding data of a requested party is determined; through a preset relay method, positioning data of the requested party is fed back according to the environment surrounding data; based on the positioning data and corresponding binding information, identity information of the requested party is confirmed. By triggering relay positioning when a preset social condition is met, and combining binding information for identity confirmation, identity authenticity and interactive safety of both parties can be effectively ensured in the process of switching from online socialization to offline socialization, misidentification or malicious device interference is avoided, and reliability and safety of offline socialization are improved. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0018] Figure 1 is a flowchart of a offline social management method provided by the embodiment of the present application; Figure 2 is a structural schematic diagram of another offline social management device provided by the embodiment of the present application; Figure 3 is a structural schematic diagram of an electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0019] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0020] As shown in Figure 1 , the present application provides a offline social management method, and the offline social management method comprises the following steps: Figure 1 is a flowchart of a offline social management method provided by the embodiment of the present application, and the offline social management method comprises the following steps: 101, offline social request data of a requestor is acquired.
[0021] In the embodiments of the present application, the offline social management method described above can be applied to an offline social management platform, which has functions such as social request data processing, social request data transmission and reception, and social request data memory storage, and can be constructed based on a server or a server cluster. The server or server cluster can be an electronic device with social request data capability.
[0022] In the present embodiment, the offline social management platform can receive or read data related to offline social activities from the mobile terminal of the requestor or the entity device bound thereto. It can be understood that this process can be triggered by the user actively, for example, the requestor directly issues an invitation, or it can be triggered according to a preset collection condition, for example, automatically uploading after detecting entering a target area or receiving a specific Bluetooth signal. The specific Bluetooth signal can be a social request Bluetooth signal with invitation properties.
[0023] The requestor can refer to a user who actively issues an offline social request in the offline social management platform.
[0024] The offline social request data can refer to a set of structured information generated and sent to the platform by the requestor when preparing to meet or interact offline, including but not limited to: user identification, device identification, request initiation time, target location information, current location information, communication mode, and social tags and activity content. It can be understood that the offline social request data can be used for subsequent social environment judgment, positioning calculation, and identity confirmation.
[0025] In one possible embodiment, after the requestor initiates the "offline meeting" or "add friend meeting" operation in the social application client and fills in or selects the meeting time and place, the offline social management platform automatically reads the device identification and current location information and generates offline social request data.
[0026] In another possible embodiment, when the offline social management platform detects that the device of the requestor triggers a preset interaction event (such as entering a designated activity site, scanning a two-dimensional code, or receiving a specific Bluetooth beacon signal) in a specific scenario, it can automatically generate offline social request data in the background and submit it to the platform server.
[0027] 102. Based on the offline social request data, determine the environment surrounding data of the requested party.
[0028] In the embodiment of the present application, the requested party can be a user receiving a meeting or interaction request from the requester, a mobile terminal bound to a social platform account or an entity device (such as a smart watch, earphone, wearable locator, etc.) with Bluetooth communication capability. Generally, the entity device can also be a communication device with a fad attribute, and the corresponding identity information can be bound through NFC module contact.
[0029] The environment surrounding data can be a comprehensive information set collected by the terminal of the requested party on site, reflecting the current physical location and the state of the nearby devices, including but not limited to the number of visible Bluetooth devices, the Bluetooth signal strength and its change trend, the approximate position distribution of each device, the dynamic change characteristics of the surrounding environment within a certain time, etc., for judging whether it meets the preset social demand condition, and as input data for relay path construction and positioning calculation.
[0030] In a possible embodiment, the offline social management platform sends and caches the offline social request data (including target time period, target location, Bluetooth feature information of the requester, social demand condition, etc.) initiated by the requester to the mobile terminal of the requested party. When the requested party enters the target location range within the target time period, the terminal starts environment data collection, and uses the Bluetooth scanning function to obtain the Bluetooth address, signal strength (RSSI) and time sequence data of all visible devices in the range. If the terminal has a positioning module, it can also obtain the rough position information of the surrounding devices.
[0031] 103. The positioning data of the requested party is fed back according to the environment surrounding data by the preset relay method.
[0032] In the embodiment of the present application, the preset relay method can be used to forward signals through surrounding third-party devices, so as to realize indirect positioning of the requested party, including but not limited to relay node screening, path construction, signal forwarding identification, path quality evaluation and result fusion, etc. and comprehensive judgment combined with Bluetooth signal strength, occurrence frequency, spatial distribution, etc. Generally, the preset relay method can be used when the requester and the requested party cannot directly transmit information, for example, when they are too far apart or it is inconvenient to directly transmit information.
[0033] In the embodiment, the offline social management platform can return the positioning result calculated by the preset relay method to the local processing module of the requested terminal, which is used for subsequent identity confirmation or social matching. Generally, the feedback process formats the positioning data and attaches confidence, calculation timestamp and path information for calculation.
[0034] The positioning data can be the spatial position estimation result of the requested terminal relative to the requester obtained by analyzing the requester signal forwarded by each node in the relay path, combining the corresponding node position information and signal characteristics, including but not limited to relative distance, relative direction, calculation time, confidence score, and relay path identifier used.
[0035] In a possible embodiment, after the offline social management platform obtains the environment surrounding data of the requested terminal, it screens the visible Bluetooth devices in the surrounding according to the preset relay method, selects the devices meeting the signal stability and frequency requirements as relay nodes, generates a relay point set according to the position information of the relay nodes, constructs multiple candidate relay paths according to the reachability between nodes, forms a relay path network, identifies the relay nodes capable of forwarding the requester Bluetooth signal in the relay path network, records the signal strength change and timestamp on each path. Combined with the position information of these nodes, the terminal calculates the relative distance and direction estimation value of each path, and obtains the comprehensive positioning data through the weighted fusion algorithm.
[0036] 104. Based on the positioning data and the corresponding binding information, the identity information of the requested terminal is confirmed.
[0037] In the embodiment, the binding information is a unique corresponding relationship data set between the user account and the exclusive entity device established by the platform or system during the user registration, device registration or authorization process, including but not limited to user account identifier, device unique hardware identifier (such as MAC address, serial number), Bluetooth broadcast feature code, optional near field communication (NFC) tag ID, encryption authentication parameter and binding state information. Generally, the binding information can be used to compare the device signal detected on site with the device features registered by the platform to verify the ownership and legitimacy of the device during the identity confirmation process, so as to avoid device impersonation or signal forgery.
[0038] The identity information can be generated after the positioning data is combined with the comparison result of the binding information, and is used to represent a technical confirmation result of a user identity of the detected device, including but not limited to an identity confirmation conclusion (confirmation pass / fail), a confirmation time, a binding information type (such as a Bluetooth feature, an NFC tag, etc.) participating in the determination, matched signal feature details, a calculated confidence score, and related environmental parameter records, etc. In general, the identity information can not only be used as an important basis for starting or not starting a subsequent social interaction process, but also be a core data support for risk prompting, access control and security auditing.
[0039] In a possible embodiment, the offline social management platform matches and verifies the positioning data calculated by the relay path with the binding information pre-stored in the platform database, and generates high-confidence identity information by cross-comparing the Bluetooth broadcast feature code, the hardware serial number, the NFC tag, etc. under the premise that the request party and the requested party maintain social distancing within a preset time window. This scheme technically balances real-time and security, effectively prevents security risks such as signal forgery and device impersonation, and ensures accurate and reliable identity confirmation in the offline social process, thereby improving the user's trust and interaction experience, and realizing efficient and intelligent identity verification for offline social.
[0040] In the embodiment of the application, offline social request data of a request party is acquired, environment surrounding data of a requested party is determined based on the offline social request data, positioning data of the requested party is fed back according to the environment surrounding data through a preset relay method, and identity information of the requested party is confirmed based on the positioning data and corresponding binding information. By triggering relay positioning when a preset social condition is met and combining binding information for identity confirmation, the identity authenticity and interaction security of both parties can be effectively ensured in the process of switching from online social to offline social, false identification or malicious device interference can be avoided, and the reliability and security of offline social can be improved.
[0041] Optionally, in the step of acquiring the offline social request data of the request party, user identification information, device identification information, target location information and target time information of the request party can be collected through the mobile terminal of the request party or an entity device in communication connection with the mobile terminal, and the user identification information, the device identification information, the target location information and the target time information are encapsulated to obtain the offline social request data.
[0042] In the embodiment of the application, the entity device can be a hardware device that is in communication connection with the mobile terminal through a specific communication connection method and can be used for collecting, transmitting or assisting in confirming user information, such as a mobile phone, a tablet, a smart watch, etc. Any device that can use BLE Bluetooth to provide transmission data and sensing information to the mobile terminal.
[0043] The user information can be account data for uniquely identifying the identity of the platform user, such as a user ID, a unique code of a nickname, a registered mobile phone number, and the like, which is generated by a platform database call and associated with the device data.
[0044] The device identification information can be hardware information capable of uniquely identifying an entity device, such as a Bluetooth MAC address, a hardware serial number, or a device feature code generated by encryption.
[0045] The target location information can be a physical location representing a predetermined offline social activity, which can be a GPS coordinate, an indoor positioning coordinate, or a platform preset geographic label. In this embodiment, the "city center shopping plaza" selected by B is converted into accurate geographic coordinates and stored. It can be understood that the target location information can be a location coordinate with a certain range interval, such as a square or an indoor space.
[0046] The target time information can refer to the scheduled time range of the offline social activity, including the start time and the end time.
[0047] In this embodiment, the offline social management platform can combine, encode, and store multiple data elements as a unified data structure for subsequent overall calling and transmission. For example, the offline social management platform can encapsulate the user identification information, the device identification information, the target location information, and the target time information into an offline social request data packet to trigger subsequent environment detection and positioning processes.
[0048] More specifically, the target location information and the target time information can be determined by the requested party, i.e., the requested party determines the target location information and the target time information after receiving the offline social request data from the requesting party and transmitting and saving the data by the offline social management platform.
[0049] Optionally, in the step of determining the environment surrounding data of the requested party based on the offline social request data, the step further includes starting the BLE scanning step of the entity device of the requested party when the entity device of the requesting party enters the range of the target location information within the target time information, collecting the surrounding device information data of the entity device of the requested party; and determining the environment surrounding data of the requested party based on the Bluetooth signal strength and the corresponding location information.
[0050] In the embodiment of the present application, the surrounding device information data can be a set of adjacent Bluetooth devices observed by the entity device of the requested party in the target time and the target location through real-time BLE scanning and sorting, including but not limited to the Bluetooth signal strength and the corresponding location information of the surrounding devices for counting the number, mobility, and spatial distribution characteristics of the surrounding devices as information data for determining whether the preset social condition is met and entering the relay positioning.
[0051] The position information corresponding to the Bluetooth signal strength can refer to spatial reference information matched with each signal strength sampling record, which can be derived from an indoor positioning anchor point, a regional grid, a floor-store POI, or a geofence unit, and can be expressed as a region where the device is located, a direction quadrant, or a reference coordinate. Comprehensive analysis of the Bluetooth signal strength and the corresponding position information can distinguish between "statically stacked" pseudo-devices and real mobile crowds, thereby improving the spatial discrimination of environmental judgment.
[0052] In the embodiment, after the entity device of the requested party is enabled to perform BLE scanning, the scanning window and interval, the selected channel, the broadcast packet, the device fingerprint and the RSSI are recorded according to the set power consumption strategy, and the peripheral device information data is determined.
[0053] In a possible embodiment, the requested party user B pre-stores the meeting request information of the requester A in the above-mentioned offline social management platform in advance. When the platform detects the entity device of A on the day of the appointment, the entity device has a fidget toy attribute, and enters the geofence range of the selected target location, the offline social management platform issues an instruction to the entity device of B to control it to enter the BLE scanning step. The entity device of B immediately starts Bluetooth scanning in a short period and low duty cycle, and continuously collects peripheral device information data within the agreed observation window: the time sequence of the Bluetooth signal strength of each visible Bluetooth device is recorded, and the corresponding position information (such as the belonging area unit, the rough direction, or the reference grid) is synchronously extracted when the indoor positioning / reference anchor point is available. After sampling is completed, the device end performs smoothing and abnormality rejection on the signal, and jointly evaluates the intensity change and spatial distribution of different time slices to form a structured environment statistics (such as the average number of visible devices, the intensity trend, the spatial dispersion, etc.), thereby determining the environment surrounding data of the requested party and providing reliable input for subsequent relay positioning and identity confirmation.
[0054] Optionally, in the step before the positioning data of the requested party is fed back according to the environment surrounding data through the preset relay method, when the environment surrounding data satisfies the preset social demand condition, the positioning data of the requested party is fed back according to the environment surrounding data through the preset relay method.
[0055] In the embodiment of the application, the above-mentioned preset social demand condition includes but is not limited to at least one of the following: when the number of peripheral devices is greater than or equal to a preset number threshold; when the Bluetooth signal strength change of the peripheral device satisfies a preset dynamic change condition; when the position information of the peripheral device exists a preset distribution difference condition for the requested person within a preset time period. One or more of the preset social demand conditions can be combined according to the specific implementation scheme.
[0056] Specifically, the preset social demand condition is a technical threshold set used by the offline social management platform to determine whether the scene is safe / trustworthy and has triggering value before entering the relay positioning. It combines quantifiable indicators in the surrounding data (number of surrounding devices, RSSI dynamic characteristics, spatial distribution dispersion, etc.) with scenario experience parameters to form a rule set that triggers when hit, thereby reducing the probability of false device stacking, static induction, or low-density scene triggering. The condition set allows single-item hits to trigger and multiple-item combinations to trigger to adapt to the flow characteristics of different venues and time periods.
[0057] The preset number threshold can be a lower limit requirement for the number of valid visible devices in the observation window, used to ensure sample size and scene "crowd authenticity". Generally, the mean value in the window can be compared with the threshold value (e.g., ≥ 5 / 8 devices), and if it is insufficient, it is determined that the scene is sparse and the relay is not triggered; the threshold value can be dynamically configured according to the venue type (mall / exhibition hall / subway station) and time period (weekday / weekend / event period).
[0058] The preset dynamic change condition can be a trend and stability constraint on the RSSI time series, used to identify "real flowing crowd devices" and "statically stacked false devices". Generally, after denoising (EMA / sliding window) the device RSSI sequence, the trend quantity (e.g., ΔRSSI≥+5 dB / window is determined to be close) is calculated, and the proportion of close devices or the number of direction change events is counted; when the close proportion reaches the threshold or the direction event density meets the standard, it is considered that the dynamics are sufficient.
[0059] The preset time period can be a continuous observation window (e.g., 20-60 seconds) used to count the number, dynamics, and spatial distribution of features. It balances between real-time and robustness: a short window has high noise, and a long window has high latency. The window can be adjusted adaptively according to the specific implementation scheme and scene density, and sliding reevaluation can be supported to improve the decision sensitivity.
[0060] The preset distribution difference condition can be used to measure the dispersion degree and cluster distribution change of devices in space (e.g., the number of active clusters C in different grid units / POI blocks, the dispersion index spread). Hitting this condition means that the surrounding devices are not concentrated in a single point, but are in multiple clusters or dispersed distribution, which is more consistent with the "real crowd" characteristics; if the on-site crowd is too dense or the regional structure is special, the platform can enable a preset distribution difference adjustment to dynamically adjust the cluster number and dispersion threshold according to the venue template (e.g., narrow corridor / hall), avoiding false positives.
[0061] In a possible embodiment, the offline social management platform described above performs multiple matching on the positioning data calculated by the relay path and the binding information, first uses the relative distance and the social distance rule to determine whether both parties are within a reasonable contact range, and then combines the Bluetooth broadcast feature code, the hardware serial number, the NFC tag ID and other multi-dimensional features to perform cross verification, so that the accuracy and safety of identity confirmation are ensured. This scheme not only effectively prevents signal forgery and device misuse, reduces security risks, but also improves user trust and experience while maintaining real-time interaction, and realizes efficient and intelligent verification of offline social identity.
[0062] Optionally, in the step of feeding back the positioning data of the requested party according to the environmental surrounding data by the preset relay method, the method further comprises the following steps of: based on the environmental surrounding data, obtaining the forwarded BLE signal of the requested party in at least one surrounding device, and generating a relay point based on the position information of the current surrounding device; generating a relay path network according to a plurality of relay points; and calculating the positioning data of the requested party relative to the requested party in the relay path network according to the Bluetooth signal strength change and the corresponding position information between the requested party and the requested party in each node.
[0063] In the embodiment of the application, the relay point can be an abstract node unit of a surrounding device that is confirmed by the requested party device to be able to forward the signal of the requested party and whose position can be referenced in the relay positioning process. One relay point at least binds the current position information, the time stamp and the RSSI observation sequence matched with the feature of the requested party, and is used for constructing a path and performing distance / position estimation.
[0064] The relay path network is a directed or undirected graph structure formed by a plurality of relay points according to reachability and link quality, and is used for representing a plurality of candidate forwarding paths from the requested party to the requested party. It carries path-level indicators including but not limited to average signal strength, hop count, continuity, delay estimation, packet loss rate and the like, and provides a structured input for subsequent multi-path weighted fusion.
[0065] The forwarded BLE signal can be a Bluetooth broadcast data sample generated by a non-requested party device but carrying the feature of the requested party, and is usually forwarded / relayed by a third-party device in the surrounding through an application or system mechanism. The signal is identified by feature digest matching at the side of the requested party, and is used as the basis for relay point confirmation and path construction In the embodiment, the RSSI change, the time stamp and the position information on the node and the path can be processed and estimated at the relay path network level, and the process usually includes: denoising / smoothing (EMA / slide window), estimation of relative distance and position in the path (such as RSSI-distance approximation, triangle / least squares), quality weighted fusion of multi-path results (such as weighted average / Kalman), and output of the final relative position information and confidence.
[0066] Specifically, the offline social management platform searches all possible paths from the requestor signal to the requested signal according to the generated relay path network, extracts the Bluetooth signal strength change trend and accurate position information of each relay point record for each path, calculates the distance from the requestor to each relay point using the RSSI (Received Signal Strength Indicator) attenuation rate and the corresponding direction, and estimates the position of the requested party by combining the multi-point triangulation algorithm; The offline social management platform weights and fuses multiple position estimation results from different paths, the weight is determined according to the number of nodes, signal quality score and sampling time consistency of the path, sets the fused result as the final positioning data of the requested party relative to the requestor, which can include but is not limited to relative distance, relative direction, calculation time and confidence level, etc., so as to ensure that high-precision positioning results can be obtained in complex scenarios with multiple paths and multiple nodes.
[0067] In another possible embodiment, after collecting the environmental surrounding data of the requested party, the offline social management platform screens all detected surrounding devices one by one to identify whether there is a device that has forwarded the requestor BLE signal. Any device with this forwarding feature will be marked as a relay point and its device identification, received BLE signal strength change curve, collection timestamp and accurate position information will be recorded. Subsequently, the offline social management platform will determine whether a signal transmission link can be established between the relay points based on time synchronization and spatial proximity. When the signal collection time intervals of any two relay points overlap and their position distances are within a preset range, the platform will establish a path connection between the two relay points and assign a weight to the path, which can be calculated based on signal stability, sampling continuity and positioning accuracy. By combining all relay points and their path connections, the offline social management platform finally generates a relay path network containing multiple nodes and weighted paths, providing a highly reliable data structure foundation for subsequent calculation of the requested party positioning data.
[0068] Optionally, in the step of calculating the positioning data of the requested party relative to the requestor in the relay path network according to the Bluetooth signal strength change and corresponding position information between the requestor and the requested party in each node in the relay path network, the Bluetooth signal strength change between the requestor and the requested party in each node in the relay path network is obtained; the orientation data between the requestor and the requested party is determined based on the Bluetooth signal strength change; and the positioning data of the requested party relative to the requestor is calculated according to a preset weighted fusion algorithm based on the orientation data and the corresponding position information.
[0069] In the embodiments of the present application, the Bluetooth signal strength change can refer to the change trend of the received signal strength indication value (RSSI) of the BLE signal received by each relay node in the relay path network at different time points, including the increase and decrease of the signal absolute value, reflecting the fluctuation mode of the signal in a short time, such as the change of the RSSI curve caused by the relative movement of the two parties, the interference of the shielding object, or the change of the transmission power.
[0070] The above-mentioned orientation data can refer to the relative direction information of the requestor and the requested party on the plane or in the space calculated by the offline social management platform by analyzing the Bluetooth signal strength change combined with the known position of the relay node. For example, by comparing the synchronization and change amplitude of the RSSI received by multiple relay nodes, it can be judged that the requested party is located in the southeast, northwest or other specific direction area of the requestor. The orientation data is usually represented in the form of angle or direction vector, and can be mapped in combination with the geographic coordinate system.
[0071] The above-mentioned preset weighted fusion algorithm can be an algorithm that can integrate the calculation results of multiple paths and multiple relay nodes into the final positioning data. This algorithm will assign weights to different paths and nodes, and the determination factors of the weights can include but are not limited to signal quality score, sampling time consistency, node number and node spatial distribution rationality, etc. Generally speaking, the path with more stable Bluetooth signal and higher time synchronization will obtain higher weight, so as to have greater influence on the positioning result in the final fusion.
[0072] In the embodiments, the offline social management platform obtains the Bluetooth signal strength change data of each node in the relay path network, converts the signal strength change into the relative distance change between the nodes and the requestor and the requested party according to the signal attenuation trend, combines the known position information of the nodes, and calculates the preliminary position coordinates of the requested party by using the multilateration method, such as the triangulation or multilateration method. Finally, the preliminary positioning results of all paths are integrated according to the preset weighted fusion algorithm to obtain the final positioning data of the requested party relative to the requestor.
[0073] In another possible embodiment, when the entity device of the requested party calculates the distance to the entity device of the requestor to be closer by the above-mentioned method, the entity device of the requested party will produce actions such as shaking, sound and light, and the closer the distance, the more intense the reaction, so as to help the requested party find the requestor. When the requested party finds the requestor, it can choose to receive interaction or refuse interaction. When choosing to receive interaction, the entity device of the requestor can reversely locate the distance to the requested party according to the above-mentioned method, so that the requestor can find the requested party.
[0074] Optionally, in the step of confirming the identity information of the requested party based on location data and corresponding binding information, the distance data between the requester and the requested party can also be determined based on the location data; based on the distance data, it can be determined whether the requester and the requested party remain within a preset social distance within a preset time range; when they remain within the preset social distance, information matching is performed according to the corresponding binding information, and the identity information of the requested party is confirmed after successful matching.
[0075] In this embodiment of the invention, the aforementioned distance data may refer to the quantitative result derived from positioning data, reflecting the instantaneous relative distance and its time series between the requester and the requested party during the meeting process, and is used to determine the persistence of close proximity.
[0076] The aforementioned preset time range can be a sliding time window (e.g., 10–60 seconds) set by the aforementioned offline social management platform for continuity verification, used to determine whether both parties consistently meet the close proximity condition within a continuous period of time. It should be noted that the length of the aforementioned sliding time window can be dynamically adjusted according to the scenario (indoor / outdoor, crowd density, power consumption strategy).
[0077] The aforementioned preset social distance can be a proximity threshold set for different social scenarios to define spatial relationships that can be considered to be at the same meeting point.
[0078] In this embodiment, the aforementioned offline social management platform can compare the requested device elements (such as BLE broadcast features, NFC tag ID, and encrypted signature digest) collected on-site with the user's binding information in the platform item by item, and determine the corresponding identity information based on the comparison results.
[0079] In another possible embodiment, when the requested party is bound to the requester, and the offline social management platform detects that the requested party is in an unsafe state, the requested party can send a distress request to other users in the surrounding area through the physical device bound to it. When other users receive the distress request, they can actively broadcast their BLE signal, that is, find the location of user B through the above positioning method.
[0080] like Figure 2 As shown, this embodiment of the invention also provides an offline social management device 200, which includes: The first acquisition module 201 is used to acquire the offline social request data of the requester; The first determining module 202 is used to determine the surrounding environmental data of the requested party based on the offline social request data; The first feedback module 203 is used to feed back the location data of the requested party based on the surrounding environmental data through a preset relay method. The second determining module 204 is configured to confirm the identity information of the requested party based on the positioning data and the corresponding binding information.
[0081] Optionally, the first obtaining module 201 comprises: A first collecting sub-module is configured to collect user identity information, device identity information, target location information and target time information of the requester through a mobile terminal of the requester or an entity device in communication connection with the mobile terminal, wherein the target location information and the target time information are determined by the requested party; A first packaging sub-module is configured to package the user identity information, the device identity information, the target location information and the target time information to obtain the offline social request data.
[0082] Optionally, the first determining module 202 comprises: A second collecting sub-module is configured to control an entity device of the requested party to start a BLE scanning step when the entity device of the requester enters a range of the target location information within the target time information, and collect peripheral device information data of the entity device of the requested party, wherein the peripheral device information data comprises a Bluetooth signal strength of a peripheral device and corresponding location information; A first determining sub-module is configured to determine environmental peripheral data of the requested party based on the Bluetooth signal strength and the corresponding location information.
[0083] Optionally, the device further comprises: A feedback module is configured to feed back positioning data of the requested party based on the environmental peripheral data through the preset relay method when the environmental peripheral data meets a preset social demand condition, wherein the preset social demand condition comprises at least one of the following: When the number of the peripheral devices is greater than or equal to a preset number threshold; When the Bluetooth signal strength of the peripheral devices changes to meet a preset dynamic change condition; When the location information of the peripheral devices exists a preset distribution difference condition for the requested party within a preset time period.
[0084] Optionally, the first feedback module 203 comprises: A third collecting sub-module is configured to obtain a forwarded BLE signal of the requester in at least one peripheral device based on the environmental peripheral data, and generate a relay point based on current location information of the peripheral device; A first generating sub-module is configured to generate a relay path network according to a plurality of the relay points. A calculating sub-module is configured to calculate positioning data of the requested party relative to the requesting party according to the Bluetooth signal strength variation and the corresponding location information between the requesting party and the requested party in each node in the relay path network.
[0085] Optionally, the calculating sub-module further includes: A first obtaining unit is configured to obtain the Bluetooth signal strength variation between the requesting party and the requested party in each node in the relay path network. A first determining unit is configured to determine the orientation data between the requesting party and the requested party based on the Bluetooth signal strength variation. A first calculating unit is configured to calculate the positioning data of the requested party relative to the requesting party according to a preset weighted fusion algorithm based on the orientation data and the corresponding location information.
[0086] Optionally, the second determining module 204 includes: A second determining sub-module is configured to determine distance data between the requesting party and the requested party based on the positioning data. A first judging sub-module is configured to judge whether the requesting party and the requested party are kept within a preset social distance within a preset time range based on the distance data. A matching sub-module is configured to perform information matching according to the corresponding binding information when the requesting party and the requested party are kept within the preset social distance, and confirm the identity information of the requested party after the matching is successful.
[0087] As shown in Figure 3 The embodiment of the present application also provides an electronic device 300 including a processor, and the processor can execute any one of the offline social management methods.
[0088] Specifically, the electronic device 300 includes a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301 to execute the offline social management method, wherein: The processor 301 executes the computer program of the offline social management method stored in the memory 302 to perform the following steps: Obtain offline social request data of a requesting party. Determine environmental surrounding data of a requested party based on the offline social request data. Feed back positioning data of the requested party according to the environmental surrounding data through a preset relay method. Confirm identity information of the requested party based on the positioning data and corresponding binding information.
[0089] Optionally, the processor 301 executes the obtaining of the offline social request data of the requesting party, including: Collecting user identification information, device identification information, target location information and target time information of the requester through a mobile terminal of the requester or an entity device in communication connection with the mobile terminal, wherein the target location information and the target time information are determined by the requested party; Packaging the user identification information, the device identification information, the target location information and the target time information to obtain the offline social request data.
[0090] Optionally, the processor 301 performs the determination of the environment surrounding data of the requested party based on the offline social request data, including: When the entity device of the requester enters the range of the target location information within the target time information, the BLE scanning step of the entity device of the requested party is controlled to be started, and surrounding device information data of the entity device of the requested party is collected, wherein the surrounding device information data includes the Bluetooth signal strength and the corresponding position information of the surrounding device; Based on the Bluetooth signal strength and the corresponding position information, the environment surrounding data of the requested party is determined.
[0091] Optionally, before the processor 301 performs the feedback of the positioning data of the requested party according to the environment surrounding data through the preset relay method, the method further includes: When the environment surrounding data meets the preset social demand condition, the positioning data of the requested party is fed back according to the environment surrounding data through the preset relay method, and the preset social demand condition includes at least one of the following: When the number of surrounding devices is greater than or equal to a preset number threshold; When the Bluetooth signal strength change of the surrounding device meets the preset dynamic change condition; When the position information of the surrounding device exists a preset distribution difference condition for the requested party within a preset time period.
[0092] Optionally, the processor 301 further performs the feedback of the positioning data of the requested party according to the environment surrounding data through the preset relay method, including: Based on the environment surrounding data, the BLE signal of the requester is obtained in at least one surrounding device, and a relay point is generated based on the position information of the current surrounding device; A relay path network is generated according to a plurality of relay points; In the relay path network, the positioning data of the requested party relative to the requester is calculated according to the Bluetooth signal strength change and the corresponding position information between the requester and the requested party in each node.
[0093] Optionally, the processor 301 also performs the calculation of the positioning data of the requested party relative to the requesting party in the relay path network according to the Bluetooth signal strength variation and the corresponding position information between the requesting party and the requested party in each node, comprising: obtaining the Bluetooth signal strength variation between the requesting party and the requested party in each node in the relay path network; determining the orientation data between the requesting party and the requested party based on the Bluetooth signal strength variation; calculating the positioning data of the requested party relative to the requesting party according to a preset weighted fusion algorithm based on the orientation data and the corresponding position information.
[0094] Optionally, the processor 301 performs the confirmation of the identity information of the requested party based on the positioning data and the corresponding binding information, comprising: determining the distance data between the requesting party and the requested party based on the positioning data; judging whether the requesting party and the requested party are kept within a preset social distance within a preset time range based on the distance data; when kept within the preset social distance, then performing information matching according to the corresponding binding information, and confirming the identity information of the requested party after successful matching.
[0095] The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, the computer program is executed by a processor to realize each process of the offline social management method or the application end offline social management method provided by the embodiment of the application, and the same technical effects can be achieved, and details are not repeated here.
[0096] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by a computer program instructing related hardware, and can be stored in a computer readable storage medium. The program can include the processes of the above-mentioned embodiment when executed, wherein the storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM).
[0097] The above only describes the preferred embodiments of the application, and cannot limit the scope of the application, and equivalent changes made according to the claims of the application are still within the scope of the application.
Claims
1. An offline social management method, characterized in that, include: Obtain the requester's offline social request data; Based on the offline social request data, determine the surrounding environment data of the requested party; The location data of the requested party is fed back based on the surrounding environmental data using a preset relay method. Based on the location data and corresponding binding information, the identity information of the requested party is confirmed.
2. The offline social management method as described in claim 1, characterized in that, The acquisition of the requester's offline social request data includes: The requester's user identification information, device identification information, target location information, and target time information are collected through the requester's mobile terminal or a physical device connected to the mobile terminal. The target location information and target time information are determined by the requested party. The user identification information, device identification information, target location information, and target time information are encapsulated and processed to obtain the offline social request data.
3. The offline social management method as described in claim 1, characterized in that, The determination of the surrounding environment data of the requested party based on the offline social request data includes: When the requesting entity's physical device enters the range of the target location information within the target time information, the requesting entity's physical device is controlled to start the BLE scanning step to collect the surrounding device information data of the requesting entity's physical device. The surrounding device information data includes the Bluetooth signal strength of the surrounding devices and their corresponding location information. Based on the Bluetooth signal strength and the corresponding location information, the surrounding environment data of the requested party is determined.
4. The offline social management method as described in claim 3, characterized in that, Before relaying the location data of the requested party based on the surrounding environmental data using a preset relay method, the method further includes: When the surrounding environmental data meets preset social needs conditions, the location data of the requested party is fed back based on the surrounding environmental data through the preset relay method. The preset social needs conditions include at least one of the following: When the number of peripheral devices is greater than or equal to a preset number threshold; When the Bluetooth signal strength change of the peripheral device meets the preset dynamic change conditions; When the location information of the surrounding devices has a preset distribution difference condition for the requested person within a preset time period.
5. The offline social management method as described in claim 1, characterized in that, The step of feeding back the location data of the requested party based on the surrounding environmental data using a preset relay method includes: Based on the surrounding environmental data, at least one surrounding device acquires the forwarded BLE signal of the requester and generates a relay point based on the current location information of the surrounding device. Generate a relay path network based on the multiple relay points; In the relay network, the location data of the requested party relative to the requester is calculated based on the changes in Bluetooth signal strength and corresponding location information between the requester and the requested party in each node.
6. The offline social management method as described in claim 5, characterized in that, In the relay network, based on the changes in Bluetooth signal strength and corresponding location information between the requester and the requested party at each node, the location data of the requested party relative to the requester is calculated, including: Obtain the changes in Bluetooth signal strength between the requester and the requested party at each node in the relay path network; Based on the changes in Bluetooth signal strength, the location data between the requester and the requested party is determined; Based on the orientation data and corresponding location information, the positioning data of the requested party relative to the requesting party is calculated according to a preset weighted fusion algorithm.
7. The offline social management method as described in claim 1, characterized in that, The step of confirming the identity information of the requested party based on the location data and corresponding binding information includes: Based on the location data, the distance between the requester and the requested party is determined; Based on the distance data, it is determined whether the requester and the requested party maintain a preset social distance within a preset time range. When the person remains within the preset social distance, information matching is performed based on the corresponding binding information, and the identity information of the requested party is confirmed after a successful match.
8. An offline social management device, characterized in that, include: The first acquisition module is used to acquire the offline social request data of the requester; The first determining module is used to determine the surrounding environmental data of the requested party based on the offline social request data; The first feedback module is used to feed back the location data of the requested party based on the surrounding environmental data through a preset relay method. The second determining module is used to confirm the identity information of the requested party based on the location data and the corresponding binding information.
9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the offline social management method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the offline social management method as described in any one of claims 1 to 7.