Space-based information processing method, device, electronic device and storage medium

By identifying images and signal ranging, it automatically matches the space where the device belongs, solving the problem of cumbersome operations during the access process of IoT devices, realizing automatic device updates and the improvement of intelligent services, and providing a richer user experience.

CN115733705BActive Publication Date: 2024-08-23SHENZHEN LUMIUNITED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211390215.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2024-08-23
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

The operation during the access process of IoT devices is too cumbersome, requiring users to manually select the network device associated with the device, and when the device or network device is moved, it needs to be manually synchronized again, resulting in lag in smart services.

Method used

By obtaining the image to be recognized, perform space recognition, determine the space to which the device belongs, update the space to which the device belongs based on the relationship between the device and the space, generate and push intelligent services, and realize automatic device updates.

Benefits of technology

It simplifies the user's manual operations, realizes automatic device updates, and improves the convenience of accessing IoT devices and the timeliness of smart services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733705B
    Figure CN115733705B
Patent Text Reader

Abstract

The present application provides a space-based information processing method, device, electronic device and storage medium, which relates to the field of Internet of Things technology. The method includes: obtaining an image to be identified; performing spatial identification on the image to be identified to determine the space to which the image to be identified belongs; obtaining the association between each device within a set range and the space, and updating the space to which each device belongs based on the association; generating and pushing intelligent services based on the device information of each device after updating the space to which it belongs. The present application solves the problem of overly cumbersome operations in the process of connecting devices to the Internet of Things in related technologies.
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 specifically, to a space-based information processing method, device, electronic device and storage medium. Background Art

[0002] With the development of Internet of Things technology, smart home, as a new product technology, has changed the traditional home life. Through the Internet of Things technology, various devices in the home are connected together to form a smart home network, so as to provide users with smart services through the smart home network. Specifically, when a device accesses the smart home network, it first selects the associated network device for the device to provide users with smart services based on the interaction between the device and the network device.

[0003] However, the process of connecting the above-mentioned devices to the Internet of Things relies too much on manual user operations. Not only does the user need to manually select the network device associated with the device when the device is first connected, but also when the device or network device moves, the user needs to manually select the network device associated with the device again. Since the operation is too cumbersome, the intelligent services provided to users will be delayed.

[0004] From the above, we can see that the overly cumbersome operation process of connecting devices to the Internet of Things has become a problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a space-based information processing method, device, electronic device and storage medium, which can solve the problem of overly complicated operations in the process of device access to the Internet of Things in the related art. The technical solution is as follows:

[0006] According to one aspect of the present application, a space-based information processing method includes: obtaining an image to be identified; performing spatial identification on the image to be identified to determine the space to which the image to be identified belongs; obtaining the association between each device within a set range and the space, and updating the space to which each device belongs based on the association; generating and pushing intelligent services based on the device information of each device after updating the space to which it belongs.

[0007] According to one aspect of the present application, a space-based information processing device includes: an image acquisition module for acquiring an image to be identified; a space identification module for performing spatial identification on the image to be identified and determining the space to which the image to be identified belongs; a space update module for acquiring the association between each device within a set range and the space, and updating the space to which each device belongs based on the association; and an intelligent service module for generating and pushing intelligent services based on the device information of each device after the space to which it belongs is updated.

[0008] In an exemplary embodiment, the space update module includes: a request receiving unit, used to receive a space binding request initiated by each of the devices within the set range; a connection establishing unit, which establishes a connection between each of the devices within the set range and a network device in response to the space binding request, and stores the association relationship between each of the devices within the set range and the space based on the connection.

[0009] In an exemplary embodiment, the space update module includes: a data sending unit, used to send space data to each of the devices through the connection, so that each of the devices updates its space based on the space data; the space data is used to identify the space to which the image to be identified belongs;

[0010] In an exemplary embodiment, the apparatus further includes: an information receiving module, configured to receive device information reported by each device after the space to which it belongs is updated.

[0011] In an exemplary embodiment, the request receiving unit includes a broadcast component for broadcasting a network access signal to each of the devices, so that each of the devices responds to the network access signal, measures the distance to the network device, and determines the distance between each of the devices and the network device; and a request sending component for receiving the spatial binding request sent by the device within the set range if it is determined that the device is within the set range based on the distance between each of the devices and the network device.

[0012] In an exemplary embodiment, the space recognition module includes: a feature extraction unit, used to extract image features of the image to be recognized to obtain image features; and a space prediction unit, used to predict the space category of the image to be recognized based on the image features to obtain the space to which the image to be recognized belongs.

[0013] In an exemplary embodiment, spatial recognition of the image to be recognized is completed by calling a spatial recognition model; wherein the device also includes: a model training module, used to train to obtain the spatial recognition model; the model training module includes: a training unit, used to construct a machine learning model, and input the sample image into the machine learning model for classification training; a convergence unit, used to determine whether the classification training meets the model convergence condition based on the difference between the classification training result and the spatial label carried by the sample image; if not, notifying the update unit, otherwise, obtaining the spatial recognition model; the update unit, used to update the parameters of the machine learning model and continue the classification training.

[0014] In an exemplary embodiment, the intelligent service module includes: an identity recognition unit, which is used to identify the target object in the image to be identified and determine the identity information of the target object if the image to be identified contains the target object; and an intelligent service generation unit, which is used to correlate and analyze the device information of each device after the space to which it belongs is updated with the identity information of the target object, generate the intelligent service and push it.

[0015] In an exemplary embodiment, the identity recognition unit includes: a body feature extraction component, used to extract identity features of the target object in the image to be identified, and obtain the identity features of the target object; an identity information prediction component, used to predict the identity category of the target object based on the identity features of the target object, and obtain the identity information of the target object.

[0016] In an exemplary embodiment, the intelligent service generation unit includes: a statistical analysis component for collecting statistics on the device information of each device after the space to which it belongs is updated based on the identity information of the target object, so as to determine the life habits of the target object; and a service push component for pushing the intelligent service to the target object according to the life habits of the target object.

[0017] According to one aspect of the present application, an electronic device includes: at least one processor, at least one memory, and at least one communication bus, wherein a computer program is stored in the memory, and the processor reads the computer program in the memory through the communication bus; when the computer program is executed by the processor, the space-based information processing method as described above is implemented.

[0018] According to one aspect of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor, the space-based information processing method as described above is implemented.

[0019] According to one aspect of the present application, a computer program product includes a computer program, the computer program is stored in a storage medium, a processor of a computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device implements the space-based information processing method as described above when executing the computer program.

[0020] The beneficial effects of the technical solution provided by this application are:

[0021] In the above technical solution, the image to be identified is first obtained, the space to which the image to be identified belongs is determined, and then the association relationship between each device within the set range and the space is obtained. The space to which each device belongs is updated based on the association relationship, and the device information of each device after the space to which it belongs is updated, and the intelligent service is generated and pushed. Therefore, based on the association relationship between the space and each device, as each device and / or network device moves in different spaces, the space to which each device belongs can be automatically updated, thereby simplifying the user's manual operation and effectively solving the problem of overly cumbersome operation in the process of device access to the Internet of Things in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solution provided by the present application, the drawings required for use in describing the various embodiments of the present application are briefly introduced below.

[0023] Figure 1 It is a schematic diagram of an implementation environment involved in an embodiment of the present application;

[0024] Figure 2 is a flow chart of a space-based information processing method according to an exemplary embodiment;

[0025] Figure 3 yes Figure 2 A flowchart of step 330 in one embodiment corresponding to the embodiment;

[0026] Figure 4 is a flow chart of another space-based information processing method according to an exemplary embodiment;

[0027] Figure 5 yes Figure 4 A flowchart of an embodiment corresponding to step 410 in an embodiment;

[0028] Figure 6 yes Figure 2 A flowchart of step 350 in one embodiment corresponding to the embodiment;

[0029] Figure 7 yes Figure 2 A flowchart of step 370 in one embodiment corresponding to the embodiment;

[0030] Figure 8 yes Figure 7 A flowchart of an embodiment corresponding to step 371 in an embodiment;

[0031] Fig. 9 yes Figure 7 A flowchart of an embodiment corresponding to step 373 in an embodiment;

[0032] Fig.10It is a schematic diagram of a specific implementation of a space-based information processing method in an application scenario;

[0033] Fig.11 is a structural block diagram of an intelligent service recommendation device according to an exemplary embodiment;

[0034] Fig.12 is a hardware structure diagram of an electronic device according to an exemplary embodiment;

[0035] Fig.13 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0036] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.

[0037] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0038] As mentioned above, whether it is the first time that a device is connected to the Internet of Things, or the device is connected to the Internet of Things again after the device or network device has moved, the user needs to manually select the network device associated with the device during the process of the device connecting to the Internet of Things to achieve interaction between the device and the network device.

[0039] In addition, when the above-mentioned devices are connected to the Internet of Things, users are often required to specify the space to which the devices belong. Then, when the device or network device moves, users need to manually change the space to which the devices belong, further increasing the complexity of user operations.

[0040] From the above, it can be seen that the relevant technology still has the defect that the operation is too complicated when the device is connected to the Internet of Things.

[0041] To this end, the space-based information processing method provided in the present application can effectively simplify the user's manual operations. Accordingly, the space-based information processing method is suitable for a space-based information processing device, which can be deployed in an electronic device, for example, the electronic device is a gateway camera.

[0042] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0043] Figure 1 The schematic diagram of an implementation environment involved in a space-based information processing method includes a user terminal 110 , an intelligent device 130 , a server 170 and a network device 190 .

[0044] Specifically, the user terminal 110, which can also be considered as a user end or terminal, can deploy (also understood as install) the client associated with the smart device 130. This user terminal 110 can be an electronic device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart control panel, other devices with display and control functions, etc., which are not limited here.

[0045] Among them, the client is associated with the smart device 130, which essentially means that the user registers an account in the client and configures the smart device 130 in the client. For example, the configuration includes adding a device identifier to the smart device 130, so that when the client is run in the user terminal 110, it can provide the user with functions such as device display and device control of the smart device 130. This client can be in the form of an application or a web page. Accordingly, the interface for device display on the client can be in the form of a program window or a web page, which is not limited here.

[0046] The smart device 130 is deployed in the network device 190, and communicates with the network device 190 through its own configured communication module, and is then controlled by the network device 190. It should be understood that the smart device 130 generally refers to one of the multiple smart devices 130, and the embodiment of the present application only uses the smart device 130 as an example, that is, the embodiment of the present application does not limit the number and device type of the smart devices deployed in the network device 190. Among them, the network device 190 includes but is not limited to: electronic devices with network communication functions such as routers, gateways, and gateway cameras, which are not limited here.

[0047] In an application scenario, the smart device 130 accesses the network device 190 through a local area network, and is thus deployed in the network device 190. The process of the smart device 130 accessing the network device 190 through a local area network includes: the network device 190 first establishes a local area network, and the smart device 130 joins the local area network established by the network device 190 by connecting to the network device 190. This local area network includes but is not limited to: ZIGBEE or Bluetooth. Among them, the smart device 130 can be a smart printer, a smart fax machine, a smart camera, a smart air conditioner, a smart door lock, a smart light, or a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall switch, a magic cube controller, a curtain motor and other electronic devices equipped with a communication module.

[0048] The interaction between the user terminal 110 and the smart device 130 can be realized through a local area network or a wide area network. In one application scenario, the user terminal 110 establishes a communication connection with the network device 190 by means of wired or wireless communication, for example, the wired or wireless communication includes but is not limited to WIFI, so that the user terminal 110 and the network device 190 are deployed in the same local area network, so that the user terminal 110 can interact with the smart device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a communication connection with the network device 190 by means of wired or wireless communication through the server 170, for example, the wired or wireless communication includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the network device 190 are deployed in the same wide area network, so that the user terminal 110 can interact with the smart device 130 through the wide area network path.

[0049] The server end 170 may also be considered as a cloud, a cloud platform, a platform end, a service end, etc. The server end 170 may be a server, a server cluster consisting of multiple servers, or a cloud computing center consisting of multiple servers, so as to better provide background services to a large number of user terminals 110. For example, the background services include space-based information processing services.

[0050] In an application scenario, the smart device 130 includes a smart camera, the network device 190 includes a gateway, the server end 170 includes a cloud, and the user terminal 110 includes a smart phone. Taking the cloud-based information processing method as an example, the information processing process is described as follows:

[0051] After the smart camera obtains the image to be recognized, it interacts with the gateway and sends the image to be recognized to the gateway, which then forwards the image to be recognized to the cloud.

[0052] After the cloud receives the image to be identified, it first performs spatial identification on the image to be identified to determine the space to which the image to be identified belongs, and then obtains the association relationship between each device within the set range and the space, so as to update the space to which each device belongs based on the association relationship, and then generates an intelligent service based on the device information of each device after the space is updated. The intelligent service is pushed to the smartphone through the wide area network path, or pushed to the gateway through the connection between the cloud and the gateway, and then the gateway forwards the intelligent service to the smartphone through the local area network path.

[0053] See also Figure 2 The present application embodiment provides a space-based information processing method, which is applicable to an electronic device, which may be Figure 1 The network device 190 of the implementation environment shown in the figure, for example, the network device 190 is a gateway camera, or it can be Figure 1 The server side 170 of the implementation environment is shown.

[0054] In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.

[0055] like Figure 2 As shown, the method may include the following steps:

[0056] Step 310: Obtain an image to be recognized.

[0057] First of all, it should be noted that the image to be identified is obtained by photographing and collecting the deployed space through the image acquisition device. This space can refer to a certain area in a smart home, for example, the space refers to the living room, bedroom, kitchen, etc. of the home, or it can refer to a certain area in a building, for example, the space refers to a conference room, elevator, etc. in a building, or it can refer to a certain area outside the building, for example, the space refers to the road outside the building, etc. Correspondingly, the image acquisition device can be deployed at any position in the space to facilitate photographing the space. For example, the image acquisition device is a camera, which can be installed on the ceiling of the living room. Accordingly, based on different spaces, the information processing method provided in this embodiment can be applied to different application scenarios. For example, if the space refers to a certain area in a smart home, the information processing method can be applied to the smart home scenario; if the space refers to a certain area in a building, the information processing method can be applied to the security scenario; if the space refers to a certain area outside the building, the information processing method is also applicable to the map navigation scenario.

[0058] It can be understood that the shooting can be multiple independent shootings or continuous shootings. Then, for the same space, for continuous shooting, a video can be obtained, and the image to be identified can come from one of the pictures in the video. For multiple independent shootings, multiple photos can be obtained, and the image to be identified can come from one of the multiple photos. In other words, in this embodiment, the subsequent space-based information processing methods are all performed in frames.

[0059] Regarding the acquisition of the image to be identified, the image to be identified may come from the image to be identified that is captured and collected by the image acquisition device in real time, or may be the image to be identified that is captured and collected by the image acquisition device in a historical time period pre-stored on the server. That is to say, after the image acquisition device captures and collects the image to be identified, the electronic device may process the image to be identified in real time, or may pre-store it for further processing, for example, processing it at the time specified by the operator. Then, for the electronic device, it may obtain the image to be identified that is captured in real time, or it may obtain the image to be identified that is pre-stored, that is, by retrieving the image to be identified that is captured and collected in a historical time period, and this embodiment does not limit this.

[0060] Step 330: perform space recognition on the image to be recognized to determine the space to which the image to be recognized belongs.

[0061] As mentioned above, the image to be identified is obtained by photographing and collecting the deployed space through the image acquisition device. Accordingly, the space to which the image to be identified belongs is related to the space where the image acquisition device is deployed. For example, the image to be identified is obtained by photographing and collecting the living room through the image acquisition device deployed on the ceiling of the living room. Then, the space to which the image to be identified belongs is the living room. It is explained here that the space to which the image to be identified belongs can have a variety of naming methods according to different application scenarios. It can be directly named using English, numbers and other characters, such as A, B, C, etc.; it can also be named based on the different functions of the space, such as bedroom, study, living room, etc.; it can also be named by a combination of the above two to name the space to which the image to be identified belongs. Taking a four-bedroom house as an example, the space to which the image to be identified belongs includes but is not limited to: bedroom-1, bedroom-2, study-1, living room-1, toilet-1, kitchen-1, where bedroom-1 and bedroom-2 are used to distinguish different bedrooms in the house, and this embodiment does not limit this.

[0062] In a possible implementation, the space to which the image to be identified belongs can be obtained by calling a space recognition model to perform space recognition on the image to be identified. The space recognition model is obtained by training a machine learning model with sample images carrying space labels.

[0063] The model training process specifically includes: constructing a machine learning model, and inputting sample images into the machine learning model for classification training; determining whether the classification training meets the model convergence conditions based on the difference between the classification training results and the spatial labels carried by the sample images; if it is determined that the classification training does not meet the model convergence conditions, updating the parameters of the machine learning model and continuing the classification training; otherwise, after determining that the classification training meets the convergence conditions, a spatial recognition model with spatial recognition capabilities is obtained.

[0064] After obtaining a space recognition model with space recognition capability, the image to be recognized can be input into the space recognition model for space recognition, thereby obtaining the space to which the image to be recognized belongs.

[0065] like Figure 3 As shown, in one possible implementation, step 330 may include the following steps:

[0066] Step 331: extract image features from the image to be identified to obtain image features.

[0067] The image feature is an accurate description of the image to be identified. It should be understood that the image features will be different for different images to be identified, so that the image features can uniquely represent the image to be identified.

[0068] Of course, in other embodiments, image features are not limited to being extracted by the input space recognition model, but can also be implemented through a feature extraction algorithm, which includes but is not limited to: oriented gradient histogram feature extraction algorithm, LBP feature extraction algorithm, Haar feature extraction algorithm, etc., which does not constitute a specific limitation here.

[0069] Step 333: predict the space category of the image to be identified based on the image features to obtain the space to which the image to be identified belongs.

[0070] In a possible implementation, spatial category prediction refers to calculating the probability that the space to which the image to be identified belongs belongs to different categories based on image features.

[0071] Assuming that the space categories include at least: living room, kitchen, bedroom, then through space category prediction, it is possible to calculate the probabilities that the space to be identified belongs to the living room, kitchen, and bedroom, respectively, as P1, P2, and P3.

[0072] If P1 is the largest, it is recognized that the space to which the image to be recognized belongs is the living room. Similarly, if P2 is the largest, it is recognized that the space to which the image to be recognized belongs is the kitchen. If P3 is the largest, it is recognized that the space to which the image to be recognized belongs is the bedroom.

[0073] Furthermore, the space to which the image to be identified belongs can be directly determined by the maximum probability, or the space to which the image to be identified belongs can be determined only after the set conditions are met. It can be understood that the set conditions here refer to the probability that the space to which the image to be identified belongs to the corresponding category is greater than the probability threshold. For example, if the probability threshold is 0.9, the space to which the image to be identified belongs can be determined only when P1 / P2 / P3 is greater than 0.9.

[0074] Based on the above process, space recognition based on the space recognition model is realized, so that the space to which the image to be recognized belongs can be used as the basis for subsequent acquisition of association relationships, which is conducive to the automatic update of the space to which the device belongs.

[0075] Step 350, obtaining the association relationship between each device and space within the set range, and updating the space to which each device belongs based on the association relationship.

[0076] After determining the space to which the image to be recognized belongs, it is possible to determine the devices within the set range that are associated with the space. In other words, the association between the devices within the set range and the space is pre-stored in the electronic device through the binding between the device and the space.

[0077] In one possible implementation, the binding between the device and the space is achieved based on the connection between the network device in the space and the device within the set range. The set range can be flexibly adjusted according to the actual needs of the application scenario. It can refer to the space to which the image to be identified belongs, or it can refer to the access range allowed by the network device in the space to which the image to be identified belongs. It is not limited here. For example, when the space to which the image to be identified belongs is the living room, assuming that the devices in the living room are all considered to be within the set range, then the devices in the living room can establish a connection with the network device in the living room, thereby realizing the binding of the devices in the living room and the living room. When the device in the living room leaves the living room due to movement, it is considered that the device is out of the set range. At this time, the device is disconnected from the network device in the living room, that is, it is considered that the device is unbound from the living room.

[0078] With the binding between the device and the space, the association between the device and the space can be pre-stored in the electronic device, thereby providing a basis for the automatic update of the space to which the device belongs.

[0079] For example, if the space to be identified belongs to the living room, and a smart speaker is located in the bedroom and a smart TV is located in the living room, then the smart TV in the living room is associated with the living room; the smart speaker in the bedroom is not associated with the living room, but is associated with the bedroom. If the smart speaker is moved from the bedroom to the living room, the smart speaker will be disconnected from the network device in the bedroom and connected to the network device in the living room, thereby unbinding the smart speaker from the bedroom and binding it to the living room, and storing the association between the smart speaker and the living room accordingly. At this time, based on the association between the smart speaker and the living room, the space to which the smart speaker belongs can be automatically updated from the bedroom to the living room.

[0080] It can be seen that as the device moves in different spaces, the device will establish connections with network devices in different spaces, so that the device can be bound to different spaces and the association between the device and different spaces is stored accordingly, thereby strengthening the association between the device and the space, thereby enabling automatic update of the space to which the device belongs.

[0081] Step 370, based on the device information of each device after the space to which it belongs is updated, a smart service is generated and pushed.

[0082] Among them, the device information uniquely describes the device, including at least: the device identification of the device, the operation information of the device, etc. Among them, the device identification is used to uniquely indicate the identity of the device to distinguish different devices; the operation information is used to describe the working status of the device, which may include the device's on time period (the time period between the on time and the off time), the working status (such as online status, offline status, etc.), the work log (such as when the brightness adjustment, temperature adjustment, etc.) etc. Taking the air conditioner as an example, the device information of the air conditioner includes but is not limited to: device identification - air conditioner serial number, on time - 21:00, off time - 7:00, working mode - cooling mode, working temperature - 26 degrees Celsius, etc.

[0083] Based on the space to which the image to be identified belongs, after obtaining the device information of each device with an associated relationship, the corresponding intelligent service can be pushed to the user based on the association between the device and the space.

[0084] For example, smart services include pushing device control instructions related to devices to users. For the living room light, users can choose whether to turn it on automatically when they get home at 7 pm every night, while for the bedroom light, users are reminded to choose whether to turn it off automatically when they go to bed at 11 pm every night. It can be seen that as the space to which the device belongs changes, the generated smart services will be different, thus providing users with more intelligent smart services.

[0085] Through the above process, based on the association between space and each device, as each device and / or network device moves in different spaces, the space to which each device belongs can be automatically updated, thereby simplifying the user's manual operation and effectively solving the problem of overly cumbersome operations in the process of device access to the Internet of Things in related technologies.

[0086] See also Figure 4 In an exemplary embodiment, before step 350, the method may further include the following steps:

[0087] Step 410: Receive a space binding request initiated by each device within a set range.

[0088] Among them, the space binding request is used to bind the device to the space, and can also be considered as being used to establish a connection between the device and the network device in the space.

[0089] In one possible implementation, for each device within a set range, a spatial binding request is sent based on the distances between the device and multiple network devices. For example, the device may send a spatial binding request to the network device closest to it in order to establish a connection between the device and the network device, thereby storing the association relationship between the device and the space where the network device is located accordingly.

[0090] Specifically, Figure 5 As shown, step 410 may include the following steps:

[0091] Step 411, broadcasting a network access signal to each device, so that each device responds to the network access signal, performs distance measurement on the network device, and determines the distance between each device and the network device.

[0092] That is to say, in this embodiment, the distance between the device and the network device is obtained by measuring the distance between the device and the network device.

[0093] The ranging process specifically means that, for a network device, a network access signal can be broadcast to each device belonging to the same space or different spaces. Accordingly, for each device, multiple network access signals broadcasted by multiple network devices in the same space or different spaces can be received.

[0094] Based on the multiple network access signals received, the multiple distances between the device and the multiple network devices broadcasting the multiple network access signals can be calculated according to the calculation formula d=10^((abs(RSSI)-A) / (10×n)). Among them, d represents the distance between the device and the network device broadcasting the network access signal, RSSI represents the signal strength of the network access signal, A and n are both hyperparameters, A represents the signal strength of the network access signal when the device and the network device are 1 meter apart, and n represents the network access signal propagation coefficient, which can also be considered as the environmental attenuation factor.

[0095] Step 413: If it is determined that the device is within the set range based on the distance between each device and the network device, a spatial binding request sent by the device within the set range is received.

[0096] For each device within the set range, after determining the distance between it and multiple network devices, it can select a network device from multiple network devices for access based on the distance between the device and the network device. That is, the device sends a space binding request to the selected network device, and accordingly, the network device receives the space binding request.

[0097] In this embodiment, the device selects the network device closest to it to send a spatial binding request. Specifically, after the device determines the network device closest to it, it requests to access the network device and then sends a spatial binding request to the network device.

[0098] Of course, in other embodiments, the device may also directly implement the sending of the space binding request based on the signal strength of the network access signal broadcast by the network device. For example, the device sends the space binding request to the network device that broadcasts the network access signal with the largest signal strength. This embodiment does not constitute a specific limitation on this.

[0099] Furthermore, since the device may send a space binding request to network devices in different spaces, in order to improve the accuracy of the binding between the device and the space, the signal strength threshold and / or the distance threshold can be set as a set range. When the network access signal strength is greater than the signal strength threshold, and / or the distance between the device and the network device broadcasting the network access signal is greater than the distance threshold, the device is allowed to send a space binding request to the corresponding network device. In this way, the possibility of binding errors can be effectively reduced. Of course, in other embodiments, the user can also manually adjust it with the help of the user terminal when it is found that the binding between the device and the space is inaccurate.

[0100] Step 430, in response to the space binding request, establish a connection between each device within the set range and the network device, and store the association relationship between each device within the set range and the space based on the connection.

[0101] After the network device receives the space binding request sent by the device, it determines that the device request is bound to the space where the network device is located, and then establishes a connection between the device and the network device to correspondingly store the association relationship between the device and the space where the network device is located.

[0102] With the cooperation of the above embodiments, the storage of the association relationship between the device and the space is realized through the space binding request, which strengthens the association between the device and the space. This is used as the basis for automatic update of the space to which the device belongs, avoiding the device access to the Internet of Things process from being too dependent on manual operation by the user.

[0103] See also Figure 6 In an exemplary embodiment, in step 350, updating the space to which each device belongs based on the association relationship may include the following steps:

[0104] Step 351, sending the spatial data to each device through connection, so that each device updates its space based on the spatial data.

[0105] The spatial data is used to identify the space to which the image to be identified belongs.

[0106] In one application scenario, the connection is established directly between the device and the network device, that is, the connection can be Figure 1 The local network path in the implementation environment is shown, so that the spatial data can be sent from the network device to the device based on the local network path; in another application scenario, the connection is indirectly established between the device and the network device through the server side, that is, the connection can be Figure 1 The wide area network path in the implementation environment is shown, whereby the spatial data is forwarded from the network device to the device via the server based on the wide area network path, which is not limited here.

[0107] Then, the device can receive the spatial data and then update the space to which the device belongs based on the spatial data. For example, if the space to which the device belongs is a bedroom, and if the spatial data indicates that the space to which the image to be identified belongs is a living room, then after receiving the spatial data, the space to which the device belongs can be updated from the bedroom to the living room.

[0108] It should be noted that when a device moves in different spaces, the device may establish a connection with a new network device. At this time, the new network device will resend the corresponding spatial data to the device through the connection, so that the device can update the space to which it belongs, thereby realizing timely update of the binding between the device and different spaces.

[0109] It should be further explained that the above steps are all completed automatically and do not require manual operation by the user. When the location of the device or network device changes, the device will re-establish connection with different network devices, and then timely update the space to which the device belongs, thereby effectively strengthening the association between the device and the space.

[0110] Step 353: Receive device information reported by each device after updating the space to which it belongs.

[0111] It is understandable that the provision of smart services depends on the various devices deployed in the space. In other words, different spaces have different devices deployed in the space, and the smart services provided to users will also be different. For example, the smart service that the living room lamp can provide is to automatically turn on the light when the user returns home, while the smart service that the bedroom lamp can provide is to automatically turn off the light when the user goes to bed.

[0112] Based on this, in this embodiment, before providing intelligent services to users, it is necessary to accurately obtain device information related to devices associated with the space, specifically, to obtain device information reported by each device after the space to which it belongs is updated.

[0113] That is to say, for a device, after updating the space to which it belongs, the relevant device information will be reported, so that the provision of smart services depends on the device information related to each device after updating the space, thereby improving the accuracy of smart service push.

[0114] Under the effect of the above-mentioned embodiments, based on the connection between the device and different spaces, the network devices in different spaces can timely obtain the device information related to the devices that are associated with the space where they are located, and can provide users with intelligent services relying on the devices in different spaces, thereby making the intelligent service more intelligent.

[0115] See also Figure 7 In an exemplary embodiment, step 370 includes the following steps:

[0116] Step 371: If the image to be identified contains a target object, the target object in the image to be identified is identified to determine the identity information of the target object.

[0117] First of all, it should be noted that the target object in the image to be identified corresponds to any object that can appear in space. The arbitrary object can be a person, pet, robot, etc. that appears in the living room, bedroom, kitchen and other areas of the home; it can also be a person that appears in the conference room, elevator and other areas in the building; or it can refer to a person, vehicle, etc. that appears in the road outside the building and other areas.

[0118] As the target object in the image to be identified is different, the provision of intelligent services can be applied to different application scenarios. For example, if the target object is a person, the provision of intelligent services can be applied to smart home scenarios, such as providing smart device control services to people in smart home scenarios; or, if the target object is a vehicle, the provision of intelligent services can be applied to map navigation scenarios, such as providing intelligent navigation services to vehicles in map navigation scenarios.

[0119] It should be understood that in the process of photographing the space, if any object appears in the space, the image to be identified containing the target object can be photographed and collected, but there may also be a situation where any object does not appear in the space. At this time, the image to be identified that is photographed and collected may not contain the target object, so there is no need to perform identity recognition on the target object for the image to be identified. To this end, in a possible implementation method, after the image to be identified is acquired, the image to be identified will be subjected to target object detection to determine whether the image to be identified contains the target object. If the image to be identified contains the target object, step 373 is executed. Conversely, if the image to be identified does not contain the target object, the process returns to step 310. In this way, the electronic device will only perform relevant information processing on the image to be identified containing the target object, avoiding unnecessary information processing, which is conducive to improving the processing efficiency of the electronic device.

[0120] Secondly, the identity information of the target object is used to uniquely identify the identity of the target object. It is understandable that the type of the target object's identity information will vary depending on the target object. For example, if the target object is a person, the target object's identity information may refer to the person's name, face type, etc., or if the target object is a vehicle, the target object's identity information may refer to the vehicle's equipment identification code, license plate number, etc. The target object's identity information is not limited here.

[0121] Based on different types of identity information, the identity recognition performed on the target object in the image to be recognized may be different. For example, if the target object is a person, the identity recognition performed on the person in the image to be recognized may refer to face recognition on the face area in the image to be recognized; or, if the target object is a vehicle, the identity recognition performed on the vehicle in the image to be recognized may refer to character recognition on the license plate area in the image to be recognized.

[0122] In a possible implementation, an identity recognition model is called to perform identity recognition on a target object in an image to be recognized.

[0123] After the image to be identified containing the target object is input into the identity recognition model, the identity recognition of the target object can be realized. Specifically, Figure 8 As shown, step 371 may include the following steps:

[0124] Step 3711, extracting identity features of the target object in the image to be identified to obtain the identity features of the target object.

[0125] The identity feature is an accurate description of the identity of the target object in the image to be identified. It can also be considered that different target objects have different identity features, so that the identity of the target object can be uniquely identified by the identity feature.

[0126] For example, if the target object is a person, the identity feature of the person may refer to the facial feature of the person, and accordingly, the face of the person is uniquely identified by the facial feature of the person, and then the identity of the person is uniquely identified; or, if the target object is a vehicle, the identity feature of the vehicle may refer to the license plate feature of the vehicle, and then the license plate number of the vehicle is uniquely identified by the license plate feature of the vehicle, and then the identity of the vehicle is uniquely identified.

[0127] Step 3713, predicting the identity category of the target object based on the identity characteristics of the target object to obtain the identity information of the target object.

[0128] In a possible implementation, identity category prediction refers to calculating the similarity between the identity features of the target object and the identity features of each registered sample in the sample library, wherein the sample library includes the identity features of each registered sample and the identity information of each registered sample.

[0129] In a possible implementation, identity category prediction refers to calculating the probability that the target object's identity belongs to different identity categories based on the target object's identity features.

[0130] Now, we take the identity features of the target object as the facial features to illustrate the process of face recognition of the target object:

[0131] Assuming that the sample library stores the facial features A1, B1, and C1 of registered samples A, B, and C, then the facial features of all registered samples in the sample library are traversed to calculate the similarity between the facial features of the target object D and the facial features A1, B1, and C1 of each registered sample.

[0132] Furthermore, the identity information of the registered sample corresponding to the facial feature with the greatest similarity can be selected as the identity information of the target object. Alternatively, after the maximum similarity meets the set conditions for face recognition, the identity information of the corresponding registered sample can be used as the identity information of the target object. Alternatively, after all similarities do not meet the set conditions for face recognition, it is determined that the face recognition of the target object has failed. It can be understood that the set conditions here refer to the similarity being greater than the similarity threshold. For example, the similarity threshold is 0.9. Then, if the similarity between the facial features of the target object D and the facial features A1, B1, and C1 of each registered sample is less than 0.9, the face recognition of the target object has failed. Otherwise, the identity information of the registered sample corresponding to the facial feature with the greatest similarity is used as the identity information of the target object.

[0133] Of course, in other embodiments, identity recognition can also be achieved through an identity recognition algorithm. Taking face recognition as an example, the face recognition algorithm at least includes a principal component analysis (PCA) algorithm, a locality preserving projections (LPP) algorithm, etc., which is not a specific limitation here.

[0134] Step 373, associate and analyze the device information of each device after the space to which it belongs is updated with the identity information of the target object, generate and push intelligent services.

[0135] After obtaining the device information and the identity information of the target object, it is possible to provide intelligent services to the target object more intelligently through association analysis.

[0136] Specifically, Fig. 9 As shown, step 373 may include the following steps:

[0137] Step 3731, based on the identity information of the target object, collect statistics on the device information of each device after the space to which it belongs is updated to determine the living habits of the target object.

[0138] Among them, the target object's living habits may refer to the user's device usage habits. For example, based on the power-on status in the device information, the frequency of the user's use of a certain device is counted to determine the user's device usage habits regarding the device. The target object's living habits may also refer to the user's electricity usage. For example, based on the power-on status and power-off status in the device information, the online time of a certain device is counted to determine the device's energy consumption, and then determine the user's electricity usage regarding the device.

[0139] Step 3733: Push intelligent services to the target object based on the target object's living habits.

[0140] Once the target object's living habits are determined, intelligent services that match the living habits can be provided to the target object.

[0141] For example, smart services include pushing life logs to users. When users want to know about their family life, they can choose to push life logs to them on a regular basis. The life logs include the family energy consumption in different time periods, such as the total water consumption of the family from 22:00 to 2:00 in the evening is 0.3 tons and the total electricity consumption of the family is 10 degrees.

[0142] Alternatively, the smart service includes pushing device control instructions to the user. For example, if the user is used to turning on the bathtub faucet and the speaker at 20:00 in the evening, then the device control instructions for turning on the bathtub faucet and the speaker can be sent to the user terminal carried by the user at 19:55 in the evening.

[0143] Alternatively, the intelligent service includes pushing scene creation information to the user. For example, if user A likes to stay in the living room from 8 p.m. to 10 p.m. and is used to turning on the crystal lamp, TV and air conditioner, the user can be asked whether to create scenes related to the control instructions of the above devices for the living room.

[0144] It should be noted that the push of intelligent services can be selectively provided based on the needs of the target object. For example, confirmation information can be pushed to the target object. If the target object agrees to the push based on the confirmation information feedback, the intelligent service will be pushed to the target object. It can also be actively provided to the target object, which is not limited here.

[0145] Under the effect of the above-mentioned embodiment, when the image to be identified includes a target object, the target object is automatically identified and the identity information of the target object is determined. Then, based on the device information of the device and the identity information of the target object, an association analysis is performed to generate and push intelligent services, thereby realizing automatic association of target object-device-space, and being able to adaptively adjust intelligent services according to different target objects and different devices bound to the space, thereby effectively improving the level of intelligent services provided and further enhancing the user experience.

[0146] Fig.10 This is a schematic diagram of a specific implementation of a space-based information processing method in an application scenario. The application scenario is a smart home scenario, suitable for Figure 1 In the smart home scenario, the network device specifically refers to a gateway camera, which provides smart services to users through the gateway camera.

[0147] It should be noted that the gateway camera not only has the image acquisition function of the camera, but also has the gateway function. Compared with this gateway camera, the device involved in this application that needs to measure the distance of the network device refers to various types of smart devices that do not have the gateway function. For example, the device can be a temperature sensor, humidity sensor, human body sensor, smart switch and other smart devices that do not have the gateway function.

[0148] like Fig.10 As shown, first, by executing steps 701 to 705, one or more gateway cameras are connected to the smart home network, each gateway camera captures and collects the image to be identified in the space where it is located, and performs spatial recognition on the image to be identified to obtain the space to which the image to be identified belongs, for example: the space to which it belongs is living room-1, so that each gateway camera is bound to the space to which it belongs. It is explained here that the smart home network can refer to Figure 1 The local area network in the implementation environment shown may also refer to Figure 1 The illustrated implementation environment is a wide area network, which is not intended to be limiting.

[0149] By executing step 707, based on the network access signal broadcast by one or more gateway cameras, each device in different spaces can measure the distance to one or more gateway cameras belonging to the same space or different spaces.

[0150] By executing step 709, the device measures the signal strength of the received network signal, calculates the distance between the device and one or more gateway cameras, selects the gateway camera closest to the device to send a space binding request, thereby completing the binding with the space where the gateway camera is located, and stores the association between the device and the space accordingly. In addition, based on the association between each device and space within the set range, the space to which the device belongs will be updated in a timely manner.

[0151] Therefore, in the process of providing intelligent services to users, the device information of each device after the space to which it belongs can be obtained, which serves as the data basis for pushing intelligent services.

[0152] By executing step 711, the gateway camera identifies the identity of the user in the image to be identified and obtains the user's identity information.

[0153] By executing step 713, according to the user's identity information obtained in the above steps, and the device information of each device after updating the space to which it belongs, an association analysis is performed, so that relevant intelligent services can be intelligently provided to the user. For example, the intelligent service can push intelligent device control instructions to the user based on the user's device usage habits. For example, if user B is used to turning on the bathtub faucet and the speaker at 20 o'clock in the evening, then at 19:55 in the evening, the intelligent device control instructions for turning on the bathtub faucet and the speaker can be sent to the user terminal carried by user B, so that user B can choose whether to execute the intelligent device control instruction; it can also provide users with life logs such as the energy consumption of each device in different spaces, for example, from 22 o'clock at night to 2 o'clock in the morning, the total water consumption of the family is 0.3 tons and the total electricity consumption of the family is 10 degrees. It should be noted that there are many intelligent services provided to users through association analysis, which are not listed here one by one.

[0154] In this application scenario, the device is automatically associated with the space where the gateway camera is located without the need for manual operation by the user, which is conducive to improving the user's smart home experience. At the same time, the mutual connection between space, device and user is realized, so that the user's living habits can be fully utilized to provide users with richer smart services more intelligently, which is further conducive to improving the user's smart home experience.

[0155] The following is an embodiment of the device of the present application, which can be used to execute the space-based information processing method involved in the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the space-based information processing method involved in the present application.

[0156] See also Fig.11 In an embodiment of the present application, a space-based information processing device 900 is provided, including but not limited to: an image acquisition module 910, a space recognition module 930, a space update module 950 and an intelligent service module 970.

[0157] The image acquisition module 910 is used to acquire an image to be recognized.

[0158] The space recognition module 930 is used to perform space recognition on the image to be recognized and determine the space to which the image to be recognized belongs.

[0159] The space update module 950 is used to obtain the association relationship between each device and the space within a set range, and update the space to which each device belongs based on the association relationship.

[0160] The intelligent service module 970 is used to generate and push intelligent services based on the device information of each device after the space to which it belongs is updated.

[0161] In an exemplary embodiment, the space update module includes: a request receiving unit, which is used to receive space binding requests initiated by each device within a set range; a connection establishing unit, which establishes a connection between each device within the set range and a network device in response to the space binding request, and stores the association relationship between each device within the set range and the space based on the connection.

[0162] In an exemplary embodiment, the space update module includes: a data sending unit, which is used to send space data to each device through a connection, so that each device updates its space based on the space data; the space data is used to identify the space to which the image to be identified belongs;

[0163] In an exemplary embodiment, the apparatus further includes: an information receiving module, configured to receive device information reported by each device after updating the space to which it belongs.

[0164] In an exemplary embodiment, a request receiving unit includes a broadcast component for broadcasting a network access signal to each device, so that each device responds to the network access signal, measures the distance of the network device, and determines the distance between each device and the network device; a request sending component for receiving a spatial binding request sent by a device within a set range if it is determined that the device is within a set range based on the distance between each device and the network device.

[0165] In an exemplary embodiment, the space recognition module includes: a feature extraction unit, which is used to extract image features of the image to be recognized to obtain image features; and a space prediction unit, which is used to predict the space category of the image to be recognized based on the image features to obtain the space to which the image to be recognized belongs.

[0166] In an exemplary embodiment, spatial recognition of an image to be recognized is completed by calling a spatial recognition model; wherein the device also includes: a model training module, used to train to obtain a spatial recognition model; the model training module includes: a training unit, used to construct a machine learning model, and input the sample image into the machine learning model for classification training; a convergence unit, used to determine whether the classification training meets the model convergence condition based on the difference between the classification training result and the spatial label carried by the sample image; if not, the update unit is notified, otherwise, the spatial recognition model is obtained; the update unit is used to update the parameters of the machine learning model and continue the classification training.

[0167] In an exemplary embodiment, the intelligent service module includes: an identity recognition unit, which is used to identify the target object in the image to be identified and determine the identity information of the target object if the image to be identified contains the target object; an intelligent service generation unit, which is used to correlate and analyze the device information of each device after the space to which it belongs is updated with the identity information of the target object, generate intelligent services and push them.

[0168] In an exemplary embodiment, the identity recognition unit includes: a body feature extraction component, which is used to extract identity features of a target object in an image to be identified to obtain the identity features of the target object; and an identity information prediction component, which is used to predict the identity category of the target object based on the identity features of the target object to obtain the identity information of the target object.

[0169] In an exemplary embodiment, the intelligent service generation unit includes: a statistical analysis component for collecting statistics on the device information of each device after the space to which it belongs is updated based on the identity information of the target object, so as to determine the life habits of the target object; and a service push component for pushing intelligent services to the target object according to the life habits of the target object.

[0170] It should be noted that the device control device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when performing device control. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device control device will be divided into different functional modules to complete all or part of the functions described above.

[0171] In addition, the equipment control device provided in the above embodiment belongs to the same concept as the embodiment of the space-based information processing method, and the specific manner in which each module performs the operation has been described in detail in the method embodiment and will not be repeated here.

[0172] Fig.12 A schematic diagram of the structure of an electronic device according to an exemplary embodiment. The electronic device is suitable for Figure 1The server side 170 and network device 190 of the implementation environment are shown.

[0173] It should be noted that the electronic device is only an example adapted to the present application and cannot be considered to provide any limitation on the scope of use of the present application. The electronic device cannot be interpreted as requiring dependence on or having Fig.12 One or more components of exemplary electronic device 2000 are shown.

[0174] The hardware structure of the electronic device 2000 may vary greatly due to differences in configuration or performance, such as Fig.12 As shown, the electronic device 2000 includes: a power supply 210 , an interface 230 , at least one memory 250 , and at least one central processing unit (CPU) 270 .

[0175] Specifically, the power supply 210 is used to provide operating voltage for each hardware device on the electronic device 2000 .

[0176] The interface 230 includes at least one wired or wireless network interface 231 for interacting with external devices. Figure 1 The interaction between the user terminal 110 and the server 170 in the implementation environment is shown.

[0177] Of course, in other examples adapted by the present application, the interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input-output interface 235, and at least one USB interface 237, etc. Fig.12 As shown, this is not intended to be a specific limitation.

[0178] The memory 250 is a carrier for storing resources, which may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 251, an application 253 and data 255, etc. The storage method may be temporary storage or permanent storage.

[0179] Among them, the operating system 251 is used to manage and control various hardware devices and application programs 253 on the electronic device 2000 to enable the central processor 270 to calculate and process the massive data 255 in the memory 250. It can be WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0180] The application program 253 is a computer program that performs at least one specific task based on the operating system 251, and may include at least one module ( Fig.12(not shown), each module may respectively include a computer program for the electronic device 2000. For example, the space-based information processing device may be regarded as an application 253 deployed on the electronic device 2000.

[0181] The data 255 may be photos, pictures, etc. stored in a disk, or may be images to be identified, spatial data, etc., stored in the memory 250 .

[0182] The central processor 270 may include one or more processors and is configured to communicate with the memory 250 through at least one communication bus to read the computer program stored in the memory 250, thereby realizing the operation and processing of the mass data 255 in the memory 250. For example, the space-based information processing method is completed by the central processor 270 reading a series of computer programs stored in the memory 250.

[0183] In addition, the present application can also be implemented through hardware circuits or hardware circuits combined with software. Therefore, the implementation of the present application is not limited to any specific hardware circuits, software, or a combination of the two.

[0184] See also Fig.13 In an embodiment of the present application, an electronic device 4000 is provided. The electronic device 4000 may refer to an electronic device with a network communication function, such as a gateway camera, and is not limited here.

[0185] exist Fig.13 In the embodiment, the electronic device 4000 includes at least one processor 4001, at least one communication bus 4002 and at least one memory 4003.

[0186] The processor 4001 and the memory 4003 are connected, such as through a communication bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0187] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0188] The communication bus 4002 may include a path to transmit information between the above components. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0189] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.

[0190] The memory 4003 stores a computer program, and the processor 4001 reads the computer program stored in the memory 4003 through the communication bus 4002 .

[0191] When the computer program is executed by the processor 4001, the space-based information processing method in the above-mentioned embodiments is implemented.

[0192] In addition, a storage medium is provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the space-based information processing method in the above-mentioned embodiments is implemented.

[0193] In an embodiment of the present application, a computer program product is provided, the computer program product includes a computer program, the computer program is stored in a storage medium. A processor of a computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device executes the space-based information processing method in each of the above embodiments.

[0194] Compared with related technologies, on the one hand, this solution uses image recognition and signal ranging to automatically match the space to which the device belongs, and as the device or network device moves in different spaces, it can timely update the space to which the device belongs, avoiding reliance on manual operations by the user, thereby effectively solving the problem of overly cumbersome user operations in the process of device access to the Internet of Things in related technologies; on the other hand, through the information correlation analysis between each device bound to the space and the user, the user's living habits can be fully understood, and the user can be provided with smarter and richer intelligent services, greatly improving the user experience.

[0195] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0196] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A space-based information processing method, characterized in that: include: Obtain an image to be recognized; Performing space recognition on the image to be recognized to determine the space to which the image to be recognized belongs; Acquire the association relationship between each device within a set range and the space, and update the space to which each device belongs based on the association relationship; the association relationship between the device and the space is determined by binding between the device and the space; The binding is achieved based on establishing a connection between the network device in the space and the device; Based on the device information of each of the devices after the space to which it belongs is updated, an intelligent service is generated and pushed.

2. The method according to claim 1, characterized in that Before acquiring the association relationship between the device within the set range and the space, the method further includes: Receiving a space binding request initiated by each of the devices within the set range; In response to the space binding request, a connection is established between each of the devices within the set range and a network device, and an association relationship between each of the devices within the set range and the space is stored based on the connection.

3. The method according to claim 2, characterized in that The updating of the space to which each of the devices belongs based on the association relationship includes: Sending spatial data to each of the devices through the connection, so that each of the devices updates the space to which it belongs based on the spatial data; the spatial data is used to identify the space to which the image to be identified belongs; After updating the space to which each device belongs based on the association relationship, the method further includes: Receive the device information reported by each of the devices after the space to which it belongs is updated.

4. The method according to claim 2, characterized in that The receiving a space binding request initiated by each of the devices within the set range includes: Broadcasting a network access signal to each of the devices, so that each of the devices responds to the network access signal, performs distance measurement on the network device, and determines the distance between each of the devices and the network device; If it is determined that the device is within the set range based on the distance between each of the devices and the network device, the space binding request sent by the device within the set range is received.

5. The method according to claim 1, characterized in that The performing space recognition on the image to be recognized to determine the space to which the image to be recognized belongs includes: Extracting image features from the image to be identified to obtain image features; The space category of the image to be identified is predicted according to the image features to obtain the space to which the image to be identified belongs.

6. The method according to claim 5, characterized in that Complete spatial recognition of the image to be recognized by calling a spatial recognition model; The training process of the space recognition model includes: Constructing a machine learning model, and inputting sample images into the machine learning model for classification training; Determining whether the classification training meets a model convergence condition according to a difference between a classification training result and a spatial label carried by the sample image; If not, update the parameters of the machine learning model and continue the classification training; otherwise, obtain the spatial recognition model.

7. The method according to any one of claims 1 to 6, characterized in that: The generating and pushing of intelligent services based on the device information of each device after updating the space to which it belongs includes: If the image to be identified contains a target object, performing identity recognition on the target object in the image to be identified to determine identity information of the target object; The device information of each device after the space to which it belongs is updated is associated with the identity information of the target object, and the intelligent service is generated and pushed.

8. The method according to claim 7, characterized in that The step of performing identity recognition on the target object in the image to be recognized and determining the identity information of the target object includes: Extracting identity features of the target object in the image to be identified to obtain the identity features of the target object; The identity category of the target object is predicted according to the identity characteristics of the target object to obtain the identity information of the target object.

9. The method according to claim 7, characterized in that The step of performing correlation analysis on the device information of each device after updating the space to which it belongs and the identity information of the target object, generating and pushing the intelligent service, includes: Based on the identity information of the target object, statistics are collected on the device information of each device after the space to which it belongs is updated, so as to determine the living habits of the target object; The smart service is pushed to the target object according to the living habits of the target object.

10. A space-based information processing device, characterized in that: include: An image acquisition module, used for acquiring an image to be identified; A space recognition module, used to perform space recognition on the image to be recognized and determine the space to which the image to be recognized belongs; A space update module, used to obtain the association relationship between each device within a set range and the space, and update the space to which each device belongs based on the association relationship; the association relationship between the device and the space is determined by binding between the device and the space; The binding is achieved based on establishing a connection between the network device in the space and the device; The intelligent service module is used to generate and push intelligent services based on the device information of each device after the space to which it belongs is updated.

11. An electronic device, characterized in that: include: at least one processor, at least one memory, and at least one communication bus, wherein: The memory stores a computer program, and the processor reads the computer program in the memory through the communication bus; When the computer program is executed by the processor, the space-based information processing method according to any one of claims 1 to 9 is implemented.

12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the space-based information processing method according to any one of claims 1 to 9 is implemented.