Equipment networking method and device, terminal and computer readable storage medium
By loading the device identification on the networking application interface and performing a click or drag operation, the soft bus networking of the device is realized, which solves the problem of low efficiency caused by the numerous networking steps in the existing technology and improves the networking efficiency.
Patent Information
- Application Number
- CN202410928860.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-08
AI Technical Summary
In the prior art, multiple steps are required to configure and network the discovered devices, resulting in low network efficiency.
By displaying the networking application interface, including the machine identification, networking area and discovery area, if a device in the same LAN as the machine is found, the device identification is loaded, and soft bus networking is implemented by clicking or dragging to obtain the network The configuration information and PIN code information are authenticated to complete the networking.
It simplifies the networking process and improves the networking efficiency, allowing users to realize device distribution and networking by clicking or dragging on the networking application interface.
Smart Images

Figure CN118748638A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of networking technology, and in particular to a device networking method, device, terminal and computer-readable storage medium. Background Art
[0002] With the development of science and technology, networking and configuration between IoT devices has become very important. When any device with a screen does not form a soft bus network, it can configure and network the devices it discovers. However, in the prior art, multiple steps are required to configure and network the discovered devices, and the networking efficiency is low.
[0003] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention
[0004] The present application provides a device networking method, apparatus, terminal and computer-readable storage medium to solve the technical problem in the related art that multiple steps are required to perform networking for discovered devices, resulting in low networking efficiency.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] A device networking method, wherein the method comprises:
[0007] Displaying a networking application interface, the networking application interface including a local identification, a networking area, and a discovery area;
[0008] If several devices in the same local area network as the local area network of the machine are found, the corresponding device identifications are loaded and the several device identifications are displayed in the discovery area;
[0009] When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, a soft bus networking is performed between the local device and the target device;
[0010] When the networking is successful, the device identification of the target device is displayed in the networking area.
[0011] In one embodiment of the present application, when a click operation on a target device or a drag event of dragging a device identifier of a target device to a networking area is detected, a soft bus networking is performed between the local device and the target device, including:
[0012] When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the network configuration information is obtained;
[0013] Sending the network configuration information to the target device so that the target device automatically connects to the machine;
[0014] Acquire network configuration information, and send the network configuration information to the target device so that the target device is connected to the wireless access point;
[0015] Obtaining local PIN code information and sending the local PIN code information to the target device for authentication;
[0016] After the authentication is passed, the soft bus networking between this machine and the target device is completed.
[0017] In one embodiment of the present application, when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, acquiring the network configuration information includes:
[0018] When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the number of currently networked devices is determined;
[0019] If the number of currently networked devices is less than or equal to the preset threshold, the network configuration information is obtained.
[0020] In one embodiment of the present application, when the networking is successful, after displaying the device identification of the target device in the networking area, the method further includes:
[0021] If the target device has the atomic service function, the atomic service of the target device is automatically loaded and installed, and the atomic service of the target device is presented in the atomic service center;
[0022] After the atomic service installation of the target device is completed, if a click event on the device identifier of the target device is detected, the atomic service interface of the target device is displayed.
[0023] In one embodiment of the present application, when the networking is successful, after displaying the device identification of the target device in the networking area, the method further includes:
[0024] If the target device is disconnected from the network or powered off, the device identification of the target device is deleted in the networking application interface.
[0025] In one embodiment of the present application, the device networking method further includes:
[0026] When a click operation on the device identification of a networked device or a drag event of dragging the device identification of a networked device to a discovery area is detected, the networked device is withdrawn from soft bus networking and the network configuration information of the networked device is retained.
[0027] In one embodiment of the present application, the networking application interface has a one-key disband function key; the device networking method further includes:
[0028] When a click event of the one-key dismissal function key is received, all networked devices in the networking area are moved to a discovery area.
[0029] The present application also provides a device networking apparatus, wherein the apparatus comprises:
[0030] An interface display module, used to display a networking application interface, wherein the networking application interface includes a local identification, a networking area, and a discovery area;
[0031] A device loading module, for loading corresponding device identifications if a number of devices in the same local area network as the local area network of the local area network is found, and displaying the device identifications in the discovery area;
[0032] A networking module, used for performing soft bus networking between the local machine and the target device when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected;
[0033] The device display module is used to display the device identification of the target device in the networking area when the networking is successful.
[0034] The present application also provides a terminal, including: a memory, a processor, and a device networking program stored in the memory and executable on the processor, wherein the device networking program implements the steps of the device networking method described above when executed by the processor.
[0035] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program can be executed to implement the steps of the device networking method as described above.
[0036] Beneficial effects of the present invention: The method of the embodiment of the present invention displays a networking application interface, which includes a local device identifier, a networking area, and a discovery area; if several devices in the same local area network as the local device are found, the corresponding device identifiers are loaded, and the several device identifiers are displayed in the discovery area; when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the local device and the target device are networked by a soft bus; when the networking is successful, the device identifier of the target device is displayed in the networking area. This application improves networking efficiency by displaying a networking application interface, and clicking or dragging operations on the networking application interface can be performed to configure networking for the discovered devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of a preferred embodiment of the device networking method in the present invention.
[0038] Figure 2 It is a schematic diagram of the networking application interface of a preferred embodiment of the device networking apparatus in the present invention.
[0039] Figure 3 It is a functional principle block diagram of a preferred embodiment of the device networking apparatus in the present invention.
[0040] Figure 4 It is a functional principle block diagram of a preferred embodiment of the terminal in the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0042] The following describes the device networking method, apparatus, terminal and computer-readable storage medium of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the related technology mentioned in the above background technology requires multiple steps to perform networking for the discovered devices, and the networking efficiency is low, the present application provides a device networking method, in which a networking application interface is displayed, and the networking application interface includes a local identification, a networking area and a discovery area; if several devices in the same local area network as the local device are found, the corresponding device identification is loaded, and the several device identifications are displayed in the discovery area; when a click operation on the target device or a drag event of dragging the device identification of the target device to the networking area is detected, the local device and the target device are soft-bus networked; when the networking is successful, the device identification of the target device is displayed in the networking area. The present application improves the networking efficiency by displaying the networking application interface, and clicking or dragging on the networking application interface can perform networking for the discovered devices.
[0043] See also Figure 1 The device networking method described in the embodiment of the present invention comprises the following steps:
[0044] Step S100: displaying a networking application interface, wherein the networking application interface includes a local identification, a networking area, and a discovery area.
[0045] Specifically, this machine is the central device, and other devices with a networking application interface can also serve as central devices. Devices without a networking application interface cannot serve as central devices.
[0046] For example, swipe down on the desktop with one finger to call out the networking application interface, and the Galaxy Network icon is not displayed on the desktop. Figure 2As shown in the figure, the interface includes the local icon, networking area and discovery area. The local icon is the local identification. When encountering a new type that cannot be recognized, the default "unknown device" icon is displayed. The name of the icon can be the device name + the last four digits of the device ID. The device name changes with the change of the name, and the device ID uses the SN number.
[0047] In addition, you can set the networking area to a circular area, evenly distributing the discovered devices in a circle. It also supports outward expansion to display the discovered devices in a second outer circle. For example, 10 device identifiers are evenly distributed in the first circle and 10 device identifiers are evenly distributed in the second outer circle.
[0048] like Figure 1 As shown, the device networking method also includes the following steps:
[0049] Step S200: If several devices in the same local area network as the local area network of the local area network are found, the corresponding device identifications are loaded and the several device identifications are displayed in the discovery area.
[0050] Specifically, the discovery function of devices with screens can be to cold-start the galaxy network, automatically turn on the Bluetooth switch, scan nearby devices, and if the device is not connected to the network via WiFi at this time, turn on the AP hotspot of this device. The discovery function of screenless devices (such as robots / L2 controllers, etc.) turns on Bluetooth by default when powered on, and remains in the network-to-be-configured state regardless of the network-to-be-configured state. When the device to be configured is in the discovery stage, when the main device galaxy network application is hot / cold started, the information of nearby devices needs to be refreshed. For screenless devices, default Bluetooth discovery is performed based on product performance, and special products are defined independently.
[0051] The embodiment of the present application also supports the fusion discovery of Bluetooth soft bus and COAP protocol. Specifically, when the Bluetooth function of the device to be configured is turned on, Bluetooth soft bus discovery is preferentially supported; if the Bluetooth of the device to be discovered is not enabled, and the device to be networked is already connected to the same router network, it can be discovered through WIFI or ETH; if the Bluetooth of the device to be discovered is not enabled, and the device to be networked is not connected to the same router network through ETH or WiFi, the device cannot be discovered. At the same time, if the same device is discovered through different channels, only one device logo is displayed in the discovery circle.
[0052] The embodiment of the present application loads discovered devices in real time (e.g., every 15 seconds) as the discovered devices are discovered. When displaying discovered device icons in the discovery area, the device order can be set, for example, starting from the 12 o'clock position and displaying them clockwise. The device distribution form can also be set, for example, the number of discovered devices is evenly distributed in a circle, and when there is only one, it is displayed at the 12 o'clock position. The number of a circle can be set by yourself.
[0053] like Figure 1As shown, the device networking method also includes the following steps:
[0054] Step S300: When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, a soft bus networking is performed between the local device and the target device.
[0055] In the embodiment of the present application, the step S300 specifically includes:
[0056] Step S310: when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, network configuration information is acquired;
[0057] Step S320, sending the network configuration information to the target device so that the target device automatically connects to the local device;
[0058] Step S330: acquiring network configuration information, and sending the network configuration information to the target device, so that the target device is connected to the wireless access point;
[0059] Step S340, obtaining local PIN code information, and sending the local PIN code information to the target device for authentication;
[0060] Step S350: After the authentication is passed, the soft bus networking between the local device and the target device is completed.
[0061] Specifically, the user drags a discovered device to the networking area, and the machine automatically sends the network configuration information and soft bus networking information to the device. After the device is connected to the machine, it automatically forms a soft bus network with the machine. When dragging, the range of entering the networking area is based on entering the networking area from the center of the device's circular icon. If the device to be configured does not have Wi-Fi turned on, the Wi-Fi connection hotspot will be automatically turned on after receiving the network configuration information. After receiving the network configuration information, the target device is linked to the wireless access point (AP device), and after passing the local PIN code information verification, the device completes the soft bus networking.
[0062] The embodiment of the present application can configure and network the discovered devices through dragging operations, thereby improving networking efficiency.
[0063] In the embodiment of the present application, the step S310 specifically includes:
[0064] Step S311: when a click operation on a target device or a drag event of dragging a device identifier of a target device to a networking area is detected, the number of currently networked devices is determined;
[0065] Step S312: If the number of currently networked devices is less than or equal to a preset threshold, network configuration information is obtained.
[0066] The step S311 also includes: if the number of currently networked devices is greater than a preset threshold, the networking fails, and a prompt is issued that the number of networked devices has exceeded the upper limit.
[0067] The embodiment of the present application also sets an upper limit on the number of networking devices. If the upper limit is not exceeded, the networking can be normal. If the upper limit is exceeded, the networking fails. This ensures that each device can obtain sufficient bandwidth resources, avoiding bandwidth congestion caused by too many devices. Each device can enjoy faster speed and lower delay when transmitting data. In addition, it can enhance network stability and improve security.
[0068] like Figure 1 As shown, the device networking method also includes the following steps:
[0069] Step S400: When the networking is successful, the device identification of the target device is displayed in the networking area.
[0070] Specifically, the identification of the networked devices will be displayed in the networking area. If multiple devices are found, the user can drag them one by one as needed to achieve automatic networking.
[0071] In the embodiment of the present application, after step S400, the following steps are further included:
[0072] If the target device has the atomic service function, the atomic service of the target device is automatically loaded and installed, and the atomic service of the target device is presented in the atomic service center;
[0073] After the atomic service installation of the target device is completed, if a click event on the device identifier of the target device is detected, the atomic service interface of the target device is displayed.
[0074] Specifically, atomic services are a future-oriented service delivery method provided by HarmonyOS, which has a series of unique features and advantages. Atomic services are developed based on the HarmonyOS API and support running on a variety of devices including mobile phones, tablets, wearable devices, etc., for users to use conveniently in appropriate scenarios and on appropriate devices.
[0075] If the local device and the other device have been successfully networked and are online, the atomic service of the device will be automatically loaded and installed. After installation, the atomic service will be presented in the atomic service center. And only robot devices can install the main atomic service, that is, the robot atomic service. Other devices do not have the main atomic service that can be installed immediately. In addition, when the installation action is not completed, switch to operate the networking, use the service or close the application of other devices, and the atomic service installation of the original device will continue. In this way, after the installation is complete, click the device icon to directly use the atomic service and display the corresponding service interface. If you exit the atomic service in use, the page will return to the networking application interface. Different atomic services provide different exit methods. Taking the robot service as an example, click the "Exit" button on the page to exit this atomic service.
[0076] The embodiment of the present application realizes customized expansion of device functions and meets specific business needs by downloading and installing atomic services; through a unified management interface, it realizes integrated management of device network configuration and atomic services, reducing operational complexity.
[0077] In one embodiment of the present application, the step S400 further includes: if the target device is disconnected from the network or powered off, deleting the device identification of the target device in the networking application interface.
[0078] Specifically, if the target device is disconnected from the network or powered off, it can no longer be displayed on the local device, and the local device can no longer operate the device.
[0079] The exit networking method of the embodiment of the present application includes passive exit networking. When an abnormal situation such as device disconnection from the network or power failure occurs, the trusted relationship is retained. When the device is found online again, it will automatically reconnect to the network.
[0080] In an embodiment of the present application, the device networking method also includes: when a click operation on the device identifier of a networked device or a drag event of dragging the device identifier of a networked device to a discovery area is detected, the networked device is exited from the soft bus networking and the network configuration information of the networked device is retained.
[0081] Specifically, the exit networking method of the embodiment of the present application also includes actively exiting the networking. When the user clicks on a networked device or drags a networked device to the discovery area, the device exits the networking. At this time, the trusted relationship is cleared, and the device will not automatically reconnect to the network, but the network configuration information will not be cleared immediately. When the device receives the network configuration information again, if the network configuration information is different, the new network configuration information is used for network configuration.
[0082] The embodiment of the present application completes the network exit operation of a networked device through a dragging operation, which is simple and convenient, and improves the convenience of network exit operation.
[0083] In an embodiment of the present application, the networking application interface has a one-key disband function key; the device networking method also includes: when a click event of the one-key disband function key is received, all networked devices in the networking area are moved to the discovery area.
[0084] Specifically, the embodiment of the present application also provides a one-key disband function key. For example, if there are 10 devices in the soft bus network, if you want to disband the network, the user does not need to manually drag them one by one. Just click the one-key disband function key to disband all the devices. All networked devices in the networking area will be moved to the discovery area.
[0085] The embodiment of the present application further realizes the convenience of exiting the networking by setting a one-key disband function key.
[0086] In addition, for central devices with distributed screens, the embodiments of the present application support the function of displaying the local screen on the other device (i.e., the networked device). For example, in a soft bus network, the "3568A development board" is the central device, and there is a "tablet" in the network. In the 3568A development board interface: drag the 3568A development board to the tablet and stick it to it, then the 3568A development board screen will be displayed on the tablet, and reverse control is supported. Operate the screen of the 3568A development board on the tablet, and detach the 3568A development board icon from the tablet to end the screen projection.
[0087] The embodiment of the present application also supports the function of displaying the desktop of the other device (i.e. the networked device) on the local machine. For example, in the soft bus network, the "3568A development board" is the central device, and there is a "tablet" in the network. In the 3568A development board interface, drag the tablet to the 3568A development board and stick it to the 3568A development board, and the tablet screen will be displayed on the 3568A development board, and reverse control is supported. The screen of the tablet is operated on the 3568A development board. The tablet icon is separated from the 3568A development board to end the screen projection.
[0088] That is to say, when an operation is detected in which the device identifier of a networked device is dragged to overlap with the identifier of this local device, the screen of the networked device will be displayed on this local device, and reverse control will be supported; when an operation is detected in which the identifier of this local device is dragged to overlap with the device identifier of a networked device, the screen of this local device will be displayed on the networked device, and reverse control will be supported.
[0089] In one embodiment, if Figure 3 As shown, based on the above-mentioned device networking method, the present invention also provides a device networking apparatus, including:
[0090] The interface display module 100 is used to display the networking application interface, which includes the local identification, networking area and discovery area;
[0091] The device loading module 200 is used to load corresponding device identifications if several devices in the same local area network as the local area network of the local area network are found, and display the several device identifications in the discovery area;
[0092] The networking module 300 is used to perform soft bus networking between the local device and the target device when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected;
[0093] The device display module 400 is used to display the device identification of the target device in the networking area when the networking is successful.
[0094] In one embodiment of the present application, the networking module 300 includes:
[0095] An information acquisition unit, configured to acquire network configuration information when a click operation on a target device or a drag event of dragging a device identifier of a target device to a networking area is detected;
[0096] An information sending unit, used for sending the network configuration information to a target device so that the target device is automatically connected to the machine;
[0097] An information sending unit, used for acquiring network configuration information and sending the network configuration information to the target device so that the target device is connected to the wireless access point;
[0098] An authentication unit, used to obtain local PIN code information and send the local PIN code information to the target device for authentication;
[0099] The networking unit is used to complete the soft bus networking between the local machine and the target device after the authentication is passed.
[0100] In one embodiment of the present application, the information acquisition unit includes:
[0101] The quantity determination subunit is used to determine the number of currently networked devices when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected;
[0102] The comparison unit is used to obtain network configuration information if the number of currently networked devices is less than or equal to a preset threshold.
[0103] In one embodiment of the present application, the device networking apparatus further includes:
[0104] A service loading module, used for automatically loading and installing the atomic service of the target device if the target device has the atomic service function, and presenting the atomic service of the target device in the atomic service center;
[0105] The service display module is used to display the atomic service interface of the target device if a click event on the device identifier of the target device is detected after the atomic service installation of the target device is completed.
[0106] In one embodiment of the present application, the device networking apparatus further includes:
[0107] The deleting module is used to delete the device identification of the target device in the networking application interface if the target device is disconnected from the network or shut down.
[0108] In one embodiment of the present application, the device networking apparatus further includes:
[0109] The network exit module is used to exit the networked device from the soft bus network and retain the network configuration information of the networked device when a click operation on the device identifier of the networked device is detected or a drag event of dragging the device identifier of the networked device to the discovery area is detected.
[0110] In one embodiment of the present application, the networking application interface has a one-key disband function key; the device networking apparatus further includes:
[0111] The one-key disbanding module is used to move all networked devices in the networking area to the discovery area when receiving a click event on the one-key disbanding function key.
[0112] It should be noted that the aforementioned explanation of the device networking method embodiment is also applicable to the device networking apparatus of this embodiment, and will not be repeated here.
[0113] The present invention discloses a device networking apparatus, which displays a networking application interface, wherein the networking application interface includes a local device identification, a networking area, and a discovery area; if several devices in the same local area network as the local device are found, the corresponding device identifications are loaded, and the several device identifications are displayed in the discovery area; when a click operation on a target device or a drag event of dragging the device identification of a target device to a networking area is detected, the local device and the target device are networked by a soft bus; when the networking is successful, the device identification of the target device is displayed in the networking area. The present application displays a networking application interface, and a click or drag operation is performed on the networking application interface to perform networking for the discovered devices, thereby improving the networking efficiency.
[0114] Figure 4 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. The terminal may include:
[0115] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0116] When the processor 502 executes the program, the device networking method provided in the above embodiment is implemented.
[0117] Furthermore, the terminal further includes:
[0118] The communication interface 503 is used for communication between the memory 501 and the processor 502 .
[0119] The memory 501 is used to store computer programs that can be executed on the processor 502 .
[0120] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0121] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0122] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.
[0123] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0124] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the device networking method as described above is implemented.
[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0126] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0127] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes additional implementations, in which the order shown or discussed may not be followed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0128] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can read instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary and then storing it in a computer memory.
[0129] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0130] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0131] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0132] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A device networking method, characterized in that: The method comprises: Displaying a networking application interface, the networking application interface including a local identification, a networking area, and a discovery area; If several devices in the same local area network as the local area network of the machine are found, the corresponding device identifications are loaded and the several device identifications are displayed in the discovery area; When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, a soft bus networking is performed between the local device and the target device; When the networking is successful, the device identification of the target device is displayed in the networking area.
2. The device networking method according to claim 1, characterized in that: When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, a soft bus networking is performed between the local device and the target device, including: When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the network configuration information is obtained; Sending the network configuration information to the target device so that the target device automatically connects to the machine; Acquire network configuration information, and send the network configuration information to the target device so that the target device is connected to the wireless access point; Obtaining local PIN code information and sending the local PIN code information to the target device for authentication; After the authentication is passed, the soft bus networking between this machine and the target device is completed.
3. The device networking method according to claim 2, characterized in that: When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the network configuration information is obtained, including: When a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected, the number of currently networked devices is determined; If the number of currently networked devices is less than or equal to the preset threshold, the network configuration information is obtained.
4. The device networking method according to claim 1, characterized in that: When the networking is successful, after displaying the device identification of the target device in the networking area, the method further includes: If the target device has the atomic service function, the atomic service of the target device is automatically loaded and installed, and the atomic service of the target device is presented in the atomic service center; After the atomic service installation of the target device is completed, if a click event on the device identifier of the target device is detected, the atomic service interface of the target device is displayed.
5. The device networking method according to claim 1, characterized in that: When the networking is successful, after displaying the device identification of the target device in the networking area, the method further includes: If the target device is disconnected from the network or powered off, the device identification of the target device is deleted in the networking application interface.
6. The device networking method according to claim 1, characterized in that: The device networking method further includes: When a click operation on the device identification of a networked device or a drag event of dragging the device identification of a networked device to a discovery area is detected, the networked device is withdrawn from soft bus networking and the network configuration information of the networked device is retained.
7. The device networking method according to claim 1, characterized in that: The networking application interface has a one-key disband function key; The device networking method further includes: When a click event of the one-key dismissal function key is received, all networked devices in the networking area are moved to a discovery area.
8. A device networking apparatus, characterized in that: The device comprises: An interface display module, used to display a networking application interface, wherein the networking application interface includes a local identification, a networking area, and a discovery area; A device loading module, for loading corresponding device identifications if a number of devices in the same local area network as the local area network of the local area network is found, and displaying the device identifications in the discovery area; A networking module, used for performing soft bus networking between the local machine and the target device when a click operation on the target device or a drag event of dragging the device identifier of the target device to the networking area is detected; The device display module is used to display the device identification of the target device in the networking area when the networking is successful.
9. A terminal, characterized in that: include: A memory, a processor, and a device networking program stored in the memory and executable on the processor, wherein when the device networking program is executed by the processor, the steps of the device networking method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program can be executed to implement the steps of the device networking method according to any one of claims 1 to 7.
Citation Information
Cited By
Display synchronization method, electronic equipment, chip system and storage medium
CN120475204A
