Equipment management method, communication system and related device

By binding the device information of the second electronic device that has not logged into the cloud account on the first electronic device using the local area network and the cloud server, the problem of complex device management steps in the prior art is solved, and the rapid viewing and calling of device status and functions is realized.

CN120282240APending Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311849577.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

When users control target devices through electronic devices, they need to download third-party applications from target device manufacturers for configuration and management, resulting in complex steps and affecting efficiency.

Method used

When the first electronic device has a cloud account, the local area network and the cloud server negotiate through negotiation to bind the device information of the second electronic device that has not logged into the cloud account with the cloud account to realize device management and status synchronization.

Benefits of technology

The device management process is simplified, allowing users to quickly view and call the status or functions of the second electronic device that is not logged into the cloud account on the first electronic device, and improves the efficiency and security of device management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282240A_ABST
    Figure CN120282240A_ABST
Patent Text Reader

Abstract

The invention provides an equipment management method, a communication system and a related device, and the method comprises the steps: enabling a first electronic device to negotiate with a cloud server after configuring a second electronic device to be connected to a local area where the first electronic device is located when the first electronic device is logged in with a cloud account and the second electronic device is not logged in with the cloud account; and binding the equipment information of the second electronic equipment with the cloud account logged in the first electronic equipment. In this way, the first electronic device can conveniently manage other devices which do not log in the cloud account logged in the first electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and in particular, to a device management method, a communication system, and related devices. Background Art

[0002] Currently, when a user wants to control a target device to perform related tasks through an electronic device, the user needs to first download a third-party application developed by the manufacturer of the target device, then open the third-party application, add and configure the target device in the third-party application, and subsequently also needs to use the third-party application to control the target device. In this way, the steps of adding and using the target device on the electronic device are relatively complex, it is difficult to manage the target device, and the efficiency of using the target device is affected. Summary of the Invention

[0003] This application provides a device management method, a communication system, and related devices, which can facilitate the first electronic device to manage other devices that do not log in to the cloud account logged in on the first electronic device.

[0004] In a first aspect, this application provides a device management method, which is applied to a first electronic device on which a cloud account is logged in; the method includes: the first electronic device connects to a first local area network and saves the network name and network password of the first local area network; the first electronic device receives a first message sent by the second electronic device, the second electronic device does not log in to the cloud account, and the first message includes the device information and a network configuration status identifier of the second electronic device, and the network configuration status identifier is used to indicate that the second electronic device does not store the network configuration information of the local area network; in response to receiving the first message, the first electronic device sends first network configuration information to the second electronic device, where the first network configuration information includes the network name and network password of the first local area network, and the first network configuration information is used to instruct the second electronic device to connect to the first local area network; after the first electronic device searches for the second electronic device through the first local area network, the first electronic device sends a proxy registration request to the cloud server, and the proxy registration request carries the device information of the second electronic device and the cloud account, and the proxy registration request is used to request the cloud server to bind the device information of the second electronic device to the cloud account.

[0005] Through a device management method provided by an embodiment of this application, when the first electronic device logs in to a cloud account and the second electronic device does not log in to the cloud account, the first electronic device can, after configuring the second electronic device to connect to the local area network where the first electronic device is located, through negotiation with the cloud server, bind the device information of the second electronic device to the cloud account logged in on the first electronic device. In this way, it can facilitate the first electronic device to manage other devices that do not log in to the cloud account logged in on the first electronic device.

[0006] Among them, the cloud server may store a device list corresponding to the cloud account, and the device information of all devices logged in or bound to the cloud account may be recorded in the device list corresponding to the cloud account. The cloud server can manage and update the status information of all devices in the device list corresponding to the cloud account, and can synchronize the status information of all devices in the device list to the devices logged in to the cloud account. In this way, the devices logged in to the cloud account can view the status of the second electronic device or call the second electronic device.

[0007] In a possible implementation, the method further includes: the first electronic device receives a binding success response sent by the cloud server, and the binding success response is used to indicate that the cloud server has successfully bound the device information of the second electronic device to the cloud account; after the first electronic device receives the binding success response sent by the cloud server, the first electronic device receives a first operation of the user to open the first interface; in response to the first operation, the first electronic device displays the first interface, and displays options of multiple devices on the first interface, and the multiple devices are logged in or bound to the cloud account, and the multiple devices include the first electronic device and the second electronic device.

[0008] In this way, the user can quickly view or call the second electronic device in the first interface (for example, the intelligent connection interface of the control center) displayed on the first electronic device.

[0009] In a possible implementation, the step of displaying the first interface in response to the first operation includes: in response to the first operation, obtaining the status information of the second electronic device; if the status information of the second electronic device is an online state, the first electronic device displays the first interface and displays an option of the second electronic device on the first interface.

[0010] In a possible implementation, after the first electronic device searches for the second electronic device through the first local area network, the first electronic device sends a proxy registration request to the cloud server, including: after the first electronic device searches for the second electronic device through the first local area network, according to the device information of the second electronic device, determining whether the second electronic device is in the binding whitelist and is not bound to the cloud account, and the binding whitelist includes one or more devices allowed to be bound to the cloud account logged in on the first electronic device; if the second electronic device is in the binding whitelist and is not bound to the cloud account, sending a proxy registration request to the cloud server.

[0011] In this way, when the second electronic device is not logged in to the cloud account and is not bound to the cloud account and the second electronic device has the permission to bind to the cloud account, the device information of the second electronic device can be bound to the cloud account, improving the security of the devices logged in or bound under the cloud account.

[0012] In a possible implementation, after the first electronic device receives the successful binding response sent by the cloud server, the method further includes: the first electronic device detects that the second electronic device is in an online state through the first local area network; the first electronic device sends the online state of the second electronic device and the device information of the second electronic device to a third electronic device logged in with the cloud account through the cloud server.

[0013] In this way, after the first electronic device binds the device information of the second electronic device with the cloud account, it can synchronize the status information of the second electronic device to other devices logged in with the cloud account, so that other devices logged in with the cloud account can view the status of the second electronic device or call the second electronic device.

[0014] In a possible implementation, after the first electronic device sends the proxy registration request to the cloud server, the method further includes: the first electronic device receives a second operation by the user to unbind the second electronic device from the cloud account; in response to the second operation, the first electronic device sends an unbinding notice to the cloud server, and the unbinding notice carries the device information of the second electronic device and the cloud account, and the unbinding notice is used to notify the cloud server to unbind the device information of the second electronic device from the cloud account.

[0015] Wherein, after the cloud server unbinds the device information of the second electronic device from the cloud account, it can delete the device information of the second electronic device in the device list corresponding to the cloud account. In this way, the devices logged in with the cloud account cannot obtain the status information of the second electronic device through the cloud server.

[0016] In a possible implementation, after the first electronic device sends the unbinding notice to the cloud server, the method further includes: the first electronic device receives an unbinding response sent by the cloud server, and the unbinding response is used to indicate that the cloud server has unbound the device information of the second electronic device from the cloud account; the first electronic device receives a first operation by the user to open the first interface; in response to the first operation, the first interface is displayed, and options of one or more devices are displayed on the first interface, and the one or more devices are logged in or bound to the cloud account, wherein the one or more devices include the first electronic device but do not include the second electronic device.

[0017] In this way, after the device information of the second electronic device is unbound from the cloud account, the first electronic device does not display the option of the first electronic device on the first interface.

[0018] In a possible implementation, the second electronic device is a printer; the method further includes: when the first electronic device displays an option of the second electronic device on the first interface, the first electronic device receives a third operation from the user for the option of the second electronic device; in response to the third operation, the first electronic device controls the second electronic device to perform a printing task.

[0019] In this way, after binding the device information of the printer to the cloud account, the user can quickly call the printer to perform a printing task by opening the first interface of the first electronic device (for example, the intelligent connection interface in the control center).

[0020] In a possible implementation, the first electronic device controls the second electronic device to perform a printing task, which specifically includes: the first electronic device receives a target file and target printing parameters selected by the user; in response to receiving the target file and target printing parameters selected by the user, the first electronic device sends the target printing parameters and the target file to the second electronic device through the first local area network, where the target file and target printing parameters are used to trigger the second electronic device to print the target file with the target printing parameters.

[0021] In a possible implementation, after the first electronic device controls the second electronic device to perform a printing task, the method further includes: the first electronic device sends configuration information to a third electronic device through the cloud server, the third electronic device logs in to the cloud account, and the configuration information includes a first parameter and the target printing parameters; wherein, the configuration information is used to instruct the third electronic device to set the initial printing parameters on the third electronic device to the target printing parameters, and the first parameter is used to grant the third electronic device the permission to call the second electronic device to perform printing.

[0022] In this way, devices logged in to the cloud account can share the configuration information of the printer with each other, so that when the user calls the printer on different devices, there is no need to repeatedly manually set the printing parameters of the printer.

[0023] In a possible implementation, the second electronic device is a printer. The first electronic device includes a control center, a shared service management framework, a printing service framework, and a distributed printing service. In response to the first operation, the first electronic device displays a first interface and shows options of multiple devices on the first interface, including: in response to the first operation, the control center sends a call request to the shared service management framework, and the call request is used to call the shared service management framework; the shared service management framework initializes one or more shared services, where the one or more shared services include the printing shared service; after the printing shared service is initialized, it registers a device discovery callback with the distributed printing service; after the distributed printing service registers the device discovery callback, when it discovers the second electronic device, it determines the status information of the second electronic device as the online status; the distributed printing service sends a device discovery notification to the printing shared service, and the device discovery notification carries the online status of the second electronic device; after receiving the device discovery notification, the printing shared service registers with the shared service management framework and returns the online status of the printer to the shared service management framework; after receiving the registration of the printing shared service, the shared service management framework obtains the online status of the second electronic device; after obtaining the online status of the second electronic device, the shared service management framework sends the online status of the second electronic device to the control center; after obtaining the online status of the second electronic device, the control center displays the first interface and shows the options of the first electronic device and the options of the second electronic device on the first interface.

[0024] In a possible implementation, the second electronic device is a printer; the first electronic device includes a printing assistant, an ecological access framework, and a device management service. The first electronic device sends a proxy registration request to the cloud server, including: the printing assistant sends a binding request to the device management service, and the binding request carries the device information of the second electronic device; in response to receiving the binding request, the device management service sends a proxy binding request to the ecological access framework, and the proxy binding request carries the device information of the printer and the cloud account; after receiving the proxy binding request, the ecological access framework sends the proxy registration request to the cloud server.

[0025] In a second aspect, the present application provides an electronic device, which is a first electronic device and includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the method in any possible implementation of the first aspect above is performed.

[0026] In a third aspect, the present application provides another electronic device, including one or more functional modules, which are used to execute the methods in any possible implementation manner of the first aspect above.

[0027] In a fourth aspect, the present application provides a chip system, including a processing circuit and an interface circuit. The interface circuit is used to receive instructions and transmit them to the processing circuit, and the processing circuit is used to run the instructions to execute the methods in any possible implementation manner of any aspect above.

[0028] In a fifth aspect, the present application provides a computer-readable storage medium, including instructions. When the instructions are run on a processor of a first electronic device, the first electronic device is caused to execute the methods in any possible implementation manner of the first aspect above.

[0029] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the methods in any possible implementation manner of any aspect above.

[0030] For the beneficial effects of the second aspect to the sixth aspect, reference may be made to the beneficial effects in the first aspect and any possible implementation manner of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;

[0032] Figures 2A - 2S It is a schematic diagram of a set of interfaces for binding a printer to a specified cloud account in a smart space application provided by an embodiment of the present application;

[0033] Figures 3A - 3C It shows a schematic diagram of a set of interfaces for binding the device information of a printer to a specified cloud account in a smart space application provided by an embodiment of the present application;

[0034] Figures 4A - 4G It shows a schematic diagram of a set of interfaces for calling a printer assistant to bind the device information of a printer to a specified cloud account in a settings application provided by an embodiment of the present application;

[0035] Figures 5A - 5B It shows a schematic diagram of a set of interfaces for adding the device information of a printer and binding it to a specified cloud account in a control center provided by an embodiment of the present application;

[0036] Figures 5C - 5E It shows a schematic diagram of a set of interfaces for adding the device information of a printer and unbinding it from a specified cloud account in a control center provided by an embodiment of the present application;

[0037] Figure 6Schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application;

[0038] Figure 7 Schematic flow diagram of a device management method provided in an embodiment of the present application;

[0039] Figure 8 Schematic flow diagram of a device management method provided in another embodiment of the present application;

[0040] Figure 9 Schematic flow diagram of a process for displaying the online status of a device in a control center provided in an embodiment of the present application;

[0041] Figure 10 Schematic flow diagram of a process for displaying the online status of a device in a control center provided in another embodiment of the present application;

[0042] Figure 11 Schematic flow diagram of a process for unbinding a device from a cloud account provided in an embodiment of the present application;

[0043] Figure 12 Schematic flow diagram of a printer configuration synchronization process provided in an embodiment of the present application;

[0044] Figure 13 Schematic flow diagram of a printer configuration synchronization process provided in another embodiment of the present application;

[0045] Figure 14A Schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0046] Figure 14B Schematic diagram of the hardware structure of a printer provided in an embodiment of the present application;

[0047] Figure 14C Schematic diagram of the hardware structure of a cloud server 400 provided in an embodiment of the present application. Detailed implementation manners

[0048] Next, the technical solutions in the embodiments of the present application will be clearly and elaborately described with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0049] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and should not be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0050] The architecture of a communication system provided in the embodiments of the present application will be introduced below.

[0051] Figure 1 The schematic diagram of the architecture of a communication system 10 provided in the embodiments of the present application is shown.

[0052] As Figure 1 shown, the communication system 10 may include an electronic device 101, an electronic device 102, a printer 200, a wireless access device 300, and a cloud server 400.

[0053] Among them, the electronic device 101 may establish a connection with the cloud server 400. The electronic device 102 may establish a connection with the cloud server 400. Therefore, the electronic device 101 may communicate with the electronic device 102 through the cloud server 400.

[0054] The electronic device 101 may also establish a Wi-Fi connection with the wireless access device 300. The printer 200 may establish a Wi-Fi connection with the wireless access device 300. Therefore, the electronic device 101 may communicate with the printer 200 through the wireless access device 300.

[0055] The electronic device 101 and the electronic device 102 may both log in to the same designated cloud account, and the printer 200 does not log in to the designated cloud account. The electronic device 101 and the electronic device 102 may access the cloud server 400 through the logged-in cloud account.

[0056] It should be noted that the printer 200 in the above communication system 10 may also be replaced with other types of devices (such as speakers, cameras, etc.), which is not limited herein.

[0057] In the embodiments of the present application, the electronic device 101 may be referred to as the first electronic device, the printer 200 may be referred to as the second electronic device, and the electronic device 102 may be referred to as the third electronic device.

[0058] The trust ring involved in the embodiments of the present application will be introduced below.

[0059] Since multiple devices (e.g., electronic device 101 and electronic device 102) can establish connections with the cloud server 400 by logging in to the same specified cloud account. Multiple devices can achieve mutual calls between multiple devices through the cloud server 400. Due to the mutual calls between multiple devices that have logged in to the specified cloud account, these multiple devices form a mutually trusted system, and this mutually trusted system can be referred to as a trust ring.

[0060] However, some devices do not support logging in to cloud accounts. For example, the printer 200 has no input device, and the printer 200 cannot receive the cloud account and password manually input by the user. Another example is that the printer 200 is produced by a third manufacturer and does not belong to the same manufacturer as the multiple devices that have logged in to the specified cloud account above. Therefore, the printer 200 does not support logging in to the specified cloud account.

[0061] In this way, a device that has not logged in to the specified cloud account (such as the printer 200) is difficult to trust the multiple devices that have logged in to the specified cloud account above, and thus cannot join the trust ring of the specified cloud account by logging in to the specified cloud account.

[0062] Therefore, in the embodiments of the present application, a device management method is provided. A cloud account (e.g., a specified cloud account) is logged in on a first electronic device (e.g., electronic device 101). The cloud account is not logged in on a second electronic device (e.g., printer 200). After the first electronic device configures the second electronic device to join the local area network where the first electronic device is located, the device information of the second electronic device and the cloud account can be sent to the cloud server. The cloud server can bind the device information of the second electronic device with the cloud account.

[0063] Since the device information of the second electronic device is bound to the cloud account, the first electronic device can synchronize the status information and configuration information of the second electronic device to other devices that have logged in to the cloud account through the cloud server. In this way, the second electronic device can trust the devices that have logged in to the cloud account, that is, the second electronic device joins the trust ring of the cloud account.

[0064] In the embodiments of the present application, devices within the same trust ring log in to or are bound to the same cloud account. For example, both the electronic device 101 and the electronic device 102 log in to the specified cloud account, and the printer 200 is bound to the specified cloud account.

[0065] The following exemplarily introduces the process of binding the device information of the printer 200 with the specified cloud account in the smart space application on the electronic device 101 in the embodiments of the present application.

[0066] Figures 2A - 2SThe figure shows a schematic diagram of an interface for binding a printer to a specified cloud account in the smart space application provided in the embodiments of the present application.

[0067] As Figure 2A shown, the electronic device 101 can display a desktop 310. Among them, a page with application icons is displayed on the desktop 310, and this page includes multiple application icons (for example, weather application icon, stock application icon, calculator application icon, settings application icon 314, mail application icon, gallery application icon 313, music application icon, video application icon, browser application icon, smart space application icon 312, etc.). In the upper part area of the desktop 310, a status bar 311 is displayed, and the status bar 311 can include: one or more signal strength indicators of mobile communication signals (also known as cellular signals), battery status indicator, time indicator, Wi-Fi signal indicator, and so on.

[0068] The electronic device 101 can receive an operation (such as a click) of the user on the smart space application icon 312. In response to this operation, the electronic device 101 can display as Figure 2B shown the smart space application interface 320.

[0069] As Figure 2B shown, in the smart space application interface 320, an add control 323 and service cards of one or more devices (for example, a service card 321 of a TV and a service card 322 of a speaker) can be displayed. Among them, a specified cloud account is logged in to the smart space application of the electronic device 101.

[0070] The electronic device 101 can receive an operation (such as a click) of the user on the add control 323. In response to this operation, the electronic device 101 can display as Figure 2C shown a menu 324.

[0071] As Figure 2C shown, the menu 324 can include an add device control 325. The electronic device 101 can receive an operation (such as a click) of the user on the add device control 325. In response to this operation, the electronic device 101 can display as Figure 2D shown an add device interface 330.

[0072] As Figure 2DAs shown, the add device interface 330 can display devices searched by the electronic device 101 through short-range communication technologies (such as Wi-Fi, Bluetooth, etc.). Among them, after the electronic device 101 searches for the printer 200 through short-range communication technology, the electronic device 101 can display a device option 331 and a connection control 332 on the add device interface 330. Among them, the device name of the printer 200 (such as "Printer P1") is displayed on the device option 331. The connection control 332 can be used to trigger the electronic device 101 to configure the printer 200 to connect to the local area network where the electronic device 101 is located.

[0073] The electronic device 101 can receive the user's operation on the connection control 332 (such as a click). In response to this operation, the electronic device 101 can send the network name and network password of the local area network connected by the electronic device 101 to the printer 200, so as to configure the printer 200 to use the network name and network password of the local area network and connect to the local area network connected by the electronic device 101.

[0074] As Figure 2E shown, after the printer 200 is connected to the local area network connected by the electronic device 101, the electronic device 101 can display a service card 326 of the printer 200 in the smart space application interface 320.

[0075] Optionally, after the electronic device 101 configures the printer 200 to use the network name and network password of the local area network and connects to the local area network connected by the electronic device 101, the electronic device 101 can send the device information of the printer 200 and the specified cloud account logged in on the electronic device 101 to the cloud server 400. After receiving the device information of the printer 200 and the specified cloud account, the cloud server 400 can bind the device information of the printer 200 with the specified cloud account. In this way, the printer 200 can be added to the trust ring of the specified cloud account.

[0076] The electronic device 101 can receive the user's input on the service card 326 (such as a click). In response to this input, the electronic device 101 can start the print assistant and display a print assistant interface 340 as Figure 2F shown.

[0077] As Figure 2FAs shown, the print assistant interface 340 may include a current printer settings bar 341 and one or more print options. Among them, device information (e.g., "PrinterP1") and status information (e.g., "idle status") of the printer 200 are displayed on the current printer settings bar 341. The one or more print options may include a wrong-question print option, a test paper restoration print option, a handwritten newspaper print option, an origami print option, a document print option, a picture print option 342, a scan option, a large picture print option, and a regional data print option, etc.

[0078] The electronic device 101 may receive an input (e.g., a click) from the user for the picture print option 342. In response to this input, the electronic device 101 may display a picture selection interface 350 as Figure 2G shown.

[0079] As Figure 2G shown, the picture selection interface 350 may display thumbnails of one or more pictures locally stored in the electronic device 101 (including the thumbnail 351).

[0080] The electronic device 101 may receive an input (e.g., a click) from the user for the thumbnail 351. In response to this input, the electronic device 101 may display the print interface 360 as Figure 2H shown above.

[0081] As Figure 2H shown, the print interface 360 may include a print preview area 361, one or more print parameter setting options, and a start print control 367. Among them, the print preview area 361 may be used to display the printing effect of the picture 362 corresponding to the above thumbnail 351. The one or more print parameter setting options may include a print copy number setting option 363, a single-sided / double-sided print setting option 364, a paper size setting option 365, and a color print setting option 366, etc. Among them, the print copy number setting option 363 can be used to set the number of copies for the printer 200 to print the picture 362. The single-sided / double-sided print setting option 364 can be used to set whether to print the picture 362 on a single side or on both sides. The paper size setting option 365 can be used to set the size for the printer 200 to print the picture 362. The color print setting option 366 is used to set whether the printer 200 prints the picture 362 in color or in black and white. The start print control 367 can be used for the electronic device 101 to trigger the printer 200 to print the picture 362 with the print parameters set by the user.

[0082] Among them, the electronic device 101 can determine the target printing parameters of the picture 362 according to the user's operations in the above-mentioned printing interface 360. The electronic device 101 can receive and respond to the user's operation on the start printing control 367, and send the picture 362 and the target printing parameters set by the user (for example, 5 copies, single-sided printing, paper size A4, black and white printing, etc.) to the printer 200. The electronic device 101 can control the printer 200 through the local area network to print the picture 362 with the target printing parameters.

[0083] As Figure 2I shown, during the process of the printer 200 printing the picture 362 with the target printing parameters, the printer 200 can send the printing status to the electronic device 101. After receiving the printing status, the electronic device 101 can display the printing interface 370, where the printing interface 370 can include a print preview area 371, a printing status prompt 372, and a stop printing control 373. The print preview area 371 can be used to display the printing effect of the above-mentioned picture 362. The printing status prompt 372 can be used to prompt the current printing status of the printer. For example, the printing status prompt 372 can be "Printing the 1st copy / (total 5 copies)". The stop printing control 373 can be used to trigger the electronic device 101 to control the printer 200 to stop the current printing task through the electronic device 102.

[0084] After the printer 200 finishes printing the picture 362 with the target printing parameters, the printer 200 can send the printing completion information to the electronic device 101.

[0085] As Figure 2J shown, after receiving the printing completion information, the electronic device 101 can display the printing interface 380, where the printing interface 380 can include a print preview area 381, a printing completion prompt 382, a completion control 383, and a continue printing control 384. The print preview area 381 can be used to display the printing effect of the above-mentioned picture 362. The printing completion prompt 382 can be used to prompt that the printer has completed the printing task. The completion control 383 can be used to exit the printing interface 380. The continue printing control 384 can be used to trigger the electronic device 101 to continue to select files for the printer 200 to print.

[0086] The electronic device 101 can receive the user's operation on the completion control 383 (for example, click), and in response to this operation, the electronic device 101 can display a binding pop-up window 390 as Figure 2K shown.

[0087] As Figure 2KAs shown in the figure, the binding pop-up window 390 may include the device name 391 of the printer 200 (for example, PrinterP1), a binding prompt 392, a confirmation control 393, and a cancellation control 394. Among them, the binding prompt 392 can be used to prompt the user whether to bind the printer 200 to the specified cloud account. For example, the binding prompt 392 can be a text prompt "Do you want to bind the printer through the Honor account trust authentication?" The confirmation control 393 can be used to trigger the electronic device 101 to request the cloud server 400 to bind the device information of the printer 200 to the specified cloud account. The cancellation control 394 can be used to trigger the electronic device 101 to cancel the request to the cloud server 400 to bind the device information of the printer 200 to the specified cloud account.

[0088] The electronic device 101 may receive an operation (such as a click) of the user on the confirmation control 393. In response to this operation, the electronic device 101 may send the device information of the printer 200 and the specified cloud account to the cloud server. Then, the cloud server may bind the device information of the printer 200 to the specified cloud account, thereby adding the printer 200 to the trust ring corresponding to the specified cloud account. Optionally, the electronic device 101 may also add the device information of the printer 200 to the bound list stored locally.

[0089] In a possible implementation, the electronic device 101 may receive and respond to an operation (such as a click) of the user on the completion control 383, and send the device information of the printer 200 and the specified cloud account to the cloud server 400. After receiving the device information of the printer 200 and the specified cloud account, the cloud server 400 may bind the device information of the printer 200 and the specified cloud account. In this way, the printer 200 can be added to the trust ring of the specified cloud account.

[0090] As Figure 2L shown, the electronic device 101 may receive a sliding operation of the user at the top of the screen (such as sliding down from the top of the screen). In response to this operation, the electronic device 101 may display the control center interface 410 as Figure 2M shown.

[0091] As Figure 2M shown, the control center interface 410 may include one or more function controls (such as a wireless local area network (WLAN) switch control, a Bluetooth switch control, a low battery mode switch control, a brightness adjustment control, a sound adjustment control), a music control card, and a smart interconnection control card 411.

[0092] The electronic device 101 may receive an operation (such as a click) of the user on the smart interconnection control card 411. In response to this operation, the electronic device 101 may display the smart interconnection interface 420 as Figure 2N shown.

[0093] As shown Figure 2N in the figure, the intelligent interconnection interface 420 may include a device option 421 of the electronic device 101, an avatar 425 designating a cloud account, and a deletion control 424. After the electronic device 101 obtains the online information of other devices within the trust ring, it may display the device options of other devices logged in or bound to the designated cloud account in the intelligent interconnection interface 420. Other devices logged in or bound to the designated cloud account may include the electronic device 102 and the printer 200. For example, after the electronic device 101 discovers that the printer 200 is online, it may display the device option 422 of the printer 200 on the intelligent interconnection interface 420. Optionally, when the electronic device 101 discovers through the cloud server 400 that the electronic device 102 is online, it may display the device option 423 of the electronic device 102 on the intelligent interconnection interface 420. The deletion control 424 can be used to trigger the electronic device 101 to request the cloud server 400 to unbind the device information of the device selected by the user from the designated cloud account, so as to delete the device selected by the user from the trust ring of the designated cloud account.

[0094] As shown Figure 2O in the figure, the electronic device 101 may receive a drag operation in which the user drags the device option 422 to the area where the device option 421 is located.

[0095] As shown Figure 2P in the figure, in response to the drag operation in which the user drags the device option 422 to the area where the device option 421 is located, the electronic device 101 may retreat to display the desktop 310 and display a print capsule 431 on the display screen. The display screen of the electronic device 101 is a perforated screen. Generally, a front camera is placed at the perforation position of the display screen, and the front camera of the display screen may be at the top of the display screen. To make full use of the display area of the display screen, the electronic device 101 displays the print capsule 431 around the perforation position at the top of the display screen. Among them, the perforation position of the display screen may be located in the middle area of the print capsule 431. The non-middle area of the print capsule 431 may display a print icon, print words, and the device manufacturer, device model (for example, Printer P1) or device identifier of the printer 200, etc. Since the display color of the perforation position is black, the background color of the print capsule 431 may also be adjusted to black, so that it is difficult for the user to discover the perforation position of the display screen. Among them, the print capsule 431 may be floatingly displayed on the upper layer of other interfaces. The print capsule 431 can be used to call a print assistant to print the files in the interface currently displayed on the electronic device 101. Among them, the files include any one of documents, pictures, videos, tables, PPTs, etc.

[0096] The electronic device 101 can receive a user's operation (e.g., click) on the gallery application icon 313 in the desktop 310. In response to the user's operation, the electronic device 101 can display a gallery application interface 440 as shown Figure 2Q below.

[0097] As shown Figure 2Q below, the gallery application interface 440 can include thumbnails of one or more pictures, such as thumbnail 441. Among them, when the electronic device 101 displays the gallery application 440, it can also display the above-mentioned printing capsule 431.

[0098] The electronic device 101 can receive a user's operation on the thumbnail 441. In response to this operation, the electronic device 101 can display a picture browsing interface 450 as shown Figure 2R below.

[0099] As shown Figure 2R below, when the electronic device 101 displays the picture browsing interface 450, it can display the above-mentioned printing capsule 431. Among them, the picture browsing interface 450 can include a picture 451. Optionally, the picture browsing interface 450 can further include a menu 452, and the menu 452 can include sharing controls, favorite controls, editing controls, deletion controls, more controls.

[0100] The electronic device 101 can receive a user's operation (e.g., click) on the printing capsule 431. In response to this operation, as shown Figure 2S below, the electronic device 101 can switch the printing capsule 431 to a printing notification bar 432 and display it at the top of the display screen.

[0101] As shown Figure 2S below, the printing notification bar 432 can include the file name of the file currently opened by the user and a printing control 433. Among them, the file currently opened by the user can be the picture 451. Therefore, the file name "IMG_2023 / 9 / 20_1.JPG" of the picture 451 can be displayed in the printing notification bar 432.

[0102] The electronic device 101 can receive a user's operation (e.g., click) on the printing control 433. In response to this operation, the electronic device 101 can display a printing interface 360 as shown above Figure 2H below. For the subsequent printing operation process, reference can be made to the embodiment shown above Figures 2H - 2J below, and details will not be described herein again.

[0103] In the embodiments of the present application, the above-mentioned intelligent interconnection interface 420 can be referred to as the first interface, and the user's operation on the intelligent interconnection control card 411 can be referred to as the first operation. The above-mentioned dragging operation of dragging the device option 422 to the area where the device option 421 is located can be referred to as the third operation.

[0104] In a possible implementation, if the electronic device 101 does not receive an operation from the user on the printing capsule 431 after a certain period of time (e.g., 10 seconds) has elapsed since the printing capsule 431 was displayed, the display of the printing capsule 431 is exited.

[0105] In a possible implementation, if, after the electronic device 101 displays the printing notification bar 432, it receives a click from the user outside the printing notification bar 432, the electronic device 101 can switch the printing notification bar 432 back to display the printing capsule 431 at the top of the display screen.

[0106] In some application scenarios, the printer 200 can be a newly unconfigured printer. After the printer 200 is powered on or enters the network configuration mode, the printer 200 can send a broadcast message (which can be referred to as the first message), where the broadcast message includes the device information of the printer 200 and a network configuration status identifier. The network configuration status identifier is used to indicate that the printer 200 does not store the network configuration information of the local area network, that is, it is in an unconfigured state. After the electronic device 101 receives the broadcast message sent by the printer 200, it can obtain the device information of the printer 200 from the broadcast message and display a discovery window, which is used to prompt the user whether to connect the printer 200 to the local area network where the electronic device 101 is located. After the electronic device 101 receives an operation from the user to connect the printer 200 to the first local area network where the electronic device 101 is located, it can obtain the network name and network password of the first local area network stored locally on the electronic device 101 through the smart space application. The electronic device 101 can send the first network configuration information to the printer 200 through the smart space application, where the first network configuration information includes the network name and network password of the first local area network. After the printer 200 receives the first network configuration information, it can connect to the local area network to which the electronic device 101 is connected through the network name and network password of the first local area network. After the electronic device 101 searches for the printer 200 through the first local area network, it means that the printer 200 has successfully connected to the first local area network. At this time, the electronic device 101 can request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account logged in on the electronic device 101. In this way, the printer 200 is added to the trust ring of the specified cloud account.

[0107] Figures 3A - 3C Shows a schematic diagram of an interface for binding the device information of the printer 200 with a specified cloud account in the smart space application provided in the embodiments of the present application.

[0108] Exemplarily, such as Figure 3AAs shown, the electronic device 101 can display the desktop 310. Among them, after receiving the broadcast signal of the printer 200, the electronic device 101 can obtain the device information of the printer 200 from the broadcast signal and display the discovery window 460. Among them, the discovery window 460 includes the icon and name of the printer 200 (for example, PrinterP1), the connection control 461 and the cancel control 462. Among them, the connection control 461 can be used to trigger the electronic device 101 to configure the network for the printer 200, and the cancel control 462 can be used to trigger the electronic device 101 to cancel the network configuration for the printer 200.

[0109] As Figure 3B shown, the electronic device 101 can receive and respond to the user's operation (such as clicking) on the above-mentioned connection control 461, and display the intelligent space application interface 320 and the network configuration pop-up window 470. Among them, the network configuration pop-up window 470 can include the icon and name of the printer 200 (for example, Printer P1), the network configuration prompt message 471, the allow control 472 and the manual input control. For example, the network configuration prompt message 471 can be "Do you want to synchronize the connected local area network (Wi-Fi name and password) to the printer (Printer P1) for network configuration with one key?". The allow control 472 can be used to trigger the electronic device 101 to obtain the network name and network password of the local area network connected by the electronic device 101 through the intelligent space application, and send the network name and network password to the printer 200. The manual input control can be used to trigger the electronic device 101 to receive the network name and network password of the local area network input by the user, and send the network name and network password input by the user to the printer 200.

[0110] The electronic device 101 can receive and respond to the user's operation (such as clicking) on the above-mentioned allow control 472, obtain the network name and network password of the local area network connected by the electronic device 101 through the intelligent space application, and send the network name and network password to the printer 200. The printer 200 can connect to the local area network connected by the electronic device 101 according to the received network name and network password.

[0111] As Figure 3C shown, when the electronic device 101 searches for the printer 200 in the local area network, it can display the network configuration success pop-up window 480. The network configuration success pop-up window can be used to prompt the user that the printer 200 has been successfully network-configured. After the network configuration is successful, the electronic device 101 can display the service card 326 of the printer 200 in the intelligent space application interface 320. After successfully network-configuring the printer 200, the electronic device 101 can also request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account. In this way, the printer 200 is added to the trust ring of the specified cloud account.

[0112] In some application scenarios, the printer 200 may be a new printer that is not connected to the network. The electronic device 101 can start the printing assistant through the settings application and search for the printer in the printing assistant for configuration. After the printer 200 is powered on or enters the network configuration mode, the printer 200 can send a broadcast message (which can be referred to as the first message). Among them, the broadcast message includes the device information of the printer 200 and a network configuration status identifier. The network configuration status identifier is used to indicate that the printer 200 does not store the network configuration information of the local area network, that is, it is in an unconfigured network state. After receiving the broadcast message sent by the printer 200, the electronic device 101 can obtain the device information of the printer 200 from the broadcast message and display that the printer 200 is unconfigured in the printing assistant interface. After the electronic device 101 receives the operation of the user to configure the printer 200, the electronic device 101 can send the first network configuration information to the printer 200 through the smart space application. The first network configuration information includes the network name and network password of the first local area network. After receiving the first network configuration information, the printer 200 can connect to the first local area network to which the electronic device 101 is connected through the network name and network password of the first local area network. When the electronic device 101 searches for the printer 200 through the first local area network, it means that the printer 200 has successfully connected to the first local area network. At this time, the electronic device 101 can request the cloud server 400 to bind the device information of the printer 200 and a specified cloud account. In this way, the printer 200 is added to the trust ring of the specified cloud account.

[0113] Figures 4A - 4G The figure shows a schematic diagram of an interface for calling the printer assistant in the settings application to bind the device information of the printer 200 with a specified cloud account provided in the embodiment of the present application.

[0114] As Figure 4A shown, the electronic device 101 can display the desktop 310. The text description of the desktop 310 can refer to the text part of the above Figure 2A shown embodiment and will not be elaborated here.

[0115] The electronic device 101 can receive an operation (such as a click) of the user on the settings application 314. In response to this operation, the electronic device 101 can display a settings interface 490 as Figure 4B shown.

[0116] Among them, the settings interface 490 may include one or more setting items. For example, one or more setting items may include a WLAN setting item, a Bluetooth setting item, a mobile network setting item, a more connection setting item 491, a desktop and wallpaper setting item, a display and brightness setting item, a sound and vibration setting item, a battery setting item, a system setting item, etc.

[0117] The electronic device 101 can receive a user's operation (such as a click) on more connection settings item 491. In response to this operation, the electronic device 101 can display, as Figure 4C shown, the more connection interface 510.

[0118] As Figure 4C shown, the more connection interface 510 can include a print settings item 511, an NFC settings item, a Honor Share settings item, a Honor Car Connect settings item, a wireless screen mirroring settings item, etc.

[0119] The electronic device 101 can receive a user's operation (such as a click) on the print settings item 511. In response to this operation, the electronic device 101 can display, as Figure 4D shown, the print interface 520.

[0120] As Figure 4D shown, the print interface 520 can include a print assistant start control 521.

[0121] The electronic device 101 can receive a user's operation (such as a click) on the print assistant start control 521. In response to this operation, the electronic device 101 can start the print assistant and display, as Figure 4E shown, the print assistant interface 530.

[0122] As Figure 4E shown, the print assistant interface 530 can include a printer display area 531 and an add control 532. Among them, the printer display area 531 can be used to display the printers 200 added by the electronic device 101. Since the electronic device 101 has not added a printer currently, the electronic device 101 can display an add prompt in the printer display area 531. For example, the add prompt can be "Multiple printers can be added". The add control 532 can be used to trigger the electronic device 101 to add a printer.

[0123] The electronic device 101 can receive a user's operation (such as a click) on the add control 532. In response to this operation, the electronic device 101 can display, as Figure 4F shown, the printer add interface 540.

[0124] As Figure 4FAs shown, when the electronic device 101 enters the printer addition interface 540, it can search for printers through short-range communication technologies (such as Bluetooth, Wi-Fi, etc.). The electronic device 101 can display the options corresponding to the searched printers in the printer addition interface 540. For example, when the electronic device 101 searches for the networked printer "PrinterA1" within the local area network, it can display the connection control 541 corresponding to the printer "Printer A1" in the available printer list of the printer addition interface 540. The electronic device 101 can receive a broadcast message sent by the printer 200, where the broadcast message includes the device information of the printer 200 (for example, the device name is "Printer P1") and a network configuration status identifier, and this network configuration status identifier is used to indicate that the printer 200 does not store the network configuration information of the local area network. Therefore, the electronic device 101 can display the connection control 542 corresponding to the printer 200 in the available printer list and display that the printer 200 is in an un-networked state.

[0125] The electronic device 101 can receive an operation (such as a click) from the user on the connection control 542. In response to this operation, the electronic device 101 can obtain the network name and network password of the local area network to which the electronic device 101 is connected from the local, and send the network name and network password to the printer 200. The printer 200 can connect to the local area network to which the electronic device 101 is connected according to the received network name and network password.

[0126] As Figure 4G shown, when the electronic device 101 obtains the online information of the printer 200 within the local area network, the electronic device 101 can display the status information 543 of the printer 200 (for example, idle) in the current printer list of the printer addition interface 540. Among them, after the electronic device 101 successfully configures the network for the printer 200, it can also request the cloud server 400 to bind the device information of the printer 200 and a specified cloud account. In this way, the printer 200 is added to the trust ring of the specified cloud account.

[0127] In some application scenarios, the printer 200 may be connected to the same local area network as the electronic device 101 through network configuration, but not bound to a specified cloud account. When the electronic device 101 displays the intelligent interconnection interface in the display control center, it can search for printers within the local area network. After the printer 200 is found, if it is determined that the printer 200 is bound to a specified cloud account, the electronic device 101 can display a binding pop-up window to prompt the user to bind the printer 200 to the specified cloud account, so that the printer 200 can be viewed or used in the intelligent interconnection interface of the control center. After receiving the user's operation to confirm the binding, the electronic device 101 can request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account. In this way, the printer 200 is added to the trust ring of the specified cloud account.

[0128] Figures 5A - 5B FIG. shows a schematic diagram of an interface for adding the device information of the printer 200 and binding it to a specified cloud account provided in an embodiment of the present application in the control center.

[0129] As Figure 5A shown, after the electronic device 101 receives the user's operation (such as a click) on the intelligent interconnection control card 411 in the control center interface 410 shown above Figure 2M the electronic device 101 can first display the intelligent interconnection interface 420. The electronic device 101 can search for the online information of other devices within the trust ring corresponding to the specified cloud account through a short-range communication technology (such as Bluetooth, WiFi) or the cloud server.

[0130] As Figure 5B shown, since the specified cloud account is logged in on the electronic device 102, the electronic device 101 can obtain the online information of the electronic device 102 through the cloud server. Therefore, the electronic device 101 can display the device option 423 of the electronic device 102 on the intelligent interconnection interface 420. The electronic device 101 can also search for devices around that are not bound to the specified cloud account through a short-range communication technology (such as Bluetooth, WiFi). For example, when the electronic device 101 discovers the printer 200 through a short-range communication technology and the printer 200 is not bound to the specified cloud account, the electronic device 101 can display a list 550 of devices to be bound, where the list 550 of devices to be bound includes the device name 551 of the printer 200 and an add control 552. The add control 552 can be used to trigger the electronic device 101 to request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account. The cancel control 553 can be used to trigger the electronic device 101 to cancel the request to the cloud server 400 to bind the device information of the printer 200 and the specified cloud account.

[0131] The electronic device 101 may receive an operation (such as a click) from the user on the add control 552. In response to this operation, the electronic device 101 sends the device information of the printer 200 and the specified cloud account to the cloud server 400, enabling the cloud server 400 to bind the device information of the printer 200 to the specified cloud account, thereby adding the printer 200 to the trust ring corresponding to the specified cloud account. The electronic device 101 may also add the device information of the printer 200 to the local list of devices in the ring.

[0132] After binding the device information of the printer 200 to the specified cloud account, when the electronic device 101 receives the online information of the printer 200, it may display the device options 422 of the printer 200 as described above on the intelligent interconnection interface 420. Figure 2N in the above-mentioned

[0133] Figures 5C - 5E FIG. shows a schematic diagram of an interface for unbinding the device information of a printer from a specified cloud account in a set of control centers provided in an embodiment of the present application.

[0134] As Figure 5C , after the electronic device 101 discovers that the printer 200 is online, it may display the device options 422 of the printer 200 on the intelligent interconnection interface 420. The electronic device 101 may receive an operation from the user to drag the device option 422 near the delete control 424.

[0135] As Figure 5D shown, in response to the operation of the user dragging the device option 422 near the delete control 424, the electronic device 101 may display a delete prompt box 560. The delete prompt box 560 may display a delete prompt 561, a confirmation control 562, and a cancel control 563. Among them, the delete prompt 561 is used to prompt the user whether to delete the printer 200 from the trust ring corresponding to the specified account. For example, the delete prompt 561 may be a text prompt "Whether to delete the XX printer Printer P1 from the trust ring". The confirmation control 562 can be used to trigger the electronic device 101 to delete the printer 200 from the trust ring corresponding to the specified account. The cancel control 563 can be used to trigger the electronic device 101 to cancel the deletion of the printer 200 from the trust ring corresponding to the specified account.

[0136] The electronic device 101 may receive an operation (such as a click) from the user on the confirmation control 562. In response to this operation, the electronic device 101 may request the cloud server to unbind the printer 200 from the specified account and delete the device information of the printer 200 from the local whitelist in the ring, thereby deleting the printer 200 from the trust ring corresponding to the specified account.

[0137] As Figure 5CAs shown in the figure, after the electronic device 101 deletes the printer 200 from the trust ring corresponding to the specified account, the device option 422 of the printer 200 can be cancelled from display on the intelligent interconnection interface 420.

[0138] In the embodiment of this application, the operation (such as clicking) of the user on the above confirmation control 562 can be referred to as a second operation.

[0139] The following introduces a software architecture of an electronic device provided in the embodiment of this application.

[0140] Figure 6 The figure shows a schematic diagram of a software architecture of an electronic device provided in the embodiment of this application.

[0141] As Figure 6 shown, the software architecture of the electronic device may include an application layer, a business middle platform, and a basic middle platform. Among them, the application layer may include a system interaction entry and a printing entry. The system interaction entry may include a control center. The printing entry may include a printing assistant, a smart space application, system settings printing, sharing printing, and third-party applications, etc.

[0142] The business middle platform may include a smart multi-modal human-computer interaction framework and a basic service framework. Among them, the smart multi-modal human-computer interaction framework may include a shared service management framework. The basic service framework may include a printing service.

[0143] The basic middle platform may include a trust ring (Magic Ring) framework. The trust ring framework may include a trust ring basic service and a system software and hardware resource sharing protocol component.

[0144] The trust ring basic service may include a printing sharing service. Among them, the printing sharing service may support functions such as the entry and exit of printers from the trust ring, printing device selection, printing management, and printing extension capabilities. The system software and hardware resource sharing protocol component may include a distributed printing service, a device management service, a far-field communication service, a data transmission service, an access networking (Nearby) service, a distributed call framework, and an ecological access framework (Magic Link).

[0145] The distributed printing service may include application programming interfaces (APIs) for one or more functions, a printing scheduling module, a near and far-field printing management module, an authorization management module, a protocol package shelf, third-party printing protocol packages, and Mopria protocol packages, etc. Among them, the one or more functions include status management, task management, device information management, device discovery, near-field connection, device authentication, and device configuration, etc.

[0146] The device management service can manage the device status, online / offline status, etc. of one or more devices within the trust ring. The far-field communication service can establish a communication connection with the far-field cloud server, thereby establishing a far-field transmission channel with the far-field communication services of other devices. The data transmission service can be called by the printing service to send file data on the far-field transmission channel or the near-field transmission channel. The nearby service can identify printers discovered via the near field and establish a near-field transmission channel with the printers. The distributed call framework can implement functions that can be called by other devices. The ecological access framework (Magic Link) can establish a communication connection with the device cloud server (e.g., a message queuing telemetry transport (MQTT) connection).

[0147] The system software and hardware resource sharing protocol component can provide a distributed printing protocol interface to the printing sharing service. Therefore, the printing sharing service can call the distributed printing service through the distributed printing protocol interface to complete printing functions such as printing device selection, printing management, and printing extension capabilities. The system software and hardware resource sharing protocol component can also provide call interfaces for functions such as the printer entering and leaving the trust ring, discovery, online / offline, etc. to the printing sharing service. Therefore, the printing sharing service can obtain the control of the printer entering and leaving the trust ring from the distributed printing service through the call interfaces for functions such as the printer entering and leaving the trust ring, discovery, online / offline, etc.

[0148] The trust ring basic sharing service can provide a call interface for the trust ring basic sharing service to the printing service. The printing service can provide a call interface for the printing service to the printing entry. The printing sharing service can register the printing sharing service with the shared service management framework. The shared service management framework can manage the shared services of multiple devices within the trust ring. Among them, the shared services of multiple devices within the trust ring can include the printing sharing service. The shared service management framework can obtain the online / offline status of the printer from the printing sharing service and send the online / offline status of the printer to the control center.

[0149] The control center can obtain the online / offline information of multiple devices within the trust ring from the shared service management framework. Among them, the online / offline information of multiple devices within the trust ring can include the online / offline information of the printer. Display device options of multiple devices entering the trust ring and the online / offline information of these multiple devices in the intelligent interconnection interface. Among them, the multiple devices in the trust ring can include printer 200, electronic device 101, electronic device 102, etc. Multiple devices in the same trust ring are logged in or bound to the same cloud account.

[0150] The following combines the above Figures 2A - 2S illustrated embodiments to specifically introduce the method flow of adding a printer in the intelligent space application.

[0151] Through the device management method provided in the embodiments of the present application, after the electronic device 101 uses the smart space to add and configure the printer 200 for printing, it can request the cloud server 400 to bind the device information of the printer 200 to a specified cloud account. In this way, the user can quickly call the printer 200 in the smart connection interface of the control center of the electronic device 101. Moreover, other devices logged in with the specified cloud account can receive the status information of the printer 200 and can also call the printer 200 for printing, which facilitates the user to use the same printer on different devices.

[0152] Figure 7 The flowchart shows a device management method provided in the embodiments of the present application.

[0153] As Figure 7 shown, this method can be applied to a communication system including an electronic device 101 and a cloud server 400. Among them, the electronic device 101 can include a smart space application, a device management service, an ecological access framework (Magic Link), a printing service, a printing assistant, etc. The cloud server 400 can include a device cloud server.

[0154] Among them, this method can include the following steps:

[0155] S701. The smart space application detects an operation in which the user selects the printer 200 for printing.

[0156] Among them, the operation in which the user selects the printer 200 for printing can be the operation on the service card 326 for the printer 200 in the above Figure 2E shown embodiment. For specific content, reference can be made to the above Figure 2E shown embodiment, which will not be elaborated here.

[0157] S702. The smart space application sends a printing request to the printing assistant. Among them, the printing request carries the device information of the printer 200.

[0158] Among them, the device information of the printer 200 includes the product identifier (product identifier, proID) of the printer 200 (for example, "P1"), the device identifier, the device name (for example, "Printer P1"), etc. Among them, the device identifier can include any one of a unique device identifier (unique device identifier, UDID), a MAC address, etc.

[0159] S703. The electronic device 101 displays a printing assistant interface.

[0160] For example, the printing assistant interface can refer to the above Figure 2FThe print assistant interface 340 in the illustrated embodiment will not be elaborated here.

[0161] S704. The print assistant detects that the user selects the target file in the print assistant interface.

[0162] For example, the operation of the user selecting the target file in the print assistant interface may refer to the above Figures 2F - 2G illustrated embodiment and will not be elaborated here.

[0163] S705. The print assistant displays the print interface.

[0164] For example, the print interface may refer to the print interface 360 in the above Figure 2H illustrated embodiment. For specific content, it may refer to the above Figure 2H illustrated embodiment and will not be elaborated here.

[0165] S706. The print assistant detects that it receives the target print parameters input by the user in the print interface and detects the user's operation of starting to print.

[0166] Among them, the user can select the target print parameters for the target print file in the print interface.

[0167] For example, the user's operation of starting to print may refer to the above Figure 2H illustrated embodiment. For the operation of the start print control 367, for specific content, it may refer to the above Figure 2H illustrated embodiment and will not be elaborated here.

[0168] S707. The print assistant sends a print task to the print service. Among them, the print task carries the target print parameters, the target file, and the device information of the printer 200.

[0169] S708. The print service controls the printer 200 to print the target file with the target print parameters.

[0170] Among them, the print service can call the protocol package shelf according to the device information of the printer 200 to load the target print protocol package matching the printer 200, and send the target print parameters and the target file to the printer 200 through the target print protocol package to control the printer 200 to print the target file with the target print parameters.

[0171] S709. The print service sends a print completion notification to the print assistant.

[0172] After the printer 200 finishes printing the target file with the target printing parameters, it can send a print completion message to the print service. The print completion message is used to notify that the printer 200 has completed printing the target file. After receiving the print completion message, the print service can send a print completion notice to the print assistant. The print assistant can display the print completion notice ( Figure 7 not reflected in), and the print completion notice is used to indicate that the printer 200 has completed printing the target file.

[0173] S710. The print assistant determines that the printer 200 is in the bound whitelist according to the device information of the printer 200.

[0174] Among them, the product identifiers of printers that can be added to the trust ring corresponding to the specified cloud account can be stored in the bound whitelist. Among them, after receiving the print completion notice, the print assistant can determine whether the product identifier of the printer 200 is stored in the bound whitelist. If the product identifier of the printer 200 is stored in the bound whitelist, the print assistant can determine that the printer 200 is in the bound whitelist. If the product identifier of the printer 200 is not stored in the bound whitelist, the print assistant can not perform the subsequent steps.

[0175] S711. The print assistant sends a binding judgment request to the device management service.

[0176] Among them, the device information of the printer 200 is carried in the binding judgment request. The binding judgment request can be used to request the device management service to judge whether the printer 200 has been bound to the specified cloud account.

[0177] S712. The device management service determines that the printer 200 is not bound to the specified cloud account according to the device information of the printer 200.

[0178] The bound device list of the specified cloud account can be stored in the device management service. The device management service can judge whether the device information of the printer 200 is included in the list of devices that have entered the ring. If the device information of the printer 200 is included in the bound device list, the device management service can determine that the printer 200 has been bound to the specified cloud account. If the device information of the printer 200 is not included in the bound device list, the device management service can determine that the printer 200 is not bound to the specified cloud account.

[0179] S713. The device management service returns a binding judgment result 1. The binding judgment result 1 is used to indicate that the printer 200 is not bound to the specified cloud account.

[0180] S714. The print assistant displays a binding pop-up window.

[0181] S715. The print assistant detects that the user authorizes the printer 200 to bind to the specified cloud account in the binding pop-up window.

[0182] Among them, the binding pop-up window can refer to the binding pop-up window 390 in the foregoing Figure 2K shown embodiment. The operation for the user to authorize the printer 200 to bind the specified cloud account in the binding pop-up window can be an operation on the confirmation control 393 in the above binding pop-up window 390. For specific content, reference can be made to the foregoing Figure 2K shown embodiment, which will not be elaborated here.

[0183] In a possible implementation, after the printing assistant receives the binding judgment result 1, it can display the binding pop-up window and directly execute the subsequent step S716.

[0184] S716. The printing assistant sends a binding request to the device management service. The device information of the printer 200 is carried in the binding request.

[0185] S717. The device management service sends a proxy binding request to the ecological access framework. Among them, the device information of the printer 200 and the specified cloud account are carried in the proxy binding request.

[0186] Since the cloud account currently logged in by the electronic device 101 in the device management service is the specified cloud account and the list of bound devices of the specified cloud account. Therefore, after the device management service receives the binding request sent by the printing assistant, it can obtain the device information of the printer 200 from the binding request and send a proxy binding request carrying the device information of the printer 200 and the specified cloud account to the ecological access framework.

[0187] Among them, the ecological access framework is used to communicate with the device cloud server.

[0188] S718. The ecological access framework sends a proxy registration request to the device cloud server. Among them, the device information of the printer 200, the specified cloud account and the registration authentication credential can be carried in the proxy registration request.

[0189] Among them, the ecological access framework can negotiate a challenge word with the device cloud server, and then the ecological access framework can obtain the fixed key of the preset printer 200. Then, the ecological access framework can calculate the registration authentication credential according to the device information of the printer 200, the challenge word and the fixed key.

[0190] S719. The device cloud server binds the device information of the printer 200 with the specified cloud account.

[0191] The device cloud server verifies the registration authentication credential, and after the verification of the registration authentication credential passes, it binds the device information of the printer 200 to the specified cloud account. Among them, the device cloud server can recalculate the registration authentication credential through the challenge word, the fixed key, and the device information of the printer 200. If the recalculated registration authentication credential is the same as the registration authentication credential carried in the proxy registration request, the verification of the registration authentication credential passes. After the verification of the registration authentication credential passes, the device cloud server can bind the device information of the printer 200 to the specified cloud account.

[0192] After the device cloud server binds the device information of the printer 200 to the specified cloud account, the printer 200 enters the trust ring corresponding to the specified cloud account. The device cloud server can store the device list corresponding to the specified cloud account, and the device list corresponding to the specified cloud account can record the device information of all devices logged in or bound to the specified cloud account. The device cloud server can manage and update the status information of all devices in the device list corresponding to the specified cloud account, and can synchronize the status information of all devices in the device list to the devices logged in to the specified cloud account. In this way, the devices logged in to this cloud account can view the status of the printer 200 or call the printer 200. Therefore, the device cloud server can synchronize the status information of the printer 200 to all devices (such as the electronic device 102) logged in to the specified cloud account. In this way, all devices logged in to the specified cloud account can call the printer 200 for printing.

[0193] S720. The device cloud server returns a binding success response to the ecological access framework. Among them, the binding success response is used to indicate that the printer 200 has successfully bound to the specified cloud account.

[0194] S721. The ecological access framework returns a binding success response to the device management service.

[0195] S722. The device management service adds the device information of the printer 200 to the list of bound devices of the specified cloud account.

[0196] Among them, since the device management service needs to regularly obtain the status information of each device logged in or bound to a specified cloud account from the device cloud server through the ecological access framework, and send the status information of each device to the control center, the control center can display the status information of each device logged in or bound to the specified cloud account in the intelligent interconnection interface. Therefore, after the device management service adds the device information of the printer 200 to the list of devices bound to the specified cloud account, it can obtain the status information of the printer 200 and send the status information of the printer 200 to the control center. The control center can display the status information of the printer 200 in the intelligent interconnection interface, and can also allow the user to select the printer 200 for printing in the intelligent interconnection interface. In this way, the user can call the printer 200 for printing at any time in the control center, instead of selecting the printer for printing in the intelligent space application every time.

[0197] S723. The device management service returns a binding success message to the print assistant. Among them, the binding success message is used to indicate that the printer 200 is successfully bound to the specified cloud account.

[0198] S724. The print assistant displays a binding success prompt.

[0199] Among them, the binding success prompt is used to prompt that the printer 200 has been successfully bound to the specified cloud account. Among them, the above step S724 is optional, and the print assistant may not display the binding success prompt.

[0200] In a possible implementation manner, the electronic device 101 can first configure the printer 200 to connect to the local area network where the electronic device 101 is located in the intelligent space application, and then use the printer 200 for printing. After the intelligent space application configures the printer 200 to successfully connect to the local area network where the electronic device 101 is located, it can trigger the electronic device 101 to request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account through the print assistant. Among them, the process of the print assistant triggering the electronic device 101 to request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account can refer to the above Figure 7 Steps S710 to S722 in the illustrated embodiment will not be described herein again.

[0201] In a possible implementation manner, the electronic device 101 can start the print assistant through the settings application and configure the printer 200 to connect to the local area network where the electronic device 101 is located in the print assistant. After the print assistant configures the printer 200 to connect to the local area network, it can request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account. Among them, the process of the print assistant triggering the electronic device 101 to request the cloud server 400 to bind the device information of the printer 200 and the specified cloud account can refer to the above Figure 7Steps S710 to S722 in the illustrated embodiments will not be elaborated here.

[0202] Next, in combination with the above Figures 5A - 5B illustrated embodiments, a method flow for adding a printer to the control center will be specifically introduced.

[0203] Through the device management method provided in the embodiments of the present application, when the electronic device 101 detects that the user triggers the intelligent interconnection interface of the display control center and finds that the printer 200 is not bound to the specified cloud account, it can request the cloud server 400 to bind the device information of the printer 200 to the specified cloud account. Among them, the intelligent interconnection interface can be used to control devices within the trust ring corresponding to the specified cloud account to perform corresponding operations. In this way, the user can quickly call the printer 200 in the intelligent interconnection interface of the control center of the electronic device 101. Moreover, other devices logged in with the specified cloud account can receive the status information of the printer 200 and can also call the printer 200 for printing, which facilitates the user to use the same printer on different devices.

[0204] Figure 8 The flowchart shows a device management method provided in another embodiment of the present application.

[0205] As Figure 8 shown, this method can be applied to a communication system including an electronic device 101 and a cloud server 400. Among them, the electronic device 101 can include a control center, a device management service, a Nearby service, a printer discovery protocol, a print assistant, an ecological access framework (Magic Link), etc. The cloud server 400 can include a device cloud server.

[0206] Among them, this method can include the following steps:

[0207] S801. The control center detects an operation by the user to open the intelligent interconnection interface.

[0208] For example, the intelligent interconnection interface can be the intelligent interconnection interface 420 in the above Figure 5A illustrated embodiments. The user opening the intelligent interconnection interface can be the operation of the user clicking on the intelligent interconnection card 411 in the above Figure 2M illustrated embodiments. For specific details, reference can be made to the foregoing Figure 2M 、 Figure 5A illustrated embodiments and will not be elaborated here.

[0209] In the embodiments of the present application, the above intelligent interconnection interface can be referred to as the first interface.

[0210] S802. The control center registers device online / offline monitoring with the device management service.

[0211] The online and offline monitoring of this device is used to request the device management service to report the status information of the device logged in or bound to a specified cloud account to the control center after obtaining the status information of the device logged in or bound to the specified cloud account.

[0212] S803. The device management service sends a registration request to the Nearby service. Among them, the list of devices bound to the specified cloud account is carried in the registration request.

[0213] The device management service can manage and save the list of devices bound to the specified cloud account. The list of devices bound includes the device information of one or more devices logged in or bound to the specified cloud account. Therefore, the control center can display the status information of one or more devices logged in or bound to the specified cloud account on the intelligent interconnection interface.

[0214] Among them, the device information of the printer 200 includes the product identifier (proID) of the printer 200 (for example, "P1"), the device identifier, the device name (for example, "Printer P1"), etc. Among them, the device identifier can include any one of the unique device identifier (UDID), MAC address, etc.

[0215] S804. The Nearby service registers a device status callback with the printer discovery protocol.

[0216] Among them, after obtaining the list of devices bound, the Nearby service can match the discovery protocols corresponding to each device within the trust ring according to the device information in the list of devices bound, so as to search for each device logged in or bound to the specified cloud account through the discovery protocols corresponding to each device within the trust ring. Since the list of devices bound includes the device information of other printers, the Nearby service can search for the printer 200 using the printer discovery protocol. The Nearby service can register a device status callback with the printer discovery protocol, and this device status callback is used for the printer discovery protocol to send a device discovery notification to the Nearby service after discovering the printer.

[0217] S805. The printer discovery protocol discovers the printer 200.

[0218] Among them, the communication methods for the printer discovery protocol to discover the printer 200 include but are not limited to Bluetooth and Wi-Fi, etc.

[0219] S806. The printer discovery protocol calls back a device discovery notification to the Nearby service. Among them, the device discovery notification carries the device information of the printer 200.

[0220] The Nearby service determines whether the printer 200 is bound to a specified cloud account based on the list of bound devices and the device information of the printer 200.

[0221] If the device information of the printer 200 is in the list of bound devices, then the printer 200 is bound to the specified cloud account, and steps S808 to S810 are executed.

[0222] If the device information of the printer 200 is in the list of bound devices, but the printer 200 is not bound to the specified cloud account, then steps S811 to S830 are executed.

[0223] S808. The Nearby service sends the status information of the printer 200 to the device management service.

[0224] Among them, the status information includes the online status and the offline status. Among them, the online status can include the idle state, the printing state, and so on. Specifically, in this embodiment, the Nearby service sends the online status of the printer 200 to the device management service.

[0225] S809. The device management service sends the status information of the bound devices to the control center. Among them, the status information of the bound devices includes the status information of the printer 200.

[0226] Among them, the bound devices can include devices that are logged in or bound to the specified cloud account.

[0227] S810. The control center displays the status information of the bound devices.

[0228] For example, as described above Figure 2N As shown, after receiving the status information of the bound devices, the control center can display the device option 422 of the printer 200 in the intelligent interconnection interface 420. When the device option 422 of the printer 200 is displayed in the intelligent interconnection interface 420, it means that the status information of the printer 200 is the online status. When the device option 422 of the printer 200 is not displayed in the intelligent interconnection interface 420, it means that the status information of the printer 200 is the offline status. Optionally, the control center can also display the status information of the devices in the loop through other display styles, which is not limited here.

[0229] S811. The Nearby service sends a discovery notice of the device to be bound to the device management service. Among them, the discovery notice of the device to be bound includes the device information of the printer 200.

[0230] S812. The device management service sends a discovery notice of the device to be bound to the control center.

[0231] The control center displays a list of devices to be bound, where the list of devices to be bound includes the device name of the printer 200.

[0232] The control center detects an operation in which the user authorizes the printer 200 to bind to a specified cloud account.

[0233] For example, the list of devices to be bound can refer to the list of devices to be bound 550 in the foregoing Figure 5B shown embodiment. The operation in which the user authorizes the printer 200 to bind to a specified cloud account can be the operation of adding the control 552 to the list of devices to be bound 550. For specific content, reference can be made to the foregoing Figure 5B shown embodiment, which will not be elaborated here.

[0234] The control center sends a binding instruction to the print assistant.

[0235] Among them, the binding instruction carries the device information of the printer 200. This binding instruction is used to instruct the print assistant to trigger the binding of the printer 200 to the specified cloud account.

[0236] Among them, since different types of devices are bound to a specified cloud account in different ways, the control center can trigger the binding of different devices to the specified cloud account through the respective business applications corresponding to different types of devices. For example, the way of binding a speaker device to a specified cloud account is different from the way of binding a printer to a cloud account. The business application of the speaker device is the speaker assistant, and the business application of the printer is the print assistant. Therefore, the control center can trigger the binding of the printer 200 to the specified cloud account by means of the print assistant, and the control center can trigger the binding of the printer 200 to the specified cloud account by means of the speaker assistant.

[0237] The print assistant sends a binding request to the device management service. Among them, the binding request carries the device information of the printer 200.

[0238] The device management service sends a proxy binding request to the ecological access framework. Among them, the proxy binding request carries the device information of the printer 200 and the specified cloud account.

[0239] The ecological access framework sends a request for applying for registration information to the device cloud server.

[0240] Among them, the request for applying for registration information is used to request to apply to the device cloud server for the registration of the device.

[0241] The device cloud server returns an application response to the ecological access framework.

[0242] Among them, this application response is used to indicate that the device cloud server agrees to the registration of the device applied by the ecological access framework.

[0243] The ecological access framework sends a challenge word exchange request to the device cloud server.

[0244] The challenge word exchange request is used to obtain a challenge word (challengenumber). The challenge word is used to calculate a registration authentication credential together with the device information and the fixed key of the printer 200.

[0245] S821. The device cloud server returns a challenge word exchange response to the ecological access framework.

[0246] Among them, the challenge word is carried in the challenge word exchange response.

[0247] In this way, the ecological access framework and the device cloud server can save the same challenge word.

[0248] S822. The ecological access framework can obtain the fixed key of the preset printer 200.

[0249] S823. The ecological access framework calculates a registration authentication credential according to the device information, the challenge word and the fixed key of the printer 200.

[0250] S824. The ecological access framework sends a proxy registration request to the device cloud server. Among them, the proxy registration request can carry the device information of the printer 200, the specified cloud account and the registration authentication credential.

[0251] S825. The device cloud server verifies the registration authentication credential and binds the device information of the printer 200 to the specified cloud account.

[0252] Among them, the device cloud server can recalculate the registration authentication credential through the challenge word, the fixed key and the device information of the printer 200. If the recalculated registration authentication credential is the same as the registration authentication credential carried in the proxy registration request, the verification of the registration authentication credential passes. After the verification of the registration authentication credential passes, the device cloud server can bind the device information of the printer 200 to the specified cloud account.

[0253] Among them, a device list corresponding to the specified cloud account can be saved on the device cloud server. The device list corresponding to the specified cloud account can record the device information of all devices logged in or bound to the specified cloud account. The device cloud server can manage and update the status information of all devices in the device list corresponding to the specified cloud account, and can synchronize the status information of all devices in the device list to the devices logged in with the specified cloud account. In this way, the devices logged in with this cloud account can view the status of the printer 200 or call the printer 200.

[0254] After the device cloud account binds the device information of the printer 200 to a specified cloud account, it can return a binding success response to the ecological access framework. Among them, the binding success response is used to indicate that the printer 200 has successfully joined the trust ring corresponding to the specified cloud account.

[0255] S827. The ecological access framework can return a binding success response to the device management service.

[0256] S828. The device management service can return a binding success response to the print assistant.

[0257] Among them, after the print assistant obtains the returned binding success response, it can return a binding success response to the control center. The control center can display a binding success prompt after receiving the returned binding success response. Among them, the binding success prompt is used to prompt that the printer 200 is bound to the specified cloud account.

[0258] S829. The device management service can call the callbacks of each service to notify the control center of the status information of the bound device. Among them, the status information of the bound device includes the status information of the printer 200.

[0259] S830. The control center displays the status information of the bound device.

[0260] For example, as described above Figure 2N shown, after the control center receives the status information of the bound device, it can display the device option 422 of the printer 200 in the intelligent interconnection interface 420. When the device option 422 of the printer 200 is displayed in the intelligent interconnection interface 420, it means that the status information of the printer 200 is the online state. When the device option 422 of the printer 200 is not displayed in the intelligent interconnection interface 420, it means that the status information of the printer 200 is the offline state. Optionally, the control center can also display the status information of the bound device through other display styles, which is not limited here.

[0261] Next, in combination with the above Figures 2M - 2N shown embodiment, the process of displaying the printer online in the control center will be specifically introduced.

[0262] By displaying the device online in the control center provided in the embodiments of the present application, after the electronic device 101 requests the cloud server 400 to bind the device information of the printer 200 to a specified cloud account, when the user triggers the intelligent interconnection interface of the control center, the status information of the printer 200 can be quickly displayed in the intelligent interconnection interface of the control center, so that the user can use the printer 200 in the intelligent interconnection interface of the control center.

[0263] Figure 9The figure shows a schematic flow diagram of a method for displaying device online status in a control center provided in an embodiment of the present application.

[0264] As Figure 9 shown, this method can be applied to a communication system including an electronic device 101 and a printer 200. Among them, the electronic device 101 may include a control center, a shared service management framework, a print sharing service, a distributed print service, a printer 200, etc. Among them, the cloud server 400 has bound the device information of the printer 200 to a specified cloud account, and the electronic device 101 locally stores a list of devices bound to the specified cloud account, and the list of bound devices includes the device information of the printer 200.

[0265] The method may include the following steps:

[0266] S901. The control center detects an operation by the user to open the intelligent interconnection interface.

[0267] For example, the operation by the user to open the intelligent interconnection interface may be the operation on the intelligent interconnection control card 411 as shown in the above Figure 2M embodiment. For the specific content, reference may be made to the foregoing Figure 2N embodiment, which will not be elaborated here.

[0268] S902. The control center sends a call request to the shared service management framework.

[0269] Among them, the call request may include the device types of devices bound or logged in with the specified cloud account. The call request can be used by the shared service management framework to initialize the respective shared services of the devices that have entered the trusted ring, so as to discover various types of devices that have entered the trusted ring through these shared services. For example, the devices bound or logged in with the specified cloud account may include printers, speakers, cameras, TVs, etc. Therefore, the shared services initialized by the shared service management framework may include shared services corresponding to devices such as print sharing services, speaker sharing services, camera sharing services, and TV sharing services.

[0270] S903. The shared service management framework sends an initialization request to the print sharing service.

[0271] Since the device types of devices bound or logged in with the specified cloud account include printers. Therefore, the shared service management framework can send an initialization request to the print sharing service.

[0272] S904. The print sharing service registers a device discovery callback in the distributed print service.

[0273] After receiving an initialization request, the print sharing service can register a device discovery callback with the distributed print service, so that after the distributed print service discovers a printer, it can call back the device discovery notification to the print sharing service.

[0274] S905. The distributed print service scans the multicast domain name system (mDns) broadcast.

[0275] The distributed print service can discover printers through various printer discovery methods. Among them, the printer discovery methods can include scanning the mDns broadcast sent by the printer within the local area network. In a possible implementation, the printer discovery methods can also include scanning the Bluetooth broadcast sent by the printer, etc.

[0276] S906. Printer 200 powers on and goes online.

[0277] S907. Printer 200 sends mDns broadcast 1. Among them, mDns broadcast 1 carries the device information of printer 200.

[0278] Among them, after going online, printer 200 can connect to the local area network and send mDns broadcast 1 in the local area network. The device information of printer 200 includes the product identifier (proID) of printer 200 (for example, "P1"), device identifier, device name (for example, "Printer P1"), etc. Among them, the device identifier can include any one of the unique device identifier (UDID), MAC address, etc.

[0279] S908. After receiving mDns broadcast 1, the distributed print service updates the status of printer 200 to the online status.

[0280] S909. The distributed print service calls back the device discovery notification to the printer sharing service. Among them, the distributed print service carries the online status of printer 200.

[0281] S910. The print sharing service registers the print sharing service with the shared service management framework. Among them, during the process of registering the print sharing service, the print sharing service sends the online status of printer 200 to the shared service management framework.

[0282] S911. The shared service management framework sends the online status of printer 200 to the control center.

[0283] S912. The control center displays that printer 200 is in the online status on the intelligent interconnection interface.

[0284] For example, as described above Figure 2N As shown, after receiving the online status of the printer 200, the control center can display the device options 422 of the printer 200 in the intelligent interconnection interface 420. When the device options 422 of the printer 200 are displayed in the intelligent interconnection interface 420, it indicates that the printer 200 is in the online state. Optionally, the control center can also display the status information of the devices logged in or bound to the specified cloud account through other display styles, which is not limited here.

[0285] Next, based on the above Figure 9 shown embodiment, the process of displaying the device going online in the control center will be specifically introduced.

[0286] Figure 10 The flowchart shows the process of displaying the device going online in the control center provided in another embodiment of the present application.

[0287] As Figure 10 shown, this method can be applied to a communication system including an electronic device 101 and a printer 200. Among them, the electronic device 101 can include a control center, a shared service management framework, a print sharing service, a distributed print service, a printer 200, etc. Among them, the Nearby service can include an authentication management module (authentication manager) and a device monitoring service (device monitor service). The distributed print service can include an mDns listener (mDns monitor), a printer discovery protocol, and a network service discovery management module (network service discovery, Nsd manager).

[0288] Among them, this method can include the following steps:

[0289] S1001. The control center detects the operation of the user opening the intelligent interconnection interface.

[0290] For example, the operation of the user opening the intelligent interconnection interface can be the operation on the intelligent interconnection control card 411 in the above Figure 2M shown embodiment. For specific content, reference can be made to the above Figure 2M shown embodiment, which will not be elaborated here.

[0291] S1002. The control center sends a call request to the shared service management framework.

[0292] Among them, the call request may include the device type of the device that has logged in or bound to a specified cloud account. The call request can be used to share the service management framework to initialize the respective shared services of the devices that have logged in or bound to a specified cloud account, so as to discover various devices that have logged in or bound to a specified cloud account through these shared services. For example, the devices that have logged in or bound to a specified cloud account may include printers, speakers, cameras, TVs, etc. Therefore, the shared services initialized by the shared service management framework may include shared services corresponding to devices such as print sharing services, speaker sharing services, camera sharing services, and TV sharing services.

[0293] S1003. The shared service management framework sends an initialization request to the print sharing service.

[0294] Since the device types of the devices that have logged in or bound to a specified cloud account include printers. Therefore, the shared service management framework can send an initialization request to the print sharing service.

[0295] S1004. The print sharing service registers a device discovery callback in the device listening service.

[0296] After receiving the initialization request, the print sharing service can first register a device discovery callback in the device listening service of the Nearby service. The device discovery callback is used to trigger the device listening service to return the obtained printer status information to the print sharing service after obtaining the status information of the printer.

[0297] S1005. The device listening service enables the mDns listener.

[0298] Among them, the distributed print service can manage one or more listeners for discovering printers. Among them, one or more printers' listeners may include an mDns listener, a Bluetooth listener ( Figure 10 not shown in the figure), etc. Therefore, the device listening service can enable the mDns listener and the Bluetooth listener to search for printers.

[0299] S1006. The mDns listener sends a printer listening information acquisition request to the printer discovery protocol.

[0300] This printer listening information acquisition request is used to acquire printer listening information.

[0301] S1007. The printer discovery protocol sends printer listening information to the mDns listener.

[0302] Among them, the printer listening information includes the interfaces of the modules set in the printer discovery protocol for listening to printers. For example, the module set in the printer discovery protocol for listening to printers may be a network service discovery management module.

[0303] The S1008 mDns listener determines to use the network service discovery management module to monitor the online and offline status of the printer based on the printer monitoring information.

[0304] S1009. The mDns listener registers the printer monitoring with the network service discovery management module.

[0305] S1010. Printer 200 goes online.

[0306] Among them, after going online, Printer 200 can be connected to the local area network and send mDns broadcast 1 in the local area network.

[0307] S1011. Printer 200 sends mDns broadcast 1. Among them, the mDns broadcast 1 carries print service information.

[0308] S1012. After receiving the mDns broadcast 1, the network service discovery management module obtains the print service information from the mDns broadcast 1.

[0309] Among them, the printer service information carries the service types supported by Printer 200 (such as print service) and device information. The device information of Printer 200 includes the product identifier (product identifier, proID) of Printer 200 (for example, "PrinterP1"), device identifier, device name (for example, "XX Printer Printer P1"), etc. Among them, the device identifier can include any one of the unique device identifier (unique device identifier, UDID), MAC address, etc.

[0310] S1013 The network service discovery management module sends the print service information to the mDns listener.

[0311] S1014. The mDns listener sends the print service information to the printer discovery protocol.

[0312] S1015. The printer discovery protocol determines the printer information based on the printer service information. Among them, the printer information carries the device information and authentication method of Printer 200.

[0313] S1016. The printer discovery protocol sends the printer information to the mDns listener.

[0314] S1017. The mDns listener sends the printer information to the device monitoring service.

[0315] S1018. The device monitoring service determines to perform whitelist authentication on Printer 200 through the authentication management module based on the printer information.

[0316] Specifically, the device monitoring service authenticates the printer 200, and determines to perform whitelist authentication on the printer 200 through the authentication management module.

[0317] S1019. The device monitoring service sends a device authentication request to the authentication management module.

[0318] The device authentication request is used to request the authentication management module to perform whitelist authentication on the printer 200. Among them, the device information of the printer 200 is carried in the device authentication request.

[0319] S1020. The authentication management module performs whitelist authentication on the printer 200.

[0320] Among them, the authentication management module stores a bound whitelist, and the product identifier of the printer that can be added to the trust ring corresponding to the specified cloud account can be stored in the bound whitelist. The authentication management module can determine whether the product identifier of the printer 200 exists in the bound whitelist.

[0321] If the product identifier of the printer 200 exists in the bound whitelist and the printer 200 has been bound to the specified cloud account, then steps S1021 to S1025 are executed.

[0322] If the product identifier of the printer 200 exists in the bound whitelist and the printer 200 has not been bound to the specified cloud account, then steps S1026 to S1030 are executed.

[0323] If the product identifier of the printer 200 does not exist in the bound whitelist, the authentication management module notifies the device monitoring service that the whitelist authentication of the printer 200 fails. The device monitoring service does not report the status information of the printer 200 to the print sharing service.

[0324] S1021. The authentication management module sends authentication result 1 to the device monitoring service. Among them, authentication result 1 is used to indicate that the printer 200 is in the in-ring whitelist and the printer 200 has entered the trust ring corresponding to the specified cloud account.

[0325] S1022. The device monitoring service calls back the device discovery notification to the print sharing service.

[0326] S1023. The print sharing service registers the print sharing service with the shared service management framework.

[0327] S1024. The shared service management framework sends the online status of the printer 200 to the control center.

[0328] S1025. The control center displays that the printer 200 is online on the intelligent interconnection interface.

[0329] For example, as described above Figure 2NAs shown, after receiving the online status of the printer 200, the control center can display the device options 422 of the printer 200 in the intelligent interconnection interface 420. When the device options 422 of the printer 200 are displayed in the intelligent interconnection interface 420, it indicates that the printer 200 is in the online state. Optionally, the control center can also display the status information of the bound devices in other display styles, which is not limited here.

[0330] S1026. The authentication management module sends the authentication result 2 to the device monitoring service. Among them, the authentication result 2 is used to indicate that the printer 200 is in the white list binding and the printer 200 is not bound to the specified cloud account.

[0331] S1027. The device monitoring service sends an unbound callback notification to the print sharing service. Among them, the unbound callback notification carries the device information of the printer 200.

[0332] S1028. The print sharing service sends the unbound device information to the shared service management framework. Among them, the unbound device information carries the device information of the printer 200.

[0333] S1029. The shared service management framework sends the unbound device information to the control center.

[0334] S1030. The control center displays the list of devices to be bound. Among them, the list of devices to be bound includes the device name of the printer 200.

[0335] For example, the list of devices to be bound can refer to the list of devices to be bound 460 in the above Figure 5B shown embodiment. The operation for the user to authorize the binding of the printer 200 to the specified cloud account can be the operation of adding the control 552 to the list of devices to be bound 550 above. For specific content, reference can be made to the foregoing Figure 5B shown embodiment, which will not be elaborated here.

[0336] After the control center displays the list of devices to be bound, when the control center detects the operation of binding the printer 200 to the specified cloud account, it can trigger the cloud server 400 to bind the printer 200 to the specified cloud account. Among them, the process for the control center to trigger the binding of the printer 200 to the specified cloud account can refer to the foregoing Figure 8 shown embodiment, which will not be elaborated here.

[0337] Through the process of displaying the device online provided in the embodiments of the present application, after the electronic device 101 binds the printer 200 to the specified cloud account logged in on the electronic device 101, when the user triggers the intelligent connection interface of the display control center, the electronic device 101 can quickly display the status information of the printer 200 in the intelligent connection interface of the control center, so that the user can use the printer 200 in the intelligent connection interface of the control center.

[0338] The following combines the above Figures 5C - 5E illustrated embodiments to specifically introduce the process of unbinding the device from the cloud account.

[0339] Figure 11 Fig. shows a schematic flowchart of a process for unbinding a device from a cloud account provided in an embodiment of the present application.

[0340] As Figure 11 shown, this method can be applied to a communication system including an electronic device 101 and a cloud server 400. Among them, the electronic device 101 may include a control center, a device management service, an ecological access framework (Magic Link), a print assistant, etc. The cloud server 400 may include a device cloud server.

[0341] S1101. The control center detects an operation by the user to unbind the printer 200 from the specified cloud account.

[0342] Among them, the operation by the user to unbind the printer 200 from the specified cloud account can refer to the foregoing Figures 5C - 5E illustrated embodiments and will not be elaborated herein.

[0343] S1102. The control center sends an unbinding request to the print assistant. Among them, the out-of-loop request carries the specified cloud account and the device information of the printer 200.

[0344] S1103. The print assistant sends an unbinding instruction to the device management service. Among them, the unbinding instruction carries the specified cloud account and the device information of the printer 200.

[0345] S1104. The device management service sends an unbinding notice to the ecological access framework. Among them, the unbinding notice carries the specified cloud account and the device information of the printer 200.

[0346] S1105. The ecological access framework sends an unbinding notice to the device cloud server.

[0347] S1106. The device cloud server unbinds the device information of the printer 200 from the specified cloud account.

[0348] After the device cloud server unbinds the device information of the second electronic device from the cloud account, it can delete the device information of the printer 200 in the device list corresponding to the cloud account, so that the devices logged in with the cloud account cannot obtain the status information of the printer 200 through the cloud server.

[0349] S1107. The device cloud server sends a successful unbinding response to the ecological access framework.

[0350] Among them, the successful unbinding response is used to indicate that the device information of the printer 200 has been unbound from the specified cloud account.

[0351] S1108. The ecological access framework sends a successful unbinding to the device management service.

[0352] S1109. The device management service deletes the device information of the printer 200 from the list of bound devices.

[0353] S1110. The device management service sends the status information of the updated bound devices to the control center.

[0354] Among them, the status information of the updated bound devices does not include the device information of the printer 200. After the device management service deletes the device information of the printer 200 from the list of bound devices, it can obtain the updated list of bound devices. Then, the device management service can send the status information of the updated bound devices to the control center by obtaining the status information of the updated bound devices and through the services of each device.

[0355] S1111. The control center displays the updated bound devices on the intelligent interconnection interface. Among them, the updated bound devices do not include the printer 200.

[0356] Through the process of unbinding the device from the cloud account provided in the embodiments of the present application, it can be realized that after the electronic device 101 binds the printer 200 to the specified cloud account logged in on the electronic device 101, the user can be quickly triggered through the control center to unbind the printer 200 from the specified cloud account.

[0357] The following describes the process in which after the electronic device 101 triggers the cloud server 400 to bind the printer 200 to the specified cloud account, the electronic device 101 synchronizes the configuration information of the printer 200 to the electronic device 102 that is also logged in with the specified cloud account.

[0358] After the electronic device 101 binds the device information of the printer 200 to the specified cloud account logged in on the electronic device 101, the electronic device 101 can synchronize the configuration information to the electronic device 102 logged in to the specified cloud account. In this way, the electronic device 102 can control the printer 200 to print without separate configuration during the use of the printer 200.

[0359] Figure 12 FIG. 4 shows a schematic flowchart of a printer configuration synchronization process provided in an embodiment of the present application.

[0360] As Figure 12 shown, the method can be applied to a communication system including an electronic device 101, an electronic device 102, a printer 200, and a cloud server 400.

[0361] Wherein, the method may include the following steps:

[0362] S1201. Detect an operation of the user setting the target printing parameters of the printer 200.

[0363] The operation of the target printing parameters of the printer 200 may refer to the foregoing Figure 2H shown embodiment, which will not be elaborated herein. The target printing parameters may include the number of copies, single-sided or double-sided printing, paper size, color or black-and-white printing, etc.

[0364] S1202. The electronic device 101 synchronizes the configuration information of the printer 200 to the cloud server 400.

[0365] Among them, the configuration information of the printer 200 includes a loop-in credential and target printing parameters. The loop-in credential can be used to grant other devices logged in to the specified cloud account the permission to call the printer 200.

[0366] S1203. The cloud server 400 encrypts and stores the configuration information of the printer 200.

[0367] S1204. The cloud server 400 synchronizes the configuration information of the printer 200 to the electronic device 102.

[0368] S1205. The electronic device 102 detects that the printer 200 is online.

[0369] Among them, after detecting the online status of the printer 200, the electronic device 101 may send the online status of the printer 200 to the cloud server 400. After receiving the online status of the printer 200, the cloud server 400 may send the online status of the printer 200 to the electronic device 102 logged in to the specified cloud account.

[0370] S1206. The electronic device 102 detects that the user invokes the printer 200.

[0371] Among them, for the electronic device 102 to detect that the user invokes the printer 200, reference can be made to the operation of the electronic device 101 detecting that the user invokes the printer 200 in the foregoing embodiments, which will not be elaborated here.

[0372] S1207. The electronic device 102 sets the initial printing parameters of the printer 200 as the target printing parameters.

[0373] S1208. The electronic device 102 can use the in-loop credentials to control the printer 200 to perform a printing task.

[0374] Next, based on the foregoing Figure 12 illustrated embodiments, the process in which the electronic device 101 triggers the cloud server 400 to bind the printer 200 to a specified cloud account and then the electronic device 101 synchronizes the configuration information of the printer 200 to the electronic device 102 that is also logged in with the specified cloud account will be specifically introduced.

[0375] Figure 13 Fig. shows a schematic flow chart of a printer configuration synchronization process provided in another embodiment of the present application.

[0376] As Figure 13 shown, this method can be applied to a communication system including an electronic device 101, an electronic device 102, and a cloud server 400. Among them, the electronic device 101 can include a device management module 1011 and a printing assistant 1012. The electronic device 102 can include a device management module 1021 and a printing assistant 1022. The cloud server 400 can include a device cloud server and a space cloud server. Among them, the specified cloud account is logged in on both the electronic device 101 and the electronic device 102.

[0377] Among them, this method can include the following steps:

[0378] S1301. The printing assistant 1012 detects that the user sets the target printing parameters of the printer 200.

[0379] For the operation of the target printing parameters of the printer 200, reference can be made to the Figure 2H illustrated embodiments above, which will not be elaborated here. The target printing parameters can include the number of copies, single-sided or double-sided printing, paper size, color or black-and-white printing, etc.

[0380] Among them, after the user sets the target printing parameters of the device printer 200 on the electronic device 101. The electronic device 101 can synchronize the configuration information of the printer 200 to the electronic device 102 through the following two configuration synchronization methods.

[0381] Configuration synchronization method 1 may include the following steps S1302 to S1307. Configuration synchronization method 2 may include the following steps S1308 to S1313.

[0382] Configuration synchronization method 1:

[0383] S1302. The printing assistant 1012 sends the target printing parameters to the device management module 1011.

[0384] For example, the printing parameter 1 may be 5 copies, single-sided printing, paper size A4, black and white printing, etc.

[0385] S1303. The device management module 1011 sends the configuration information of the printer 200 to the device cloud server 401.

[0386] S1304. The device cloud server synchronizes the configuration information of the printer 200 to the device management module 1021.

[0387] S1305. The device management module 1021 parses the target printing parameters from the configuration information of the printer 200.

[0388] S1306. The device management module 1021 sends the target printing parameters to the printing assistant 1022.

[0389] S1307. The printing assistant 1022 sets the initial printing parameters as the target printing parameters.

[0390] Configuration synchronization method 2:

[0391] S1308. The printing assistant 1012 uploads the target printing parameters of the printer 200 to the space cloud server 402.

[0392] S1309. The space cloud server 402 sends the version number of the target printing parameters to the printing assistant 1022.

[0393] S1310. The printing assistant 1022 determines whether it is necessary to update and download the target printing parameters locally according to the version number of the target printing parameters.

[0394] S1311. If it is necessary to download the target printing parameters, the printing assistant 1022 sends a printing parameter download request to the space cloud server 402. Among them, the device information of the printer 200 is carried in the printing parameter download request.

[0395] S1312. The space cloud server 402 returns the target printing parameters of the printer 200 to the printing assistant 1022.

[0396] S1313. The printing assistant 1022 sets the initial printing parameters as the target printing parameters.

[0397] Through the printer configuration synchronization process provided in the embodiments of the present application, after the electronic device 101 adds the printer 200 to the trust ring corresponding to the specified cloud account logged in on the electronic device 101, the electronic device 101 can synchronize the configuration information to the electronic device 102 logged in to the specified cloud account. In this way, the electronic device 102 can control the printer 200 to print without separate configuration during the use of the printer 200.

[0398] The following introduces the hardware structure of an electronic device provided in the embodiments of the present application.

[0399] Figure 14A FIG. shows a schematic diagram of the hardware structure of an electronic device 100 provided in the embodiments of the present application.

[0400] It should be understood that Figure 14A the illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those Figure 14A shown, may combine two or more components, or may have different component configurations. Figure 14A The various components shown in can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0401] The electronic device 100 may include: a processor 110, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a camera 193, and a display screen 194. Among them, the sensor module 180 may include a touch sensor 180K, etc.

[0402] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0403] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0404] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0405] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0406] The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.

[0407] The antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0408] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0409] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.

[0410] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.

[0411] The electronic device 100 implements the display function through the GPU, the display screen 194, the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0412] The electronic device 100 may implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, etc. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture still images or videos.

[0413] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, etc. The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The speaker 170A, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The receiver 170B, also known as a "handset", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the receiver 170B can be placed close to the human ear to receive the voice. The microphone 170C, also known as a "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. The headphone jack 170D is used to connect a wired headphone. The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from where the display screen 194 is located.

[0414] In the embodiments of the present application, the device type of the electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), and smart home devices such as a smart large screen and a smart speaker, wearable devices such as a smart bracelet, a smart watch, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices or smart city devices, etc., any one of them.

[0415] It should be noted that, for the above Figure 1 structures of the electronic devices 101 and 102 in the illustrated embodiments, reference can be made to the above Figure 14A illustrated electronic device 100, which will not be elaborated here.

[0416] Next, the hardware structure of the printer 200 provided by the embodiments of the present application will be introduced.

[0417] Figure 14B FIG. shows a schematic diagram of the hardware structure of a printer 200 provided by the embodiments of the present application.

[0418] AsFigure 14B As shown, the printer 200 may include: a processor 211, a memory 212, a wireless communication module 213, a power switch 214, and a printing module 215. Among them:

[0419] The processor 211 may include one or more processing units. For example, the processor 211 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0420] Among them, the controller may be the nerve center and command center of the printer 200. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0421] A memory may also be provided in the processor 211 for storing instructions and data. In some embodiments, the memory in the processor 211 is a cache memory. This memory may save the instructions or data that the processor 211 has just used or recycled. If the processor 211 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 211, and thus improves the efficiency of the system.

[0422] In some embodiments, the processor 211 may be used to parse the signals received by the wireless communication module 213 and demodulate the signals. The processor 211 may respond according to the parsing results and perform corresponding operations, such as performing sensing operations, etc. In some embodiments, the processor 211 may also be used to generate the signals sent out by the wireless communication module 213, such as Wi-Fi signals, Bluetooth signals, etc.

[0423] The memory 212 is coupled to the processor 211 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, the memory 212 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 212 may store an operating system, such as an embedded operating system like uCOS, VxWorks, RTLinux, etc. The memory 212 may also store a communication program, which can be used to communicate with the wireless access device 300 or other devices.

[0424] The wireless communication module 213 may include a Wi-Fi module. The Wi-Fi module can provide a solution for Wi-Fi wireless communication applied to the printer 200. Among them, the Wi-Fi protocol used in the Wi-Fi module may be IEEE802.11a, 802.11b, 802.11n, 802.11ac, 802.11ax, etc.

[0425] Possibly, the wireless communication module 213 may also include other communication modules to provide solutions for other wireless communications (for example, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR)).

[0426] Possibly, the Wi-Fi module can be integrated with other communication modules (such as a Bluetooth communication module). The Wi-Fi module can monitor signals transmitted by other devices, such as measurement signals, scan signals, etc., and can send response signals, such as measurement responses, scan responses, etc., so that other devices can discover the wireless access device 300 and establish a wireless communication connection with other devices through one or more of WLAN, Bluetooth, or other short-range wireless communication technologies for data transmission.

[0427] In some other embodiments, one or more of the Wi-Fi modules may also transmit signals, such as broadcast probe signals, beacon signals, so that other devices can discover the wireless access device 300 and establish a wireless communication connection with other devices through WLAN or other short-range wireless communication technologies for data transmission.

[0428] The power switch 214 can be used to turn off or turn on the printer 200.

[0429] The printing module 215 can be used to print out paper documents. In one possible implementation, the printing module 215 can also copy paper documents or scan electronic documents from paper documents.

[0430] In some embodiments, the hardware structure of the printer 200 may further include an audio module ( Figure 14B (not shown in Figure 14B ) and a speaker (not shown in

[0431] ). The audio module is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module can also be used to encode and decode audio signals. The speaker, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. Figure 14B In some embodiments, the hardware structure of the printer 200 may further include a microphone (not shown in

[0432] ). The microphone, also known as a "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak close to the microphone with their mouth to input the sound signal into the microphone. The printer 200 can be provided with at least one microphone. Figure 14B In some embodiments, the hardware structure of the printer 200 may further include a display screen (not shown in

[0433] ). The display screen is used to display images, videos, etc. The display screen includes a display panel. In some embodiments, the printer 200 may include one or N display screens, where N is a positive integer greater than 1. Figure 14B It should be noted that the printer 200 shown is only one implementation of the embodiments of the present application. In actual applications, the printer 200 may further include more or fewer components, which are not limited here.

[0434] Next, the hardware structure of the cloud server 400 provided by the embodiments of the present application will be introduced.

[0435] Figure 14C The schematic diagram of the hardware structure of a cloud server 400 provided by the embodiments of the present application is shown.

[0436] As Figure 14C shown, the cloud server 400 includes one or more processors 4011, a communication interface 4012, and a memory 4013. The processors 4011, the communication interface 4012, and the memory 4013 can be connected through a bus or other means. In the embodiments of the present application, taking the connection through the bus 4014 as an example. Among them:

[0437] The processor 4011 may be composed of one or more general-purpose processors, such as a CPU. The processor 4011 can be used to run the program code related to the device control method.

[0438] The communication interface 4012 can be a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface), and is used to communicate with other nodes. In the embodiments of the present application, the communication interface 4012 can be specifically used to communicate with devices such as the wireless access device 300, the electronic device 101, and the electronic device 102.

[0439] The memory 4013 may include volatile memory, such as RAM; the memory may also include non-volatile memory, such as ROM, flash memory, HDD, or solid state disk (SSD); the memory 4013 may further include a combination of the above types of memory. The memory 4013 can be used to store a set of program codes, so that the processor 4011 can call the program codes stored in the memory 4013 to implement the implementation method of the present application embodiment on the server. In the embodiments of the present application, the memory 4013 can also be a storage array, etc.

[0440] In some embodiments, the cloud server 400 may include multiple servers, for example, a device cloud server, a far-field cloud server, etc. The hardware structures of these multiple servers can all refer to the hardware structure of the cloud server 400 shown above. Figure 14C as shown in the cloud server 400.

[0441] It should be noted that Figure 14C the cloud server 400 shown is only one implementation manner of the embodiments of the present application. In actual applications, the cloud server 400 may further include more or fewer components, which are not limited here.

[0442] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments can be implemented.

[0443] The embodiments of the present application also provide a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above method embodiments.

[0444] The embodiments of the present application also provide a chip system. The chip system includes a processor, the processor is coupled to a memory, and the processor executes the computer program stored in the memory to implement the steps of any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.

[0445] The term "user interface (UI)" in the specification and drawings of this application is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is source code written in specific computer languages such as Java and Extensible Markup Language (XML). The interface source code is parsed and rendered on a terminal device and finally presented as content recognizable by the user, such as controls like pictures, texts, and buttons. A control, also known as a widget, is a basic element of the user interface. Typical controls include a toolbar, a menubar, a text box, a button, a scrollbar, pictures, and texts. The attributes and content of the controls in the interface are defined through tags or nodes. For example, XML passes through <textview> 、 <imgview> 、 <videoview>Nodes such as these are used to define the controls included in the interface. One node corresponds to one control or property in the interface, and after being parsed and rendered, the node presents visible content to the user. In addition, in the interfaces of many applications, such as hybrid applications, there are usually web pages included. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hyper text markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as recognizable content to the user by a browser or a web page display component similar to the browser in function. The specific content included in the web page is also defined by tags or nodes in the web page source code. For example, HTML uses 、 、 <video> 、 <canvas>to define the elements and attributes of a web page.

[0446] A commonly used form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc.

[0447] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc.

[0448] Those of ordinary skill in the art can understand all or part of the processes in the above method embodiments. The processes can be completed by relevant hardware instructed by a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disks, or optical discs, etc., which can store program codes of various types.

[0449] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.< / canvas> < / video> < / videoview> < / imgview> < / textview>

Claims

1. A device management method, characterized in that Applied to a first electronic device with a cloud account logged in thereon; the method includes: The first electronic device connects to a first local area network and saves the network name and network password of the first local area network; The first electronic device receives a first message sent by the second electronic device which has not logged in to the cloud account. The first message includes the device information of the second electronic device and a network configuration status identifier, and the network configuration status identifier is used to indicate that the second electronic device does not store the network configuration information of the local area network; In response to receiving the first message, the first electronic device sends first network configuration information to the second electronic device, where the first network configuration information includes the network name and network password of the first local area network, and the first network configuration information is used to instruct the second electronic device to connect to the first local area network; After the first electronic device searches for the second electronic device through the first local area network, it sends a proxy registration request to the cloud server. The proxy registration request carries the device information of the second electronic device and the cloud account, and the proxy registration request is used to request the cloud server to bind the device information of the second electronic device to the cloud account.

2. The method according to claim 1, wherein The method further includes: The first electronic device receives a binding success response sent by the cloud server, and the binding success response is used to indicate that the cloud server has successfully bound the device information of the second electronic device to the cloud account; After the first electronic device receives the binding success response sent by the cloud server, the first electronic device receives a first operation by the user to open a first interface; In response to the first operation, the first electronic device displays the first interface and displays options for multiple devices on the first interface. The multiple devices are logged in or bound to the cloud account, and the multiple devices include the first electronic device and the second electronic device.

3. The method according to claim 2, wherein The displaying the first interface in response to the first operation includes: In response to the first operation, obtain the status information of the second electronic device; If the status information of the second electronic device is the online state, the first electronic device displays the first interface and displays the option of the second electronic device on the first interface.

4. The method according to claim 2 or 3, characterized in that, The sending a proxy registration request to the cloud server by the first electronic device after searching for the second electronic device through the first local area network includes: After the first electronic device searches for the second electronic device through the first local area network, it determines whether the second electronic device is in the binding whitelist and not bound to the cloud account according to the device information of the second electronic device. The binding whitelist includes one or more devices allowed to be bound to the cloud account logged in on the first electronic device; If the second electronic device is in the binding whitelist and not bound to the cloud account, send a proxy registration request to the cloud server.

5. The method according to any one of claims 2-4, characterized in that, After the first electronic device receives the binding success response sent by the cloud server, the method further includes: The first electronic device detects that the second electronic device is in the online state through the first local area network; The first electronic device sends the online status of the second electronic device and the device information of the second electronic device to a third electronic device logged in to the cloud account through the cloud server.

6. The method according to any one of claims 2-5, characterized in that After the first electronic device sends the proxy registration request to the cloud server, the method further includes: The first electronic device receives a second operation by the user to unbind the second electronic device from the cloud account. In response to the second operation, the first electronic device sends an unbinding notice to the cloud server, where the unbinding notice carries the device information of the second electronic device and the cloud account, and the unbinding notice is used to notify the cloud server to unbind the device information of the second electronic device from the cloud account.

7. The method according to claim 6, wherein After the first electronic device sends the unbinding notice to the cloud server, the method further includes: The first electronic device receives an unbinding response sent by the cloud server, and the unbinding response is used to indicate that the cloud server has unbound the device information of the second electronic device from the cloud account. The first electronic device receives a first operation by the user to open the first interface. In response to the first operation, the first interface is displayed, and options of one or more devices are displayed on the first interface, where the one or more devices are logged in to or bound to the cloud account, and among them, the one or more devices include the first electronic device but do not include the second electronic device.

8. The method according to any one of claims 2-7, characterized in that, The second electronic device is a printer; the method further includes: When the first electronic device displays the option of the second electronic device on the first interface, the first electronic device receives a third operation by the user for the option of the second electronic device. In response to the third operation, the first electronic device controls the second electronic device to perform a printing task.

9. The method according to claim 8, wherein The first electronic device controlling the second electronic device to perform a printing task includes: The first electronic device receives a target file and target printing parameters selected by the user. In response to receiving the target file and target printing parameters selected by the user, the first electronic device sends the target printing parameters and the target file to the second electronic device through the first local area network, where the target file and target printing parameters are used to trigger the second electronic device to print the target file with the target printing parameters.

10. The method according to claim 8 or 9, characterized in that, After the first electronic device controls the second electronic device to perform a printing task, the method further includes: The first electronic device sends configuration information to a third electronic device through the cloud server, where the third electronic device is logged in to the cloud account, and the configuration information includes a first parameter and the target printing parameters; among them, the configuration information is used to instruct the third electronic device to set the initial printing parameters on the third electronic device to the target printing parameters, and the first parameter is used to grant the third electronic device the permission to call the second electronic device for printing.

11. The method according to claim 2, wherein The second electronic device is a printer; the first electronic device includes a control center, a shared service management framework, a printing service framework, and a distributed printing service. In response to the first operation, the first electronic device displays a first interface and displays options of multiple devices on the first interface, including: In response to the first operation, the control center sends a call request to the shared service management framework, and the call request is used to call the shared service management framework; The shared service management framework initializes one or more shared services, where the one or more shared services include the print sharing service; After the print sharing service is initialized, it registers a device discovery callback with the distributed print service; After the device discovery callback is registered with the distributed print service, when the distributed print service discovers the second electronic device, it determines the status information of the second electronic device as the online state; The distributed print service sends a device discovery notification to the print sharing service, where the online state of the second electronic device is carried in the device discovery notification; After receiving the device discovery notification, the print sharing service registers with the shared service management framework and returns the online state of the printer to the shared service management framework; After receiving the registration of the print sharing service, the shared service management framework obtains the online state of the second electronic device; After obtaining the online state of the second electronic device, the shared service management framework sends the online state of the second electronic device to the control center; After obtaining the online state of the second electronic device, the control center displays the first interface and displays the options of the first electronic device and the options of the second electronic device on the first interface.

12. The method according to any one of claims 1 to 11, characterized in that, The second electronic device is a printer; the first electronic device includes a print assistant, an ecological access framework, and a device management service; The first electronic device sends a proxy registration request to the cloud server, including: The print assistant sends a binding request to the device management service, and the device information of the second electronic device is carried in the binding request; In response to receiving the binding request, the device management service sends a proxy binding request to the ecological access framework, and the device information of the printer and the cloud account are carried in the proxy binding request; After receiving the proxy binding request, the ecological access framework sends the proxy registration request to the cloud server.

13. An electronic device, being a first electronic device, characterized in that, It includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the first electronic device executes the method according to any one of claims 1-12.

14. A computer-readable storage medium, comprising instructions, characterized in that, When the instruction runs on the processor of the first electronic device, the first electronic device executes the method according to any one of claims 1-12.

Citation Information

Patent Citations

  • Method, equipment, server and system of equipment management

    CN102843436A

  • Mobile phone and household intelligent equipment rapid activation and binding method

    CN105553931A

  • Intelligent monitoring system

    CN108494804A

  • Equipment binding method and device

    CN111885594A

  • Data cloud printing method, data cloud printing device, storage medium and data cloud printing system

    CN111897501A