Communication method and device

By disconnecting the target link between devices and entering a signal shielding state, distributed business data transmission is disabled, thus solving the problem of privacy infringement caused by borrowing devices and improving privacy security and user experience.

CN121603141APending Publication Date: 2026-03-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118604.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In multi-device collaborative work scenarios, borrowing devices may lead to the borrower infringing on the borrower's privacy information, and existing technologies cannot effectively protect privacy and security.

Method used

By responding to a trigger operation in the first device to disconnect the target link and enter a signal shielding state, distributed service data from the second device can be prohibited or allowed but not processed, while maintaining communication connections with other devices, thus enabling flexible disabling of distributed services.

Benefits of technology

It simplifies user operations, enhances privacy and security, improves user experience, prevents privacy violations when borrowing devices, and maintains the normal use of other communication functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121603141A_ABST
    Figure CN121603141A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and equipment, and relates to the technical field of communication, and the method comprises the steps that under the condition that at least one service is distributed on first equipment and second equipment to run, the first equipment can respond to a triggering operation for a target mode interface, disconnect a target link, and enter a signal shielding state for the second equipment. Wherein the trigger operation is used for indicating that a first service in the at least one service is disabled, and the target link is a link which is communicated with the first device and transmits service data of the first service with the second device. In the signal shielding state, the first equipment is forbidden to reestablish the target link with the second equipment, or is allowed to reestablish the target link with the second equipment but does not process the service data of the first service from the second equipment. By forbidding the distributed service in the first device, it can be avoided that after a borrowing party borrows the first device, a borrowed party uses the first device to invade privacy information of the borrowing party.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method and device. Background Technology

[0002] With the development of network communication technology, it is becoming increasingly common for users to own multiple electronic devices, such as mobile phones, tablets, smartwatches, or personal computers. Interoperability between these devices provides users with a better experience. Collaborative work between multiple devices requires connecting them to enable the transmission of business data between them, supporting various collaborative services such as multi-screen collaboration and information sharing.

[0003] Currently, when multiple devices log into the same user account and collaborate, various services can be triggered unconditionally. For example, if a user owns a mobile phone and a tablet, and lends the tablet to a second user, notifications received on the mobile phone will be synchronized to the tablet when the second user is using it for work. Thus, the second user can access the first user's notifications through the tablet. In other words, electronic devices often store large amounts of user data, including much sensitive and private information. If a second user uses the first user's electronic device for communication, it can easily infringe on the first user's privacy, leading to poor privacy security. Summary of the Invention

[0004] This application provides a communication method and device that, by disabling distributed services in a first device, can prevent the borrower from infringing on the borrower's privacy information by using the first device after the borrower has lent it out.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, this application provides a communication method applied to a first device, the method comprising:

[0007] When at least one service is running on a first device and a second device, the first device may, in response to a trigger operation on the target mode interface, disconnect the target link and enter a signal shielding state for the second device.

[0008] The triggering operation is used to indicate the disabling of the first service in at least one service, and the target link is the link between the first device and the second device for transmitting service data of the first service; under the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device.

[0009] On one hand, by preventing the first device from re-establishing the target link with the second device, the distributed services in the first device are disabled. The first and second devices cannot transmit distributed service data, thus preventing service interaction between them. In this way, after the borrower lends the first device, the borrowed party can avoid infringing on the borrower's privacy by using the first device. At the same time, the borrower does not need to disable the Bluetooth, Wi-Fi, or other communication functions of the first device, and the borrowed party can use the communication functions of the first device normally. Therefore, this not only simplifies the user operation in the borrowing process but also improves the borrower's privacy security and user experience.

[0010] On the other hand, by allowing the first device to re-establish the target link with the second device, but without processing the distributed service data from the second device, the distributed services in the first device can be disabled. The first device does not need to receive, store, or display the distributed service data from the second device, simplifying the execution process of disabling distributed services and improving efficiency. Simultaneously, by not processing the distributed service data from the second device, the first device's inability to process the distributed service data also prevents the borrower from infringing on the first device's privacy information if it is subsequently used.

[0011] In one feasible approach, the first device and the third device establish a communication connection. After the first device disconnects the target link, the first device and the third device maintain the communication connection.

[0012] Thus, in this embodiment, after disconnecting the target link, the first device maintains the communication link between itself and the third device. The first device can maintain communication with the third device, allowing it to normally perform services related to Bluetooth and Wi-Fi. This does not affect the user's use of other communication functions, thereby improving the user experience.

[0013] In one feasible approach, the second service continues to run on the first and third devices even after the target link is disconnected and the second service is distributed and running on the first and third devices.

[0014] Thus, in this embodiment of the application, when the first device establishes a communication connection with multiple electronic devices and performs distributed services, the distributed services between the first device and a target device among the multiple electronic devices can be disabled, such as disabling the first service running between the first device and a second device. This embodiment of the application can also maintain distributed services between the first device and other devices besides the target device, such as maintaining the second service running between the first device and a third device. This improves the flexibility of disabling distributed services, thereby enhancing the user experience.

[0015] In one feasible approach, during the process of the first device entering a signal shielding state against the second device, the automatic connection function corresponding to the first service can be switched from an enabled state to a disabled state.

[0016] Thus, this embodiment of the application can disable the auto-start function of the first service in the first device, preventing the first service from automatically starting and re-establishing the target link with the second device after being triggered by the user. This ensures that after the first device is borrowed, the borrower is less likely to infringe on the borrower's privacy information.

[0017] In one feasible approach, during the process of the first device entering a signal shielding state for the second device, the device status of the second device can also be changed from online to offline within the first device.

[0018] The online status of the second device indicates that the second device is displayed in the network discovery device list of the first device, and the offline status of the second device indicates that the second device is not displayed in the network discovery device list of the first device.

[0019] The first device can also send a disconnect command to the second device. The disconnect command instructs the second device to change the device status of the first device from online to offline. The online status of the first device indicates that the first device is displayed in the network discovery device list of the second device, and the offline status indicates that the first device is not displayed in the network discovery device list of the second device.

[0020] In this way, the first and second devices will mutually disconnect each other, making it impossible for them to discover each other subsequently. Users cannot discover the second device through the first device's foreground services, nor can they discover the first device through the second device's foreground services. Consequently, after a user lends out the first device, other users using the first device cannot find the nearby second device, and the first and second devices cannot re-establish the target link, let alone perform signaling exchanges corresponding to distributed services. This prevents the borrower from infringing on the borrower's privacy by using the first device.

[0021] In one possible implementation, after the first device sets the device status of the second device from online to offline, it either does not process service data from the first service of the second device, or receives service data from the first service of the second device without responding, or filters service data from the first service of the second device.

[0022] In this way, the first device will not process, receive, or reply to service data from the second device, or will directly filter it. The first device can shield service data from the second device, reducing its power consumption and better protecting the borrower's privacy.

[0023] In one feasible approach, the account information of the first device and the account information of the second device are the same account, or the account information of the first device and the account information of the second device are related accounts with a trust relationship.

[0024] In one feasible approach, during the process of the first device entering a signal blocking state against the second device, if the account information of the first device and the account information of the second device are the same account, or if the account information of the first device and the account information of the second device are related accounts with a trusted relationship, the login status of the account corresponding to the account information of the first device is changed from logged-in to logged-out.

[0025] Thus, in this embodiment of the application, by changing the login status information of the account information in the first device, the second device is set as an untrusted device, and the first device will not interact with devices that do not have a trust relationship. Similarly, on the second device side, the first device is also an untrusted device, and the second device will not interact with devices that do not have a trust relationship. The first device can shield the business data of the first service, reduce the power consumption of the first device, and better protect the privacy information of the borrower.

[0026] In one feasible approach, while the first device and the second device are synchronizing the service data of the first service, the first device can interrupt the data synchronization with the second device.

[0027] In this way, while two devices are synchronizing business data for the first service, the first device can interrupt data synchronization with the second device. This prevents the first device from receiving business data for the first service sent by the second device, thus avoiding the infringement of the borrower's privacy information if the first device is borrowed. This improves user privacy and security, as well as the user experience.

[0028] In one possible implementation, the target mode interface includes a target control, and the triggering operation is an operation performed on the target control.

[0029] In one possible implementation, while the first device is not processing service data of the first service from the second device, it can adjust the service execution status of the first service from a supported state to a non-supported state when the disconnected target link is re-established. The supported state indicates that the first device supports the transmission of service data of the first service with the second device and displays the service data of the first service; the non-supported state indicates that the first device does not support the transmission of service data of the first service with the second device.

[0030] Thus, by adjusting the execution status of the first service from a supported state to a non-supported state, this embodiment of the application can block service data from the second device. It is understood that the first device will not process service data from the second device, such as not receiving, storing, or displaying such data. In this way, the first device cannot receive service data from the second device after being borrowed. This improves the borrower's privacy and security, as well as their user experience.

[0031] In one possible implementation, the first device may, in response to an enable operation on the target control, enable a target mode corresponding to the target control, the target mode being used to disable a first service among at least one service, the target mode including a set of first services, the set of first services including the first service.

[0032] Thus, the target mode provided in this application embodiment can be associated with a blacklist, which includes a first set of services, and a whitelist, which includes a second set of services. It is understood that after the mobile phone activates the target mode, the first service in the first set of services is disabled. After the first device activates the target mode, it can avoid processing service data from services in the blacklist sent from other devices. In this way, users of the mobile phone are unaware of the distributed services in the blacklist. This allows for the shielding of service data for some distributed services while maintaining communication connectivity, thereby protecting user privacy.

[0033] In one feasible approach, the target pattern further includes a second service set, which includes a third service, which is a service distributed across the first and second devices and is not disabled. After the target link is disconnected, the third service continues to operate on both the first and second devices.

[0034] Specifically, the first device can send a data synchronization command to the second device. This command synchronizes the communication data of the third service in the second device, including the service execution status. The first device can also receive synchronization data sent by the second device, which includes the communication data of the third service in the second device. Furthermore, when the service execution status of the third service in the second device matches the service execution status of the third service in the first device and is in a supported state, the first device can receive and display the service data of the third service in the second device.

[0035] Thus, the target mode provided in this application embodiment can be associated with a whitelist, which includes a second set of services. It is understood that after the mobile phone activates the target mode, the third service in the second set of services is not disabled. After the first device activates the target mode, it can maintain the third service running on both devices without affecting the use of distributed services that do not involve privacy. This improves the user experience.

[0036] In one possible implementation, the first device can receive a service transmission instruction sent by the second device, the service transmission instruction indicating that service data for a first service is being transmitted between the second device and the first device. The first device can also, in response to the service transmission instruction, send a service failure notification to the second device, the service failure notification informing the second device that the first device has disabled the first service.

[0037] Thus, in this embodiment of the application, when the first device disables the first service, a service failure notification can be sent in response to the service transmission command sent by the second device to notify the second device that the first device has disabled the first service. Users of the second device can then perceive that the first device has currently disabled the first service, improving the user experience.

[0038] In one possible implementation, the first device may display an authorization interface for authorizing the disabling or undisabling of the first service. The first device may also disable or undisable the first service in response to an authorization operation on the authorization interface.

[0039] Therefore, in the process of disabling or undisabling the first service, the embodiments of this application require authorization and authentication to prevent users from arbitrarily disabling or undisabling the first service, thereby further protecting the privacy information of the borrower.

[0040] In one possible implementation, the target mode interface also includes a network discovery device list, which displays other devices discovered by the first device, including the second device. The first device can also update the network discovery device list, in which case the second device will not be displayed.

[0041] Thus, after the first device sets the second device's status from online to offline, it can update the network discovery device list. During the update process, the second device's device display entry is disabled, and the second device is not displayed in the updated network discovery device list. In this way, after the first device is borrowed, the borrowing party cannot see the second device in the first device's system and cannot perform the first business with the second device, thereby protecting the borrower's privacy.

[0042] Secondly, embodiments of this application also provide a communication method applied to a communication system, the communication system including a first device and a second device, the method including: when at least one service is distributed and running on the first device and the second device, the first device can, in response to a trigger operation for a target mode interface, disconnect a target link and enter a signal shielding state for the second device.

[0043] The triggering operation is used to indicate the disabling of the first service in at least one service, and the target link is the link between the first device and the second device for transmitting service data of the first service; under the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device.

[0044] After disconnecting the target link, the first device can send a data synchronization command to the second device. The data synchronization command is used to synchronize the communication data of the third service in the second device. The third service is a service that is distributed on the first and second devices and is not disabled.

[0045] The second device receives the data synchronization instruction sent by the first device and sends synchronization data to the first device. The synchronization data includes the communication data of the third service in the second device, and the communication data of the third service includes the service execution status corresponding to the third service.

[0046] The first device receives synchronization data sent by the second device. When the execution status of the third service in the second device is consistent with the execution status of the third service in the first device and is in a supported state, the first device receives and displays the service data of the third service in the second device.

[0047] Thus, the communication method provided in this application embodiment can disable the first service and maintain the operation of the third service when at least one service is distributed and running on a first device and a second device. In this way, the user of the mobile phone will not be aware of the first service, but can normally perceive the third service. That is to say, this application embodiment can shield the service data of some distributed services while maintaining the communication connection, thereby protecting user privacy. At the same time, it does not affect the use of distributed services that do not involve privacy, thus improving the user experience.

[0048] Thirdly, embodiments of this application also provide a communication system, which includes a first device and a second device.

[0049] When at least one service is distributed and running on a first device and a second device, the first device is configured to disconnect the target link and enter a signal shielding state for the second device in response to a trigger operation for the target mode interface.

[0050] The triggering operation is used to indicate the disabling of the first service in at least one service, and the target link is the link between the first device and the second device for transmitting service data of the first service; under the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device;

[0051] The first device is also configured to send a data synchronization command to the second device after the target link is disconnected. The data synchronization command is used to synchronize the communication data of a third service in the second device. The third service is a service distributed on the first and second devices and is not disabled.

[0052] The second device is configured to receive a data synchronization command sent by the first device and send synchronization data to the first device. The synchronization data includes communication data of the third service in the second device, and the communication data of the third service includes the service execution status corresponding to the third service.

[0053] The first device is also configured to receive synchronization data sent by the second device. When the service execution status of the third service in the second device is consistent with the service execution status of the third service in the first device and is in a supported state, the first device receives and displays the service data of the third service in the second device.

[0054] Fourthly, embodiments of this application also provide an electronic device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the method described in the first aspect above.

[0055] Fifthly, embodiments of this application also provide a computer-readable medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect above.

[0056] In a sixth aspect, embodiments of this application also provide a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method described in the first aspect above. Attached Figure Description

[0057] Figure 1 A schematic diagram illustrating a distributed service scenario provided in an embodiment of this application;

[0058] Figure 2 This application provides a schematic diagram of the structure of a communication system according to an embodiment of the present application.

[0059] Figure 3 A schematic diagram of the hardware structure of a mobile phone provided in an embodiment of this application;

[0060] Figure 4 A schematic diagram of the software structure of a mobile phone provided in an embodiment of this application;

[0061] Figure 5 A schematic diagram of a target mode interface provided in an embodiment of this application. Figure 1 ;

[0062] Figure 6 A schematic diagram of a target mode interface provided in an embodiment of this application. Figure 2 ;

[0063] Figure 7 A schematic diagram of a target mode interface provided in an embodiment of this application. Figure 3 ;

[0064] Figure 8 A schematic diagram illustrating how to maintain a Bluetooth communication link, provided as an embodiment of this application;

[0065] Figure 9 An interactive illustration of a communication method provided in this application embodiment. Figure 1 ;

[0066] Figure 10 A schematic diagram of a target mode interface provided in an embodiment of this application. Figure 4 ;

[0067] Figure 11 An interactive illustration of a communication method provided in this application embodiment. Figure 2 ;

[0068] Figure 12 A schematic diagram of a target mode interface provided in an embodiment of this application. Figure 5 ;

[0069] Figure 13 An interactive illustration of a communication method provided in this application embodiment. Figure 3 ;

[0070] Figure 14 An interactive diagram illustrating data synchronization provided in an embodiment of this application;

[0071] Figure 15 This is a schematic diagram of the structure of a mobile phone provided in an embodiment of this application. Detailed Implementation

[0072] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with basically the same function and effect.

[0073] Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or order of execution, and that "first," "second," etc., are not necessarily different. Furthermore, in some embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

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

[0075] With the development of electronic devices, it is becoming increasingly common for users to own multiple electronic devices, and the interconnectivity between these devices provides a better user experience. For ease of description, in this application embodiment, applications or services that rely on the collaborative work of multiple devices are collectively referred to as distributed services. It should be understood that supporting distributed services requires connecting multiple electronic devices such as mobile phones, tablets, and displays together, i.e., multi-device interconnection, so that distributed services can run collaboratively across multiple electronic devices.

[0076] In some embodiments, when a distributed service operates collaboratively across multiple electronic devices, data synchronization occurs between these devices. The synchronized data may include service data and communication data corresponding to the distributed service. Service data may include file data (such as images, documents, web pages, audio, and video), application data (such as caller ID, clipboard data, and message data), etc. Communication data may include communication capability data, which indicates the service execution status of the distributed service, such as whether the device supports or does not support the distributed service.

[0077] Typically, some distributed services will be triggered unconditionally when multiple electronic devices log in to the same user account.

[0078] For example, see Figure 1 Clipboard data from multiple electronic devices can be synchronized with each other, and clipboard data from any one of the multiple electronic devices can be synchronized to other electronic devices.

[0079] For example, a mobile phone can synchronize clipboard data with a tablet, and a mobile phone can synchronize clipboard data with a tablet and a laptop. Applications on any of these multiple electronic devices can read clipboard data generated by all of them. Continuing with the example of the first user lending their tablet to the second user, the second user can then view the clipboard data corresponding to the first user through an application on the tablet.

[0080] For another example, a first user owns a mobile phone and a tablet. The first user lends the tablet to a second user. When the second user is using the tablet for work, notification messages received on the mobile phone will be synchronized to the tablet. In this way, the second user can view the first user's notification messages through the tablet.

[0081] For another example, the second user can obtain the SMS verification code from the first user's mobile phone via a tablet computer, and the second user can use the SMS verification code to complete some application payment operations, etc.

[0082] In other words, electronic devices often store a large amount of user data, much of which involves sensitive and private information. If a second user uses the first user's electronic device to conduct communication, it can easily infringe on the first user's privacy. This leads to poor privacy security and a reduced user experience for the first user.

[0083] Related technologies can control the use and request of permissions, including permissions for cameras, GPS, and recording. However, simply controlling permissions cannot solve the aforementioned user privacy and security issues.

[0084] Related technologies also allow enabling guest mode or adding other people's accounts in device borrowing scenarios. However, all of the above operations need to be completed before borrowing the device and require the installation of specific applications, making the operation very complicated. At the same time, the borrower cannot use all the functions corresponding to the borrowed device.

[0085] In related technologies, the communication connection between the borrowed device and the local device can also be directly closed. However, the communication connection of the borrowed device can be reopened after the above operation, and closing the communication connection of the local device will also affect the user's use.

[0086] Based on the above, this application provides a communication method that can be applied to a first device, wherein the first device establishes a communication connection with a second device. The method includes: when at least one service is distributed and running on the first device and the second device, in response to a trigger operation for a target mode interface, disconnecting the target link and entering a signal shielding state for the second device.

[0087] The trigger operation is used to instruct the first service of at least one service to be disabled. The target link is the link between the first device and the second device for transmitting service data of the first service. In the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process service data of the first service from the second device.

[0088] At least one of the aforementioned services can be services executed by the first device and the second device during collaborative operation. At least one service can also be referred to as a distributed service. The first service can be all distributed services or some distributed services; this application embodiment does not specifically limit the number of services corresponding to the first service.

[0089] In other words, in a device borrowing scenario, the borrower can borrow the first device by triggering an operation on the target mode interface of the first device, and the distributed services in the borrowed first device have been disabled.

[0090] Specifically, the first device can disconnect the link for transmitting distributed service data with the second device and enter a signal shielding state for the second device. In the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the distributed service data from the second device.

[0091] The aforementioned non-processing of distributed service data from the second device may include not receiving distributed service data from the second device, or it may include not storing and not displaying distributed service data from the second device.

[0092] On the one hand, by prohibiting the first device from re-establishing the target link with the second device, the distributed services in the first device are disabled. The first and second devices cannot transmit distributed service data, thus preventing service interaction between the two devices. In this way, after the borrower lends out the first device, it can prevent the borrower from infringing on the borrower's privacy information by using the first device.

[0093] Meanwhile, the borrower does not need to disable Bluetooth, Wi-Fi, or other communication functions on the first device, and the borrower can use the communication functions on the first device normally. This not only simplifies the user operation in the borrowing process but also improves the borrower's privacy, security, and user experience.

[0094] On the other hand, by allowing the first device to re-establish the target link with the second device, but without the first device processing the distributed service data from the second device, the distributed service in the first device can be disabled. The first device does not need to receive, store, or display the distributed service data from the second device, which simplifies the execution process of disabling the distributed service and improves its efficiency.

[0095] Meanwhile, since the first device does not process business data from distributed services originating from the second device, it also prevents the borrower from infringing on the borrower's privacy information if the first device is borrowed. This improves the borrower's privacy and user experience.

[0096] The communication method provided in this application can be applied to a communication system.

[0097] See Figure 2The communication system provided in this application includes a first device 101 (e.g., a mobile phone of a first user), a second device 102 (e.g., a tablet computer of a first user), and a third device 103 (e.g., a laptop computer of a first user).

[0098] In some embodiments, see details. Figure 2 In (A), a communication connection is established between the first device 101, the second device 102, and the third device 103. The first device 101, the second device 102, and the third device 103 can perform at least one distributed service interaction.

[0099] The first device 101, the second device 102, and the third device 103 may include a wired communication connection or a wireless communication connection.

[0100] The wireless communication connection between the first device 101 and the second device 102 may include a Bluetooth communication connection and a short-range wireless communication connection.

[0101] The wireless communication connections between the first device 101, the second device 102, and the third device 103 may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), and Long Term Evolution (LTE).

[0102] In some embodiments, the wireless communication technologies used to establish wireless communication connections include, but are not limited to, at least one of the following: wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT) (e.g., classic Bluetooth or Bluetooth Low Energy (BLE) Bluetooth), near field communication (NFC), Zigbee, frequency modulation (FM), and infrared (IR).

[0103] The first device 101, the second device 102, and the third device 103 may include electronic devices with communication capabilities such as mobile phones, tablets, smartwatches, laptops, netbooks, personal digital assistants (PDAs), wearable devices, and artificial intelligence (AI) devices.

[0104] Furthermore, the operating systems installed on the first device 101, the second device 102, and the third device 103 include, but are not limited to, those that... Or other operating systems. This application does not limit the specific type of electronic device or the type of operating system installed on it.

[0105] In some embodiments, the first device 101, the second device 102, and the third device 103 may be provided with a target mode, which is used to disable distributed services. The user interface of the first device 101, the second device 102, and the third device 103 may also be provided with a target control, which can be triggered by the user. In response to the triggering operation on the target control, the first device 101, the second device 102, and the third device 103 disable distributed services.

[0106] For example, the first service is a distributed service running on the first device 101 and the second device 102, and the second service is a distributed service running on the first device 101 and the second device 102.

[0107] It should be noted that the embodiments of this application do not limit the specific operations by which users trigger the disabling of distributed services.

[0108] In one possible implementation, see [link to implementation details]. Figure 2 In (B), after the target mode in the first device 101 is enabled or in response to a user's trigger operation, the first device 101 and the second device 102 are prohibited from performing the first service, and the first device 101 and the third device 103 are also prohibited from performing the second service, but this does not affect the distributed service performed between the second device 102 and the third device 103. In other words, the embodiments of this application can disable all distributed services performed by the first device 101 and other electronic devices.

[0109] In another possible implementation, see Figure 2In step (C), after the target mode in the first device 101 is enabled or in response to a user's trigger operation, the first service between the first device 101 and the second device 102 will be disabled, while the second service between the first device 101 and the third device 103 can continue to execute. In other words, the embodiments of this application can prohibit distributed services executed between the first device 101 and one or more of the multiple electronic devices.

[0110] Of course, the communication system provided in this application embodiment may also include other electronic devices besides the first device 101, the second device 102, and the third device 103. The communication system provided in this application embodiment includes, but is not limited to, information interaction between three devices, and may also include information interaction between one device and multiple devices. Those skilled in the art can determine the type and number of electronic devices according to actual needs, and these designs do not exceed the protection scope of this application embodiment.

[0111] The first device 101, the second device 102, and the third device 103 in this application embodiment can be implemented using different or the same devices. For example, the first device 101, the second device 102, and the third device 103 in this application embodiment can be implemented using... Figure 3 This can be achieved using mobile phone 100.

[0112] Figure 3 The diagram shown is a schematic diagram of the hardware structure of the mobile phone 100 provided in an embodiment of this application.

[0113] Mobile phone 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0114] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the mobile phone 100. In other embodiments of this application, the mobile phone 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0115] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0116] The controller can serve as the central nervous system and command center of the mobile phone 100. Based on the instruction operation code and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.

[0117] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0118] The wireless communication function of mobile phone 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0119] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0120] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G / future communication, for use on the mobile phone 100.

[0121] The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0122] In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed 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 disposed in the same device.

[0123] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194.

[0124] In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0125] The wireless communication module 160 can provide solutions for wireless communication applications on the mobile phone 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.

[0126] The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0127] In some embodiments, antenna 1 of mobile phone 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling mobile phone 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0128] The mobile phone 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0129] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, mobile phone 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0130] In some embodiments, the display screen 194 is used to display a target mode interface, on which the user can perform a trigger operation to disable a first service in the mobile phone 100. After responding to the trigger operation on the target mode interface, the mobile phone 100 can disconnect the target link with other devices through the wireless communication module 160 and prevent the re-establishment of the target link with other devices. The target link is the link for transmitting service data of the first service between the mobile phone and other devices.

[0131] Alternatively, the phone can be allowed to establish target links with other devices but not process service data from the primary service originating from those other devices. In this case, the primary service on the phone will be disabled.

[0132] The mobile phone 100 can achieve audio functions such as music playback and recording through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0133] The software system of mobile phone 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes the layered architecture Android system as an example to illustrate the software structure of mobile phone 100.

[0134] Figure 4 This is a software structure block diagram of the mobile phone 100 according to an embodiment of this application.

[0135] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, the Android runtime (ART) and system libraries, the hardware abstraction layer (HAL), and the kernel layer.

[0136] The application layer can include a series of application packages.

[0137] like Figure 4 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and settings.

[0138] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0139] like Figure 4 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, business modules, etc.

[0140] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0141] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.

[0142] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0143] The phone manager is used to provide communication functions for the mobile phone 100. For example, it manages call status (including connection, hang-up, etc.).

[0144] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0145] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0146] The business module is used to process business commands during business interactions with other devices. For example, during clipboard data synchronization between mobile phone 100 and tablet computer, the business module can issue business commands corresponding to the clipboard data.

[0147] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.

[0148] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0149] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0150] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0151] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0152] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0153] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0154] A 2D graphics engine is a graphics engine for 2D drawing.

[0155] The Hardware Abstraction Layer (HAL) runs in user space, encapsulates kernel-level drivers, and provides calling interfaces to higher layers. The HAL can include display modules, data modules, link modules, and sensor modules.

[0156] The data module is used to synchronize communication data between the mobile phone and other electronic devices, as well as business data corresponding to distributed services. The link module is used to establish logical links for services between the mobile phone and other devices.

[0157] For example, during cross-device clipboard operations on mobile phones and tablets, the service module can issue corresponding service instructions to the data layer, such as establishing a communication synchronization instruction. After receiving the communication synchronization instruction, the data module sends a communication synchronization instruction to the link module, which then synchronizes communication data with the tablet based on the received instruction.

[0158] In some embodiments, the link module can also establish a logical link with the tablet computer for cross-device clipboard services.

[0159] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, data drivers, link drivers, and sensor drivers.

[0160] In some embodiments of this application, taking mobile phones and tablets as examples, application A installed on a mobile phone can access and share data of application B installed on a tablet, or application B installed on a tablet can also access and share data of application A installed on a mobile phone. This process can be referred to as "distributed business interaction between application A and application B".

[0161] Before implementing business interactions corresponding to distributed services, it is necessary to establish a trust relationship between mobile phones and tablets to ensure the privacy and security of business interactions between them.

[0162] Typically, mobile phones and tablets establish a communication connection and are logged into the same user account, meaning the account information is the same account, or the user accounts logged in on the mobile phone and tablet are linked accounts, meaning the account information on the two devices is linked accounts with a trust relationship. In other words, it is necessary to establish not only a trust relationship between multiple devices, but also a trust relationship between user accounts.

[0163] During the process of establishing a trust relationship between a mobile phone and a tablet, the phone can search for connectable devices. Once one or more devices are found, the device name of the one or more connectable devices can be displayed on the screen.

[0164] It should be understood that in the embodiments of this application, "connectable device" can also be referred to as "near field device".

[0165] For example, a mobile phone can connect to one or more near-field devices on the same Wi-Fi network, enabling the mobile phone to search for and identify the one or more near-field devices.

[0166] Alternatively, both the phone and the one or more near-field devices can have Bluetooth enabled, allowing the phone to search for and recognize the one or more near-field devices.

[0167] Alternatively, the mobile phone can identify the one or more near-field devices using NFC technology such as tap-to-connect; or the mobile phone can identify the one or more near-field devices using wireless communication methods such as infrared technology. Among these, one or more connectable devices include tablets.

[0168] Taking Bluetooth as an example of wireless communication technology, a mobile phone establishes a Bluetooth connection with a tablet computer through a pairing and connection process to establish a trust relationship between the devices. This application does not limit the communication method between the mobile phone and the near-field device.

[0169] During the process of establishing a trust relationship between a mobile phone and a tablet computer, the account information of the mobile phone and the account information of the tablet computer are the same account, or the account information of the mobile phone and the account information of the tablet computer are related accounts with a trust relationship.

[0170] The phone's account information can include the user's corresponding phone number and the application accounts of the applications running on the device. Application accounts can be associated with the user's corresponding phone number, the device's information, or the user's information.

[0171] For example, the account information on a mobile phone may include the user account of a social application, a cloud storage application, and an email application corresponding to the first user, etc. This application does not limit the specific implementation of the account information in the device and can be adapted and adjusted according to the actual usage scenario.

[0172] In some embodiments of this application, the mobile phone can display a target mode interface. The user can perform a trigger operation on the target mode interface, and the mobile phone can respond to the trigger operation by disconnecting the target link and entering a signal blocking state for the tablet computer.

[0173] In one possible implementation, the target mode interface may include a target control, and the aforementioned triggering operation is an operation performed on the target control.

[0174] In another possible implementation, the mobile phone can also have a target mode. The target mode interface can include a target control corresponding to the target mode. The target mode is used to disable the first service in at least one service.

[0175] For example, in response to an activation operation on a target control, the mobile phone can activate the target mode corresponding to the target control. Subsequently, after activating the target mode, the mobile phone can disconnect the target link and enter a signal blocking state for the tablet computer, thereby disabling the primary service between the mobile phone and the tablet computer.

[0176] In some examples, the triggering method corresponding to the above target mode can be presented as an independent switch, such as through the interface of the application on the mobile phone.

[0177] For example, see Figure 5 In (A), the management interface of the settings application on the mobile phone can include a mode control 501 corresponding to the target mode. The user can click on the mode control 501, and the mobile phone responds to the user's click on the mode control 501 and triggers entry into the target mode interface.

[0178] The target mode interface includes target controls, such as the business control 502 that disables distributed services. Users can click on the business control 502, and the phone responds to the user's action of enabling the business control 502 by activating the target mode.

[0179] Of course, when the target mode is enabled, the user can click on the business control 502 again, and the phone will respond to the user's closing operation on the business control 502, thus closing the target mode. It should be noted that the above only uses the settings application and target mode interface as examples, and this application embodiment does not limit the specific setting location of the target control.

[0180] In another possible approach, the triggering method corresponding to the target mode can also be in the form of an integrated switch. For example, the target mode can be integrated with the mode switch corresponding to at least one of the modes: privacy mode, power saving mode, and do not disturb mode.

[0181] For example, see Figure 5 In (B), the pull-down notification interface on the mobile phone can include a target control corresponding to the power saving mode, such as power saving control 503. Users can click on power saving control 503, and the mobile phone responds to this click by activating power saving mode and the target mode. It should be noted that the above examples only use privacy mode, power saving mode, and do not disturb mode as examples; this application does not specifically limit the mode integration method.

[0182] In other examples, the target mode can also be triggered via a physical button.

[0183] For example, see Figure 5 (C) In this context, the phone's casing may have a physical button 504 corresponding to the target mode. The user can press the physical button 504, and the phone will activate the target mode in response to this press. Conversely, if the target mode is active, the user can press the physical button 504 again, and the phone will deactivate the target mode in response.

[0184] It should be noted that the embodiments of this application do not specifically limit the implementation method of the physical buttons corresponding to the target mode.

[0185] In some embodiments of this application, after a user performs a trigger operation on the target control corresponding to the target mode, the mobile phone can respond to the user's operation to enable the target mode and enable the target mode.

[0186] Specifically, the phone can respond to the user's action of enabling a target mode by adjusting the mode status information corresponding to the target mode to the enabled state. Conversely, the phone can also respond to the user's action of disabling a target mode by adjusting the mode status information corresponding to the disabled state.

[0187] Each mode can have its own mode identifier and mode status information. The mode identifier is used to represent the identity of its corresponding mode. For example, the mode identifier for the target mode can be "target mode," and the mode identifier for the power-saving mode can be "power-saving mode." The mode status information is used to represent whether the mode is in an on or off state. For example, the mode status information for an on state is "true," and the mode status information for a off state is "false."

[0188] When a phone changes the usage status of a target mode from off to on, it can set the target mode's mode status information to "true". When a phone changes the usage status of a target mode from on to off, it can set the target mode's mode status information to "false".

[0189] In some embodiments of this application, the service module in the mobile phone can not only sense changes in the mode state information of the target mode, but also control the display entry of the distributed service corresponding to the target mode based on the changes in the mode state information.

[0190] Specifically, the business module can control the display screen to not show the display entry point for distributed services when the target mode is in the enabled state. The business module can also control the display screen to show the display entry point for distributed services when the target mode is in the disabled state.

[0191] For example, when the business module detects that the usage status of the target mode has changed from closed to open, it can obtain the first business corresponding to the target mode and adjust the business entry status of the first business from open to closed, that is, close the business entry corresponding to the first business.

[0192] In some feasible methods, users can disable all distributed services. When the first service includes all distributed services, the user can perceive the display entry point corresponding to the first service before activating the target mode; that is, the phone can display the display entry point for the first service. After activating the target mode, the phone does not display the display entry point for the first service.

[0193] For example, see Figure 6 In (A), the first service includes cross-device clipboard service, multi-device mobile communication sharing service, multi-device task center service, and service flow recommendation service. The target mode interface may include a device control 510 corresponding to the local device, a device control 511 corresponding to nearby devices, and a service details control 512 corresponding to the first service. After the user enables the target mode, the service module can change the service entry status of the first service from the enabled state to the disabled state, effectively closing the service entry for the first service.

[0194] See Figure 6 In step (B), the business details control 512 is no longer displayed in the target mode interface. This means that users will not see the business entry point corresponding to the first business in the target mode interface.

[0195] In some feasible ways, users can also disable certain distributed services. If the first service includes some distributed services, the phone can display the entry point for the first service before starting the target mode, and will not display the entry point for the first service after starting the target mode.

[0196] For example, a user can click on the business details control corresponding to the first business, and the mobile phone can respond to the click on the business details control by not displaying the first business entry corresponding to the business details control.

[0197] See Figure 6In section (C), the first service includes cross-device clipboard service and multi-device mobile communication sharing service. Users can click on the service detail controls corresponding to cross-device clipboard and multi-device mobile communication sharing.

[0198] The business module can respond to the user's click operation on the business details control, obtain the first business corresponding to the business details control (such as cross-device clipboard and multi-device mobile communication sharing), and change the business entry status of the cross-device clipboard and multi-device mobile communication sharing from the open state to the closed state.

[0199] In this way, users will not see the service entry points for cross-device clipboard service and multi-device mobile communication sharing service in the target mode interface. See also Figure 6 In (D), the service details controls for cross-device clipboard services and multi-device mobile communication sharing services will no longer be displayed in the target mode interface.

[0200] In some feasible ways, when the above-mentioned business module adjusts the business entry state of the first business to the closed state, it may not display the business details control corresponding to the first business, and may also change the display state of the business details control corresponding to the first business.

[0201] For example, the color of the business details control can be adjusted to gray. It should be noted that this application embodiment does not specifically limit the display format corresponding to the business entry point (such as the business details control).

[0202] It should be noted that the triggering method corresponding to the target mode can be implemented in the form of the aforementioned independent switches, meaning that the independent switches can be associated with some or all of the distributed services. Alternatively, the triggering method corresponding to the target mode can also be implemented with each distributed service having its own independent switch. For example, the cross-device clipboard service mentioned above corresponds to a service details control, and the multi-device mobile communication sharing service corresponds to a service details control; this service details control is the switch for its corresponding distributed service.

[0203] In some embodiments of this application, the target mode can be associated with all distributed services in the device; after the mobile phone activates the target mode, all distributed services in the device will be disabled. The target mode can also be associated with only some distributed services; after the mobile phone activates the target mode, the specific distributed services associated with the target mode in the device will be disabled.

[0204] Among them, the distributed services associated with the target mode can be pre-configured or selected by the user.

[0205] In some embodiments of this application, the distributed services associated with the target pattern may be distributed services corresponding to different applications.

[0206] For example, distributed services corresponding to social applications, distributed services corresponding to browser applications, and distributed services corresponding to short video applications.

[0207] In some embodiments of this application, the distributed services associated with the target mode may also be distributed services corresponding to different functions.

[0208] Examples include cross-device clipboard services, multi-device mobile communication sharing, and service flow recommendation services.

[0209] It is understandable that some distributed services associated with the target pattern can be preset or selected by the user at the application level, such as users associating the distributed services corresponding to social applications with the target pattern.

[0210] Some distributed services associated with the target mode can be preset or selected by the user at the level of business function. For example, a user can associate cross-device clipboard services with the target mode. It should be noted that the embodiments of this application do not limit the specific implementation method of associating distributed services with the target mode.

[0211] In some embodiments of this application, the target mode may include a first service set, which may include a first service. The target mode may also include a second service set, which includes a third service, which is a service distributed on mobile phones and tablets and is not disabled.

[0212] In other words, when the target pattern is associated with some distributed services, the target pattern is associated with a first set of services and a second set of services. The services in the first set are disabled distributed services, while the services in the second set are not disabled distributed services.

[0213] In one possible implementation, the mobile phone can have a pre-configured blacklist and a whitelist. The blacklist includes a first set of services, and the whitelist includes a second set of services. After the mobile phone starts the target mode, the first service in the first set of services is disabled, while the third service in the second set of services is not disabled.

[0214] For example, the blacklist includes cross-device clipboard services and multi-device mobile communication sharing services. See also Figure 7 In step (A), the service module can respond to the user's activation operation on service control 502 by changing the service entry status of the cross-device clipboard service and the multi-device mobile communication sharing service from the activated state to the deactivated state. This way, the user will not see the service entry for the cross-device clipboard service and the multi-device mobile communication sharing service in the target mode interface.

[0215] See Figure 7 In (B), the service details controls for cross-device clipboard services and multi-device mobile communication sharing services will no longer be displayed in the target mode interface.

[0216] In some embodiments of this application, the mobile phone can interact with the tablet computer for business purposes before the target mode is activated; that is, the business modules in the mobile phone need to interact with the business modules in the tablet computer. This business interaction includes direct or indirect business interactions between the two.

[0217] During the business interaction between the two devices, the two devices can synchronize data for the first business.

[0218] For example, the two devices can first synchronize communication data, such as communication capability data, corresponding to the first service, and then synchronize the service data corresponding to the first service. The communication capability data is used to characterize the service execution status of the first service between the mobile phone and the tablet. For instance, the first service includes a cross-device clipboard service. The mobile phone can first synchronize the service execution status of the cross-device clipboard service with the tablet, that is, first establish a communication connection between the mobile phone and the tablet for the service. Then, it can transmit the clipboard data corresponding to the cross-device clipboard service, that is, transmit the specific service data corresponding to the service.

[0219] In some embodiments of this application, when the first service is a fully distributed service, the mobile phone can disconnect the target link and enter a signal shielding state for the tablet computer.

[0220] Specifically, the mobile phone can disconnect the target link between itself and the tablet at the service level. The target link is the link among the multiple transmission links connected to the mobile phone used to transmit service data for the first service with the tablet; that is, disconnecting the logical link (also known as the data link) for the first service. Simultaneously, the mobile phone can also prevent the re-establishment of the target link with the tablet.

[0221] In this way, the phone cannot establish a logical link corresponding to the first service between the phone and the tablet, preventing service interaction between the two devices. Therefore, the first service on the phone can be disabled.

[0222] It should be noted that the transmission link corresponding to a device can include a communication link and a logical link. A communication link refers to the physical layer communication connection, including hardware devices, wires, optical cables, etc., serving as the physical channel for data transmission between two devices. A logical link is a connection established at the logical layer based on the communication link, referring to the logical channel for data transmission over the communication link. In scenarios where the primary service is disabled, not only can the logical link of the primary service between the current mobile phone and tablet be disconnected, but the communication link of the primary service can also be disconnected.

[0223] In other embodiments of this application, when the first service is a partially distributed service, the mobile phone can disconnect the target link and enter a signal shielding state for the tablet computer.

[0224] Specifically, the mobile phone can disconnect the target link between itself and the tablet at the service level. The mobile phone can also be allowed to re-establish the target link with the tablet but not process service data from the tablet's primary service. Not processing service data from the tablet means not receiving service data from the tablet's primary service.

[0225] In this way, the mobile phone can prevent the receiving device from the tablet's primary service data, allowing it to intercept the corresponding service interactions. The service module will not be aware of the service commands, thus disabling the primary service on the phone. Simultaneously, the user will not be aware of the primary service while using the phone.

[0226] In some embodiments of this application, the mobile phone can establish a communication connection with a third device (such as a Bluetooth headset), and the mobile phone can maintain a communication connection with the Bluetooth headset after the target link is disconnected.

[0227] For example, before or after disabling the first service, the phone's Bluetooth, Wi-Fi, and other communication links remain established. See, for example... Figure 8 In section (A), the mobile phone can maintain a communication connection with a Bluetooth headset, such as by establishing a Bluetooth communication link. The mobile phone can also establish a logical link with a tablet computer for the first service.

[0228] See Figure 8 In (B), after the mobile phone disconnects the logical link established with the tablet computer for the first service, the Bluetooth communication link established between the mobile phone and the Bluetooth headset remains established.

[0229] In this way, users can lend their phones to others after enabling target mode. When target mode is enabled, primary communication between the phone and tablet is disabled to prevent the phone from engaging in any transactions with the tablet after being lent out, thus protecting user privacy. Users only need to enable target mode before lending the phone; there's no need to disable Bluetooth or Wi-Fi.

[0230] In this way, the phone can normally perform services related to Bluetooth and Wi-Fi functions without affecting the user's use of other communication functions, thereby improving the user experience.

[0231] Furthermore, users do not need to operate the tablet (such as disabling the primary service on the tablet). They only need to enable the target mode on the phone to prevent distributed services between the tablet and the phone from being executed, without affecting the tablet's ability to perform distributed services with other devices.

[0232] The process of the mobile phone disconnecting the target link and entering a signal shielding state for the tablet computer when the first service is a fully distributed service will be described in detail below.

[0233] In some embodiments of this application, after the service module closes the display entry corresponding to the first service, it can disconnect the target link (the logical link corresponding to the first service) so that the mobile phone and the tablet computer cannot interact with each other.

[0234] See Figure 9 The user enables business control 502 in the target mode interface (see...). Figure 5 Following step (A), the service module can change the service entry status of the first service from open to closed. Next, the service module can send a first link disconnect command to the data module (S901), which instructs the logical link corresponding to the first service to be disconnected. Upon receiving the first link disconnect command, the data module sends it to the link module (S902). The link module disconnects the logical link corresponding to the first service according to the first link disconnect command (S903).

[0235] The first link disconnection command may include the device identifier of the mobile phone. The device identifier can be any identification information used to identify the device. For example, the mobile phone name such as "mobile phone", the corresponding preset value of the mobile phone, the MAC address of the mobile phone, the hardware number of the mobile phone, or a system-generated string, such as the device's international mobile equipment identity (IMEI), mobile equipment identifier (MEID), and serial number (SN), etc., or one or more plaintext or encrypted information.

[0236] Alternatively, the device identifier can also be a preset encrypted field, a preset encrypted value, or a preset encrypted binary string.

[0237] The first link disconnection command may also include a service identifier corresponding to the distributed service. The service identifier can be any identification information used for the distributed service identity. For example, it can be one or more plaintext or encrypted information such as the distributed service name, "cross-device clipboard service", a preset value corresponding to the distributed service, or a system-generated string. Alternatively, the service identifier can also be a preset encrypted field, a preset encrypted value, or a preset encrypted binary string.

[0238] In some embodiments of this application, during the process of the mobile phone entering the signal blocking state for the tablet computer, the automatic connection function corresponding to the first service can be changed from the enabled state to the disabled state.

[0239] See also Figure 9 After the business module disconnects the logical link between the first business and the tablet computer, it can change the automatic connection function corresponding to the first business from the enabled state to the disabled state (S904).

[0240] In some embodiments of this application, the distributed services between two devices have an automatic connection function when the devices are in a trusted state. For example, in response to a user's trigger operation for a distributed service, such as a user copying text (triggering a cross-device clipboard service), the mobile phone will proactively send a service instruction corresponding to the clipboard service to the tablet computer. Simultaneously, the tablet computer will also process the received service instruction. It should be noted that the above-mentioned automatic connection function can also be understood as the self-starting function of the distributed service, allowing the distributed services between the devices to start automatically.

[0241] Distributed services can have corresponding service reconnection information. This reconnection information indicates whether the automatic connection function for the distributed service is enabled or disabled. For example, the reconnection information for the enabled state is "true", and the reconnection information for the disabled state is "false".

[0242] Thus, this embodiment of the application can disable the auto-start function of the first service in the mobile phone, preventing the first service from automatically starting and re-establishing the target link with the tablet computer after being triggered by the user. This ensures that the borrower is less likely to infringe on the borrower's privacy information after the mobile phone is lent out.

[0243] In some embodiments of this application, during the process of the mobile phone entering the signal blocking state for the tablet computer, it can also send an offline command to the tablet computer for the mobile phone. The offline command of the mobile phone is used to instruct the tablet computer to change the device status of the mobile phone from online to offline.

[0244] The online status of a mobile phone indicates that the phone is displayed in the network discovery device list of the tablet, while the offline status indicates that the phone is not displayed in the network discovery device list of the tablet.

[0245] For example, after the service module adjusts the automatic connection function corresponding to the first service to the off state, it can send an offline command to the data module (S905). The offline command includes the mobile phone's identification information. The offline command is used to instruct the tablet computer to change the mobile phone's device status from online to offline. The data module can send the offline command to the link module (S906), and the link module sends the offline command to the tablet computer (S907). The tablet computer can change the mobile phone's device status from online to offline according to the offline command, and the user will not be able to find the mobile phone using the tablet computer.

[0246] In some embodiments of this application, when a mobile phone enters a signal blocking state for a tablet computer, and the mobile phone and tablet computer are synchronizing service data for a first service, the data synchronization between the mobile phone and the tablet computer can be interrupted.

[0247] For example, the data module interrupts the data synchronization of the first service according to the offline instruction (S908). For instance, the data module interrupts the communication data synchronization corresponding to the first service, or it can interrupt the currently ongoing service data synchronization corresponding to the first service. It should be noted that the data being interrupted for synchronization may include both communication data and service data, and this embodiment does not limit this.

[0248] In this way, while the two devices are synchronizing data for the first service, the phone can interrupt data synchronization with the tablet. This prevents the phone from receiving the first service data sent by the tablet, thus avoiding any invasion of the borrower's privacy if the phone is lent out. This improves user privacy and security, as well as the overall user experience.

[0249] In some embodiments of this application, during the process of the mobile phone entering the signal blocking state for the tablet computer, the device status of the tablet computer can also be changed from online to offline.

[0250] The tablet's online status indicates that it is displayed in the phone's list of network-discovered devices, while its offline status indicates that it is not displayed in the list. This means the user cannot find the tablet using their phone. It's important to note that the network-discovered device list can be understood as the list of devices the phone is searching for nearby.

[0251] For example, after interrupting the data synchronization of the first service, the data module can also send an interruption message to the service module (S909). The interruption message indicates that the data module has interrupted the data synchronization of the first service. The service module can then close the device display entry of the tablet computer based on the interruption message (S910).

[0252] In other words, the business module can change the device status of the tablet from online to offline, which means turning off the device display entry of the tablet.

[0253] See also Figure 6 In section (A), before the target mode is enabled, the target mode interface may include device control 510 for the local device and device control 511 for nearby devices. Nearby devices include tablets and smartwatches, with the tablet's connection status being "connected." See also... Figure 6 In (B), after the target mode is enabled, not only is the service entry corresponding to the first service closed, but the service module can also close the device display entry of the tablet computer according to the interruption information.

[0254] In this way, the phone and tablet will mutually disconnect each other, making each other undetectable. Users cannot discover the tablet through the phone's foreground services, nor can they discover the phone through the tablet's foreground services. Consequently, after a user lends out a phone in target mode, other users using their phones cannot find the nearby tablet. The logical link between the phone and tablet, which was initially disconnected, cannot be re-established, and signaling interaction for distributed services is impossible.

[0255] In some embodiments of this application, the target mode interface further includes a network discovery device list, which displays other devices found by the mobile phone, including tablets. The mobile phone can also update the network discovery device list, and the updated list does not display tablets.

[0256] Thus, after the business module changes the tablet's device status from online to offline, it can update the network-discovered device list. During the update process, the tablet's device display entry is turned off, and the tablet will not appear in the updated network-discovered device list. This way, once the phone is lent out, the borrower cannot see the tablet on their phone and cannot perform any initial business transactions with the tablet, thereby protecting the borrower's privacy.

[0257] In some embodiments of this application, after the mobile phone sets the device status of the tablet computer from online to offline, it either does not process service data from the first service of the tablet computer, or receives service data from the first service of the tablet computer without responding, or filters service data from the first service of the tablet computer.

[0258] In other words, after the two devices disconnect each other, neither the phone nor the tablet can detect the other. Thus, on the phone side, the tablet will not send the primary service data to the phone; that is, the primary service data cannot reach the phone's link module, let alone its service module. The same applies to the tablet side, which will not be elaborated further here.

[0259] Thus, in this embodiment, after the mobile phone activates the target mode, the service data of the first service can be blocked from the underlying system level. The mobile phone will not process, receive, or directly filter service data of the first service sent from other electronic devices. The mobile phone will also not actively send service data of the first service to other devices. This achieves the blocking of the first service, reduces the power consumption of the mobile phone, and better protects the user's privacy information.

[0260] The above involves disconnecting the mobile phone and tablet from each other's devices and disabling the automatic reconnection function of the first service on the mobile phone, so that the mobile phone and tablet cannot re-establish the logical link of the disconnected first service.

[0261] In this application embodiment, the above example only uses a mobile phone connecting to a tablet computer; further details can be found elsewhere. Figure 2 In (B), when the mobile phone is also connected to other electronic devices, if the first service is distributed between the mobile phone and other electronic devices, the first service executed between the mobile phone and other electronic devices will also be disabled.

[0262] Specifically, mobile phones can also disconnect target links from other electronic devices and prevent the re-establishment of target links with other electronic devices.

[0263] Thus, in the case where a mobile phone establishes communication connections with multiple electronic devices and performs distributed services, the distributed services between the mobile phone and multiple electronic devices can be disabled in this embodiment of the application.

[0264] In some embodiments of this application, when a mobile phone establishes communication connections with multiple electronic devices and performs distributed services, the distributed services between the mobile phone and a target device among the multiple electronic devices can be disabled, while the distributed services between the mobile phone and other devices besides the target device can be maintained. The target device can be one or more of the multiple electronic devices.

[0265] For example, see [link to example]. Figure 2 In (C), the target device can be a third device such as a laptop. The first service is distributed between the mobile phone and the tablet, and the second service is distributed between the mobile phone and the laptop. Even after the target link between the mobile phone and the tablet is disconnected, the second service can continue to run on both the mobile phone and the laptop.

[0266] Specifically, each electronic device connected to a mobile phone can have its own target control; that is, each electronic device can have its own target mode. See also Figure 10 The target mode interface also includes target controls for electronic devices, such as target control 1001 for tablets and target control 1102 for laptops. Users can enable the target controls for the target devices in the target mode interface to disable distributed services between the mobile phone and the target device.

[0267] For example, see [link to example]. Figure 10 In (A), after the user enables the target control 1001 on the tablet, the business module can change the status of the business entry point corresponding to the first business between the tablet and the tablet from the enabled state to the disabled state.

[0268] See Figure 10 In (B) of the target mode interface, the service entry corresponding to the first service between the mobile phone and the tablet will not be displayed. Similarly, the mobile phone will send a first link disconnect command based on the tablet's device information to disconnect the target link between the mobile phone and the tablet. The mobile phone can also send an offline command to the tablet and change the tablet's device status from online to offline, thereby turning off the tablet's device display entry (see [link]). Figure 10 (B) in the middle.

[0269] It should be noted that the process of disabling the first service between the mobile phone and the tablet is similar to the above embodiment and will not be repeated here. Since the logical link between the mobile phone and the laptop for the second service is not disconnected, the second service can continue to run on both the mobile phone and the laptop.

[0270] Thus, in this embodiment of the application, when a mobile phone establishes a communication connection with multiple electronic devices and performs distributed services, the distributed services between the mobile phone and a target device among the multiple electronic devices can be disabled, while maintaining the distributed services between the mobile phone and other devices besides the target device. This improves the flexibility of disabling distributed services, thereby enhancing the user experience.

[0271] In some embodiments of this application, the trust relationship between the mobile phone and the tablet computer can be changed by setting the tablet computer as an untrusted device in the mobile phone, so that the mobile phone and the tablet computer cannot re-establish the disconnected target link.

[0272] In one feasible approach, if the account information on the mobile phone and the account information on the tablet are the same account, or if the account information on the mobile phone and the account information on the tablet are associated accounts with a trusted relationship, the login status of the account corresponding to the account information on the mobile phone is changed from logged in to logged out, so as to set the tablet as an untrusted device.

[0273] Typically, during the process of establishing a trust relationship between user accounts on two devices, the account information on the two devices can be the same account or related accounts with a trust relationship. Both devices match and record the correspondence between the first device information, the logged-in account information, and the second device information.

[0274] For example, the mobile phone records a first correspondence, which represents the trust relationship between the device information corresponding to the mobile phone, the first account information logged in, and the device information corresponding to the tablet computer. Similarly, the tablet computer records a second correspondence, which represents the trust relationship between the device information corresponding to the mobile phone, the first account information logged in, and the device information corresponding to the tablet computer. In this way, during collaborative work, the mobile phone and tablet computer can conduct business interactions based on the aforementioned trust relationship.

[0275] In some embodiments of this application, after disconnecting the target link, the service module can still obtain the account information currently logged into the device. The account information includes an account identifier and an account login status. The account login status includes either a logged-in status or a logged-out status.

[0276] Specifically, see Figure 11 The business module can also change the login status of the currently logged-in account information from logged-in to logged-out (S1101). After setting the login status of the currently logged-in account information to logged-out, the business module sends the corresponding change result to the data module (S1102). The change result indicates that the login status of the currently logged-in account information is logged-out. Based on this change result, the data module can interrupt the data synchronization of the first service (S1103) and send an interruption message to the business module (S1104). The interruption message indicates that the data module has interrupted the data synchronization of the first service. Based on the interruption message, the business module can close the device display entry of the tablet computer (S1105). It should be noted that... Figure 11The steps S901-S903 have been described in the above embodiments and will not be repeated here.

[0277] For example, account login status can correspond to login status information. The login status information corresponding to a logged-in status can be "1", while the login status information corresponding to a logged-out status can be "0" or a default value. The business module can set the login status information of the current account to the default value and send the change result to the data module. The change result can include the account identifier and the login status information, such as "0" or the default value. Based on this change result, the data module interrupts the data synchronization of all distributed services and sends an interruption message to the business module.

[0278] Because the login status information has changed, the mobile phone and tablet no longer have the aforementioned trust relationship. Therefore, the data module will not proactively initiate data synchronization with the tablet based on the initial correspondence. Similarly, the business module can disable the tablet's device display entry based on the interruption information. See also... Figure 6 Similarly, in (B) of the above, the business module can also close the device display entry of the tablet computer based on the interruption information, so that the communication connection and subsequent signaling interaction between the mobile phone and the tablet computer cannot be established.

[0279] Thus, in this embodiment, after the mobile phone enables the target mode, distributed services can be shielded from the underlying device system. When the login status information of the account information on the mobile phone changes, the mobile phone will no longer send service instructions corresponding to the first service to the tablet computer based on the first correspondence, meaning it will not interact with devices that do not have a trust relationship. Similarly, the tablet computer will no longer send service instructions corresponding to the first service to the mobile phone based on the second correspondence. This enables the shielding of the first service, reduces the power consumption of the mobile phone, and better protects the user's privacy information.

[0280] The following section describes the scenario of distributed business associated with the target pattern.

[0281] In some embodiments of this application, when a target pattern is associated with certain distributed services, the target pattern is associated with a blacklist and a whitelist. The blacklist includes a first set of services, and the whitelist includes a second set of services. The services in the first set are first services, i.e., disabled distributed services, and the services in the second set are third services, i.e., not disabled distributed services.

[0282] In one possible implementation, the first service in the first service set can be a pre-configured distributed service of the system.

[0283] In another possible implementation, the user can select the distributed services to be disabled, that is, the first service in the first set of services can be the distributed service selected by the user.

[0284] For example, see Figure 12 In (A), the target mode interface may include a selection control 1201 for disabling distributed services. Users can click on the selection control 1201 to access a list of services for which distributed services are disabled; that is, the service list is a blacklist associated with the target mode. See also... Figure 12 In step (B), the mobile phone, in response to the user's click on the selection control 1201, displays a list of services to be disabled for distributed services. The user can then select a distributed service to be disabled from the list, such as by clicking the add control 1202 to add it. After making the selection, the user can click the exit control 1203 and then click on the service control 502 to disable the distributed services in the list. The mobile phone can respond to the operation on the exit control 1203 by designating the distributed services in the list as the first service and the other services as the third service.

[0285] In some embodiments of this application, after the mobile phone determines the first service, the mobile phone needs to disconnect the target link with the tablet computer. Subsequently, it is allowed to re-establish the target link with the tablet computer but does not process the service data of the first service from the tablet computer.

[0286] Specifically, see Figure 13 The mobile phone can respond to trigger operations on the target mode interface, such as operations on business control 502, changing the business entry state of the first business from the open state to the closed state (S1301). After closing the business entry of the first business, the business module can send a second link disconnection command to the data module (S1302). The second link disconnection command is used to instruct the target link (the logical link corresponding to the first business) to be disconnected. Upon receiving the second link disconnection command, the data module sends the second link disconnection command to the link module (S1303). The link module disconnects the logical link corresponding to the first business according to the second link disconnection command (S1304). The second link disconnection command includes the device identifier of the mobile phone and may also include the business identifier corresponding to the first business.

[0287] In some embodiments of this application, the mobile phone can change the automatic connection function corresponding to the first service from an enabled state to a disabled state. The mobile phone can also interrupt data synchronization with the tablet computer while the service data of the first service is being synchronized.

[0288] Specifically, see [link to relevant documentation] Figure 13The service module can also change the automatic connection function corresponding to the first service from the enabled state to the disabled state (S1305). The data module can monitor the change of the automatic connection function corresponding to the first service from the enabled state to the disabled state, and interrupt the data synchronization of the first service when the automatic connection function corresponding to the first service is changed to the disabled state (S1306). It should be noted that the process of adjusting the automatic connection function and interrupting data synchronization of the mobile phone is similar to that in the above embodiment, and will not be described again here.

[0289] In some embodiments of this application, the logical link between the mobile phone and the tablet computer corresponding to the third service remains connected. After the target link is disconnected, the third service can still run on both the mobile phone and the tablet computer. In this way, the mobile phone and the tablet computer can discover each other; that is, the user can find the mobile phone on the tablet computer while using it. Therefore, the mobile phone and the tablet computer can re-establish the disconnected logical link for the first service and maintain the logical link for the third service, meaning the mobile phone and the tablet computer can synchronize their communication capabilities normally. The mobile phone and the tablet computer can discover each other's devices, and the user can also perceive the tablet computer through the mobile phone's foreground services and vice versa.

[0290] In some embodiments of this application, when the logical link corresponding to the first service is re-established on the mobile phone, the data module can adjust the service execution status of the first service from a supported state to a non-supported state. The supported state indicates that the mobile phone supports the transmission of service data of the first service between the mobile phone and the tablet computer and displays the service data of the first service. The non-supported state indicates that the mobile phone does not support the transmission of service data of the first service between the mobile phone and the tablet computer.

[0291] Specifically, the data module can adjust the execution status of the first distributed service to a state where execution is not supported.

[0292] It should be noted that the process of modifying the execution state of the distributed service in this embodiment is written at the device level, not at the application level corresponding to a specific application.

[0293] For example, the first service includes cross-device clipboard service and multi-device mobile communication sharing service. The communication capability data corresponding to the cross-device clipboard service can be set to "false" to indicate that this service is not supported. Similarly, the communication capability data corresponding to the multi-device mobile communication sharing service can be set to "false" to indicate that this service is not supported. Thus, the service execution status for the first service is "not supported," meaning that the mobile phone does not support transmitting the service data of the first service between itself and the tablet.

[0294] In other words, for the first service, since the data module in the phone has already adjusted the execution status of the corresponding service to an unsupported execution state, the data module will not send the service data for the first service to the tablet. However, the tablet can send the service data for the first service to the phone. Even if the phone receives the service data for the first service from the tablet, it will not process it because the execution status of the first service is now unsupported.

[0295] It is understandable that the data module in the mobile phone will directly block the business data of the first service sent by the tablet, and will neither receive nor store the business data of the first distributed service sent by the tablet.

[0296] Thus, by adjusting the service execution status of the first service from a supported state to a non-supported state, the service data of the first service from the tablet computer can be blocked.

[0297] Understandably, the phone will not process business data from the tablet's primary functions, such as accepting, storing, or displaying such data. This ensures that the phone cannot receive business data from the tablet after it has been lent out, thus improving the borrower's privacy, security, and user experience.

[0298] In some embodiments of this application, the mobile phone can synchronize communication data with the tablet computer normally.

[0299] Specifically, the mobile phone can send a data synchronization command to the tablet computer. This command synchronizes the communication data of the third service on the tablet computer, including the service execution status. The mobile phone can receive the synchronization data sent by the tablet computer, which also includes the communication data of the third service on the second device. Furthermore, when the service execution status of the third service on the tablet computer matches the service execution status on the mobile phone and is supported, the mobile phone can receive and display the service data of the third service on the tablet computer. This allows the user to view the service data of the third service normally.

[0300] In one possible implementation, see [link to implementation details]. Figure 14The data module can send a data synchronization command to the link module (S1401). The data synchronization command is used to instruct the synchronization of the communication capability data corresponding to the third service in the tablet computer. The link module sends the received data synchronization command to the tablet computer (S1402). The tablet computer sends synchronization data to the link module according to the data synchronization command (S1403). The synchronization data includes the communication capability data of the third service in the tablet computer. The link module then sends the received synchronization data to the data module (S1404). When the data module receives the synchronization data and the service execution status corresponding to the communication capability data of the third service in the tablet computer is consistent with the service execution status of the third service in the mobile phone and is in a supported state, it sends the synchronization data to the service module (S1405) so that the service module completes the communication connection between the tablet computer and the tablet computer for the third service.

[0301] Of course, sending a data synchronization command from a mobile phone to a tablet can also be used to synchronize the communication capability data of the first service on the tablet. The synchronization data received by the mobile phone from the tablet can also include the communication capability data of the first service, and the synchronization data includes the communication capability data of the first service and the communication capability data of the third service on the tablet.

[0302] Understandably, the tablet computer did not modify the execution status of the first service, and the tablet computer did not enable the target mode, thus supporting the execution of the first service. Therefore, the communication capability data of the first service on the tablet computer is inconsistent with the communication capability data of the first service on the mobile phone, while the communication capability data of the third service on the tablet computer is consistent with the communication capability data of the third service on the mobile phone.

[0303] For example, the data module can only send the communication capability data of the third service in the tablet computer to the service module when both the communication capability data of the third service in the mobile phone are "true". This is so that when the service data of the third service is synchronized later, the service module can display the service data of the third service.

[0304] Because the communication capability data of the first service in the tablet is inconsistent with that in the mobile phone, the data module will not process the service data of the first service from the tablet. Therefore, the user can perceive the service data of the third service, but cannot perceive the service data of the first service.

[0305] For example, the first service includes the clipboard service. After the mobile phone and tablet computer synchronize the communication capability data of the first and third services, the service execution status of the clipboard service in the mobile phone is no longer supported. Even if the user inputs a trigger operation for the clipboard service, the data module will not execute the clipboard service (e.g., it will not send the service data of the clipboard service in the mobile phone to the tablet computer).

[0306] The clipboard service on the tablet is not disabled. Users can input trigger actions for the clipboard service, and the tablet can execute these actions (such as sending clipboard data to the phone). However, because the clipboard service on the phone is no longer supported, the data module blocks the reception of clipboard data from the tablet. Therefore, users cannot actively trigger the clipboard service or detect clipboard data sent from other devices.

[0307] Thus, when the phone is in target mode and the target mode is associated with a blacklist, the phone can ignore service data from other devices that are on the blacklist. This way, the user is unaware of the distributed services on the blacklist. This embodiment of the application can shield some distributed service data while maintaining a communication connection, thereby protecting user privacy. It also avoids affecting the use of distributed services that do not involve privacy.

[0308] In some examples, the aforementioned data synchronization instructions may also include the status of the automatic connection function corresponding to the first service and the status of the automatic connection function corresponding to the third service on the mobile phone. Specifically, the automatic connection function corresponding to the first service is in a disabled state, while the automatic connection function corresponding to the third service is in an enabled state.

[0309] It should be noted that the embodiments of this application do not limit the specific implementation form of the information carried in the data synchronization instruction.

[0310] In some embodiments of this application, after the mobile phone activates the target mode, the tablet computer can send a service transmission instruction to the mobile phone. The mobile phone receives the service transmission instruction sent by the tablet computer, and the service transmission instruction indicates that service data of a first service is being transmitted between the tablet computer and the mobile phone. In response to the service transmission instruction, the mobile phone can send a service failure notification to the tablet computer, which notifies the tablet computer that the first service has been disabled. The service failure notification may include the mobile phone's identification information and a service failure identifier. After receiving the service failure notification, the tablet computer can display a prompt message indicating that the first service has been disabled by the mobile phone.

[0311] The aforementioned prompts may include one or more of the following: pop-up prompts, text prompts, voice prompts, or video prompts.

[0312] Thus, in this embodiment of the application, when the first service is disabled on the mobile phone, a service failure notification can be sent to the service transmission command sent by the tablet computer to notify the tablet computer that the first service has been disabled. Users of the tablet computer can then perceive that the first service is currently disabled, improving the user experience.

[0313] In some embodiments of this application, in order to protect privacy information, the target mode requires authorization from the owner of the mobile phone before it can be turned on or off, and non-owners cannot turn the target mode on or off at will.

[0314] Specifically, the phone can display an authorization interface, which is used to authorize disabling or undisabling the first service. The phone can also disable or undisable the first service in response to the authorization operation on the authorization interface.

[0315] For example, in response to a shutdown operation targeting the target mode, the mobile phone can display an authorization interface for authorizing the cancellation of the first service. The user can enter their current user information on the authorization interface. The mobile phone responds to the entered user information and matches it with the target user's user information. If the current user information matches the target user's user information, the mobile phone cancels the shutdown of the first service, i.e., shuts down the target mode.

[0316] User information can include both biometric and non-biometric information. Biometric information can include fingerprints, facial images, retinal images, and voice information. Non-biometric information can include usernames, passwords, and personal identification numbers.

[0317] The target user is the owner of the device, and the target user's user information can be pre-installed on the phone. It should be noted that this application embodiment does not specifically limit the implementation process corresponding to the authorization operation.

[0318] Therefore, in the process of disabling or undisabling the first service, the embodiments of this application require authorization and authentication to prevent users from arbitrarily disabling or undisabling the first service, thereby further protecting the privacy information of the borrower.

[0319] In some embodiments of this application, after the user turns off the target mode, the mobile phone responds to the turning-off operation by adjusting the mode status information corresponding to the target mode to the off state and displaying the service entry corresponding to the first service. The mobile phone can also change the automatic connection function corresponding to the first service from the off state to the on state. Of course, the mobile phone can also initiate data synchronization of communication capabilities for the first service with the tablet computer, notify the tablet computer to connect to the mobile phone, and connect the tablet computer within the device, etc. The above operations are similar to those in the above embodiments and will not be described again here.

[0320] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the process of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed.

[0321] Those skilled in the art will conceive of various ways to reorder the operations described in the embodiments of this application. Furthermore, it should be noted that process details involved in one embodiment of this application are similarly applicable to other embodiments, or different embodiments can be combined.

[0322] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.

[0323] Furthermore, the various method embodiments can be implemented individually or in combination.

[0324] This application also provides an electronic device, such as the aforementioned mobile phone, etc. Figure 15 As shown, the mobile phone may include one or more processors 1510, memory 1520 and communication interface 1530.

[0325] The memory 1520, communication interface 1530, and processor 1510 are coupled together. For example, the memory 1520, communication interface 1530, and processor 1510 can be coupled together via bus 1540.

[0326] The communication interface 1530 is used for data transmission with other devices. The memory 1520 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1510, cause the electronic device to perform the relevant method steps described in this application embodiment.

[0327] Processor 1510 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0328] Bus 1540 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The aforementioned bus 1540 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 15 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0329] This application also provides a communication method applied to a communication system, the communication system including a first device and a second device, the method including: when at least one service is distributed and running on the first device and the second device, the first device can disconnect the target link and enter a signal shielding state for the second device in response to a trigger operation for a target mode interface.

[0330] The triggering operation is used to indicate the disabling of the first service in at least one service, and the target link is the link between the first device and the second device for transmitting service data of the first service; under the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device.

[0331] After disconnecting the target link, the first device can send a data synchronization command to the second device. The data synchronization command is used to synchronize the communication data of the third service in the second device. The third service is a service that is distributed on the first and second devices and is not disabled.

[0332] The second device receives the data synchronization instruction sent by the first device and sends synchronization data to the first device. The synchronization data includes the communication data of the third service in the second device, and the communication data of the third service includes the service execution status corresponding to the third service.

[0333] The first device receives synchronization data sent by the second device. When the execution status of the third service in the second device is consistent with the execution status of the third service in the first device and is in a supported state, the first device receives and displays the service data of the third service in the second device.

[0334] Thus, the communication method provided in this application embodiment can disable the first service and maintain the operation of the third service when at least one service is distributed and running on a first device and a second device. In this way, the user of the mobile phone will not be aware of the first service, but can normally perceive the third service. That is to say, this application embodiment can shield the service data of some distributed services while maintaining the communication connection, thereby protecting user privacy. At the same time, it does not affect the use of distributed services that do not involve privacy, thus improving the user experience.

[0335] This application also provides a communication system, which includes a first device and a second device.

[0336] When at least one service is distributed and running on a first device and a second device, the first device is configured to disconnect the target link and enter a signal shielding state for the second device in response to a trigger operation for the target mode interface.

[0337] The triggering operation is used to indicate the disabling of the first service in at least one service, and the target link is the link between the first device and the second device for transmitting service data of the first service; under the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device;

[0338] The first device is also configured to send a data synchronization command to the second device after the target link is disconnected. The data synchronization command is used to synchronize the communication data of a third service in the second device. The third service is a service distributed on the first and second devices and is not disabled.

[0339] The second device is configured to receive a data synchronization command sent by the first device and send synchronization data to the first device. The synchronization data includes communication data of the third service in the second device, and the communication data of the third service includes the service execution status corresponding to the third service.

[0340] The first device is also configured to receive synchronization data sent by the second device. When the service execution status of the third service in the second device is consistent with the service execution status of the third service in the first device and is in a supported state, the first device receives and displays the service data of the third service in the second device.

[0341] This application also provides an electronic device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the relevant method steps in the above method embodiments.

[0342] This application also provides a communication device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the communication device performs the relevant method steps in the above method embodiments.

[0343] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.

[0344] This application also provides a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the relevant method steps as described in the above method embodiments.

[0345] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, and when the program or instructions are executed by the processor, the chip system enables the chip system to implement the relevant method steps in the above method embodiments.

[0346] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0347] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.

[0348] For example, the chip system can be a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0349] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0350] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0352] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units, located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

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

[0354] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the contributing parts, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0355] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, Applied to a first device, the method includes: When at least one service is running on the first device and the second device, in response to a trigger operation on the target mode interface, the target link is disconnected and a signal shielding state is entered for the second device. The triggering operation is used to instruct the first service among the at least one services to be disabled, and the target link is the link between the first device and the second device for transmitting service data of the first service; in the signal shielding state, the first device is prohibited from re-establishing the target link with the second device, or is allowed to re-establish the target link with the second device but does not process the service data of the first service from the second device.

2. The method according to claim 1, characterized in that, The method further includes establishing a communication connection between the first device and the third device: After the target link is disconnected, the first device and the third device maintain a communication connection.

3. The method according to claim 1 or 2, characterized in that, The method further includes: If the target link is disconnected and the second service is distributed across the first and third devices, the second service shall continue to run on the first and third devices.

4. The method according to any one of claims 1-3, characterized in that, The process of entering a signal shielding state for the second device includes: Change the automatic connection function corresponding to the first service from the enabled state to the disabled state.

5. The method according to claim 4, characterized in that, The step of entering the signal shielding state for the second device also includes: In the first device, the device status of the second device is changed from online to offline; The online status of the second device indicates that the second device is displayed in the network discovery device list of the first device, and the offline status of the second device indicates that the second device is not displayed in the network discovery device list of the first device.

6. The method according to claim 5, characterized in that, The step of entering the signal shielding state for the second device also includes: Send a disconnect command for the first device to the second device. The disconnect command for the first device is used to instruct the second device to change the device status of the first device from online to offline. The online status of the first device indicates that the first device is displayed in the network discovery device list of the second device, and the offline status of the first device indicates that the first device is not displayed in the network discovery device list of the second device.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: After the device status of the second device is changed from online to offline in the first device, the service data of the first service from the second device is not processed, or the service data of the first service from the second device is received but not replied to, or the service data of the first service from the second device is filtered.

8. The method according to any one of claims 1-3, characterized in that, The account information of the first device and the account information of the second device are the same account, or the account information of the first device and the account information of the second device are related accounts with a trusted relationship.

9. The method according to claim 8, characterized in that, The process of entering a signal shielding state for the second device includes: If the account information of the first device and the account information of the second device are the same account, or if the account information of the first device and the account information of the second device are related accounts with a trusted relationship, the login status of the account corresponding to the account information of the first device will be changed from logged-in to logged-out.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: While the first device and the second device are synchronizing the service data of the first service, the data synchronization with the second device is interrupted.

11. The method according to any one of claims 1-10, characterized in that, The target mode interface includes a target control, and the triggering operation is an operation performed on the target control.

12. The method according to any one of claims 1-11, characterized in that, The provision that the service data of the first service from the second device is not processed includes: If the disconnected target link is re-established, the service execution status of the first service is adjusted from a supported state to a non-supported state. The supported state indicates that the first device supports the transmission of the service data of the first service between itself and the second device, and displays the service data of the first service. The non-supported state indicates that the first device does not support the transmission of the service data of the first service between itself and the second device.

13. The method according to claim 11, characterized in that, The method further includes: In response to an enable operation on the target control, a target mode corresponding to the target control is enabled. The target mode is used to disable a first service among the at least one service. The target mode includes a first service set, and the first service set includes the first service.

14. The method according to claim 13, characterized in that, The target mode also includes a second service set, which includes a third service, which is a service distributed on the first device and the second device and is not disabled.

15. The method according to claim 14, characterized in that, The method further includes: After disconnecting the target link, the third service continues to run on the first device and the second device.

16. The method according to claim 15, characterized in that, Maintaining the third service running on both the first and second devices includes: Send a data synchronization instruction to the second device. The data synchronization instruction is used to synchronize the communication data of the third service in the second device. The communication data of the third service includes the service execution status corresponding to the third service. Receive synchronization data sent by the second device, the synchronization data including the communication data of the third service; When the service execution status of the third service in the second device is consistent with the service execution status of the third service in the first device, and is in a supported state, the service data of the third service in the second device is received and displayed.

17. The method according to any one of claims 1-16, characterized in that, The method further includes: Receive a service transmission instruction sent by the second device, the service transmission instruction being used to indicate the transmission of service data of the first service between the second device and the first device; In response to the service transmission instruction, a service failure notification is sent to the second device, the service failure notification being used to notify the second device that the first device has disabled the first service.

18. The method according to any one of claims 1-17, characterized in that, The method further includes: The authorization interface is displayed, which is used to authorize the disabling of the first service or the undisabling of the first service; In response to an authorization operation on the authorization interface, disable the first service or undisable the first service.

19. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 1-18.

20. A computer-readable medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-18.

21. A computer program product, characterized in that, The computer program product includes instructions that, when executed on a computer or processor, cause the computer or processor to perform the method as described in any one of claims 1-18.