Interface control method, device, equipment, and storage medium

By adjusting the interface control method on the first device and sending it to the second device, the problem of interface control between devices with different operating systems is solved, synchronous interface updating and component management are realized, and the user experience is improved.

CN114047862BActive Publication Date: 2024-09-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111138452.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-09-24
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

Interface control across electronic devices is difficult to achieve due to different operating systems, especially between devices with strong processing capabilities and their auxiliary devices. The special use occasions of the auxiliary devices make it difficult to unify the interface.

Method used

By starting the application on the first device, the presentation interface of the second device is obtained, and the component object and layout format are adjusted based on user operations, a new presentation interface is generated, and sent to the second device to realize synchronous update of the interface.

Benefits of technology

It realizes mutual control of interfaces between devices with different operating systems, facilitates users to use second devices, improves user experience, and provides editing and management functions for component objects and layout formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114047862B
    Figure CN114047862B
Patent Text Reader

Abstract

The present disclosure relates to an interface control method and apparatus, device, and storage medium. The interface control method includes: in response to a first operation, starting a first application; based on the first application, the first device obtains a first presentation interface associated with the first application in a second device; in response to an adjustment instruction for the first presentation interface, adjusting the content and / or layout format of the first presentation interface in the first application to generate a second presentation interface; sending the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface. The present disclosure provides users with better work and life convenience and improves the editing operation efficiency of component objects in the second device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to interface control technology in electronic devices, and in particular to an interface control method and device, equipment, and storage medium. Background Art

[0002] When performing interface control across electronic devices, page control is difficult to implement due to the different operating systems between many electronic devices, especially between electronic devices with strong processing capabilities and their attached electronic devices. Due to the particularity of their use occasions, attached electronic devices often have different operating systems from the attached electronic devices. This makes interface control across electronic devices difficult to implement Summary of the invention

[0003] The present invention provides an interface control method, device, equipment, and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an interface control method, which is applied to a first device, and the method includes:

[0005] In response to the first operation, launching a first application;

[0006] Based on the first application, the first device obtains a first presentation interface associated with the first application in a second device;

[0007] In response to the adjustment instruction for the first presentation interface, adjusting the content and / or layout format of the first presentation interface in the first application to generate a second presentation interface;

[0008] The second presentation interface is sent to the second device, so that the second device generates a third presentation interface based on the second presentation interface.

[0009] Optionally, the initial presentation interface of the first application of the second device has the same content as the first presentation interface; and the third presentation interface has the same content as the second presentation interface.

[0010] Optionally, adjusting the content and / or layout format of the first presentation interface in the first application includes:

[0011] detecting a second operation on the first presentation interface, and calling a component object supported by the first application;

[0012] receiving a selection instruction for supported component objects, and when the first presentation interface is filled with component objects / replacing the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, adding the selected component objects to the vacant component object positions in the first presentation interface;

[0013] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0014] Optionally, adjusting the content and / or layout format of the first presentation interface in the first application includes:

[0015] detecting a third operation in the first presentation interface, calling a layout format of a component object supported by the first application;

[0016] receiving a selection instruction for a supported layout format, and adding the selected layout format to the first presentation interface;

[0017] receiving a selection instruction for supported component objects, and when the first presentation interface is filled with component objects / replacing the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, adding the selected component objects to the vacant component object positions in the first presentation interface;

[0018] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0019] Optionally, the operating system of the second device is different from the operating system of the first device.

[0020] Optionally, the method further includes:

[0021] After detecting that the component object and / or the layout format of the component object in the first application is updated, the updated component object and / or the layout format of the component object is sent to the second device.

[0022] Optionally, the method further includes:

[0023] In response to detecting the interface prohibition adjustment instruction, the first application of the first device prohibits responding to the interface adjustment instruction or operation for the second device.

[0024] According to a second aspect of an embodiment of the present disclosure, there is provided an interface control method, which is applied to a second device, and the method includes:

[0025] In response to a first operation instruction for a current display interface, presenting a component object and / or a layout format of a component object supported by the second device in the display interface;

[0026] In response to an instruction to adjust the layout format of component objects and / or component objects in the current display interface, a corresponding layout format and / or component object is selected from the component objects and / or layout formats of component objects supported by the second device and presented in the display interface.

[0027] Optionally, the method comprises:

[0028] In response to a second operation instruction for a currently displayed component object, deleting the component object in the layout format in the display interface;

[0029] In response to a third operation instruction for the layout format of the currently displayed component object, the layout format of the current component object is switched or deleted.

[0030] Optionally, the method comprises:

[0031] receiving a second presentation interface sent by the first device, and updating a display interface in the second device with the second presentation interface; or

[0032] Receive the updated component object and / or the layout format of the component object sent by the first device, and update the local component object and / or the layout format of the component object in the second device with the updated component object and / or the layout format of the component object.

[0033] Optionally, the operating system of the second device is different from the operating system of the first device.

[0034] Optionally, the method further includes:

[0035] In response to detecting an interface adjustment prohibition instruction, prohibiting responding to the display interface adjustment instruction or operation, and sending the interface adjustment prohibition instruction to the first device.

[0036] According to a third aspect of an embodiment of the present disclosure, there is provided an interface control apparatus, applied to a first device, the apparatus comprising:

[0037] A starting unit, configured to start a first application in response to a first operation;

[0038] An acquisition unit, configured to acquire, based on the first application, a first presentation interface of a component object associated with the first application in a second device;

[0039] a generating unit, configured to adjust the content and / or layout format of the first presentation interface in the first application in response to an adjustment instruction for the first presentation interface, and generate a second presentation interface;

[0040] A sending unit is used to send the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface.

[0041] Optionally, the initial presentation interface of the first application of the second device has the same content as the first presentation interface; and the third presentation interface has the same content as the second presentation interface.

[0042] Optionally, the generating unit is further used for:

[0043] detecting a second operation on the first presentation interface, and calling a component object supported by the first application;

[0044] receiving a selection instruction for a supported component object, and when the first presentation interface is filled with component objects, replacing the component objects in the first presentation interface with the selected component object; and when there are vacant component object positions in the first presentation interface, adding the selected component object to the vacant component object positions in the first presentation interface;

[0045] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0046] Optionally, the generating unit is further used for:

[0047] detecting a third operation in the first presentation interface, calling a layout format of a component object supported by the first application;

[0048] receiving a selection instruction for a supported layout format, and adding the selected layout format to the first presentation interface;

[0049] receiving a selection instruction for supported component objects, and when the first presentation interface is filled with component objects / replacing the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, adding the selected component objects to the vacant component object positions in the first presentation interface;

[0050] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0051] Optionally, the operating system of the second device is different from the operating system of the first device.

[0052] Optionally, the device further comprises:

[0053] The control unit applies, in response to detecting the interface adjustment prohibition instruction, prohibiting response to the interface adjustment instruction or operation for the second device.

[0054] According to a fourth aspect of an embodiment of the present disclosure, there is provided an interface control apparatus, applied to a second device, the apparatus comprising:

[0055] A first presentation unit, configured to present, in response to a first operation instruction for a current display interface, a component object and / or a layout format of a component object supported by the second device in the display interface;

[0056] A selection unit, configured to select a corresponding layout format and / or component object from the component objects and / or layout formats of component objects supported by the second device in response to an instruction to adjust the layout format of the component objects and / or component objects in the current display interface;

[0057] The second presentation unit is used to present the selected layout format and / or component object in the display interface.

[0058] Optionally, the device comprises:

[0059] an adjusting unit, configured to delete the component object in the layout format in the display interface in response to a second operation instruction for the currently displayed component object;

[0060] In response to a third operation instruction for the layout format of the currently displayed component object, the layout format of the current component object is switched or deleted.

[0061] Optionally, the second presentation unit is further used for:

[0062] receiving a second presentation interface sent by the first device, and updating a display interface in the second device with the second presentation interface; or

[0063] Receive the updated component object and / or the layout format of the component object sent by the first device, and update the local component object and / or the layout format of the component object in the second device with the updated component object and / or the layout format of the component object.

[0064] Optionally, the operating system of the second device is different from the operating system of the first device.

[0065] Optionally, the device further comprises:

[0066] A control unit, configured to prohibit responding to adjustment instructions or operations for the display interface in response to detecting an interface adjustment prohibition instruction;

[0067] A sending unit is used to send the interface adjustment prohibition instruction to the first device.

[0068] According to a fifth aspect of an embodiment of the present disclosure, a first device is provided, comprising a processor and a memory for storing processor executable instructions, wherein the processor is configured to execute the steps of the interface control method described in the first aspect when calling the executable instructions in the memory.

[0069] According to the sixth aspect of an embodiment of the present disclosure, a second device is provided, comprising a processor and a memory for storing processor executable instructions, wherein the processor is configured to execute the steps of the interface control method described in the second aspect when calling the executable instructions in the memory.

[0070] According to the seventh aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the steps of the interface control method as described above.

[0071] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0072] In the embodiments of the present disclosure, a component management interface is provided for both the first device and the second device. The user can edit and modify the layout of the component object to be presented on the second device and the specific presentation content of the component object through the first device and the second device, and update the presentation interface of the first device and the second device through the communication link, so that the presentation interface of the second device is kept updated in the relevant application of the first device in a timely manner. The presentation interface of the second device can also be updated in a timely manner through the relevant application of the first device. This greatly facilitates the convenience of the second device and improves the user experience.

[0073] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0075] Figure 1 A flowchart of an interface control method according to an embodiment of the present disclosure is shown;

[0076] Figure 2 A flowchart of an interface control method according to an embodiment of the present disclosure is shown;

[0077] Figure 3 A schematic diagram of a layout format of a component object shown in an embodiment of the present disclosure;

[0078] Figure 4 A schematic diagram of an editing operation of a component object shown in an embodiment of the present disclosure;

[0079] Figure 5 A secondary object schematic diagram of a component object shown in an embodiment of the present disclosure;

[0080] Figure 6 A schematic diagram of the structure of an interface control device according to an embodiment of the present disclosure;

[0081] Figure 7 A schematic diagram of the structure of an interface control device according to an embodiment of the present disclosure;

[0082] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0083] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0084] Currently, electronic devices generally support widget technology. Widgets are a function that displays data in the form of cards, which allows users to quickly read certain life data or quickly enter a certain App entrance. Currently, electronic devices on the market that support widgets include watches, which are generally used in conjunction with related applications in mobile phones. Through widgets, users can use sports statistics, weather forecasts, mobile payments and other functions, making it convenient for users to know the corresponding functions provided by related applications based on their watches.

[0085] The current widgets are used on mobile phones or displayed on wearable devices in the form of component dials. The data display form of the component dial is limited, and the number of combinations is also limited. There is no precedent for displaying it in the form of a combination card and displaying it at the same level as the dial. At the same time, the watch end does not have the function of component management. The relevant data displayed in the component dial is quite limited and not intuitive. There is no component interaction function between the mobile phone and the wearable device. The embodiments of the present disclosure are proposed for this application scenario. Figure 1 A flowchart of an interface control method according to an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the interface control method of the embodiment of the present disclosure is applied to a first device, and the method comprises the following steps:

[0086] S11. In response to a first operation, start a first application.

[0087] In the embodiments of the present disclosure, the first device may be a mobile phone, personal digital assistant, laptop computer, tablet computer or other electronic device commonly used by users, which at least has the ability to download applications and supports the launch of component object applications and related editing work.

[0088] Here, the first application is a component application downloaded through a cloud server, a web page, or an application store, etc., which contains a large number of components and component layout formats (cards). These layout formats are available for users to select to adjust the layout format of the component objects on the second device side, and the first application also supports replacement, deletion, modification, sorting, etc. of component objects. When the user's operation on the component object is detected, the presentation interface of the second device is updated in real time in the first application to achieve the update of the presentation interface of the second device.

[0089] The second device may be a wearable device such as a wristwatch, a phone watch, a monitor, etc., which generally has insufficient processing capabilities and needs to cooperate with the first device to monitor the user's motion status, monitoring status, etc.

[0090] S12. Based on the first application, the first device obtains a first presentation interface associated with the first application in the second device.

[0091] The technical solution in the embodiments of the present disclosure is particularly suitable for the scenario where the operating system of the second device is different from the operating system of the first device. Generally speaking, for a wearable second electronic device, etc., considering the cost and the processing power of its processor, the operating system it supports is generally different from the operating system supported by electronic devices such as mobile phones. The embodiments of the present application establish communication links between different systems and set corresponding data intercommunication channels between different systems, which can realize the free conversion of data between different systems, thereby supporting the mutual control of interfaces between electronic devices of different systems, greatly facilitating the user's convenience in using the second device.

[0092] When the first application is launched by the user, the first application will obtain the presentation interface of the current component object of the second device through the communication connection between the first device and the second device, that is, it needs to know what layout format of component objects is currently contained in the second device, the status of component objects under various layout formats, etc.

[0093] Here, after the component object and its layout format of the second device are known through the first application, the user can adjust the layout format of the component object accordingly according to the display interface of the second device and his own usage habits, or update the component object for the second device according to the actual monitoring needs. For example, if the second device only contains component objects for outdoor motion status monitoring, the user can add component objects for indoor motion status monitoring, or add other component objects that the user is interested in, so that the user can obtain relevant data provided by the component object based on the second device or the first device.

[0094] The first presentation interface here is the layout format of the component objects currently supported by the second device, and each component object contained in each layout format.

[0095] S13: In response to the adjustment instruction for the first presentation interface, adjust the content and / or layout format of the first presentation interface in the first application to generate a second presentation interface.

[0096] In the embodiments of the present disclosure, specifically,

[0097] detecting a second operation on the first presentation interface, and calling a component object supported by the first application;

[0098] Receive a selection instruction for the supported component objects, when the first presentation interface is filled with component objects / replace the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, add the selected component objects to the vacant component object positions in the first presentation interface; in response to the first operation instruction for the component objects in the first presentation interface, delete the component objects in the layout format in the first presentation interface. The second operation here can be a click operation on the first component object in the first presentation interface, such as a double-click operation, or a click operation by the left or right button of the mouse, etc. At this time, the list information of all component objects supported by the first application will be called for the user, so that the user can select the first component object that needs to be replaced in the list of component objects. When the user selects a new component object in the list of component objects, the first component object will be replaced with the selected component object in the first presentation interface. When the user chooses to save the replacement result, the first application of the first device will update the updated first presentation interface in the second device, so that the first device can timely reflect the component object replacement operation of the second device in the second device, so that the second device can provide the user with corresponding data services based on the replaced component object. The first operation instruction here is generated after a delete operation on a component object is detected. The delete operation here can be sliding upward after selecting the component object or performing a setting operation on the component object such as double-clicking.

[0099] As an implementation method, a third operation in the first presentation interface is detected, and the layout format of the component object supported by the first application is called; a selection instruction for the supported layout format is received, and the selected layout format is added to the first presentation interface; a selection instruction for the supported component object is received, and when the first presentation interface is filled with component objects / the component objects in the first presentation interface are replaced with the selected component objects; when there are vacant component object positions in the first presentation interface, the selected component object is added to the vacant component object positions in the first presentation interface; in response to the first operation instruction for the component object in the first presentation interface, the component object in the layout format in the first presentation interface is deleted. The third operation here is the adjustment of the layout format of the component object, that is, the user wants to adjust the layout format of the component object in the second device. At this time, the layout format of all component objects supported by the first application will be provided to the user, so that the user can select based on the layout format provided by the second device. After the user selects the corresponding layout format, the component objects presented in the original layout format are adjusted according to the layout format newly selected by the user. When the newly selected layout format cannot add all component objects in the original layout format, the user is prompted that the layout format selected by the user does not support the addition of all the original component objects. At this time, as an implementation method, the first application automatically adds the component objects in the original layout format to the layout format selected by the user according to the layout format selected by the user, automatically deletes the component objects that are more than the layout format selected by the user in order, and outputs corresponding prompt information to the user. In this case, the user can adjust or select the component objects in the layout format selected by the user again based on actual needs.

[0100] In an embodiment of the present disclosure, when the second device is restored to factory settings or the layout format of the relevant component object is not downloaded, the user can directly select the layout format of the component object for the second device based on the first application, add the corresponding component object in the selected layout format, and update the selected layout object in the second device, in the same manner as the aforementioned method of changing the component object.

[0101] S14. Send the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface.

[0102] In the embodiment of the present disclosure, the initial presentation interface of the first application of the second device is the same as the first presentation interface; the third presentation interface is the same as the second presentation interface. The same here does not mean the same display size, which needs to be adapted to the display interface.

[0103] In the embodiment of the present disclosure, when it is detected that the component object and / or the layout format of the component object in the first application is updated, the updated component object and / or the layout format of the component object is sent to the second device.

[0104] Specifically, when the user selects a new layout format of a component object and makes corresponding presentation format adjustments to the component objects in the original layout format, or the user only replaces the relevant component objects in the first presentation interface, or the user adds a new layout format to the second device and adds a new component object in the new layout format, when the user chooses to save the updated layout format and / or component object, the first device will send the updated layout format and / or component object to the second device based on the communication link between the first device and the second device, so that the second device can update the local layout format and / or component object. The second device provides the user with relevant data services based on the current component object, including collecting monitored data, obtaining real-time data from the network server, etc. The monitoring data here can be the user's sports data, including various running, skating, swimming, etc. related data, or weather forecast, focus news related data, or it can provide corresponding interfaces for some applications, such as payment interfaces of WeChat, Alipay, etc., which can provide users with corresponding payment QR codes, so that users can obtain relevant data of corresponding applications based on the second device and improve user experience.

[0105] In the disclosed embodiment, the adjustment of the component objects and / or layout format in the display interface of the second device can also be controlled by setting a switch for interface adjustment. That is, in order to avoid the first application in the first device from misoperating the display interface of the second device, a corresponding switch can be set for the adjustment of the display interface of the second device. By turning off the adjustment of the display interface of the second device, the first device responds to the detection of the interface adjustment prohibition instruction, and the first application of the first device prohibits responding to the interface adjustment instruction or operation for the second device, and does not adjust the display interface of the second device. Here, the first device can also trigger its own interface adjustment switch to be in the off state after receiving the interface adjustment prohibition instruction of the second device, or set the first application to prohibit responding to the interface adjustment instruction or operation for the second device.

[0106] Figure 2 A flowchart of an interface control method according to an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the interface control method of the embodiment of the present disclosure is applied to the second device, and the method includes the following steps:

[0107] S21. In response to a first operation instruction on a current display interface, present component objects and / or layout formats of component objects supported by the second device in the display interface.

[0108] The technical solution in the embodiments of the present disclosure is particularly suitable for the scenario where the operating system of the second device is different from the operating system of the first device. Generally speaking, for a wearable second electronic device, etc., considering the cost and the processing power of its processor, the operating system it supports is generally different from the operating system supported by electronic devices such as mobile phones. The embodiments of the present application establish communication links between different systems and set corresponding data intercommunication channels between different systems, which can realize the free conversion of data between different systems, thereby supporting the mutual control of interfaces between electronic devices of different systems, greatly facilitating the user's convenience in using the second device.

[0109] In the disclosed embodiment, the first operation instruction may be an instruction generated by a double-click operation or a sliding operation on the display interface of the second device, which means that the user wishes to edit the component object or its layout format in the second device. The generation of the first operation instruction may also be configured to detect other operations, such as a gesture operation on the second device, or a long press operation on the display interface of the second device. When the first operation instruction is detected, the component objects and / or the layout formats of the component objects supported by the second device are presented in the display interface to facilitate the user to modify, update, etc. the component objects and their layout formats in the current display interface.

[0110] S22. In response to an instruction to adjust the layout format of a component object and / or a component object in the current display interface, a corresponding layout format and / or component object is selected from the component objects and / or layout formats of component objects supported by the second device, and presented in the display interface.

[0111] In the embodiments of the present disclosure, the adjustment instructions are mainly replacement, addition, modification, sorting, etc. of component objects and / or the layout format of component objects. After the user adjusts the component objects and / or the layout format of component objects, they can be saved locally. The update results of the component objects and / or the layout format of component objects of the second device can be sent to the first application of the first device in real time, or the current component objects and their layout format can be sent to the first device only when the first application calls the first presentation interface of the second device.

[0112] In an embodiment of the present disclosure, in response to a second operation instruction for a currently displayed component object, the component object in the layout format in the display interface is deleted; in response to a third operation instruction for the layout format of the currently displayed component object, the layout format of the current component object is switched or deleted. The second operation instruction here is generated after a delete operation for the component object is detected. The delete operation here can be sliding up after selecting the component object or performing a setting operation on the component object such as double-clicking. The third operation instruction is a switch or delete instruction for the layout format of the component object. When a switch or delete operation for the layout format of the current component object is detected, the current layout format is deleted, and a new layout format is provided for the user to select.

[0113] In the embodiments of the present disclosure, when receiving the second presentation interface sent by the first device, the display interface in the second device is updated with the second presentation interface; or when receiving the updated component object and / or the layout format of the component object sent by the first device, the local component object and / or the layout format of the component object in the second device is updated with the updated component object and / or the layout format of the component object. That is, when the user provides the first device to edit the component object and / or the layout format of the component object of the second device, the edited and updated component object and / or the layout format of the component object is sent to the second device to be saved in the second device, so as to update the component object and / or the layout format of the component object of the second device.

[0114] In the disclosed embodiment, the adjustment of the component objects and / or layout format in the display interface of the second device can also be controlled by setting a switch for interface adjustment. This can prevent the user from misoperating the second device and causing an erroneous adjustment of the display interface. When the user sets the switch for interface adjustment to off, an interface adjustment prohibition instruction is generated so that the second device does not respond to the interface adjustment operation or instruction, etc. Specifically, in response to detecting the interface adjustment prohibition instruction, the second device prohibits responding to the display interface adjustment instruction or operation, and sends the interface adjustment prohibition instruction to the first device. Of course, as an implementation method, the interface adjustment switch closing instruction can also come from the first device. That is, after the first device sends the interface adjustment switch closing instruction to the second device, the second device no longer responds to the interface adjustment operation or instruction, etc.

[0115] The essence of the technical solution of the embodiment of the present disclosure is further explained below through specific examples.

[0116] The management operation of the first device on the component object based on the first application is as follows:

[0117] 1. The management of component objects, i.e. widgets, provides users with a way to edit the widget layout and corresponding widgets in a second device such as a sports watch based on an electronic device such as a mobile phone, so as to facilitate users to maintain and update component objects on the sports watch. In the disclosed embodiment, the watch widget supports four widget layout templates: 2 1*1+1 1*2; 1 1*2+2 1*1; 4 1*1; 1 2*2. Figure 3 As shown, the circular interface is the presentation interface of the sports watch. Figure 3 The presentation interface shows the layout template of the widget, i.e., the layout format of the component object. The user can select the corresponding layout format for the component object according to its characteristics, so as to facilitate the presentation of the component object on the presentation interface of the second device and facilitate user use.

[0118] After selecting a template, enter the Edit Component function page. Click a single component object. The list below will display the component list of the corresponding size. Click the plus sign on the right to add a component. Figure 4 When the user clicks on the sports mode component, the user can be provided with a further sports mode selection list based on the function items supported by the component object, and the sports items supported by the corresponding firmware end are displayed, such as Figure 5 shown.

[0119] In the embodiment of the present application, through a first device such as a mobile phone terminal, etc., through the widget application of the first device, the setting function of the widget in the second device can be realized, providing users with the function of quickly adding and deleting widgets. The preview image is placed in the middle of the page layout, and the list of added components is below. After adding the component, the preview effect can be viewed in real time, simulating the real effect of the widget on the watch, and the experience is faster and more intuitive, and the operation efficiency is higher.

[0120] The technical solution of the embodiment of the present disclosure also supports directly using the second device to manage the component object and its layout format as follows:

[0121] 1. Users can press and hold for 2 seconds on any widget page on the display interface of a second device such as a sports watch to enter editing mode.

[0122] 2. The widget editing mode supports editing, deleting, sorting, and adding widgets. Users can swipe to view all current widget pages. 1) Editing a widget: Users can click to select a widget for editing; 2) Deleting a widget: Swipe up to delete the widget; 3) Sorting widgets: Click the arrow at the bottom of the screen to sort; 4) Adding a widget: Scroll to the far right of the sorting list and click Add widget.

[0123] 3. Adding widgets includes: 1) After the user clicks Add Widget, the page for selecting a template is displayed. The watch widget supports four widget layout templates: 2 1*1+1 1*2; 1 1*2+2 1*1; 4 1*1; 1 2*2. The user can slide up and down or scroll the crown to view the widget template, and click to confirm the widget template. Figure 3 2) Click in this template to select the module to be added and enter the list of optional components. 3) The related component objects supported by the second device in the optional component list are sorted by category and function. The user can slide up and down or scroll the crown to view the list and click the component to select. In the embodiment of the present disclosure, when the same functional category has more than 3 optional components, the redundant components are merged into the secondary page, and the user can click the secondary entrance to enter the selection. For example Figure 5 The sports items shown are shown here. This is only an example and is not a limitation of the technical solution of the embodiment of the present disclosure. 4) After all the templates of the component object are selected, a confirmation button appears at the bottom of the display interface. The user can click the button to confirm the template and return to the editing level. 5) In the editing level, tap the crown to return to the dial level and use the current widget.

[0124] 4. Edit widget: The user selects any widget at the edit widget level to enter the template editing page. The remaining steps are exactly the same as steps 2-5 of adding a widget.

[0125] 5. Delete widgets: In the editing state, swipe up on any widget, and a confirm deletion button will appear when you release it. Click the button to delete the widget, or swipe down to cancel the operation.

[0126] The above example only shows one implementation method and is not intended to limit the technical solution of the embodiment of the present disclosure.

[0127] In the technical solution of the disclosed embodiment, the user can manage widgets on the second device such as a sports watch and the first device such as a mobile phone at the same time. The sports watch can edit the widgets independently of the mobile phone. At the same time, the mobile phone can simulate the component combination of the watch to determine the widget template for the sports watch and update it to the sports watch, thereby realizing remote widget editing for the sports watch. The technical solution of the disclosed embodiment provides users with better work and life convenience and improves the editing operation efficiency of component objects in the second device.

[0128] In the embodiment of the present disclosure, the first device and the second device may be electronic devices of the same type, such as the first device may be a watch, and the second device may be a mobile phone, etc.

[0129] Figure 6 FIG. 1 is a schematic diagram showing the structure of an interface control device according to an embodiment of the present disclosure. Figure 6As shown, the interface control device of the embodiment of the present disclosure is applied to a first device, and the interface control device includes:

[0130] A starting unit 60, configured to start a first application in response to a first operation;

[0131] An acquisition unit 61 is configured to acquire, based on the first application, a first presentation interface of a component object associated with the first application in a second device;

[0132] A generating unit 62, configured to adjust the content and / or layout format of the first presentation interface in the first application in response to the adjustment instruction for the first presentation interface, and generate a second presentation interface;

[0133] The sending unit 63 is used to send the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface.

[0134] As an implementation manner, the initial presentation interface of the first application of the second device has the same content as the first presentation interface; and the third presentation interface has the same content as the second presentation interface.

[0135] As an implementation manner, the generating unit 62 is further configured to:

[0136] detecting a second operation on the first presentation interface, and calling a component object supported by the first application;

[0137] receiving a selection instruction for a supported component object, and when the first presentation interface is filled with component objects, replacing the component objects in the first presentation interface with the selected component object; and when there are vacant component object positions in the first presentation interface, adding the selected component object to the vacant component object positions in the first presentation interface;

[0138] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0139] As an implementation manner, the generating unit 62 is further configured to:

[0140] detecting a third operation in the first presentation interface, calling a layout format of a component object supported by the first application;

[0141] receiving a selection instruction for a supported layout format, and adding the selected layout format to the first presentation interface;

[0142] receiving a selection instruction for supported component objects, and when the first presentation interface is filled with component objects / replacing the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, adding the selected component objects to the vacant component object positions in the first presentation interface;

[0143] In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

[0144] As an implementation manner, the operating system of the second device is different from the operating system of the first device.

[0145] exist Figure 6 Based on the interface control device shown, the device also includes:

[0146] Control Unit( Figure 6 (not shown), the application, in response to detecting the interface prohibition adjustment instruction, prohibits responding to the interface adjustment instruction or operation for the second device.

[0147] In an exemplary embodiment, the starting unit 60, the acquisition unit 61, the generation unit 62 and the sending unit 63 can be implemented by one or more central processing units (CPU), graphics processing units (GPU), baseband processors (BP), application specific integrated circuits (ASIC), digital signal processors (DSP), programmable logic devices (PLD), complex programmable logic devices (CPLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers (MCU), microprocessors, or other electronic components.

[0148] In the disclosed embodiment, Figure 6 The specific manner in which each unit in the interface control device shown performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0149] Figure 7 FIG. 1 is a schematic diagram showing the structure of an interface control device according to an embodiment of the present disclosure. Figure 7 As shown, the interface control device of the embodiment of the present disclosure is applied to the second device, and the interface control device includes:

[0150] A first presentation unit 70, configured to present, in the display interface, component objects and / or layout formats of component objects supported by the second device in response to a first operation instruction on the current display interface;

[0151] A selection unit 71, configured to select a corresponding layout format and / or component object from the component objects and / or layout formats of component objects supported by the second device in response to an instruction to adjust the layout format of the component objects and / or component objects in the current display interface;

[0152] The second presenting unit 72 is used to present the selected layout format and / or component object in the display interface.

[0153] exist Figure 7 Based on the interface control device shown in the figure, the interface control device of the embodiment of the present disclosure further includes:

[0154] Adjustment unit ( Figure 7 (not shown), for deleting the component object in the layout format in the display interface in response to a second operation instruction for the currently displayed component object;

[0155] In response to a third operation instruction for the layout format of the currently displayed component object, the layout format of the current component object is switched or deleted.

[0156] As an implementation manner, the second presenting unit 72 is further configured to:

[0157] receiving a second presentation interface sent by the first device, and updating a display interface in the second device with the second presentation interface; or

[0158] Receive the updated component object and / or the layout format of the component object sent by the first device, and update the local component object and / or the layout format of the component object in the second device with the updated component object and / or the layout format of the component object.

[0159] As an implementation manner, the operating system of the second device is different from the operating system of the first device.

[0160] exist Figure 7 Based on the interface control device shown, the device also includes:

[0161] Control Unit( Figure 7(not shown) for prohibiting response to adjustment instructions or operations for the display interface in response to detecting an interface adjustment prohibition instruction;

[0162] Sending unit ( Figure 7 (not shown) for sending the interface prohibition adjustment instruction to the first device.

[0163] In an exemplary embodiment, the first presentation unit 70, the selection unit 71, the second presentation unit 72, the control unit and the sending unit, etc. can be implemented by one or more central processing units (CPU), graphics processing units (GPU), baseband processors (BP), application specific integrated circuits (ASIC), digital signal processors (DSP), programmable logic devices (PLD), complex programmable logic devices (CPLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers (MCU), microprocessors, or other electronic components.

[0164] In the disclosed embodiment, Figure 7 The specific manner in which each unit in the interface control device shown performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0165] Figure 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. Figure 8 As shown, the electronic device 800 supports multi-screen output, and the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0166] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0167] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0168] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0169] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0170] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0171] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0172] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0173] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0174] In an exemplary embodiment, the electronic device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the steps of the interface control method of the above-mentioned embodiments.

[0175] The electronic device here may be the aforementioned first device or the second device.

[0176] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to complete the steps of the interface control method of the above embodiment. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0177] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0178] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An interface control method, applied to a first device, characterized in that: The method comprises: In response to the first operation, starting the first application; Based on the first application, the first device obtains a first presentation interface associated with the first application in a second device; wherein the operating system of the second device is different from the operating system of the first device; In response to the adjustment instruction for the first presentation interface, adjusting the content and / or layout format of the first presentation interface in the first application to generate a second presentation interface; Sending the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface; The adjusting the content and / or layout format of the first presentation interface in the first application includes: detecting a third operation in the first presentation interface, calling a layout format of a component object supported by the first application; receiving a selection instruction for a supported layout format, and adding the selected layout format to the first presentation interface; when the newly selected layout format cannot add all component objects in the original layout format, prompting that the selected layout format does not support the addition of all the original component objects; receiving a selection instruction for a supported component object, and when the first presentation interface is filled with component objects, replacing the component objects in the first presentation interface with the selected component object; and when there are vacant component object positions in the first presentation interface, adding the selected component object to the vacant component object positions in the first presentation interface; In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

2. The method according to claim 1, characterized in that The initial presentation interface of the first application of the second device has the same content as the first presentation interface; the third presentation interface has the same content as the second presentation interface.

3. The method according to claim 1, characterized in that The adjusting the content and / or layout format of the first presentation interface in the first application includes: detecting a second operation on the first presentation interface, and calling a component object supported by the first application; receiving a selection instruction for supported component objects, and replacing component objects in the first presentation interface with the selected component objects when the first presentation interface is filled with component objects; and adding the selected component objects to the vacant component object positions in the first presentation interface when there are vacant component object positions in the first presentation interface; In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: After detecting that the component object and / or the layout format of the component object in the first application is updated, the updated component object and / or the layout format of the component object is sent to the second device.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: In response to detecting the interface prohibition adjustment instruction, the first application of the first device prohibits responding to the interface adjustment instruction or operation for the second device.

6. An interface control method, applied to a second device, characterized in that: The method comprises: In response to a first operation instruction for a current display interface, presenting a component object and / or a layout format of a component object supported by the second device in the display interface; In response to an instruction to adjust a component object and / or a layout format of a component object in a current display interface, selecting a corresponding layout format and / or component object from the component objects and / or layout formats of component objects supported by the second device, and presenting the corresponding layout format and / or component object in the display interface; receiving a second presentation interface sent by the first device, and updating a display interface in the second device with the second presentation interface; or receiving an updated component object and / or a layout format of a component object sent by the first device, and updating a local component object and / or a layout format of a component object in the second device with the updated component object and / or the layout format of the component object; wherein the operating system of the second device is different from the operating system of the first device; In response to a third operation instruction for the layout format of the currently displayed component object, the current layout format of the component object is switched or deleted, and a new layout format is provided for selection.

7. The method according to claim 6, characterized in that The method comprises: In response to a second operation instruction for the currently displayed component object, the component object in the layout format in the display interface is deleted.

8. The method according to claim 6 or 7, characterized in that: The method further comprises: In response to detecting an interface adjustment prohibition instruction, prohibiting responding to the display interface adjustment instruction or operation, and sending the interface adjustment prohibition instruction to the first device.

9. An interface control device, applied to a first device, characterized in that: The device comprises: A starting unit, configured to start a first application in response to a first operation; An acquisition unit, configured to acquire, by the first device, a first presentation interface of a component object associated with the first application in a second device based on the first application; wherein the operating system of the second device is different from the operating system of the first device; a generating unit, configured to adjust the content and / or layout format of the first presentation interface in the first application in response to an adjustment instruction for the first presentation interface, and generate a second presentation interface; A sending unit, configured to send the second presentation interface to the second device, so that the second device generates a third presentation interface based on the second presentation interface; The generating unit is further used for: detecting a third operation in the first presentation interface, calling a layout format of a component object supported by the first application; receiving a selection instruction for a supported layout format, and adding the selected layout format to the first presentation interface; when the newly selected layout format cannot add all component objects in the original layout format, prompting that the selected layout format does not support the addition of all the original component objects; receiving a selection instruction for supported component objects, and when the first presentation interface is filled with component objects / replacing the component objects in the first presentation interface with the selected component objects; when there are vacant component object positions in the first presentation interface, adding the selected component objects to the vacant component object positions in the first presentation interface; In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

10. The device according to claim 9, characterized in that The initial presentation interface of the first application of the second device has the same content as the first presentation interface; the third presentation interface has the same content as the second presentation interface.

11. The device according to claim 9, characterized in that The generating unit is further used for: detecting a second operation on the first presentation interface, and calling a component object supported by the first application; receiving a selection instruction for a supported component object, and when the first presentation interface is filled with component objects, replacing the component objects in the first presentation interface with the selected component object; and when there are vacant component object positions in the first presentation interface, adding the selected component object to the vacant component object positions in the first presentation interface; In response to a first operation instruction for a component object of the first presentation interface, the component object in the layout format of the first presentation interface is deleted.

12. The device according to any one of claims 9 to 11, characterized in that The device also includes: The control unit applies, in response to detecting the interface adjustment prohibition instruction, prohibiting response to the interface adjustment instruction or operation for the second device.

13. An interface control device, applied to a second device, characterized in that: The device comprises: A first presentation unit, configured to present, in the display interface, component objects and / or layout formats of component objects supported by the second device in response to a first operation instruction on the current display interface; A selection unit, configured to select a corresponding layout format and / or component object from the component objects and / or layout formats of component objects supported by the second device in response to an instruction to adjust the layout format of the component objects and / or component objects in the current display interface; A second presentation unit, used to present the selected layout format and / or component object in a display interface; A first updating unit is configured to receive a second presentation interface sent by the first device, and update a display interface in the second device with the second presentation interface; or a second updating unit, configured to receive the updated component object and / or the layout format of the component object sent by the first device, and update the local component object and / or the layout format of the component object in the second device with the updated component object and / or the layout format of the component object; wherein the operating system of the second device is different from the operating system of the first device; The adjusting unit is used to switch or delete the current layout format of the component object in response to a third operation instruction for the layout format of the currently displayed component object, and provide a new layout format for selection.

14. The device according to claim 13, characterized in that The adjustment unit is used to delete the component object in the layout format in the display interface in response to a second operation instruction for the currently displayed component object.

15. The device according to claim 13 or 14, characterized in that The device also includes: A control unit, configured to prohibit responding to adjustment instructions or operations for the display interface in response to detecting an interface adjustment prohibition instruction; A sending unit is used to send the interface adjustment prohibition instruction to the first device.

16. A first device comprising a processor and a memory for storing instructions executable by the processor, characterized in that: The processor is configured to execute the steps of the interface control method according to any one of claims 1 to 5 when calling the executable instructions in the memory.

17. A second device comprising a processor and a memory for storing processor executable instructions, characterized in that: The processor is configured to execute the steps of the interface control method according to any one of claims 6 to 8 when calling the executable instructions in the memory.

18. A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the interface control method as described in any one of claims 1 to 5, or execute the steps of the interface control method as described in any one of claims 6 to 8.