Intelligent equipment control method based on soft bus and related equipment

By using a soft bus-based intelligent device control method, and leveraging a fiber optic network system, interactive control of intelligent devices within a local area network is achieved. This solves the problem of cloud control relying on the public network, and improves the convenience of device operation and user experience.

CN121334231APending Publication Date: 2026-01-13E-SURFING DIGITAL LIFE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511678339.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-14
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

In existing technologies, cloud control of smart devices relies on the public network, which leads to the inability to control the devices when the public network fails, high latency, and a lack of unified interfaces between smart devices from different manufacturers, resulting in complex operation and a poor user experience.

Method used

A software bus-based intelligent device control method is adopted. By pre-setting the fiber optic network system, the target software bus service is registered and the device is authenticated, and a legitimate association relationship between the intelligent device and the fiber optic network system is established, so as to realize the interactive control of devices within the local area network.

Benefits of technology

The interaction process of smart devices can be completed without relying on the public network, which improves the convenience of operation, reduces latency, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121334231A_ABST
    Figure CN121334231A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent equipment control method based on a soft bus and related equipment, and can be applied to the technical field of intelligent control. According to the invention, after the service registration operation of the target soft bus is carried out in the preset optical fiber whole network system, the service registration operation of the plurality of intelligent devices is carried out in the controller of the target soft bus, and then the first intelligent device is searched in the local area network of the area where the intelligent devices are located to obtain the second intelligent device; according to the embodiment of the invention, the third intelligent equipment is obtained after the second intelligent equipment is authenticated in the local area network of the area where the intelligent equipment is located, so that the third equipment can be accurately accessed to the preset optical fiber whole-network system, and then in the local area network of the area where the intelligent equipment is located, the third intelligent equipment is obtained. The interaction process of the plurality of third intelligent devices is controlled through the preset optical fiber whole network system, so that the interaction process of the plurality of intelligent devices can be completed without depending on a public network, the operation convenience of the intelligent devices is effectively improved, the operation time delay of the intelligent devices is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, and in particular to an intelligent device control method and related equipment based on a soft bus. Background Technology

[0002] In related technologies, because the native data of various smart device manufacturers is closed, smart home apps need to connect to each manufacturer through cloud interfaces to control the working status of smart devices. However, the process of calling cloud interfaces relies on the public network. When the public network fails, the smart home app cannot control the smart devices, and the latency of cloud-based operations is relatively large, resulting in a poor user experience. Furthermore, because the native data of different manufacturers is closed, there is no unified interface between them, making the operation of different smart devices complex and reducing the convenience for users, leading to a poor user experience.

[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention

[0004] The main objective of this application is to propose a smart device control method and related equipment based on a soft bus, which can effectively improve the ease of operation of smart devices, reduce the operation latency of smart devices, and improve the user experience.

[0005] To achieve the above objectives, one aspect of this application proposes a smart device control method based on a soft bus, the method comprising the following steps: Obtain the preset fiber optic network system of the area where the smart device is located; Perform the service registration operation of the target soft bus in the preset fiber optic network system; After the service registration operation of the target soft bus is completed, several first intelligent devices perform service registration operations within the controller of the target soft bus; the controller of the target soft bus is integrated into the preset optical fiber network system. The first smart device is located within the local area network of the area where the smart device is located, and the second smart device is obtained. The second smart device is authenticated within the local area network of the area where the smart device is located to obtain the third smart device; Within the local area network of the area where the smart device is located, the interaction process of several third smart devices is controlled through the preset fiber optic network system.

[0006] In some embodiments, the service registration operation for the target soft bus in the preset fiber optic network system includes: Obtain the operating status of the preset fiber optic network system; Based on the operating status, the service of the target soft bus is registered to the preset fiber optic network system.

[0007] In some embodiments, the service registration operation of a plurality of first intelligent devices within the controller of the target soft bus includes: Obtain the development interface toolbox corresponding to the target soft bus; Based on the development interface toolbox, the device functions of the first smart device are physically modeled to obtain a physical function model. The physical function model is registered to the controller of the target soft bus.

[0008] In some embodiments, the step of physically modeling the device functions of the first smart device based on the development interface toolbox to obtain a physical function model includes: Information is extracted from the device functions of the first intelligent device to obtain different types of functional information. Based on the development interface toolbox and the different types of functional information, physical modeling of the device functions of the first smart device is performed to obtain different types of physical function models.

[0009] In some embodiments, the step of searching for the first smart device within the local area network of the area where the smart device is located, and obtaining the second smart device, includes: The system controls the preset fiber optic network to broadcast device discovery messages within the local area network of the area where the smart device is located. The system controls the preset fiber optic network to receive the discovery response command returned by the first intelligent device based on the device discovery message; Based on the discovery response command, the preset fiber optic network system is controlled to send a discovery response confirmation command to the first intelligent device corresponding to the discovery response command. The discovery response confirmation command carries the address information and port information of the preset fiber optic network system. The first smart device that receives the response confirmation command is designated as the second smart device.

[0010] In some embodiments, the process of controlling the interaction of several third smart devices through the preset fiber optic network system within the local area network of the area where the smart device is located includes: Acquire the transmission signal of the third intelligent device; The instance of the third smart device is adjusted within the controller of the target soft bus according to the transmitted signal, the instance being used to characterize the connection relationship between multiple smart devices; Within the local area network of the area where the smart device is located, the interaction process of several third smart devices is adjusted through the preset fiber optic network system control instance.

[0011] In some embodiments, the interaction process of the plurality of third intelligent devices adjusted through the preset fiber optic network system control instance includes: The controller of the target soft bus configures the permissions of the third smart device after instance adjustment; Update the bus policy rules within the controller of the target soft bus according to the permission configuration results; Based on the updated bus policy rules, the interaction process of several third intelligent devices is completed after the preset fiber optic network system control permissions are configured.

[0012] To achieve the above objectives, another aspect of this application provides a smart device control device based on a soft bus, the device comprising: The first module is used to obtain the preset fiber optic network system of the area where the smart device is located; The second module is used to perform service registration operations for the target soft bus in the preset fiber optic network system. The second module is used to determine that after the service registration operation of the target soft bus is completed, a number of first intelligent devices are registered within the controller of the target soft bus; the controller of the target soft bus is integrated into the preset optical fiber network system. The third module is used to locate the first smart device within the local area network of the area where the smart device is located, and to obtain the second smart device. The fourth module is used to authenticate the second smart device within the local area network of the area where the smart device is located, so as to obtain the third smart device; The fifth module is used to control the interaction process of several third smart devices within the local area network of the area where the smart device is located, through the preset fiber optic network system.

[0013] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.

[0014] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.

[0015] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer program product, including a computer program that, when executed by a processor, implements the aforementioned method.

[0016] The embodiments of this application include at least the following beneficial effects: This application provides a smart device control method and related equipment based on a soft bus. This scheme obtains a preset fiber optic network system for the area where the smart device is located, performs a service registration operation on the target soft bus within the preset fiber optic network system, enabling the target soft bus to establish a legitimate association with the preset fiber optic network system. After the service registration operation of the target soft bus is completed, several first smart devices are registered within the controller of the target soft bus, enabling the first smart devices to establish a legitimate association with the target soft bus. Then, the first smart device is searched for within the local area network (LAN) of the smart device's area to obtain a second smart device. After device authentication of the second smart device within the LAN of the smart device's area, a third smart device is obtained, enabling the third device to accurately access the preset fiber optic network system. Then, within the LAN of the smart device's area, the interaction process of several third smart devices is controlled through the preset fiber optic network system. Therefore, the interaction process of multiple smart devices can be completed without relying on the public network, effectively improving the convenience of smart device operation, reducing the operation latency of smart devices, and improving the user experience. Attached Figure Description

[0017] Figure 1 This is a flowchart of a smart device control method based on a soft bus provided in an embodiment of this application; Figure 2 This is a flowchart of a service registration operation for a target soft bus in a preset fiber optic network system, provided in an embodiment of this application. Figure 3 This is a flowchart of a service registration operation for several first intelligent devices within the controller of a target soft bus, provided in an embodiment of this application. Figure 4 This is a flowchart illustrating how a physical function model is obtained by physically modeling the device functions of a first intelligent device based on a development interface toolkit, as provided in this application embodiment. Figure 5 This is a flowchart provided in an embodiment of the present application for finding a second smart device by searching for a first smart device within the local area network of the area where the smart device is located; Figure 6 This is a flowchart of the interaction process for controlling a smart device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the interaction scenario provided in the embodiments of this application; Figure 8This is an application flowchart of the intelligent device control method based on a soft bus provided in the embodiments of this application; Figure 9 This is a schematic diagram of the structure of a smart device control device based on a soft bus provided in an embodiment of this application; Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0019] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0020] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0022] Before providing a detailed description of the embodiments of this application, some of the nouns and terms used in the embodiments of this application will be explained first. The nouns and terms used in the embodiments of this application shall be interpreted as follows: FTTR (Fiber to the Room) is a new type of fiber optic broadband access technology that brings fiber optic cables directly into every room of a home or office, replacing traditional network cable connections to provide high-speed, stable internet service. FTTR uses a combination of a main optical modem (gateway + router) and a secondary optical modem (router), with devices connected via fiber optic cables. Combined with technologies such as Wi-Fi 6, it achieves high-speed network coverage throughout the entire house without dead zones.

[0023] A soft bus is a virtual communication mechanism that simulates the functions of a hardware bus through software. It is mainly used to realize data transmission and system collaboration between devices. The soft bus simulates the communication functions of a hardware bus through software protocols and data structures, enabling data transmission and resource sharing between devices without physical connections, thus simplifying system complexity and enhancing flexibility.

[0024] The Bus Software Development Kit (SDK) is a set of tools designed for bus communication scenarios. It encapsulates complex logic such as underlying bus protocols (e.g., CAN, LIN, MQTT, CoAP), network management, data transmission, device authentication, and message routing, providing developers with simplified development interfaces so that they can quickly implement bus communication functions between devices or systems without having to worry about the underlying communication details (e.g., socket programming, protocol parsing, error retries).

[0025] Device registration is a crucial process for establishing a legitimate association between devices and management systems (such as IoT platforms, operating systems, and government regulatory systems). It involves collecting unique device identifiers and keys, incorporating them into the system's management list, and enabling functions such as identity authentication, status monitoring, and access control. While the specific content and process of device registration may vary depending on the scenario, the core objective is to ensure that devices can be recognized by the system, securely accessed, and used in a standardized manner.

[0026] DBUS is an open-source message bus system provided by the FreeDesktop project. It is mainly used to connect applications and kernel services to achieve cross-process communication. DBUS is designed to provide an efficient, low-latency communication interface by encapsulating underlying communication mechanisms (such as sockets).

[0027] In related technologies, with the continuous development of smart home devices, the number of smart devices throughout the house is increasing, such as smart appliances, cameras, video doorbells, and speakers. Current technologies often use cloud-side interfaces for centralized management and control of smart devices. However, the native data from various smart device manufacturers is closed, requiring a smart home app to connect to each manufacturer via a cloud interface before controlling the devices' operation. However, the cloud interface relies on the public internet; when the public internet fails, the smart home app cannot control the devices, and the significant latency of cloud-based operations leads to a poor user experience. Furthermore, the closed nature of native data from different manufacturers and the lack of a unified interface complicate the operation of various smart devices, reducing user convenience and resulting in a poor user experience.

[0028] In view of this, this application provides a smart device control method and related equipment based on a soft bus. This scheme uses a soft bus and a preset fiber optic network system to realize the interactive control process of smart devices, thereby effectively improving the convenience of smart device operation, reducing the operation latency of smart devices, and improving the user experience.

[0029] The intelligent device control method based on a soft bus provided in this application relates to the field of intelligent control technology. This method can be applied to a terminal, a server, or software running on either a terminal or a server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited thereto. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the intelligent device control method based on a soft bus, but is not limited to the above forms.

[0030] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0031] It should be noted that in all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirection to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments acquired.

[0032] The embodiments of this application will be described in detail below with reference to the accompanying drawings: Figure 1 This is an optional flowchart of the intelligent device control method based on a soft bus provided in the embodiments of this application. Figure 1 The method may include, but is not limited to, steps S110 to S160: Step S110: Obtain the preset fiber optic network system of the area where the smart device is located; Step S120: Perform the service registration operation of the target soft bus in the preset fiber optic network system; Step S130: After the service registration operation of the target soft bus is completed, several first intelligent devices are registered in the controller of the target soft bus; wherein, the controller of the target soft bus is integrated in the preset optical fiber network system. Step S140: Locate the first smart device within the local area network of the area where the smart device is located, and obtain the second smart device; Step S150: Authenticate the second smart device within the local area network of the area where the smart device is located to obtain the third smart device; Step S160: Within the local area network of the area where the smart device is located, control the interaction process of several third smart devices through a preset fiber optic network system.

[0033] It is understood that the area where the smart device is located can be defined by a family residence or by an apartment building. When the area where the smart device is located is defined by a family residence, the method of this embodiment can be to interactively control all smart devices within that family residence; when the area where the smart device is located is defined by an apartment building, the method of this embodiment can be to interactively control all smart devices within that apartment building.

[0034] The pre-configured fiber optic network system in this embodiment can be a gigabit network system formed using FTTR technology. In this embodiment, fiber optic cables are pre-extended from the communication base station to the area where the smart devices are located, thus eliminating the need for network cable connections and providing high-speed, stable internet service. The target soft bus in this embodiment is used to enable data transmission and system collaboration among all smart devices within the area where the smart devices are located.

[0035] Understandably, when intelligent control of smart devices within a certain area is required, this embodiment first registers the target soft bus service with the preset fiber optic network system, and integrates the target soft bus controller within the preset fiber optic network system, thereby establishing a legitimate association between the target soft bus controller and the preset fiber optic network system. The controller in this embodiment is used to control the execution process of the target soft bus.

[0036] It is understandable that, such as Figure 2 As shown, the process of performing a service registration operation for the target soft bus in a preset fiber optic network system includes, but is not limited to, steps S210 to S220: Step S210: Obtain the working status of the preset fiber optic network system; Step S220: Register the target soft bus service to the preset fiber optic network system according to the working status.

[0037] Specifically, the operating states of the preset fiber optic network system in this embodiment include, but are not limited to, an active state and a shutdown state. When the preset fiber optic network system is in the shutdown state, it cannot receive or send external data. When the preset fiber optic network system is in the active state, it can receive or send data. Therefore, this embodiment establishes a legitimate association between the target soft bus and the preset fiber optic network system by registering the target soft bus service to the preset fiber optic network system when it is determined that the preset fiber optic network system is in the active state. This allows the preset fiber optic network system to control the execution state of the target soft bus.

[0038] It is understood that in this embodiment, after completing the service registration of the target soft bus within the preset fiber optic network system, the controller of the target soft bus is integrated into the preset fiber optic network system. Then, service registration operations for several first intelligent devices are performed within the controller of the target soft bus. Specifically, the intelligent devices in the area where the intelligent devices are located may be one first intelligent device or multiple first intelligent devices. During each registration process of the intelligent devices, one first intelligent device or multiple first intelligent devices may be registered simultaneously. In this embodiment, the first intelligent device may execute the intelligent operation process independently or interact with other first intelligent devices to execute the intelligent operation process. Since the first intelligent device can only perform data interaction operations after entering the startup state, this embodiment, after determining that the first intelligent device is in the startup state, registers the service of the first intelligent device that needs to interact with other first intelligent devices to the controller of the target soft bus, thereby establishing a legitimate association between the first intelligent device and the controller of the target soft bus, and indirectly establishing a legitimate association between the first intelligent device and the preset fiber optic network system.

[0039] It is understandable that, such as Figure 3 As shown, this embodiment describes the process of performing service registration operations for several first intelligent devices within the controller of the target soft bus, including but not limited to steps S310 to S330: Step S310: Obtain the development interface toolbox corresponding to the target soft bus; Step S320: Based on the development interface toolbox, perform physical modeling of the device functions of the first intelligent device to obtain a physical function model; Step S330: Register the physical function model into the controller of the target soft bus.

[0040] Specifically, the development interface toolbox in this embodiment can be the SDK of the target soft bus. The SDK includes information such as a compiler, debugger, API interface, documentation, sample code, library files, or utilities. This embodiment uses the development interface toolbox as a basis to physically model the device functions of the first intelligent device, thereby obtaining a physical functional model that can simulate the working process of the first intelligent device. The device functions in this embodiment include, but are not limited to, playing music, communicating with other first intelligent devices, and playing weather forecasts. It can be understood that this embodiment analyzes the individual device functions of each first intelligent device, uses the development interface toolbox as a basis, physically models various device functions of each first intelligent device, and then registers all physical functional models into the controller of the target soft bus. This establishes a legal association between the various device functions of the first intelligent device and the corresponding controller of the target soft bus, thereby realizing the local control process of the first intelligent device and the control process between the first intelligent devices through a preset fiber optic network system.

[0041] It is understandable that, such as Figure 4 As shown, this embodiment describes the process of obtaining a physical function model by physically modeling the device functions of the first intelligent device based on the development interface toolbox, including but not limited to steps S410 to S420: Step S410: Extract information about the device functions of the first smart device to obtain different types of functional information; Step S420: Based on the development interface toolbox and different types of functional information, perform physical modeling of the device functions of the first intelligent device to obtain different types of physical function models.

[0042] Specifically, the device functions in this embodiment may include, but are not limited to, attribute functions, method functions, or signal functions. Different functions are described by different descriptive function information. For example, as shown in Table 1, in the description information of attribute functions, the function of the accelerometer in the first intelligent device is defined by the attribute name "Accelrometer", and the function of the gyroscope in the first intelligent device is defined by the attribute name "Gyroscope".

[0043] Table 1

[0044] As shown in Table 2, in the method function description, the method name "SetTimer(IN UINT32 seconds,out UINT32 result, out STRING failreason)" is used to set the timer's timing process, timeout time, and the process of sending a signal to activate speaker linkage after the time expires; the method name "SetStyle(UINT32 style, outUINT32 result, out STRING failreason)" is used to set the clock appearance, such as 1 representing a circle, 2 representing a square, etc.; the method name "Music()" is used to control the pause, play, previous or next track functions during the display of the playback interface (speaker linkage).

[0045] Table 2

[0046] As shown in Table 3, during the signal function description process, the signal parameter is set to the watch appearance using the name "Action(STRING type)".

[0047] Table 3

[0048] It is understood that, in this embodiment, after registering the attribute functions, signal functions, and interface functions of the first smart device, the system searches for the first smart device within the local area network of the area where the smart device is located, and then uses the successfully registered first smart device as the second smart device. Specifically, as follows... Figure 5 As shown, the process of finding the second smart device by searching for the first smart device within the local area network of the area where the smart device is located includes, but is not limited to, steps S510 to S540: Step S510: Control the preset fiber optic network system to broadcast the device discovery message in the local area network of the area where the smart device is located; Step S520: Control the preset fiber optic network system to receive the discovery response command returned by the first intelligent device based on the device discovery message; Step S530: Based on the discovery response command, control the preset fiber optic network system to send a discovery response confirmation command to the first intelligent device corresponding to the discovery response command, wherein the discovery response confirmation command carries the address information and port information of the preset fiber optic network system; Step S540: The first smart device that receives the response confirmation command is designated as the second smart device.

[0049] Specifically, in this embodiment, after the registration process of the first intelligent device, multiple first intelligent devices may have completed the registration operation. When multiple first intelligent devices register within the same area, they may interfere with each other, leading to registration failures for some devices. Furthermore, since adjacent intelligent devices are often located close to each other in real-world scenarios, registration may occur in adjacent areas. Therefore, after completing the registration of the first intelligent device, this embodiment broadcasts a device discovery message within the local area network of the intelligent device's location through a preset fiber optic network system. Only the corresponding first intelligent device can receive this message and return a discovery response command to the preset fiber optic network system based on it. The preset fiber optic network system then sends a response confirmation command to the first intelligent devices within the same area based on this response command. When the corresponding first intelligent device receives the response confirmation command, it is designated as the second intelligent device, thus establishing a legitimate association between the second intelligent device and the preset fiber optic network system. This allows for local control of the intelligent devices or control between intelligent devices using the target soft bus within the preset fiber optic network system.

[0050] It is understood that after identifying the second intelligent device with a legitimate association with the preset fiber optic network system, this embodiment will also perform authentication operations on all second intelligent devices. Specifically, this embodiment can perform device authentication operations using device keys. For example, when the preset fiber optic network system sends a device key authentication command to all second intelligent devices via the target soft bus, the second intelligent device analyzes whether the key and certificate in the device key authentication command are correct, and returns a device authentication response command to the preset fiber optic network system via the target soft bus, based on the verification result of the key and certificate written in the device authentication response command. Specifically, this verification result includes whether all services in the second intelligent device are registered in the target soft bus of the preset fiber optic network system, whether some services are registered in the target soft bus of the preset fiber optic network system, or whether no services are registered in the target soft bus of the preset fiber optic network system. The preset fiber optic network system can only implement the authenticated service functions in the second intelligent device through the target soft bus, thereby effectively improving the interaction security of the second intelligent device.

[0051] It is understood that, after completing the authentication operation for the service corresponding to the second smart device, this embodiment controls the interaction process of several third smart devices within the local area network of the smart device's location through a preset fiber optic network system. Specifically, as shown... Figure 6 As shown, the interaction process for controlling the smart device includes, but is not limited to, steps S610 to S630: Step S610: Obtain the transmission signal of the third smart device; Step S620: Adjust the instance of the third smart device in the controller of the target soft bus according to the transmitted signal, wherein the instance is used to characterize the connection relationship between multiple smart devices; Step S630: Within the local area network of the area where the smart device is located, the interaction process of several third smart devices is adjusted through the preset fiber optic network system control instance.

[0052] It is understood that the third intelligent device in this embodiment is the second intelligent device corresponding to a service that has passed authentication. The transmission signal of the third intelligent device is used to characterize the service that the third intelligent terminal currently needs to run. After receiving the transmission signal, the controller of the target soft bus can analyze the services that need to be registered or services that need to be deleted in the current third intelligent device through the transmission signal, and add or delete the instances corresponding to the services, thereby improving the accuracy and security of the controller in controlling the working state of the third intelligent device.

[0053] It is understood that, after completing the adjustment process for the corresponding instance of the third intelligent device, this embodiment configures the permissions of the adjusted third intelligent device through the controller of the target soft bus, updates the bus policy rules within the controller of the target soft bus according to the permission configuration results, and, based on the updated bus policy rules, controls the interaction process of several third intelligent devices after the permission configuration is completed through a preset fiber optic network system. Specifically, in this embodiment, the bus policy rules are stored in encrypted form in the controller of the target soft bus, and the corresponding key needs to be provided by the corresponding third intelligent device, thereby improving the accuracy of the bus policy rules within the controller of the target soft bus. In this embodiment, each third intelligent device is only allowed to access the interface defined in the bus policy rules, which is used to realize data interaction between different intelligent devices. Therefore, this embodiment limits the interaction process of the third intelligent devices through bus policy rules, thereby improving the accuracy of linkage between different third intelligent devices.

[0054] In this embodiment of the application, the method can be applied to Figure 7 The control process of the interactive scenario shown. Figure 7 In this system, a smart home app can interact with smart devices through a pre-set Fiber to the Reach (FTTR) network system. The FTTR network system integrates a controller for the target soft bus. In this embodiment, the FTTR network system controls the data interaction of smart devices by controlling the operating state of the target soft bus through the controller, thereby controlling the data interaction of the smart devices.

[0055] by Figure 7 Taking the scenario shown as an example, such as Figure 8As shown, during the application of the method in this embodiment, it includes but is not limited to: Step 1: After determining that the FTTR all-optical network system is started, perform service registration operations for the target soft bus.

[0056] Step 2: After determining that the intelligent sub-device is started, according to the soft bus SDK, perform soft bus service registration for the intelligent sub-device, including but not limited to service registration of the attributes, signals, interfaces, etc. of the intelligent sub-device; the intelligent sub-devices in this embodiment include watches and speakers.

[0057] Step 3: The FTTR all-optical network system discovers intelligent sub-devices within the local area network where the intelligent sub-devices are located through broadcast messages, and the intelligent sub-devices obtain the FTTR all-optical network device server address information and port information through interactive responses.

[0058] Step 4: The controller of the target soft bus and the intelligent sub-device perform device authentication, and the forms include keys and certificates, etc.

[0059] Step 5: The controller of the target soft bus performs service proxy and control permission settings on the intelligent sub-device. After the settings, the encrypted bus policy rules on the controller of the target soft bus will be updated. Only interfaces that conform to the bus policy rules are allowed to be accessed between intelligent sub-devices, and the manipulation of intelligent devices and the linkage between intelligent devices are achieved through the bus policy rules. Exemplarily, the intelligent sub-device watch in this embodiment has access control permissions for the intelligent sub-device speaker.

[0060] Step 6: The intelligent sub-device watch performs linkage control on the intelligent sub-device speaker through the target soft bus registered within the preset fiber optic network system. Exemplarily, the intelligent sub-device watch has the ability to access the physical function model of the speaker, such as linkage functions such as controlling the speaker to play music, pause music, play the next song, play the previous song, etc.

[0061] From the above content, it can be seen that the method of network configuration in this embodiment connects the services of the soft bus into the FTTR all-optical network system, registers the services of intelligent devices into the soft bus, and after the controller of the soft bus discovers intelligent devices through broadcasting, the user can control multiple intelligent devices locally through the soft bus controller within the FTTR all-optical network system, thereby reducing the operation delay of intelligent devices; at the same time, the controller of the soft bus also performs permission settings on intelligent devices, allowing linkage operations between intelligent devices, thereby improving the convenience of intelligent device operations and further improving the user experience.

[0062] Please refer to Figure 9 , this application embodiment also provides an intelligent device control device based on a soft bus. The device includes: The first module is used to obtain the preset fiber optic network system in the area where the intelligent device is located; The second module is used to perform service registration operations for the target soft bus in the preset fiber optic network system. The second module is used to determine that after the service registration operation of the target soft bus is completed, the service registration operation of several first intelligent devices is performed in the controller of the target soft bus; wherein, the controller of the target soft bus is integrated into the preset optical fiber network system; The third module is used to locate the first smart device within the local area network of the area where the smart device is located, and then obtain the second smart device. The fourth module is used to authenticate the second smart device within the local area network of the area where the smart device is located, so as to obtain the third smart device; The fifth module is used to control the interaction process of several third-party intelligent devices within the local area network of the area where the intelligent device is located, through a preset fiber optic network system.

[0063] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0064] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0065] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0066] Please see Figure 10 , Figure 10 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 1020 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010 using the methods described in the embodiments of this application. The input / output interface 1030 is used to implement information input and output; The communication interface 1040 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 1050 transmits information between various components of the device (e.g., processor 1010, memory 1020, input / output interface 1030, and communication interface 1040); The processor 1010, memory 1020, input / output interface 1030 and communication interface 1040 are connected to each other within the device via bus 1050.

[0067] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0068] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0069] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0070] It is understood that the content of the above method embodiments is applicable to the embodiments of this program product. The specific functions implemented by the embodiments of this program product are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0071] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0072] This application provides a method and related equipment for controlling intelligent devices based on a soft bus. After obtaining a preset fiber optic network system for the area where the intelligent device is located, a service registration operation for a target soft bus is performed within the preset fiber optic network system. This allows the target soft bus to establish a legitimate association with the preset fiber optic network system. After the service registration operation for the target soft bus is completed, service registration operations for several first intelligent devices are performed within the controller of the target soft bus. This allows the first intelligent devices to establish a legitimate association with the target soft bus. Then, the first intelligent devices are located within the local area network (LAN) of the area where the intelligent device is located. After obtaining a second intelligent device, device authentication is performed on the second intelligent device within the LAN of the area where the intelligent device is located to obtain a third intelligent device. This allows the third device to accurately access the preset fiber optic network system. Then, within the LAN of the area where the intelligent device is located, the interaction process of several third intelligent devices is controlled through the preset fiber optic network system. This allows the interaction process of multiple intelligent devices to be completed without relying on the public network, effectively improving the convenience of intelligent device operation, reducing the operation latency of intelligent devices, and improving the user experience.

[0073] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0074] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0075] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0076] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0077] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0078] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0079] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0080] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0081] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0082] If the integrated unit is implemented as 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 this application, in essence, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0083] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A soft bus-based intelligent device control method, characterized in that, The method comprises the following steps: acquire the preset optical fiber full network system in the area where the intelligent device is located; perform service registration operation of the target soft bus in the preset optical fiber full network system; determine the service registration operation of the target soft bus is completed, and perform service registration operation of a plurality of first intelligent devices in the controller of the target soft bus; the controller of the target soft bus is integrated in the preset optical fiber full network system; find the first intelligent device in the local area network in the area where the intelligent device is located, and obtain a second intelligent device; perform device authentication on the second intelligent device in the local area network in the area where the intelligent device is located, and obtain a third intelligent device; control the interaction process of a plurality of third intelligent devices in the local area network in the area where the intelligent device is located through the preset optical fiber full network system.

2. The method of claim 1, wherein, The service registration operation of the target soft bus in the preset optical fiber full network system comprises: acquire the working state of the preset optical fiber full network system; register the service of the target soft bus into the preset optical fiber full network system according to the working state.

3. The method of claim 1, wherein, The service registration operation of a plurality of first intelligent devices in the controller of the target soft bus comprises: acquire the development interface tool box corresponding to the target soft bus; based on the development interface tool box, perform physical modeling on the device function of the first intelligent device to obtain a physical function model; register the physical function model into the controller of the target soft bus.

4. The method of claim 3, wherein, The physical modeling on the device function of the first intelligent device based on the development interface tool box to obtain a physical function model comprises: perform information extraction on the device function of the first intelligent device to obtain different types of function information; based on the development interface tool box and the different types of function information, perform physical modeling on the device function of the first intelligent device to obtain different types of physical function models.

5. The method of claim 1, wherein, The finding of the first intelligent device in the local area network in the area where the intelligent device is located to obtain a second intelligent device comprises: control the preset optical fiber full network system to broadcast device discovery packets in the local area network in the area where the intelligent device is located; control the preset optical fiber full network system to receive discovery response instructions returned by the first intelligent device based on the device discovery packets; based on the discovery response instructions, control the preset optical fiber full network system to send discovery response confirmation instructions to the first intelligent device corresponding to the discovery response instructions, wherein the discovery response confirmation instructions carry address information and port information of the preset optical fiber full network system; the first intelligent device receiving the response confirmation instructions is taken as the second intelligent device.

6. The method of claim 1, wherein, The control of the interaction process of a plurality of third intelligent devices in the local area network in the area where the intelligent device is located through the preset optical fiber full network system comprises: acquire the transmission signal of the third intelligent device; adjust the instance of the third intelligent device in the controller of the target soft bus according to the transmission signal, wherein the instance is used to represent the connection relationship between a plurality of intelligent devices; The third intelligent devices are controlled by the preset optical fiber full-network system control instance to adjust the interaction process.

7. The method of claim 6, wherein, The interaction process of the third intelligent devices controlled by the preset optical fiber full-network system control instance to adjust is as follows: The third intelligent devices adjusted by the instance are configured with permissions by the controller of the target soft bus; Bus strategy rules in the controller of the target soft bus are updated according to the permission configuration result; Based on the updated bus strategy rules, the interaction process of the third intelligent devices configured with permissions is controlled by the preset optical fiber full-network system.

8. A soft bus-based intelligent device control apparatus, characterized by comprising: The apparatus comprises: A first module is configured to acquire a preset optical fiber full-network system in a region where an intelligent device is located; A second module is configured to perform a service registration operation of a target soft bus in the preset optical fiber full-network system; A second module is configured to determine, after the service registration operation of the target soft bus is completed, to perform a service registration operation of a plurality of first intelligent devices in a controller of the target soft bus, wherein the controller of the target soft bus is integrated in the preset optical fiber full-network system; A third module is configured to search for the first intelligent devices in a local area network in the region where the intelligent device is located, and obtain second intelligent devices; A fourth module is configured to perform device authentication on the second intelligent devices in the local area network in the region where the intelligent device is located, and obtain third intelligent devices; A fifth module is configured to control the interaction process of the third intelligent devices in the local area network in the region where the intelligent device is located by the preset optical fiber full-network system.

9. An electronic device, comprising: Comprise: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method of any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method of any one of claims 1 to 7.