Store association method of equipment, equipment and computer readable storage medium

By automatically identifying the network-related devices of the target device and finding its associated stores, the automatic store association of the device is realized, solving the problems of high labor costs, low efficiency and low accuracy in the existing technology, and improving the correlation efficiency and accuracy rate .

CN119449617APending Publication Date: 2025-02-14HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411321614.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, the store association process of equipment requires a large labor cost, low work efficiency and low accuracy of related stores.

Method used

By determining that the target device has a network-related device, find the store associated with the network-related device, and associate the target device with the store, the automatic store association of the device is realized.

Benefits of technology

It improves the store association efficiency and accuracy of the equipment, reduces labor costs, and realizes an automated store association process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449617A_ABST
    Figure CN119449617A_ABST
Patent Text Reader

Abstract

The invention discloses a store association method of equipment, the equipment and a computer readable storage medium, and the method comprises the steps: determining that target equipment has network association equipment, the target equipment is Internet of Things equipment of a to-be-associated store, and the network association equipment is Internet of Things equipment having a network association relationship with the target equipment; searching a store associated with the network associated equipment as a target store; and associating the target equipment with the target store. Through the method, the equipment can be automatically associated with the store, so that the association efficiency and the association accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a store association method for a device, a device, and a computer-readable storage medium. Background Art

[0002] In industrial and commercial complexes, the group's demand for unified management of chain stores requires that the equipment of each chain store be associated with the relevant stores. However, the general method of associating equipment with stores is for the system administrator to manually associate the equipment with the relevant stores. Specifically, the system administrator associates the equipment after searching for the relevant stores in the store's organizational tree. If there are a large number of stores and the hierarchy is complex, the process requires a large manpower cost, the work efficiency is low, and the accuracy of associating stores is relatively low. Summary of the invention

[0003] The main technical problem solved by the present application is to provide a store association method for a device, a device and a computer-readable storage medium, which can realize automatic association of the device with stores, thereby improving the association efficiency and association accuracy.

[0004] To solve the above technical problems, a technical solution adopted in the present application is: to provide a store association method for a device, the method comprising: determining that a target device has a network-associated device, wherein the target device is an Internet of Things device of the store to be associated, and the network-associated device is an Internet of Things device that has a network association relationship with the target device; searching for a store associated with the network-associated device as the target store; and associating the target device with the target store.

[0005] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide an electronic device, the electronic device includes a memory and a processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the store association method of the above device.

[0006] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed to implement the store association method of the above-mentioned device.

[0007] The above scheme determines the device with which the target device has a network association, finds the store associated with the device with which the network association exists, and associates the store with the target device. Therefore, the reference devices with which the target device has a direct network association are determined. These reference devices are generally associated with specific stores; by finding the association relationship between these reference devices and the store, it can be indirectly inferred that the target device also belongs to the store. In this way, after the device is cloud-bound, the device can be automatically associated with the relevant store according to the rules, without the need to search and associate in the store's organizational tree, thereby improving the association efficiency and association accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a flowchart of an embodiment of a store association method for a device provided by the present application;

[0009] Figure 2 It is a flowchart of a specific embodiment of a store association method for a device provided by the present application;

[0010] Figure 3 It is a flowchart of another specific embodiment of the store association method of the device provided by the present application;

[0011] Figure 4 It is a flowchart of an embodiment of the device store association device of the present application;

[0012] Figure 5 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application;

[0013] Figure 6 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0014] In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail below with reference to the accompanying drawings and examples.

[0015] See also Figure 1 , Figure 1 is a flow chart of an embodiment of a store association method for a device provided in the present application. It should be noted that if there are substantially the same results, this embodiment does not use Figure 1 The process sequence shown is limited. Figure 1 As shown, this embodiment includes:

[0016] Step S11: Determine whether the target device has a network-associated device.

[0017] The execution subject of the store association method of the device provided in this application can be a system, and the system here refers to a software or hardware architecture that can manage, control or coordinate the interaction between the target device and the network-associated device. It can be an operating system, an application, a server, or a more complex network management system. Exemplarily, the system can be a cloud platform. Among them, the target device is an Internet of Things device of the store to be associated, and the network-associated device is a device that has a network association relationship with the target device.

[0018] The network association relationship can be that the devices are directly connected through physical media, or the devices are indirectly connected through a common network device. For example, different devices are directly connected through network cables or optical fibers, or different devices are indirectly connected by connecting to the same router or switch.

[0019] In one embodiment, a network association relationship is an indirect connection between devices through a common network device. A network association relationship is a key mechanism for defining and clarifying the identification capabilities between devices in a common network environment. Specifically, when different devices are connected to the same network, the devices establish an association relationship that can ensure unique identification of each other through network protocols, address allocation, and identity authentication processes. Therefore, a device connected to the same network as the target device is determined as a network-associated device. In a specific embodiment, a network association relationship may include being in the same local area network, belonging to the same exit IP, being in the same virtual network, or using the same specific protocol or server for association.

[0020] The network-associated device can be discovered by the target device or actively discover the target device. In one embodiment, the device is an IoT device with a local area network self-discovery capability, which can automatically detect and identify other devices with the same self-discovery capability within the local area network. The system can send instructions, or respond to a user pressing a button on the device to trigger the device to search for network-associated devices with network associations.

[0021] In response to obtaining device information of a network-associated device or finding a device that has a network association relationship with the target device, confirming the existence of a network-associated device. In one embodiment, in response to obtaining device information of a network-associated device includes responding to device information of a network-associated device returned by the target device, or responding to device information returned by a network-associated device to be determined. The device information may include but is not limited to identification information of the device (such as an IP address, a MAC address, a serial number, etc.). The network-associated device to be determined refers to a device that may be a network-associated device. For example, in response to receiving device information of a network-associated device sent by the target device, determining that a network-associated device exists on the target device.

[0022] In another embodiment, the device information of the network-associated device can be searched in the device-store association information. For example, a system includes a cloud platform, a management platform, a store, and a device. The cloud platform is a device registration platform and stores device information, store information, and device-store association information. The management platform views and manages relevant information, and the relevant information includes device information, store information, and device-store association information. The cloud platform can search for the device information of the network-associated device in the device-store association information.

[0023] Step S12: Find a store associated with the network-associated device as a target store.

[0024] The target store can be determined by the device information of the network-associated device. Specifically, the target store that has an association relationship with the identification information of the network-associated device is searched in the device-store association information. For example, the device-store association information stores at least one set of device-store association information, and the associated store information matching the device information of the network-associated device is searched in the device-store association information, and the target store is determined based on the associated store information. The device information includes the identification information of the device.

[0025] In another embodiment, when there is no network-associated device for the target device, or when no store associated with the network-associated device is found, the geographic information of the target device (such as GPS coordinates, estimated WiFi access point location, etc.) can be found through the device information of the target device to determine the geographic location of the target device. The target store is determined using the geographic location corresponding to the target device. In one embodiment, the region information of the target device is obtained using the IP address of the target device, and a store matching the region information of the target device is found in the store information. In response to the store belonging to the target region being unique, the store belonging to the target region is used as the target store; in response to the store belonging to the target region being not unique, the information of the store belonging to the target region is sent to the user terminal, and the store selected by the user fed back by the user terminal is used as the target store.

[0026] Step S13: Associating the target device with the target store.

[0027] The identification information of the target device is associated with the target store and saved in the device-store association information.

[0028] In one embodiment, the device tag corresponding to the target device is associated with the unique identifier of the target store and saved in the device-store association information. The unique identifier of the device is stored in the device identification code, and the device identification code includes a serial number and a MAC code. The unique identifier of the target store includes a store number, a detailed store address, and custom information. The custom information includes a contact number, an email address, and a store manager's name. The association information is saved in the device-store association information to ensure the accuracy and completeness of the data.

[0029] In another embodiment, after associating the target device with the target store, the method further includes: after completing the device store association, performing a verification operation to ensure that the association between the device identification information and the store information is correct. The verification operation includes manual verification or automatic verification. For example, after completing the device store association, a device store association feature is generated, and the target user can manually verify the correctness of the association based on the device store association feature. The device store association feature is a brief device store association information.

[0030] In the above scheme, by determining the device with which the target device has a network association, finding the store associated with the device with which the target device has a network association, and then associating the store with the target device. Therefore, the reference devices with which the target device has a direct network association are determined. These reference devices are generally associated with specific stores; by finding the association relationship between these reference devices and the store, it can be indirectly inferred that the target device also belongs to the store. In this way, after the device is cloud-bound, the device can be automatically associated with the relevant store according to the rules, without the need to search and associate in the store's organizational tree, thereby improving the association efficiency and association accuracy.

[0031] In some embodiments, the network association relationship includes at least one of being in the same local area network and belonging to the same IP address. As described above, the network association relationship may include being in the same local area network, belonging to the same egress IP, being in the same virtual network, or being associated using the same specific protocol or server.

[0032] In a specific implementation, the network association relationship includes being in the same local area network, and the network-associated device includes a local area network-associated device in the same local area network as the target device. Determining that the target device has a local area network-associated device includes: determining that the target device has a local area network-associated device in response to receiving identification information of the local area network-associated device sent by the target device. The identification information is sent by the target device when it finds that the local area network-associated device is in the same local area network. Specifically, the identification information includes a unique identification of the device, and the unique identification is used to accurately identify the local area network-associated device. For example, the identification information includes a MAC address or a serial number.

[0033] In another specific embodiment, the network association relationship includes belonging to the same IP address, the network association device includes an IP association device belonging to the same IP address as the target device, the IP association device and the target device belong to the same IP address, or the IP association device and the target device belong to the same IP address and have been associated with a store. The above-mentioned method of determining that the target device has a local area network associated device can be: in response to finding an IP association device belonging to the same IP address as the target device, determining that the target device has an IP association device. Specifically, the region to which the target device belongs can be determined according to the IP address of the target device, and the IP association device with the same IP address can be found in the devices of the associated stores in the region, or the IP association device with the same IP address can be found directly according to the IP address of the target device, or the IP association device with the same IP address can be found in the devices directly according to the IP address of the target device. Specifically, the IP address in this embodiment refers to an address that can uniquely identify the associated device. It can be further understood that each device in a chain store is assigned a unique IP address, ensuring that even in a widely distributed network of multiple chain stores, the matching IP association device can be quickly distinguished and locked by the IP address, reducing the confusion and duplication of the IP addresses of devices between different chain stores. For example, an IP-associated device matching the target device is determined through an egress IP address.

[0034] In another specific implementation, the network association relationship includes being in the same local area network and belonging to the same IP address, and the network-associated devices include local area network-associated devices and IP-associated devices. For a detailed description of the step of determining the existence of network-associated devices, reference may be made to the relevant description of this step.

[0035] In another embodiment, the device information of the associated store can be searched in the device-store association information. For specific instructions on obtaining the device information of the associated store, refer to the relevant description of step S11.

[0036] In some embodiments, the implementation method of the above step S12 may be to determine the target store through the device information of the network-associated device. Exemplarily, the cloud platform may search for the target store corresponding to the target device according to the rules. In one embodiment, the network-associated device includes a LAN-associated device, and the associated store information that matches the identification information of the LAN-associated device is searched in the device-store associated information, and the target store is determined based on the associated store information. In another embodiment, the network-associated device includes an IP-associated device, and the associated store information that matches the device information of the IP-associated device is searched in the device-store associated information, and the target store is determined based on the associated store information. In yet another embodiment, the network-associated device includes a LAN-associated device and an IP-associated device, and the determination of the target store may be based on the associated stores of the LAN-associated device or the associated stores of the IP-associated device. The order of confirming the target stores is not limited in this embodiment.

[0037] In a specific embodiment, the target store may be confirmed by: determining whether the target device has a LAN associated device. In response to the target device having the LAN associated device, searching for a store associated with the LAN associated device as the target store. Alternatively, in response to the target device not having a LAN associated device or not finding a store associated with the LAN associated device, determining whether the target device has an IP associated device and in response to the target device having an IP associated device, searching for a store associated with the IP associated device as the target store. That is, in the case where a LAN associated device exists and an associated store is found, the store associated with the LAN associated device is used as the target store for store association of subsequent devices. However, in the case where a LAN associated device does not exist or the associated store is not found, the store associated with the IP associated device is used as the target store for store association of subsequent devices.

[0038] See also Figure 2 , Figure 2 1 is a flow chart of a specific embodiment of the device store association method provided by this application. Figure 2 As shown, the store association method of the device provided in this embodiment may include the following steps:

[0039] Step S21: Bind device A to the cloud. That is, establish a binding relationship between device A and the cloud platform. Step S22: Determine whether to obtain the unique identifier of the LAN-associated device reported by device A. Exemplarily, obtain the unique identifier of the LAN-associated device reported by device A, wherein device A can search for the LAN-associated device existing in the LAN and report the unique identifier of the LAN-associated device. If the judgment result of step S22 is yes, execute step S23 to determine whether there is a store a associated with the LAN-associated device. If the judgment result of step S23 is yes, execute step S24 to associate store a with device A, wherein store a is the target store. If the judgment result of step S22 is no or the judgment result of step S23 is no, execute step S25 to determine whether there is an IP-associated device that has been associated and has the same exit IP as device A. If the judgment result of step S25 is yes, execute step S26 to query the store b associated with the IP-associated device, and execute step S27 to associate store b with device A, wherein store b is the target store.

[0040] In another specific embodiment, the target store may be confirmed by: determining whether the target device has a network-associated device, and searching for a target store associated with the network-associated device, including: determining whether the target device has an IP-associated device; in response to the target device having an IP-associated device, searching for a store associated with the IP-associated device as the target store. Alternatively, in response to the target device not having an IP-associated device or not finding a store associated with the IP-associated device, determining whether the target device has a LAN-associated device and in response to the target device having the LAN-associated device, searching for a store associated with the LAN-associated device as the target store. That is, in the case where an IP-associated device exists and an associated store is found, the store associated with the IP-associated device is used as the target store for store association of subsequent devices. In the case where an IP-associated device does not exist or the associated store is not found, the store associated with the LAN-associated device is used as the target store for store association of subsequent devices.

[0041] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of another specific embodiment of the device store association method provided by the present application. Figure 3 As shown, the store association method of the device provided in this embodiment may include the following steps:

[0042] Step S31: Bind device A to the cloud. Step S32: Determine whether there is an IP-associated device that is associated and has the same export IP as device A. If the judgment result of step S32 is yes, execute step S33 to query store b associated with the IP-associated device, and execute step S34 to associate store b with device A, wherein store b serves as the target store. If the judgment result of step S32 is no, execute step S35 to determine whether to obtain the unique identifier of the LAN-associated device reported by device A. If the judgment result of step S35 is yes, execute step S36 to determine whether there is a store a associated with the LAN-associated device. If the judgment result of step S36 is yes, execute step S37 to associate device A with store a. wherein store a serves as the target store.

[0043] It should be noted that the LAN-associated devices found by the target device through self-discovery are largely in the same LAN as the target device, so it can be determined that the two devices are in the same store. The IP-associated devices found by the target device through matching IP addresses can basically be determined that the two devices are in the same store.

[0044] In another embodiment, when there is no network-associated device for the target device, or when no store associated with the network-associated device is found, the target region to which the IP address of the target device belongs can be found; based on the stores belonging to the target region, the target store can be determined. In other words, the geographical location of the target device can be determined based on the IP address of the target device. The matching target store is determined according to the geographical location of the target device. Specifically, the target store can be determined by matching the geographical location of the target device with the stored store information. Among them, the IP address of the target device is obtained to perform a region analysis. The region analysis of the IP address of the target device can upload the IP address of the target device to a web page, an IP address database, or an APP to find the region, or find the region to which the IP address of the target device belongs in the device store association information or the device information.

[0045] In a specific embodiment, the above-mentioned method of determining the target store based on the stores belonging to the target area can be: in response to the fact that the store belonging to the target area is unique, the store belonging to the target area is used as the target store; in response to the fact that the store belonging to the target area is not unique, the information of the store belonging to the target area is sent to the user terminal, and the store selected by the user fed back by the user terminal is used as the target store.

[0046] by Figure 2For example, if the judgment result of step S25 is no, execute step S28 to query the region X according to the export IP of device A. Step S29: Determine whether there is a unique store c in region X. If the judgment result of step S29 is yes, execute step S210 to associate device A with store c, where store c is the target store. If the judgment result of step S29 is no, execute step S211 to perform manual processing to determine the target store. Exemplarily, the information of the stores belonging to the target region is sent to the user terminal for manual processing, where the user terminal can be an electronic device, a handheld device, etc.

[0047] In some application scenarios, the store association method of the device provided in this application can be applied to the field of Internet of Things technology, etc. The execution subject for implementing the store association method of the device described in this application can be a device store association device, an electronic device, etc. For example, the device store association device can be set in a terminal device or a server or other processing device, wherein the terminal device can be an audio device, an electronic device, a device (User Equipment, UE), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the store association method of the device can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0048] See also Figure 4 , Figure 4 It is a flow chart of an embodiment of the device-store association device of the present application. The device-store association device 400 includes a network-associated device determination module 410, a target store search module 420, and a device-store association module 430. The network-associated device determination module 410 is used to determine whether a target device has a network-associated device, wherein the target device is an Internet of Things device of a store to be associated, and the network-associated device is an Internet of Things device that has a network association relationship with the target device. The target store search module 420 is used to search for a store associated with a network-associated device as a target store. The device-store association module 430 is used to associate a target device with a target store.

[0049] In some embodiments, the network association relationship includes at least one of being in the same local area network and belonging to the same IP address.

[0050] In some embodiments, the network association relationship includes being in the same local area network, and the network-associated device includes a LAN-associated device that is in the same local area network as the target device; the network-associated device determination module 410 is specifically used to determine that the target device has a LAN-associated device in response to receiving identification information of the LAN-associated device sent by the target device, and the identification information is sent by the target device when it finds a LAN-associated device in the same local area network.

[0051] In some embodiments, the network association relationship includes being in the same local area network and belonging to the same IP address, the network-associated devices include LAN-associated devices and IP-associated devices, the LAN-associated devices and the target device are in the same local area network, the IP-associated devices and the target device belong to the same IP address, or the IP-associated devices and the target device belong to the same IP address and are associated with a store. The network-associated device determination module 410 and the target store search module 420 are specifically used to determine whether the target device has a LAN-associated device; in response to the target device having a LAN-associated device, search for a store associated with the LAN-associated device as the target store; in response to the target device not having a LAN-associated device or not finding a store associated with the LAN-associated device, determine whether the target device has an IP-associated device; in response to the target device having an IP-associated device, search for a store associated with the IP-associated device as the target store.

[0052] In some embodiments, the network association relationship includes being in the same local area network and belonging to the same IP address, the network-associated devices include local area network-associated devices and IP-associated devices, the local area network-associated devices and the target device are in the same local area network, the IP-associated devices and the target device belong to the same IP address, or the IP-associated devices and the target device belong to the same IP address and are associated with a store. The network-associated device determination module 410 and the target store search module 420 are specifically used to determine whether the target device has an IP-associated device; in response to the target device having an IP-associated device, search for a store associated with the IP-associated device as the target store; in response to the target device not having an IP-associated device or not finding a store associated with the IP-associated device, determine whether the target device has a local area network-associated device; in response to the target device having a local area network-associated device, search for a store associated with the local area network-associated device as the target store.

[0053] In some embodiments, the device-store association apparatus 400 also includes a regional store search module 440. Before associating the target device with the target store, the regional store search module 440 is specifically used to find the target region to which the IP address of the target device belongs in response to the fact that there is no network-associated device for the target device, or the store associated with the network-associated device is not found; and determine the target store based on the stores belonging to the target region.

[0054] In some embodiments, the device-store association apparatus 400 also includes a regional store search module 440. The regional store search module 440 determines the target store based on the stores belonging to the target region, including: in response to the store belonging to the target region being unique, taking the store belonging to the target region as the target store; in response to the store belonging to the target region being not unique, sending the information of the store belonging to the target region to the user terminal, and taking the store selected by the user as fed back by the user terminal as the target store.

[0055] In some embodiments, the IP address is an egress IP address.

[0056] In some embodiments, the target store search module 420 is specifically used to search for a target store associated with the identification information of the network-associated device in the device-store association information. The device-store association module 430 is specifically used to establish an association between the identification information of the target device and the target store, and save it in the device-store association information.

[0057] See also Figure 5 , Figure 5 : is a schematic diagram of a framework of an embodiment of an electronic device of the present application. The electronic device 50 includes a memory 51 and a processor 52 coupled to each other, and the processor 52 is used to execute program instructions stored in the memory 51 to implement the steps of the store association method embodiment of any of the above devices. In a specific implementation scenario, the electronic device 50 may include but is not limited to: a microcomputer, a server, and in addition, the electronic device 50 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.

[0058] Specifically, the processor 52 is used to control itself and the memory 51 to implement the steps in the store association method embodiment of any of the above-mentioned devices. The processor 52 can also be called a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip with signal processing capabilities. The processor 52 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 52 can be implemented by an integrated circuit chip.

[0059] See also Figure 6 , Figure 6 The computer-readable storage medium 60 stores program instructions 61 that can be executed by a processor, and the program instructions 61 are used to implement the steps in the store association method embodiment of any of the above devices.

[0060] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0061] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0062] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0063] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0064] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

Claims

1. A store association method for a device, characterized in that: The method comprises: Determining that a target device has a network-associated device, wherein the target device is an Internet of Things device of a store to be associated, and the network-associated device is an Internet of Things device having a network-associated relationship with the target device; Find a store associated with the network-associated device as a target store; The target device is associated with the target store.

2. The method according to claim 1, characterized in that: The network association relationship includes at least one of being in the same local area network and belonging to the same IP address.

3. The method according to claim 2, characterized in that The network association relationship includes being in the same local area network, and the network-associated device includes a local area network-associated device that is in the same local area network as the target device; Determining that the target device has the local area network associated device includes: In response to receiving identification information of a LAN-associated device sent by the target device, it is determined that the LAN-associated device exists on the target device, wherein the identification information is sent by the target device when it finds a LAN-associated device in the same LAN.

4. The method according to claim 2, characterized in that: The network association relationship includes being in the same local area network and belonging to the same IP address, the network-associated device includes a local area network-associated device and an IP-associated device, the local area network-associated device and the target device are in the same local area network, the IP-associated device and the target device belong to the same IP address, or the IP-associated device and the target device belong to the same IP address and are associated with a store; The step of determining that a network-associated device exists in the target device and searching for a store associated with the network-associated device as the target store includes: Determine whether the target device has a local area network associated device; In response to the local area network associated device existing in the target device, searching for a store associated with the local area network associated device as the target store; In response to the target device not having the LAN-associated device or not finding a store associated with the LAN-associated device, determining whether the target device has an IP-associated device; In response to the IP-associated device existing in the target device, a store associated with the IP-associated device is searched for as the target store.

5. The method according to claim 2, characterized in that: The network association relationship includes being in the same local area network and belonging to the same IP address, the network-associated device includes a local area network-associated device and an IP-associated device, the local area network-associated device and the target device are in the same local area network, the IP-associated device and the target device belong to the same IP address, or the IP-associated device and the target device belong to the same IP address and are associated with a store; The step of determining that a target device has a network-associated device and searching for a target store associated with the network-associated device includes: Determine whether the target device has an IP associated device; In response to the IP-associated device existing in the target device, searching for a store associated with the IP-associated device as the target store; In response to the target device not having the IP-associated device or not finding a store associated with the IP-associated device, determining whether the target device has a local area network-associated device; In response to the LAN-associated device existing in the target device, a store associated with the LAN-associated device is searched for as the target store.

6. The method according to claim 1, characterized in that Before associating the target device with the target store, the method further includes: In response to the target device not having the network-associated device or not finding a store associated with the network-associated device, finding a target region to which the IP address of the target device belongs; The target store is determined based on the stores belonging to the target area.

7. The method according to claim 6, characterized in that The determining the target store based on the stores belonging to the target region includes: In response to there being only one store in the target region, taking the store in the target region as the target store; In response to the fact that the store belonging to the target area is not unique, information of the stores belonging to the target area is sent to the user terminal, and the store selected by the user fed back by the user terminal is used as the target store.

8. The method according to any one of claims 2 to 7, characterized in that: The IP address is an egress IP address.

9. The method according to claim 1, characterized in that: The searching for a target store associated with the network-associated device includes: In the device-store association information, searching for a target store that has an association relationship with the identification information of the network-associated device; The associating the target device with the target store includes: An association relationship is established between the identification information of the target device and the target store, and the association relationship is stored in the device-store association information.

10. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the store association method of the device according to any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the store association method of the device according to any one of claims 1 to 9.