In-home service verification method and apparatus, device, storage medium, and program product
By receiving network signal data reported by the terminal devices of service providers, the MAC address of the service personnel's main device is determined and compared with the reservation information. This solves the problem of service personnel clocking in and out multiple times during home services, realizes seamless home service authenticity detection, and improves service quality.
Patent Information
- Application Number
- PCT/CN2026/094201
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-07
- Filing Date
- 2026-04-30
- Publication Date
- 2026-11-12
AI Technical Summary
The current verification method for home delivery services requires service personnel to clock in multiple times, which increases the amount of unnecessary work, affects service duration and quality, and the hardware equipment is expensive.
By receiving network signal data from surrounding devices reported by the user's terminal device, the MAC address of the service personnel's main device is determined and compared with the MAC address of the main device in the reservation information, thus achieving seamless verification of the authenticity of the home service.
It eliminates the need for service personnel to clock in multiple times and install additional equipment, reducing unnecessary workload, ensuring service quality, and enabling accurate detection of the authenticity of home delivery services.
Smart Images

Figure CN2026094201_12112026_PF_FP_ABST
Abstract
Description
Home service testing methods, devices, equipment, storage media and procedures products
[0001] Cross-references to related applications
[0002] This disclosure claims priority to Chinese Patent Application No. 202510583250.0, filed in China on May 7, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of smart service technology, and in particular to a method, apparatus, equipment, storage medium, and program product for detecting home delivery services. Background Technology
[0004] With the application and development of network services, location-based functions using network communication are widely used in attendance and on-duty monitoring. Currently, service verification for in-home services is achieved by service personnel taking photos to clock in, or by installing Bluetooth or fingerprint devices for personnel to clock in. The photo-based clock-in method compares the location of the service personnel's uploaded photo with the location provided by the service booking user to determine the accuracy of the service location. When service personnel upload photos indoors for clocking in, there is a significant error in detecting the clock-in location, leading to inaccurate service verification. Installing Bluetooth or fingerprint devices for service personnel to clock in involves setting up a clock-in device at the service booking user's location, and the service personnel clock in by touching the device upon arrival. However, with a large number of booking users, the required hardware costs are high, and the subsequent maintenance costs are also significant.
[0005] Furthermore, both photo check-in and device check-in verification methods require service personnel to check in at least before and after the service begins. In cases where the service duration is long, service personnel need to check in multiple times during the service period, which increases the ineffective workload of service personnel and can easily have a negative impact on the service duration and quality. Summary of the Invention
[0006] This disclosure provides a method, apparatus, equipment, storage medium, and program product for testing home delivery services, which addresses the shortcomings of related technologies that verify the authenticity of home delivery services through a check-in method. This requires service personnel to check in multiple times during the service period, increasing their workload and affecting the service duration and quality of the home delivery service.
[0007] This disclosure provides a method for detecting home delivery services, including:
[0008] Receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider;
[0009] The MAC address of the first main device of the service provider's user on-site service is determined based on the network signal data.
[0010] The MAC address of the first master device is compared with the MAC address of the second master device, and the authenticity of the home delivery service is determined based on the comparison result. The MAC address of the second master device is determined based on the reservation information of the home delivery service, which is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0011] In one embodiment, the reservation information includes service duration; determining the authenticity of the home delivery service based on the comparison result includes:
[0012] If the comparison result indicates that the MAC address of the first master device is consistent with the MAC address of the second master device, the interaction duration between the first terminal device and the first master device is obtained.
[0013] The interaction duration is compared with the reservation duration in the reservation information to determine the authenticity of the home delivery service; if the interaction duration is greater than or equal to the reservation duration, the authenticity verification of the home delivery service passes; if the interaction duration is less than the reservation duration, or if the comparison result indicates that the MAC address of the first master device is inconsistent with the MAC address of the second master device, the authenticity verification of the home delivery service fails.
[0014] In one embodiment, determining the MAC address of the first primary device used by the service provider to provide on-site service based on the network signal data includes:
[0015] Perform sliding window processing on the network signal data to obtain the set of shared devices within adjacent sliding windows;
[0016] The MAC addresses of the shared devices in the shared device set are matched with the main device set, and the MAC address of the first main device for the service provider to provide on-site service is determined based on the matching result. The main device set includes the MAC address of the main device and the MAC addresses of the downstream devices of each main device. The MAC address of the main device and the MAC address of the downstream device are reported by each main device, and the MAC address of the downstream device is associated with the MAC address of the main device.
[0017] In one embodiment, performing sliding window processing on the network signal data to obtain a set of shared devices within adjacent sliding windows includes:
[0018] The window size is determined based on the reporting cycle of the network signal data;
[0019] The network signal data is processed by sliding window based on the window size, and the average signal strength of each network device in each window is calculated based on the network signal data in each window.
[0020] Based on the average signal strength, the target device among the network devices within the window is obtained to form a first device set; the signal strength of the target device is greater than the average signal strength.
[0021] The first set of devices of the target window is compared with the first set of devices of the adjacent windows to determine whether the first set of devices of the adjacent windows contains each target device in the first set of devices of the target window; the target window is any one of the windows, and the adjacent windows include the window before the target window and the window after the target window;
[0022] If the first device set of the adjacent window contains each target device in the first device set of the target window, the first device set of the target window and the first device set of the adjacent window are merged to obtain a common device set;
[0023] If the first device set of the adjacent window does not include any of the target devices in the first device set of the target window, the window size of the target window is dynamically scaled, and the process returns to and executes the step of calculating the average signal strength of each network device in each window based on the network signal data in each window.
[0024] In one embodiment, matching the MAC addresses of shared devices in the shared device set with the master device set, and determining the MAC address of the first master device for the service provider user's on-site service based on the matching result, includes:
[0025] The MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of the master devices in the master device set to determine the first intersection between the master devices in the master device set and the shared device set;
[0026] If the first intersection is not empty, the MAC address of the first main device of the service provider user who provides on-site service is determined based on the shared devices in the first intersection;
[0027] If the first intersection is empty, the MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of each downstream device in the master device set to determine the second intersection between each downstream device in the master device set and the shared device set.
[0028] Based on the uplink devices of the shared devices in the second intersection, determine the MAC address of the first main device of the service provider user who provides on-site service.
[0029] In one embodiment, the first intersection or the second intersection includes multiple shared devices; determining the MAC address of the first primary device for the service provider's user on-site service based on the shared devices in the first intersection, or determining the MAC address of the first primary device for the service provider's user on-site service based on the uplink devices of the shared devices in the second intersection, includes:
[0030] Obtain the set of windows containing target shared devices during the sliding window processing; the target shared device is any one of the shared devices in the first intersection, or any one of the shared devices in the second intersection;
[0031] The standard deviation of the signal strength of the target shared device is calculated based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set.
[0032] Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set to determine the cumulative change in the signal strength of the target shared device;
[0033] The MAC address of the first main device for the service personnel to provide on-site service is determined based on the cumulative change value; the first main device is the shared device with the largest cumulative change value in the first intersection, or the first main device is the upstream device of the shared device with the largest cumulative change value in the second intersection.
[0034] This disclosure also provides a home delivery service detection device, including the following modules:
[0035] The data acquisition module is configured to receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider.
[0036] The data analysis module is configured to determine the MAC address of the first main device of the service provider's user on-site service based on the network signal data.
[0037] The service detection module is configured to compare the MAC address of the first master device with the MAC address of the second master device, and determine the authenticity of the home delivery service based on the comparison result; the MAC address of the second master device is determined based on the reservation information of the home delivery service, and the reservation information is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0038] This disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the home service detection method as described above.
[0039] This disclosure also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the home service detection method as described above.
[0040] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the home service detection method as described above.
[0041] The home service detection method, device, equipment, storage medium, and program products disclosed herein determine the MAC address of the main device in the vicinity of the service personnel by using network signal data from surrounding devices reported by the service personnel's terminal device. This MAC address is then compared with the MAC address of the main device corresponding to the service reservation information to determine the accuracy of the home service location, thereby verifying the authenticity of the home service and achieving seamless detection of its authenticity. By comparing the MAC address of the main device in the service personnel's vicinity with the MAC address of the main device corresponding to the service reservation information, it is determined whether the main device at the service location belongs to the service personnel's vicinity. This allows for seamless verification of the authenticity of the service personnel's arrival based on the main device's MAC address, eliminating the need for multiple clock-ins by the service personnel and the need for additional clock-in / out equipment. This reduces the unnecessary workload for service personnel and helps ensure the quality of home services. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 is a flowchart illustrating the home service detection method provided in an embodiment of this disclosure.
[0044] Figure 2 is a schematic diagram of the home service detection device provided by the present invention.
[0045] Figure 3 is a schematic diagram of the structure of the electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this disclosure clearer, the technical solutions of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0047] This disclosure provides a method for detecting home delivery services, applied to a server, to verify the authenticity of home delivery services. This method can verify the authenticity of home delivery services without the awareness of the service personnel or the user who booked the service, eliminating the need for service personnel to clock in and out, thus reducing their workload and helping to ensure service quality. Specifically, Figure 1 is a flowchart illustrating the home delivery service detection method provided in this disclosure. As shown in Figure 1, the method includes the following steps:
[0048] Step 100: Receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider.
[0049] Step 200: Determine the Media Access Control (MAC) address of the first main device of the service provider providing on-site service based on the network signal data;
[0050] Step 300: Compare the MAC address of the first master device with the MAC address of the second master device, and determine the authenticity of the home delivery service based on the comparison result; the MAC address of the second master device is obtained based on the reservation information of the home delivery service, and the reservation information is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0051] The system receives network signal data from surrounding devices reported by the first terminal. This network signal data includes signal strength and device MAC address. The first terminal device is the terminal device of the user who provides the home service, that is, the terminal device of the service personnel who provide the home service.
[0052] In one embodiment, the terminal device of the on-site service personnel is equipped with an application for collecting network signals. The application collects network signals from surrounding network devices and periodically reports the collected network signal data to the server. Alternatively, the application collects network signals from surrounding network devices, and the terminal device periodically reports the network signal data collected by the application to the server.
[0053] The MAC address of the first primary device used by the service provider to provide on-site service is determined based on the received network signal data. Optionally, when providing on-site service, the network signal data collected by the service personnel's terminal device from surrounding devices includes the network signals of one or more primary devices, as well as the network signals of the downstream devices of each primary device. The MAC addresses of the primary devices and their downstream devices are associated and bound. For example, the primary device may be a user-side terminal device such as a modem (optical modem) or a home gateway, and the network signal may be a Wireless Fidelity (WIFI) signal.
[0054] In other words, the peripheral equipment of the service personnel includes one or more main devices and the downstream devices of each main device. Based on this, the main device among the peripheral devices can be determined according to the network signal data collected from the peripheral devices, and the main device can be used as the first main device for the service personnel to provide on-site service. The MAC address of the first main device can be obtained from the collected network signal data.
[0055] The authenticity of the home delivery service is determined by comparing the MAC address of the first primary device (obtained from the service personnel's first terminal device) with the MAC address of the second primary device. The MAC address of the second primary device is determined based on the reservation information for the home delivery service, which is generated by the user who made the reservation on their second terminal device.
[0056] By comparing the MAC address of the first primary device with the MAC address of the second primary device of the user making the reservation, it can be determined whether the second primary device is a peripheral device of the service personnel's first terminal device, thereby determining the accuracy of the address where the service personnel will provide on-site service.
[0057] Optionally, the MAC address of the second master device is obtained when the second master device reports the reservation information for the home delivery service; the MAC address of the second master device can also be obtained based on the service location provided by the service reservation user in the reservation information, and the master device bound to the service location in the reservation information for the home delivery service is the second master device.
[0058] Optionally, the second terminal device of the user making the reservation is a subordinate device of the second main device. In some embodiments, the MAC address of the second main device can be obtained when the second main device reports the reservation information of the home service. In this case, the location of the user making the reservation through the second terminal device is consistent with the service location.
[0059] However, in some cases, the location of the user booking the service via a second terminal device may not match the service location. In such cases, the primary device used to report the booking information is not the primary device for the service location, and the MAC address of the primary device obtained when the second primary device reports the booking information for the home delivery service cannot represent the actual service location. In this situation, the primary device associated with the service location in the user's booking information is used as the second primary device, and the MAC address of this second primary device can then represent the service location.
[0060] In one embodiment, the first master device serves as a peripheral device for the service personnel's terminal equipment, and its MAC address represents the service personnel's location. The second master device is obtained based on the reservation information provided by the service reservation user, specifically based on the service location in the reservation information, and represents the service location of the home delivery service. Therefore, by comparing the MAC addresses of the first and second master devices, it can be determined whether the service personnel and service location match, thereby determining the accuracy of the home delivery service address.
[0061] Optionally, the first master device may include one or more. When there is only one first master device, the MAC address of the first master device is compared with the MAC address of the second master device to determine whether the first master device and the second master device belong to the same master device, thereby determining the accuracy of the address of the home delivery service. Specifically, if the first master device and the second master device belong to the same master device, the address of the home delivery service is accurate, and the service authenticity verification of the home delivery service passes; otherwise, if the first master device and the second master device do not belong to the same master device, the address of the home delivery service is inaccurate, and the service authenticity verification of the home delivery service fails.
[0062] When there are multiple primary devices, the MAC addresses of the primary devices are compared with those of the secondary devices to determine whether the MAC addresses of the primary devices are contained within the MAC addresses of the secondary devices. This determines the accuracy of the home delivery service address. If the MAC addresses of the primary devices contain the MAC address of the secondary devices, the home delivery service address is accurate, and the service authenticity verification passes. Otherwise, if the MAC addresses of the primary devices do not contain the MAC address of the secondary devices, the home delivery service address is inaccurate, and the service authenticity verification fails.
[0063] In this embodiment, the MAC address of the primary device near the service personnel is determined by the network signal data of surrounding devices reported by the service personnel's terminal device. This MAC address is then compared with the MAC address of the primary device corresponding to the service reservation information to determine the accuracy of the service location and thus verify the authenticity of the service. This achieves seamless verification of the service's authenticity. By comparing the MAC address of the primary device in the service personnel's surrounding devices with the MAC address of the primary device corresponding to the service reservation information, it is determined whether the primary device at the service location belongs to the service personnel's surrounding devices. This allows for seamless verification of the service personnel's authenticity based on the primary device's MAC address, eliminating the need for multiple clock-ins by the service personnel and the installation of additional clock-in / out devices. This reduces the unnecessary workload for service personnel and helps ensure the quality of the service.
[0064] Furthermore, the reservation information includes the service location and service duration. Verification of the authenticity of the home delivery service includes address accuracy verification and service duration verification. After confirming the address's correctness based on the comparison results, and assuming the service location is accurate, the service duration also needs to be verified. The authenticity verification of the home delivery service only passes if both the service location and service duration verifications are successful; otherwise, the authenticity verification fails.
[0065] Based on this, step 300 also includes:
[0066] Step 301: If the comparison result indicates that the MAC address of the first master device is consistent with the MAC address of the second master device, obtain the interaction duration between the first terminal device and the first master device;
[0067] Step 302: Compare the interaction duration with the reservation duration in the reservation information to determine the authenticity of the home delivery service; if the interaction duration is greater than or equal to the reservation duration, the authenticity verification of the home delivery service passes; if the interaction duration is less than the reservation duration, or if the comparison result indicates that the MAC address of the first master device is inconsistent with the MAC address of the second master device, the authenticity verification of the home delivery service fails.
[0068] If the comparison between the MAC addresses of the first and second master devices indicates that their MAC addresses match, the interaction duration between the first terminal device and the first master device is obtained. This interaction duration is also the interaction duration between the first terminal device and the second master device. The interaction duration between the first terminal device and the first master device is then compared with the service duration in the reservation information to verify the authenticity of the home delivery service.
[0069] If the interaction duration is greater than or equal to the reservation duration, the authenticity verification of the home delivery service passes. Otherwise, if the interaction duration is less than the reservation duration, or if the comparison result between the MAC address of the first master device and the MAC address of the second master device indicates that the MAC address of the first master device and the MAC address of the second master device are inconsistent, the authenticity verification of the home delivery service fails.
[0070] In one embodiment, the interaction duration between the first terminal device and the first master device can be obtained by monitoring the first terminal device, assuming the service location is correct. Specifically, the network signal data reported by the first terminal device is continuously monitored. Based on the network signal data reported by the first terminal device, it is determined whether the master devices among the peripheral devices of the first terminal device include a first master device with the same MAC address as the second master device. The duration for which the master devices among the peripheral devices of the first terminal device include a first master device with the same MAC address as the second master device is taken as the interaction duration between the first terminal device and the first master device.
[0071] The primary peripheral device of the service provider's user's first terminal, as well as the devices connected to the primary device, need to be matched with the set of primary devices based on their MAC addresses to identify the primary device among the peripheral devices and designate it as the primary primary device.
[0072] The screening and identification of the main device is achieved based on sliding window processing. Specifically, step 200 may also include:
[0073] Step 201: Perform sliding window processing on the network signal data to obtain the common device set within adjacent sliding windows;
[0074] Step 202: Match the MAC addresses of the shared devices in the shared device set with the master device set, and determine the MAC address of the first master device based on the matching result; the master device set includes the MAC address of the master device and the MAC addresses of the downstream devices of each master device. The MAC address of the master device and the MAC address of the downstream device are reported by each master device, and the MAC address of the downstream device is associated with the MAC address of the master device.
[0075] When determining the MAC address of the first primary device for a service provider to provide on-site service based on network signal data, the network signal data is first processed using a sliding window method to obtain a set of shared devices within adjacent windows. Then, the MAC addresses of the shared devices in the shared device set are matched with the primary device set, and the MAC address of the first primary device is determined based on the matching result.
[0076] The set of master devices includes the MAC address of the master device and the MAC address of each master device's subordinate device. The MAC address of each master device and its subordinate device is reported by the master device, and the MAC address of any master device's subordinate device is associated with the MAC address of the master device.
[0077] In one embodiment, the main device (such as an optical modem) has a built-in probe plugin. This probe plugin can be used to manage, restart, and upgrade the main device, as well as periodically report device information of the main device and its downstream devices, including MAC addresses. The MAC address of the main device is associated with the MAC addresses of its downstream devices. Based on this, by obtaining the device information periodically reported by each main device, a set of main devices is formed, which includes the main devices and the downstream devices of each main device.
[0078] Furthermore, by performing sliding window processing on the network signal data, the network devices within each window are acquired during the sliding window process. The network devices in adjacent windows are then compared to obtain the set of shared devices for each window and its adjacent windows. The set of shared devices corresponding to each window represents the intersection of the network devices within that window and the network devices in its adjacent windows.
[0079] In this context, any window's adjacent windows include its preceding window and its following window. In one embodiment, the preceding window of any window is designated as the left window of that window, and the following window is designated as the right window of that window. In some embodiments, the preceding window of any window is designated as the right window of that window, and the following window is designated as the left window of that window. The specific designation can be determined based on the window's sliding direction.
[0080] Furthermore, the preceding and following windows of any given window can be determined based on the reporting time of the network signal data within the window. For example, if the data is slid from the network signal data reported later to the network signal data reported earlier in order of reporting time, then the window containing the network signal data reported earlier is the following window, and the window containing the network signal data reported later is the preceding window. Alternatively, the data can also be slid from the network signal data reported earlier to the network signal data reported later in order of reporting time, then the window containing the network signal data reported earlier is the preceding window, and the window containing the network signal data reported later is the following window.
[0081] Optionally, the shared devices in the shared device sets corresponding to different windows can be the same, partially the same, or different. It's understandable that the service personnel's location changes during on-site service, and the peripheral devices of their terminal devices also change. However, the peripheral devices corresponding to the network signal data reported in adjacent periods should overlap, which can be complete or partial. By comparing network devices in adjacent windows, a set of shared devices within adjacent windows is obtained. This set of shared devices likely includes the main device. Therefore, the shared device set is matched with the main device set using MAC addresses to identify the main device and its MAC address.
[0082] As the location of the service personnel changes during the on-site service process, the main devices in different windows also change accordingly. In one embodiment, by performing sliding window processing on the network signal data, the set of shared devices corresponding to the window where the latest reported network signal data is located is obtained. The MAC addresses of each shared device in the set of shared devices are matched with the MAC addresses of each main device in the set of main devices, thereby determining the latest main device around the service personnel's terminal device as the first main device.
[0083] In one embodiment, the network signal data of peripheral devices reported by the application in the terminal device of the service personnel in multiple periods are correlated and analyzed. The sliding window is dynamically expanded and contracted according to the signal strength value of each device in the network signal data, and the peripheral devices in the relevant reporting period are gathered into the same sliding window. The main device for the service personnel to provide on-site service is selected in the sliding window.
[0084] Based on this, step 201 may also include:
[0085] Step 211: Determine the window size based on the reporting cycle of the network signal data;
[0086] Step 221: Perform sliding window processing on the network signal data based on the window size, and calculate the average signal strength of each network device in each window based on the network signal data in each window;
[0087] Step 231: Based on the average signal strength, obtain the target device among the network devices in the window to obtain the first device set; the signal strength of the target device is greater than the average signal strength.
[0088] Step 241: Compare the first device set of the target window with the first device set of the adjacent windows to determine whether the first device set of the adjacent windows contains each target device in the first device set of the target window; the target window is any one of the windows, and the adjacent windows include the window before the target window and the window after the target window;
[0089] Step 251: If the first device set of the adjacent window contains each target device in the first device set of the target window, merge the first device set of the target window and the first device set of the adjacent window to obtain a common device set.
[0090] Step 261: If the first device set of the adjacent window does not include each target device in the first device set of the target window, dynamically scale the window size of the target window, return and execute the step of calculating the average signal strength of each network device in each window based on the network signal data in each window.
[0091] The window size is determined based on the reporting cycle of network signal data. Optionally, one reporting cycle of network signal data corresponds to one sliding window, or multiple reporting cycles of network signal data correspond to one sliding window. No specific limitation is made in this regard.
[0092] Based on a defined sliding window size, the acquired network signal data undergoes sliding window processing. The average signal strength of network devices within each window is calculated, yielding the average signal strength for each window. Based on the average signal strength of each window, network devices within the window are filtered to identify target devices with signal strengths greater than the average signal strength within that window, resulting in a first set of devices. The signal strength of each target device is greater than the average signal strength of all network devices within its respective window.
[0093] The first set of devices for the target window is compared with the first set of devices for its neighboring windows to determine whether the first set of devices for the neighboring windows contains each target device in the first set of devices for the target window. Here, the target window is any one of the windows obtained during the sliding window process, while neighboring windows refer to windows adjacent to the target window, including the window preceding and following the target window.
[0094] If the first device set of the adjacent window contains all the target devices in the first device set of the target window, the first device set of the target window and the first device set of the adjacent window are merged to obtain a shared device set. If the first device set of the adjacent window does not contain all the target devices in the first device set of the target window, the size of the target window is dynamically scaled, and then step 221 is returned to be executed. Based on the scaled window size, the network signal data is re-processed using a sliding window to obtain the shared device set. The dynamic scaling of the sliding window includes extending and shrinking. For the extension process, the window size of the extended sliding window can be an integer multiple of the window size of the sliding window before the extension. For example, the window size before the extension corresponds to one reporting cycle of the network signal data, and the window size after the extension corresponds to K reporting cycles of the network signal data.
[0095] Optionally, if the first device set of an adjacent window contains each target device in the first device set of the target window, it could be that the first device set of the window preceding the target window contains each target device in the first device set of the target window, and / or that the first device set of the window following the target window contains each target device in the first device set of the target window. Alternatively, the first device set of the window preceding the target window may contain a portion of each target device in the first device set of the target window, and the first device set of the window following the target window may contain a portion of each target device in the first device set of the target window, and the union of the first device sets of the windows preceding and following the target window may contain each target device in the first device set of the target window.
[0096] Taking a sliding window corresponding to one reporting period of network signal data as an example, for the network signal data reported by the first terminal device in a certain reporting period (recorded as point S), the average signal strength P in the target window is calculated based on the signal strength of all network devices in the target window corresponding to that reporting period. Network devices with signal strength greater than the average signal strength P in the target window are extracted to obtain the first set of devices M in the target window. Further, set M is compared with the network signal data reported in two adjacent reporting periods. If all devices in set M exist in the merged set of devices reported in the two adjacent periods, the sliding window is moved forward and backward, thereby merging all devices with signal strength greater than the average signal strength in the target window and its adjacent windows as the common set of devices in the target window.
[0097] Furthermore, if not all devices in set M are present in the merged set of devices reported in two consecutive reports, the target window is shifted sequentially to both sides of point S by K (K is a configurable positive integer) reporting cycles. The window size of the sliding window is extended. First, the signal strength of all devices shifted to the right for K reporting cycles is correlated, obtaining the set M of devices with signal strength greater than the average signal strength P within the window. It is then determined whether all devices in set M exist in the previous window with a sliding step size of K-1. If they exist, the current window's set M is added to the sliding window; otherwise, it is not added. Similarly, the sliding window is shifted to the left from point S to obtain the corresponding set M. The obtained set M is matched with the main device set Q, and correlation analysis is performed between set M and main device set Q to determine the main device for which the service personnel will provide on-site service.
[0098] In one embodiment, the MAC addresses of shared devices in the shared device set are matched with the master device set, and the MAC address of the first master device is determined based on the matching result. The matching result between the shared device set and the master device set indicates whether the shared device set contains a master device from the master device set. Based on this, step 202 further includes:
[0099] Step 212: Match the MAC addresses of the shared devices in the shared device set with the MAC addresses of the master devices in the master device set to determine the first intersection between the master devices in the master device set and the shared device set;
[0100] Step 222: If the first intersection is not empty, determine the MAC address of the first main device of the service provider user who provides on-site service based on the shared devices in the first intersection.
[0101] Step 232: If the first intersection is empty, match the MAC addresses of the shared devices in the shared device set with the MAC addresses of each downstream device in the master device set to determine the second intersection between each downstream device in the master device set and the shared device set.
[0102] Step 242: Determine the MAC address of the first main device of the service provider user providing on-site service based on the uplink devices of the shared devices in the second intersection.
[0103] The set of master devices includes the MAC addresses of each master device and the MAC addresses of the devices connected to each master device. When matching the MAC addresses of the shared devices in the set of shared devices with the set of master devices, firstly, the MAC addresses of the shared devices in the set of shared devices are matched with the MAC addresses of the master devices in the set of master devices. Based on the matching results, it is determined whether each master device in the set of master devices contains a shared device in the set of shared devices, that is, whether each shared device in the set of shared devices exists in the set of master devices.
[0104] Matching the MAC addresses of each shared device in the shared device set with the MAC addresses of each master device in the master device set is essentially based on MAC address matching to determine the intersection of the master devices in the master device set and the shared device set. The shared devices in this intersection are the first master devices for the service personnel to provide on-site service, or the shared devices in this intersection are candidate devices for the first master devices for the service personnel to provide on-site service.
[0105] If each master device in the master device set contains the first shared device in the shared device set (i.e., the intersection of the master devices in the master device set and the shared device set is not empty), then the MAC address of the first master device for which the service personnel will provide on-site service is determined based on the shared devices in the intersection. The shared devices in the intersection are the first master devices, and the MAC address of the shared devices in the intersection is the MAC address of the first master device.
[0106] If it is determined that none of the main devices in the main device set contain any of the shared devices in the shared device set, that is, if the intersection of the main devices in the main device set and the shared device set is empty, it is possible that the main devices at the service location are in a turned-off state. In this case, the MAC addresses of each shared device in the shared device set are matched with the MAC addresses of each device connected to the main device in the main device set. Based on the matching results, the second shared device in the shared device set contained in each device connected to the main device set is determined. In other words, based on MAC address matching, the intersection of each device connected to the main device set and the shared device set is determined. Based on the shared devices in this intersection, the MAC address of the first main device for which the service personnel will provide on-site service is determined.
[0107] In this context, the shared devices in the intersection of each downstream device in the master device set and the shared device set are downstream devices of the master devices in the master device set. That is, the upstream devices of the shared devices in the second intersection are the master devices in the master device set. Therefore, the MAC address of the first master device is determined based on the upstream devices of the shared devices in the second intersection. It can be concluded that the shared devices in the second intersection are downstream devices of the first master device.
[0108] In one embodiment, if the first intersection of the master devices in the master device set and the common device set is not empty, the common devices in the first intersection may include one or more; if the first intersection is empty and the second intersection of each subordinate device in the master device set and the common device set is not empty, the common devices in the second intersection may also include one or more.
[0109] Based on this, when the shared devices in the first intersection or the second intersection include multiple devices, step 222, which determines the MAC address of the first primary device for the service provider's user to provide on-site service based on the shared devices in the first intersection, or step 242, which determines the MAC address of the first primary device for the service provider's user to provide on-site service based on the uplink devices of the shared devices in the second intersection, may further include:
[0110] Step 210: Obtain the set of windows containing target shared devices during the sliding window processing; the target shared device is any one of the shared devices in the first intersection, or any one of the shared devices in the second intersection;
[0111] Step 220: Calculate the standard deviation of the signal strength of the target shared device based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set;
[0112] Step 230: Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set, and determine the cumulative change in the signal strength of the target shared device;
[0113] Step 240: Determine the MAC address of the first main device for the service personnel to provide on-site service based on the cumulative change value; the first main device is the shared device with the largest cumulative change value in the first intersection, or the first main device is the upstream device of the shared device with the largest cumulative change value in the second intersection.
[0114] Specifically, if the first intersection is not empty and the shared devices in the first intersection include multiple devices, step 222, which determines the MAC address of the first primary device for the service provider to provide on-site service based on the shared devices in the first intersection, may further include:
[0115] Step 2210: Obtain the set of windows containing the target shared device during the sliding window processing; the target shared device is any one of the shared devices in the first intersection;
[0116] Step 2220: Calculate the standard deviation of the signal strength of the target shared device based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set;
[0117] Step 2230: Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set, and determine the cumulative change in the signal strength of the target shared device;
[0118] Step 2240: Determine the MAC address of the first main device for the service personnel to provide on-site service based on the cumulative change value; the first main device is the shared device with the largest cumulative change value in the first intersection.
[0119] If the first intersection is empty and the shared devices in the second intersection include multiple devices, step 242, which determines the MAC address of the first primary device for the service provider to provide on-site service based on the uplink devices of the shared devices in the second intersection, may further include:
[0120] Step 2410: Obtain the set of windows containing the target shared device during the sliding window processing; the target shared device is any one of the shared devices in the second intersection.
[0121] Step 2420: Calculate the standard deviation of the signal strength of the target shared device based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set;
[0122] Step 2430: Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set, and determine the cumulative change in the signal strength of the target shared device;
[0123] Step 2440: Determine the MAC address of the first main device for the service personnel to provide on-site service based on the cumulative change value; the first main device is the uplink device of the shared device with the largest cumulative change value in the second intersection.
[0124] If the first intersection is not empty and there are multiple shared devices in the first intersection, obtain the set of windows containing the target shared device during the sliding window processing. The number of windows in this set is N, and the target shared device is any one of the multiple shared devices in the first intersection. Based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set, calculate the standard deviation of the signal strength of the target shared device. Based on this, further calculate the ratio of the standard deviation of the signal strength to the number of windows N in the window set to obtain the cumulative change value of the signal strength of the target shared device. Following this calculation method, each shared device in the first intersection is taken as the target shared device, and the corresponding cumulative change value is calculated for each. Then, the shared device with the largest cumulative change value is selected from the first intersection as the first primary device for on-site service by the service personnel. The MAC address of the shared device with the largest cumulative change value is the MAC address of the first primary device.
[0125] If the first intersection is empty and the second intersection contains multiple shared devices, obtain the window set containing the target shared device during the sliding window processing. The number of windows in this window set is N, and the target shared device is any one of the multiple shared devices in the second intersection. Based on the target signal strength of the target shared device within each window in the window set, and the mean signal strength within each window in the window set, calculate the standard deviation of the target shared device's signal strength. Based on this, further calculate the ratio of the standard deviation of the signal strength to the number of windows N in the window set to obtain the cumulative change value of the target shared device's signal strength. Following this calculation method, each shared device in the second intersection is taken as the target shared device, and the corresponding cumulative change value is calculated for each. Then, the shared device with the largest cumulative change value is selected from the second intersection, and the uplink device of the shared device with the largest cumulative change value is taken as the first primary device for on-site service by the service personnel. The MAC address of this uplink device is the MAC address of the first primary device.
[0126] In one embodiment, the cumulative change value S of the target shared equipment can be calculated according to the following formula: S=∑(S i -∑(x i ) / n) 2 / N;(1)
[0127] In Formula 1, S i Let ∑(x) represent the signal strength within the i-th window containing the target shared device. i ) represents the sum of signal strengths of all network devices within the i-th window containing the target shared device, n represents the total number of devices within the i-th window containing the target shared device, ∑(x i) / n represents the average signal strength within the i-th window containing the target shared device, and N represents the number of windows in the window set, which is also the number of times the sliding window slides.
[0128] The authenticity verification of in-home services primarily involves determining the MAC address of the main device at the service location and the service duration (e.g., three hours of home cleaning) based on the user's booking information when they make a service reservation. This is done by periodically reporting the MAC addresses of the main device and its connected devices. The MAC address of the main device at the service location is compared with the MAC addresses of surrounding devices obtained by the in-home service personnel through their terminal devices. This comparison verifies whether the user being served by the in-home service personnel is the verified user, thus verifying the accuracy of the service location. If the service location is accurate, the process then analyzes whether the service duration booked by the user matches the duration booked by the main device at the service location or its connected devices (which serve as the in-home service personnel's terminal devices). This verifies the authenticity of the service duration. If the service duration booked by the user matches the duration booked by the main device at the service location or its connected devices (which serve as the in-home service personnel's terminal devices), the authenticity verification of the in-home service passes. If either the service location or the service duration is inconsistent, the authenticity verification of the in-home service fails.
[0129] In this embodiment, a sliding window is used to perform correlation analysis on the network signal data of surrounding devices periodically acquired and reported by the home service personnel, thereby obtaining the MAC address of the main device of the service personnel when they arrive at the home. This allows for accurate and efficient acquisition of the MAC address of the main device of the service personnel when they arrive at the home, and comparison with the MAC address of the main device corresponding to the appointment information of the home service, thus realizing rapid verification of the authenticity of the service location based on the device MAC address.
[0130] Furthermore, in the event of a main device matching failure, the authenticity of the service location can be verified by associating and matching the information of the main device's downstream devices, the MAC address of the device corresponding to the user's appointment information, and the MAC address of the main device collected and reported by the service personnel's terminal device during the service. Moreover, if the service location verification passes, the authenticity of the service duration can be verified by the interaction duration between the service personnel's terminal device and the main device corresponding to the appointment information for the home service. This allows for seamless verification of the authenticity of the home service without affecting the service personnel's work, ensuring that service personnel can continuously provide services and guaranteeing service quality.
[0131] The home service detection device provided in the embodiments of this disclosure is described below. The home service detection device described below can be referred to in correspondence with the home service detection method described above.
[0132] Referring to Figure 2, the home delivery service detection device provided in this embodiment includes:
[0133] Data acquisition module 10 is configured to receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider.
[0134] Data analysis module 20 is configured to determine the MAC address of the first main device of the service provider user providing on-site service based on the network signal data;
[0135] The service detection module 30 is configured to compare the MAC address of the first master device with the MAC address of the second master device, and determine the authenticity of the home delivery service based on the comparison result; the MAC address of the second master device is determined based on the reservation information of the home delivery service, and the reservation information is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0136] In one embodiment, the reservation information includes service duration; the service detection module 30 is configured as follows:
[0137] If the comparison result indicates that the MAC address of the first master device is consistent with the MAC address of the second master device, the interaction duration between the first terminal device and the first master device is obtained.
[0138] The interaction duration is compared with the reservation duration in the reservation information to determine the authenticity of the home delivery service; if the interaction duration is greater than or equal to the reservation duration, the authenticity verification of the home delivery service passes; if the interaction duration is less than the reservation duration, or if the comparison result indicates that the MAC address of the first master device is inconsistent with the MAC address of the second master device, the authenticity verification of the home delivery service fails.
[0139] In one embodiment, the data analysis module 20 is configured as follows:
[0140] Perform sliding window processing on the network signal data to obtain the set of shared devices within adjacent sliding windows;
[0141] The MAC addresses of the shared devices in the shared device set are matched with the main device set, and the MAC address of the first main device for the service provider to provide on-site service is determined based on the matching result. The main device set includes the MAC address of the main device and the MAC addresses of the downstream devices of each main device. The MAC address of the main device and the MAC address of the downstream device are reported by each main device, and the MAC address of the downstream device is associated with the MAC address of the main device.
[0142] In one embodiment, the data analysis module 20 is configured as follows:
[0143] The window size is determined based on the reporting cycle of the network signal data;
[0144] The network signal data is processed by sliding window based on the window size, and the average signal strength of each network device in each window is calculated based on the network signal data in each window.
[0145] Based on the average signal strength, the target device among the network devices within the window is obtained to form a first device set; the signal strength of the target device is greater than the average signal strength.
[0146] The first set of devices of the target window is compared with the first set of devices of the adjacent windows to determine whether the first set of devices of the adjacent windows contains each target device in the first set of devices of the target window; the target window is any one of the windows, and the adjacent windows include the window before the target window and the window after the target window;
[0147] If the first device set of the adjacent window contains each target device in the first device set of the target window, the first device set of the target window and the first device set of the adjacent window are merged to obtain a common device set;
[0148] If the first device set of the adjacent window does not include any of the target devices in the first device set of the target window, the window size of the target window is dynamically scaled, and the process returns to and executes the step of calculating the average signal strength of each network device in each window based on the network signal data in each window.
[0149] In one embodiment, the data analysis module 20 is configured as follows:
[0150] The MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of the master devices in the master device set to determine the first intersection between the master devices in the master device set and the shared device set;
[0151] If the first intersection is not empty, the MAC address of the first main device of the service provider user who provides on-site service is determined based on the shared devices in the first intersection;
[0152] If the first intersection is empty, the MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of each downstream device in the master device set to determine the second intersection between each downstream device in the master device set and the shared device set.
[0153] Based on the uplink devices of the shared devices in the second intersection, determine the MAC address of the first main device of the service provider user who provides on-site service.
[0154] In one embodiment, the first intersection or the second intersection includes multiple shared devices; the data analysis module 20 is configured to:
[0155] Obtain the set of windows containing target shared devices during the sliding window processing; the target shared device is any one of the shared devices in the first intersection, or any one of the shared devices in the second intersection;
[0156] The standard deviation of the signal strength of the target shared device is calculated based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set.
[0157] Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set to determine the cumulative change in the signal strength of the target shared device;
[0158] The MAC address of the first main device for the service personnel to provide on-site service is determined based on the cumulative change value; the first main device is the shared device with the largest cumulative change value in the first intersection, or the first main device is the upstream device of the shared device with the largest cumulative change value in the second intersection.
[0159] Figure 3 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 3, the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340. The processor 310, communication interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions from the memory 330 to execute a home service detection method, which includes:
[0160] Receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider;
[0161] The MAC address of the first main device of the service provider's user on-site service is determined based on the network signal data.
[0162] The MAC address of the first master device is compared with the MAC address of the second master device, and the authenticity of the home delivery service is determined based on the comparison result. The MAC address of the second master device is determined based on the reservation information of the home delivery service, which is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0163] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to related technologies, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0164] On the other hand, this disclosure also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the home delivery service detection method provided by the above methods, the method including:
[0165] Receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider;
[0166] The MAC address of the first main device of the service provider's user on-site service is determined based on the network signal data.
[0167] The MAC address of the first master device is compared with the MAC address of the second master device, and the authenticity of the home delivery service is determined based on the comparison result. The MAC address of the second master device is determined based on the reservation information of the home delivery service, which is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0168] In another aspect, embodiments of this disclosure also provide a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the home delivery service detection method provided by the methods described above, the method comprising:
[0169] Receive network signal data from surrounding devices reported by the first terminal device; the first terminal device is the terminal device of the user of the home service provider;
[0170] The MAC address of the first main device of the service provider's user on-site service is determined based on the network signal data.
[0171] The MAC address of the first master device is compared with the MAC address of the second master device, and the authenticity of the home delivery service is determined based on the comparison result. The MAC address of the second master device is determined based on the reservation information of the home delivery service, which is generated by the second terminal device of the user who made the reservation for the home delivery service.
[0172] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0173] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of software products. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this disclosure, and are not intended to limit them. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure.
Claims
1. A method for detecting home delivery services, comprising: Receive network signal data from peripheral devices reported by the first terminal device; The first terminal device is the terminal device of the user of the home delivery service provider; The MAC address of the first main device of the service provider's user on-site service is determined based on the network signal data. The MAC address of the first master device is compared with the MAC address of the second master device, and the authenticity of the home delivery service is determined based on the comparison result. The MAC address of the second master device is determined based on the reservation information of the home delivery service, which is generated by the second terminal device of the user who made the reservation for the home delivery service.
2. The home delivery service detection method according to claim 1, wherein, The reservation information includes the service duration; Determining the authenticity of the home delivery service based on the comparison results includes: If the comparison result indicates that the MAC address of the first master device is consistent with the MAC address of the second master device, the interaction duration between the first terminal device and the first master device is obtained. The interaction duration is compared with the reservation duration in the reservation information to determine the authenticity of the home delivery service; if the interaction duration is greater than or equal to the reservation duration, the authenticity verification of the home delivery service passes; if the interaction duration is less than the reservation duration, or if the comparison result indicates that the MAC address of the first master device is inconsistent with the MAC address of the second master device, the authenticity verification of the home delivery service fails.
3. The home delivery service detection method according to claim 1, wherein, Determining the MAC address of the first main device of the service provider providing on-site service based on the network signal data includes: Perform sliding window processing on the network signal data to obtain the set of shared devices within adjacent sliding windows; The MAC addresses of the shared devices in the shared device set are matched with the main device set, and the MAC address of the first main device for the service provider to provide on-site service is determined based on the matching result. The main device set includes the MAC address of the main device and the MAC addresses of the downstream devices of each main device. The MAC address of the main device and the MAC address of the downstream device are reported by each main device, and the MAC address of the downstream device is associated with the MAC address of the main device.
4. The home delivery service testing method according to claim 3, wherein, The step of performing sliding window processing on the network signal data to obtain the common set of devices within adjacent sliding windows includes: The window size is determined based on the reporting cycle of the network signal data; The network signal data is processed by sliding window based on the window size, and the average signal strength of each network device in each window is calculated based on the network signal data in each window. Based on the average signal strength, the target device among the network devices within the window is obtained to form a first device set; the signal strength of the target device is greater than the average signal strength. The first set of devices of the target window is compared with the first set of devices of the adjacent windows to determine whether the first set of devices of the adjacent windows contains each target device in the first set of devices of the target window; the target window is any one of the windows, and the adjacent windows include the window before the target window and the window after the target window; If the first device set of the adjacent window contains each target device in the first device set of the target window, the first device set of the target window and the first device set of the adjacent window are merged to obtain a common device set; If the first device set of the adjacent window does not include any of the target devices in the first device set of the target window, the window size of the target window is dynamically scaled, and the process returns to and executes the step of calculating the average signal strength of each network device in each window based on the network signal data in each window.
5. The home delivery service testing method according to claim 3, wherein, The step of matching the MAC addresses of shared devices in the shared device set with the master device set, and determining the MAC address of the first master device for the service provider user to provide on-site service based on the matching result, includes: The MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of the master devices in the master device set to determine the first intersection between the master devices in the master device set and the shared device set; If the first intersection is not empty, the MAC address of the first main device of the service provider user who provides on-site service is determined based on the shared devices in the first intersection; If the first intersection is empty, the MAC addresses of the shared devices in the shared device set are matched with the MAC addresses of each downstream device in the master device set to determine the second intersection between each downstream device in the master device set and the shared device set. Based on the uplink devices of the shared devices in the second intersection, determine the MAC address of the first main device of the service provider user who provides on-site service.
6. The home delivery service testing method according to claim 5, wherein, The first intersection or the second intersection includes multiple shared devices; determining the MAC address of the first primary device for the service provider's user on-site service based on the shared devices in the first intersection, or determining the MAC address of the first primary device for the service provider's user on-site service based on the uplink devices of the shared devices in the second intersection, includes: Obtain the set of windows containing target shared devices during the sliding window processing; the target shared device is any one of the shared devices in the first intersection, or any one of the shared devices in the second intersection; The standard deviation of the signal strength of the target shared device is calculated based on the target signal strength of the target shared device in each window of the window set and the mean signal strength in each window of the window set. Calculate the ratio of the standard deviation of the signal strength to the number of windows in the window set to determine the cumulative change in the signal strength of the target shared device; The MAC address of the first main device for the service personnel to provide on-site service is determined based on the cumulative change value; the first main device is the shared device with the largest cumulative change value in the first intersection, or the first main device is the upstream device of the shared device with the largest cumulative change value in the second intersection.
7. A home delivery service detection device, comprising: The data acquisition module is configured to receive network signal data from peripheral devices reported by the first terminal device; The first terminal device is the terminal device of the user of the home delivery service provider; The data analysis module is configured to determine the MAC address of the first main device of the service provider's user on-site service based on the network signal data. The service detection module is configured to compare the MAC address of the first master device with the MAC address of the second master device, and determine the authenticity of the home delivery service based on the comparison result; the MAC address of the second master device is determined based on the reservation information of the home delivery service, and the reservation information is generated by the second terminal device of the user who made the reservation for the home delivery service.
8. An electronic device comprising 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 home service detection method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the home service detection method as described in any one of claims 1 to 6.
10. A computer program product comprising a computer program that, when executed by a processor, implements the home delivery service detection method as described in any one of claims 1 to 6.
