Networking method, readable medium, electronic device and program product

The master device pre-establishes the connection with the extended device based on historical interactive data, and solves the problem of the time spent connecting the master device and the extended device, and achieves more efficient device interaction and service flow.

CN120378657APending Publication Date: 2025-07-25HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410061590.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In the prior art, the process of establishing a connection between the main device and the extended device takes a long time, resulting in a longer service flow time and a longer user waiting time.

Method used

The main device determines the network image based on historical interactive data and establishes a connection with the extended device in advance. When the connection conditions are met, the device functions of the connected extended device are directly used without waiting for the connection establishment process.

Benefits of technology

Improve device interaction efficiency, reduce user waiting time, and improve service flow speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378657A_ABST
    Figure CN120378657A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronics, and discloses a networking method, a readable medium, electronic equipment and a program product. In the networking method, a main device determines a networking portrait based on historical interaction data, and when the main device satisfies a connection condition, the main device can establish a connection with an extension device in advance based on the networking portrait. And then, when the main equipment meets the interaction condition, the main equipment can directly use the device function of the connected extension equipment without waiting for the process of establishing the connection between the main equipment and the extension equipment, so that the equipment interaction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technologies, and in particular, to a networking method, a readable medium, an electronic device, and a program product. Background Art

[0002] With the development of the Internet of Things (IoT) technology, a user can interconnect an electronic device with other electronic devices, and use the devices (such as cameras, microphones, speakers, displays, etc.) of the electronic devices interconnected with this electronic device as virtual devices of this electronic device, so as to achieve the effect of sharing device functions (such as shooting functions, sound pickup functions, sound playback functions, display functions, etc.) between electronic devices.

[0003] For current service transfer, after the user determines the extended device, the current electronic device (hereinafter referred to as the master device) needs to establish a connection with the extended device, so that the master device can use the device functions of the extended device. For example, when a user is making a video call using a mobile phone, if the user's hands are inconvenient to hold the mobile phone at this time, the service transfer function can be used to establish a connection between the selected smart screen and the mobile phone, and use the camera and display screen of the smart screen as virtual devices of the mobile phone for the current video call.

[0004] However, the process of establishing a connection between the master device and the extended device takes a long time, which may lead to a long service transfer time and thus a long waiting time for the user. Summary of the Invention

[0005] The purpose of this application is to provide a networking method, a readable medium, an electronic device, and a program product.

[0006] The first aspect of this application provides a networking method, which is applied to a first electronic device and includes: determining, based on the historical interaction data of the first electronic device and the second electronic device, that the first electronic device meets the connection condition for establishing a communication connection with the second electronic device, where the historical interaction data includes: first historical interaction data in which the first electronic device establishes a communication connection with the second electronic device and implements a first function through the second electronic device; establishing a communication connection between the first electronic device and the second electronic device; detecting a trigger event during the execution of a first task; controlling the second electronic device to implement a second function of the first task based on the communication connection; where the first function and the second function are the same or different.

[0007] In an embodiment of the present application, the first electronic device may be the main device, and the second electronic device may be the extended device. The first function is the device function of the second electronic device used by the first electronic device in the historical interaction data, such as the display function, the shooting function, and so on. The first task may be the task process of the first electronic device, such as video call, video playback, music playback, and so on. The trigger event may be a trigger event corresponding to the first task that the first electronic device needs to call the device function of the second electronic device to execute, such as detecting that the user determines an operation on the shared device of the extended device.

[0008] It can be understood that when it is determined based on the historical interaction data that the connection condition for establishing a communication connection between the first electronic device and the second electronic device is satisfied, the first electronic device and the second electronic device are pre-connected. When a trigger event is detected, the first electronic device can directly control the connected second electronic device to implement the corresponding function without waiting for the first electronic device and the second electronic device to establish a connection, improving the device interaction efficiency.

[0009] In a possible implementation of the foregoing first aspect, the historical interaction data further includes at least one of the following: the device identifier of the second electronic device, at least one historical interaction time between the first electronic device and the second electronic device, at least one historical interaction location where the first electronic device interacted with the second electronic device historically, and the historical connection method corresponding to each historical interaction time and / or each historical interaction location.

[0010] In an embodiment of the present application, one historical interaction time may correspond to one historical connection method or multiple historical connection methods. One historical interaction location may correspond to one historical connection method or multiple historical connection methods. One historical interaction time and one historical interaction location may jointly correspond to one historical connection method or multiple historical connection methods.

[0011] It can be understood that by determining the historical connection methods corresponding to each historical interaction time and / or each historical interaction location between the first electronic device and the second electronic device, when the system time of the first electronic device matches the first historical interaction time, and / or the location information matches the first historical interaction location, a connection can be established with the second electronic device based on the connection method corresponding to the first historical interaction time and / or the first historical interaction location.

[0012] In a possible implementation of the foregoing first aspect, the connection condition includes: the system time of the first electronic device currently matches the first historical interaction time among at least one historical interaction time, and / or the location where the first electronic device is currently located matches the first historical interaction location among at least one historical interaction location.

[0013] In a possible implementation of the above first aspect, establishing a communication connection between a first electronic device and a second electronic device includes: establishing a communication connection between the first electronic device and the second electronic device based on a first connection method corresponding to a first historical interaction time and / or a first historical interaction location.

[0014] In a possible implementation of the above first aspect, the historical interaction time is determined by the following method: respectively determining the probabilities of the first electronic device connecting to the second electronic device to implement a first function in multiple time periods; determining the time periods in which the corresponding probabilities in the multiple time periods are greater than or equal to a first probability as the historical interaction time.

[0015] In an embodiment of the present application, the first electronic device may divide historical interaction data into sub-data corresponding to multiple time periods from the time dimension, and determine the probability of connecting to the second electronic device to implement the first function in the sub-data corresponding to each time period. Then, the time periods corresponding to the sub-data with corresponding probabilities greater than or equal to the first probability are used as the historical interaction time.

[0016] If the probabilities corresponding to the sub-data in adjacent time periods are greater than or equal to the first probability, the sub-data in the adjacent time periods may also be merged into one data, and the time period corresponding to the merged data is used as the historical interaction time. That is, if two adjacent time periods are both networking time periods, the two adjacent networking time periods may be merged into one networking time period.

[0017] It can be understood that screening multiple time periods in which the first electronic device connects to the second electronic device to implement the first function based on the first probability can make the time periods corresponding to the sub-data that meet the corresponding probability greater than or equal to the first probability more regular.

[0018] In a possible implementation of the above first aspect, the connection method corresponding to a second historical interaction time among at least one historical interaction time is determined by the following method: respectively determining the probabilities of the first electronic device using each connection method when connecting to the second electronic device to implement the first function within the second historical interaction time; determining the connection method with a probability greater than or equal to a second probability as the connection method corresponding to the second historical interaction time.

[0019] It can be understood that screening the connection method corresponding to the historical interaction time based on the second probability can make the connection method that meets the probability greater than or equal to the second probability more regular.

[0020] In an embodiment of the present application, the first electronic device may count the probabilities of the first electronic device using each connection method when connecting to the second electronic device to implement the first function within each historical interaction time. Then, the connection method with a probability greater than or equal to the second probability is determined as the connection method corresponding to the corresponding historical interaction time.

[0021] In a possible implementation of the first aspect above, the first function and the second function include a data acquisition function and / or a data output function.

[0022] In a possible implementation of the first aspect above, the data acquisition function includes at least one of the following: a shooting function, a sound pickup function; and / or, the data output function includes at least one of the following: a sound playback function, a display function.

[0023] The second aspect of this application provides a readable medium, on which instructions are stored, and when the instructions are executed on a terminal device, the terminal device is caused to execute any one of the methods in the first aspect above.

[0024] The third aspect of this application provides an electronic device, including: a memory for storing instructions executed by one or more processors of the terminal device; and a processor, which is one of the processors of the electronic device, for executing the instructions stored in the memory to implement any one of the methods in the first aspect above.

[0025] The fourth aspect of this application provides a program product, which includes instructions that can cause an electronic device to implement any one of the methods in the first aspect above when the instructions are executed by the electronic device.

[0026] For the beneficial effects of the second aspect to the fourth aspect above, reference may be made to the relevant descriptions in the first aspect and various possible implementations of the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0028] Figure 1 A schematic diagram of an application scenario of a networking method is shown according to an embodiment of this application;

[0029] Figures 2a to 2c A schematic diagram of the change of a user interface during a device interaction process is shown according to an embodiment of this application;

[0030] Figure 3 A flowchart of a networking method is shown according to an embodiment of this application;

[0031] Figure 4a A flowchart of another networking method is shown according to an embodiment of this application;

[0032] Figures 4b to 4f A schematic diagram showing the change of the user interface of another device interaction process according to an embodiment of the present application;

[0033] Figure 5 A schematic diagram showing the method flow of a master device determining a networking profile based on historical interaction data according to an embodiment of the present application;

[0034] Figure 6a A schematic diagram showing the software structure of an electronic device according to an embodiment of the present application;

[0035] Figure 6b A schematic diagram showing the structure of an interconnection module according to an embodiment of the present application;

[0036] Figure 6c A schematic diagram showing the structure of a smart module according to an embodiment of the present application;

[0037] Figure 7 A schematic diagram showing the interaction process of software modules of a networking method according to an embodiment of the present application;

[0038] Figure 8 A schematic diagram showing the interaction process of software modules of a device self-discovery process according to an embodiment of the present application;

[0039] Figure 9 A schematic diagram showing the interaction process of software modules of a device networking authentication process according to an embodiment of the present application;

[0040] Figure 10 A schematic diagram showing the interaction process of software modules of a process in which an interconnection module sends interaction data to a smart module according to an embodiment of the present application;

[0041] Figure 11 A schematic diagram showing the interaction process of software modules of a process of generating a networking profile according to an embodiment of the present application;

[0042] Figure 12 A schematic diagram showing the interaction process of software modules of a networking prediction process according to an embodiment of the present application;

[0043] Figure 13 A schematic diagram showing the interaction process of software modules of a pre-networking process according to an embodiment of the present application;

[0044] Figure 14 A schematic diagram showing the interaction process of canceling a service according to an embodiment of the present application;

[0045] Figure 15 A schematic diagram showing the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] The illustrative embodiments of the present application include, but are not limited to, a networking method, a readable medium, an electronic device, and a program product.

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and comprehensively described below in conjunction with the accompanying drawings.

[0048] Figure 1 According to an embodiment of the present application, a schematic diagram of an application scenario of a networking method is shown.

[0049] like Figure 1 As shown, the mobile phone 10 and the electronic devices such as the tablet computer 20, the smart screen 30 and the smart speaker 40 form a device group, and the devices in the device group can communicate with each other. For example, the networking method of the device group can be that when a user logs in with the same account Figure 1 When the mobile phone 10, tablet computer 20, smart screen 30 and smart speaker 40 in the device group are shown, the mobile phone 10, tablet computer 20, smart screen 30 and smart speaker 40 in the device group are in a local area network (LAN), and each device in the LAN can communicate with each other. Among them, the devices in the LAN can be connected to the LAN by wire or wirelessly.

[0050] For example, the networking mode of the device group can also be Figure 1 The mobile phone 10, tablet computer 20, smart screen 30 and smart speaker 40 in the device group shown form a wireless local area network (WLAN) through wireless communication methods, such as Bluetooth (BT), wireless fidelity (Wi-Fi) network or ZigBee. For example, the user can add the mobile phone 10, tablet computer 20, smart screen 30 and smart speaker 40 to the Wi-Fi network named "123". The various electronic devices in the Wi-Fi network form a local area network, and all devices in the local area network constitute a device group.

[0051] It can be understood that in addition to the local area network, the electronic devices in the device group can also be interconnected through a cellular network, or the electronic devices can also be interconnected through a switching device (for example, a USB data cable or a Dock device) to achieve communication between the electronic devices in the device group.

[0052] It can be understood that the electronic devices in the device group can be mobile phones, smart screens, wearable devices, tablets (Pads), computers with wireless transceiver functions, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on.

[0053] As mentioned above, for the current service flow, after the user determines the extended device, the main device needs to be connected to the extended device so that the main device can use the device functions of the extended device. For example, when the user is making a video call using a mobile phone, if the user's hands are inconvenient to hold the mobile phone at this time, the service flow function can be used to enable the user to establish a connection between the selected smart screen and the mobile phone, and use the camera and display screen of the smart screen as virtual devices of the mobile phone to continue to support the video call on the mobile phone.

[0054] Exemplarily, when the user is making a video call using the mobile phone 10, the mobile phone 10 displays the Figure 2a user interface 20a as shown. The user interface 20a displays a video call screen 201, a "hang up" control 202, a "camera" control 203, a "speaker" control 204, a "display screen" control 205, a "mute" control 206, and a "more" control 207, etc. In response to the user's operation of clicking the "display screen" control 205, the mobile phone 10 can display the Figure 2b user interface 20b as shown.

[0055] Compared with the user interface 20a, Figure 2b the user interface 20b as shown can display a display screen list 208. Among them, the display screen list 208 includes a "display screen of the smart screen 30" control 2081 and a "display screen of the tablet 20" control 2082. In response to the user's operation of clicking the "display screen of the smart screen 30" control 2081, the mobile phone 10 can use the display screen of the smart screen 30 to display the display interface of the video call. Correspondingly, the smart screen 30 can display the user interface of the ongoing video call. Refer to Figure 2cThe user interface 20c shown, where the user interface 20c includes a video call screen 209 and a prompt message 210 such as "The display screen is in use. Do you need to switch back to the mobile phone display screen?"

[0056] However, the process of the primary device interacting with the extended device for the first time usually takes a long time. That is to say, when there is no data channel established between the primary device and the extended device for transmitting interaction data, the primary device needs to first establish a connection with the extended device and then conduct the interaction. The above interaction data can be, for example, the image data during the above video call process. Correspondingly, after the mobile phone and the smart screen successfully transmit the interaction data, for example, the image data during the video call process of the mobile phone can be displayed on the display screen of the smart screen. The long time for the primary device and the extended device to establish a data channel may lead to a long business flow time, resulting in a long waiting time for the user. For example, after the user clicks on the "display screen of the smart screen 30" control 2081 in the user interface 20b as Figure 2b shown, the mobile phone 10 establishes a connection with the smart screen 30, and the user needs to wait for a long time before the mobile phone 10 can use the display function of the display screen of the smart screen 30.

[0057] In view of this, the embodiments of the present application provide a networking method. The primary device determines a networking profile (including the extended device, connection time, connection method, location information, etc.) based on historical interaction data. When the primary device meets the connection conditions (such as meeting the time condition and location condition), it can pre-establish a connection with the extended device based on the networking profile. Then, when the primary device meets the interaction conditions (such as determining the extended device selected by the user), the primary device can directly use the device functions of the already connected extended device without waiting for the process of establishing a connection between the primary device and the extended device to be completed.

[0058] For example, among the historical interaction data of the mobile phone 10 in the recent 90 days, 80 days of interaction data includes connecting to the smart screen 30 via Bluetooth at home from 9 am to 10 am and using the display function of the smart screen 30. The mobile phone 10 determines the networking profile based on the user's historical interaction data in the recent 90 days as connecting to the smart screen 30 via Bluetooth at home from 9 am to 10 am. When the location information and time information of the mobile phone 10 match the connection time and connection location in the networking profile, it establishes a connection with the smart screen 30 via Bluetooth. When the mobile phone 10 conducts a video call service and determines that the user selects the display screen of the smart screen 30, the mobile phone 10 can directly use the display function of the already connected smart screen 30. That is, the mobile phone 10 can send the image data to be displayed to the smart screen 30 through the established communication connection so that the smart screen 30 displays the image data to be displayed by the mobile phone 10.

[0059] It can be understood that the above historical interaction data includes, but is not limited to, the device type of the extended device, the device identity (ID), the interaction time, the interaction location, the link type (connection method), the interaction event name (sharing devices using the extended device, such as a shared camera, a shared display screen), etc.

[0060] Specifically, the master device can be trained based on the historical interaction data of the master device in the most recent N days to input a decision tree model (such as LightGBM) every day to obtain the interaction time and interaction probability of the master device. Then, for the historical interaction data in the most recent N days, the extended devices connected to the master device within each interaction time and the probability of the corresponding connection method for each extended device are statistically analyzed to obtain the extended devices within the device group within each interaction time (for example, the extended devices connected to the master device during the interaction time), the connection method with the extended device, and the connection probability corresponding to various connection methods with each extended device.

[0061] When the master device meets the connection conditions, for example, the system time of the master device and the location information of the master device match the interaction time and interaction location in the networking profile, device pre-networking is triggered, and a connection is established with the extended device based on the networking profile. The pre-connection process can include: the master device detects that all the extended devices in the networking profile are online, and establishes connections with each extended device based on the connection method corresponding to each extended device in the networking profile.

[0062] When the master device meets the interaction conditions, for example, it is determined that the extended device and interaction event selected by the user (for example, it is determined that the user selects to use the display screen of the smart screen), the master device can directly use the device function of the connected extended device (for example, the display function of the display screen of the smart screen) without waiting for the master device to connect to the extended device.

[0063] It can be understood that if the master device does not meet the interaction conditions within the preset time, the connection with each extended device is disconnected to avoid the situation where the master device establishes a connection with the extended device for a long time but no data transmission occurs.

[0064] It can be understood that the networking method provided by the embodiments of the present application enables the master device to establish a pre-connection with the extended device by determining the networking profile. When the interaction conditions are met, the master device can directly use the device function of the connected extended device without waiting for the master device to connect to the extended device, improving the device interaction efficiency.

[0065] Exemplarily, Figure 3 A schematic flowchart of a networking method is shown according to an embodiment of the present application.

[0066] It can be understood that Figure 3 The execution subject of each step of the shown process is the first electronic device. For the sake of simplicity of description, the following is introducedFigure 3 When describing each step of the process shown, the execution entity of each step will not be repeatedly described. For example Figure 3 As shown, the process includes but is not limited to the following steps:

[0067] S301: Based on historical interaction data, determine the connection conditions for establishing a communication connection between the first electronic device and the second electronic device that meet the pre-established requirements.

[0068] In some embodiments, the historical interaction data includes: first historical interaction data in which the first electronic device establishes a communication connection with the second electronic device and implements a first function through the second electronic device.

[0069] In other embodiments, the historical interaction data further includes: the device identifier of the second electronic device, at least one historical interaction time between the first electronic device and the second electronic device, at least one historical interaction location where the first electronic device interacted with the second electronic device historically, the historical connection method corresponding to each historical interaction time and / or each historical interaction location, etc. The present application does not make specific limitations thereto.

[0070] It can be understood that one historical interaction time can correspond to one historical connection method, or can correspond to multiple historical connection methods. One historical interaction location can correspond to one historical connection method, or can correspond to multiple historical connection methods. One historical interaction time and one historical interaction location can jointly correspond to one historical connection method, or can jointly correspond to multiple historical connection methods. The present application does not make specific limitations on the correspondence relationship between the historical connection method, the historical interaction time, and the historical interaction location.

[0071] It can be understood that the first electronic device refers to the main device, and the second electronic device refers to the extended device. The first function is the device function of the second electronic device used by the first electronic device in the historical interaction data, such as a display function, a shooting function, etc. The connection condition can be that the system time of the first electronic device matches the first historical interaction time between the first electronic device and the second electronic device in the historical data, and / or the location information of the first electronic device matches the first historical interaction location between the first electronic device and the second electronic device in the historical data.

[0072] It can be understood that the first function and the second function can include a data acquisition function (such as a shooting function, a sound pickup function) and / or a data output function (such as a sound playback function, a display function).

[0073] In some embodiments, the first electronic device respectively determines the probabilities of the first electronic device connecting to the second electronic device to implement the first function in multiple time periods; the time periods in which the corresponding probabilities in the multiple time periods are greater than or equal to the first probability are determined as the historical interaction times.

[0074] Specifically, the first electronic device can divide the historical interaction data into sub-data corresponding to multiple time periods from the time dimension, and determine the probability of connecting to the second electronic device to implement the first function in the sub-data corresponding to each time period. Then, the time period corresponding to the sub-data with a corresponding probability greater than the first probability is used as the historical interaction time.

[0075] In some embodiments, the first electronic device can count the probabilities of using each connection method when the first electronic device connects to the second electronic device to implement the first function within each historical interaction time. Then, the connection method with a probability greater than the second probability is determined as the connection method corresponding to the corresponding historical interaction time.

[0076] S302: Establish a communication connection with the second electronic device.

[0077] In some embodiments, after the first electronic device determines the connection conditions that meet the requirement of establishing a communication connection with the second electronic device, it establishes a communication connection with the second electronic device. Among them, the connection method can also be determined based on the historical interaction data of the first electronic device and the second electronic device. For example, the first electronic device establishes a communication connection with the second electronic device based on the first connection method corresponding to the first historical interaction time and / or the first historical interaction location.

[0078] S303: Detect a trigger event during the execution of the first task.

[0079] It can be understood that the first task can be the task process of the first electronic device, such as video call, video playback, music playback, etc. The trigger event can be a trigger event for the first electronic device to call the device function of the second electronic device to execute the above-mentioned first task. For example, detecting the user click on the "display screen of the smart screen 30" control 2081 as shown above. Figure 2b as shown in the figure of the user clicking on the "display screen of the smart screen 30" control 2081.

[0080] S304: Based on the communication connection, control the second electronic device to implement the second function of the first task.

[0081] In some embodiments, after detecting a trigger event during the execution of the first task by the first electronic device, based on the established communication connection, it conducts data interaction with the second electronic device to call the second function of the second electronic device. That is, control the second electronic device to implement the second function of the first task.

[0082] Among them, the second function is the device function of the second electronic device that the first electronic device needs to use corresponding to the trigger event, such as a display function, a shooting function, etc.

[0083] It can be understood that the first function and the second function can be the same function or different functions, and the present application does not limit this.

[0084] It can be understood that, based on historical interaction data, when it is determined that the connection conditions for pre-establishing a communication connection are met between the first electronic device and the second electronic device, the first electronic device and the second electronic device are pre-established connected. When a trigger event is detected, the first electronic device can directly control the connected second electronic device to implement the corresponding function without waiting for the first electronic device to establish a connection with the second electronic device, thereby improving the efficiency of device interaction.

[0085] In order to better understand the technical solution of the embodiment of the present application, Figure 4a The flowchart shown provides a detailed introduction to the process of the first electronic device (main device) pre-establishing a communication connection with the second electronic device (extension device) based on historical interaction data.

[0086] Figure 4a According to an embodiment of the present application, a flow chart of another networking method is shown. It can be understood that Figure 4a The main body of each step of the process shown is the master device. Figure 4a The execution entities of each step will not be described repeatedly in the steps of the process shown.

[0087] like Figure 4a As shown, the process includes but is not limited to the following steps:

[0088] S401: Acquire historical interaction data, and determine a network profile based on the historical interaction data.

[0089] In some embodiments, after determining that the user authorizes the smart networking recommendation function, the master device obtains historical interaction data of the master device within a first time interval, and determines a networking portrait of the master device based on the historical interaction data within the first time interval.

[0090] Exemplarily, after the master device detects that the user account has been logged in, the user has agreed to the privacy agreement of the smart interconnection function and has successfully subscribed to the smart networking recommendation function, the master device obtains the historical interaction data of the last N days, and determines the networking portrait based on the historical interaction data of the last N days. Wherein, N is a positive integer greater than 7, for example, N can be 30, 60, 90, etc.

[0091] For example, after obtaining the historical interaction data of the most recent N days, the master device can construct sample data based on the historical interaction data of the most recent N days, and input the sample data into a decision tree model for training to obtain the interaction time and interaction probability of the master device. Then, the extended devices connected to the master device within each interaction time and the probabilities of the corresponding connection methods for each extended device are statistically analyzed to obtain the extended devices within the device group within each interaction time (for example, the extended devices connected to the master device during the interaction time) and the connection probabilities corresponding to each connection method. Specifically, the method by which the master device determines the networking profile based on historical interaction data will be described in detail below and will not be elaborated here.

[0092] Among them, the decision tree model includes, but is not limited to, models such as ID3, C4.5, CART, random forest, GBDT, XGboost, LightGBM, LambdaMART, etc., and this application does not limit this.

[0093] It can be understood that the historical interaction data includes, but is not limited to, the device type, device identifier, interaction time, interaction location, connection method, interaction event name, etc. of the extended device.

[0094] It can be understood that the trigger condition for the master device to obtain historical interaction data can be when the master device first powers off and charges every day, or it can be a fixed time every day, such as 0 o'clock. This application does not specifically limit the time for the master device to obtain historical interaction data.

[0095] Exemplarily, the networking profile can be represented in the following manner:

[0096] Networking period:

[0097]

[0098] Non-networking period:

[0099] {

[0100] “startTime”: “20:00:00”,

[0101] “endTime”: “20:30:00”,

[0102] “prob”: 0.9

[0103] }

[0104] Among them, “startTime” represents the start time, that is, the time when the connection starts to be established; “endTime” represents the end time, that is, the time when the connection is disconnected; “prob” represents the probability of occurrence; “intentfrequency” represents the intent probability.

[0105] S402: Detect that the connection condition is met, and determine the networking policy based on the networking profile.

[0106] In some embodiments, under the conditions that the user account has been logged in, the user has agreed to the privacy protocol of the intelligent interconnection function and successfully subscribed to the intelligent networking recommendation function, when the system time of the master device matches the interaction time in the networking profile (for example, the system time is within the range of the interaction time), it is further determined whether the current location information of the master device matches the interaction location in the networking profile. When the system time of the first device matches the interaction time in the networking profile, and the current location information of the master device matches the interaction location in the networking profile, the master device determines the networking policy based on the networking profile.

[0107] It can be understood that the networking policy may include: the device identifier of the extended device and the corresponding connection method.

[0108] It can be understood that the wireless communication connection includes but is not limited to Wi-Fi connection, Wi-Fi P2P connection, Bluetooth connection, near field communication (NFC) connection, infrared (IR) connection, (ultrawideband, UWB) ultra-wideband connection, ZigBee connection, etc.

[0109] It can be understood that the extended devices corresponding to the same interaction time and interaction location in the networking profile can be one or multiple. That is to say, the networking policy may only include the device identifier of one extended device and the corresponding connection method, or may include multiple extended devices and the corresponding connection methods of each extended device. This application does not limit this.

[0110] S403: Establish a communication connection with the extended device based on the networking policy.

[0111] In some embodiments, corresponding to the networking policy only including the device identifier of one extended device and the corresponding connection method, the master device pre-establishes a communication connection with one extended device in the networking policy.

[0112] In other embodiments, corresponding to the networking policy including the device identifiers of multiple extended devices and the corresponding connection methods, the master device pre-establishes communication connections with multiple extended devices in the networking policy to form a complete network topology structure.

[0113] S404: Detect a trigger event, and interact with the corresponding extended device based on the established communication connection.

[0114] In some embodiments, when the master device detects a first trigger event (for example, determines a first extended device and a first interaction event selected by the user), the master device interacts based on the communication connection established with the first extended device.

[0115] Exemplarily, when the user uses the tablet computer 20 for a video call, the tablet computer 20 displays a user interface 40b as shown in Figure 4b . The user interface 40b displays a video call screen 401, a "camera" control 402, a "speaker" control 403, a "mute" control 404, a "more" control 405, etc. In response to the user's operation of clicking the "camera" control 402, the tablet computer 20 displays a user interface 40c as shown in Figure 4c . Compared with the user interface 40b, the user interface 40c displays a camera list 406, where the camera list 406 includes a "rear camera of the mobile phone 10" control 4061 and a "front camera of the mobile phone 10" control 4062. In response to the user's operation of clicking the "rear camera of the mobile phone 10" control 4061, the tablet computer 20 uses the rear camera of the mobile phone 10 for the video call.

[0116] In some embodiments, in response to the user's operation of clicking the "rear camera of the mobile phone 10" control 4061 in the user interface 40c as shown in Figure 4c , the user interface of the mobile phone 10 changes from the user interface 40d (lit screen interface) as shown in Figure 4d to the user interface 40e as shown in Figure 4e . It can be understood that the user interface 40d is the main interface of the mobile phone 10, including application icons of application programs such as a "clock" application, a "calendar" application, a "gallery" application, a "settings" application, etc. The user interface 40e is the user interface when the mobile phone 10 interacts with the tablet device 20. The user interface 40e includes a prompt message of "rear camera in use" and a "disconnect" control 407, etc.

[0117] In other embodiments, in response to the user's operation of clicking the "rear camera of the mobile phone 10" control 4061 in the user interface 40c as shown in Figure 4c , the user interface of the mobile phone 10 changes from the user interface 40f (screen-off interface) as shown in Figure 4f to the user interface 40e as shown in Figure 4e .

[0118] In some other embodiments, the master device has respectively established corresponding communication connections with the first expansion device and the second expansion device in advance. When a second trigger event is detected (for example, determining the second expansion device and the second interaction event selected by the user), the master device can also directly use the established communication connection corresponding to the second expansion device. This avoids the problem that when a second trigger event is detected and then a connection is to be established with the corresponding second expansion device, it may be necessary for the master device to disconnect the currently established communication connection and then re - establish it, further improving the efficiency of device interaction.

[0119] In some other embodiments, if the master device does not detect a trigger event within a preset time, it disconnects the communication connection established with the expansion device in advance. It can be understood that this can avoid the situation where the master device establishes a connection with the expansion device for a long time but no data transmission occurs, and at the same time reduces the power consumption of the master device.

[0120] It can be understood that in some other embodiments, according to actual needs, the above Figure 4a shown steps can be combined, deleted, or replaced with other steps that are conducive to achieving the purpose of this application, and this application does not make limitations here.

[0121] It can be understood that in some other embodiments, if the master device determines that it has not agreed to the privacy protocol of the intelligent interconnection function, and / or cancels the subscription to the intelligent networking recommendation function, then it can not execute Figure 4a each step in the shown process.

[0122] To better understand the technical solution of the embodiments of this application, the following introduces the specific implementation process of the master device determining the networking portrait based on historical interaction data in combination with detailed drawings.

[0123] Figure 5 According to the embodiments of this application, a schematic flowchart of a method for a master device to determine a networking portrait based on historical interaction data is shown. It can be understood that Figure 5 the execution subject of each step in the shown process is the master device. For the sake of simplicity of description, the execution subject of each step will not be repeatedly described hereinafter when introducing Figure 5 each step in the shown process.

[0124] As Figure 5 shown, this process includes but is not limited to the following steps:

[0125] S501: Obtain historical interaction data and pre - process the historical interaction data.

[0126] In some embodiments, the master device queries the historical interaction data of the master device, determines the historical interaction data of the most recent N days, and then integrates the fields of the historical interaction data of the most recent N days (such as the device identifier of the extended device, the connection method of the extended device, etc.). Herein, N is a positive integer greater than 7. For example, N can be 30, 60, 90, etc. The specific value of N can be configured according to requirements, and the present application does not make specific limitations thereon.

[0127] It can be understood that the historical interaction data includes but is not limited to the device type and identifier of the extended device, the interaction time, the interaction location, the connection method, the trigger event name, etc.

[0128] In some embodiments, the historical interaction data can be stored in the memory of the master device or in the server. The present application does not make specific limitations thereon.

[0129] S502: Screen the historical interaction data.

[0130] In some embodiments, the master device screens the determined and processed historical interaction data of the most recent N days. For example, the historical interaction data of the most recent N days in which a certain extended device exists in the historical interaction data for more than M days and the proportion of the historical interaction data in which the extended device exists in the same time period is greater than or equal to P is used as the screened historical interaction data. Herein, M is a positive integer greater than 7 and less than N, and P is any value greater than 0.6 and less than 1. For example, M can be 20, 50, 80, etc., and P can be 0.8, 0.9, etc. The specific values of M and P can be configured according to requirements, and the present application does not make specific limitations thereon.

[0131] It can be understood that if a certain extended device does not exist in the historical interaction data for more than M days, it indicates that the frequency of appearance of the extended device is not high enough, and the interaction data corresponding to the extended device is not retained, that is, the networking portrait is not generated based on the interaction data corresponding to the extended device. Or, if the proportion of the historical interaction data in which the extended device exists in the same time period (such as from 9:00 am to 10:00 am) is less than P, it indicates that there is no regularity in the interaction time between the master device and the extended device, and the interaction data corresponding to the extended device is not retained.

[0132] If a certain extended device exists in the historical interaction data for more than M days, it indicates that the frequency of appearance of the extended device is high enough, and if the proportion of the historical interaction data in which the extended device exists in the same time period (such as from 9:00 am to 10:00 am) is greater than or equal to P, the interaction data corresponding to the extended device is retained.

[0133] S503: Construct sample data based on the screened historical interaction data.

[0134] In some embodiments, the master device divides the filtered historical interaction data into multiple sub - data in an evenly - divided manner from the time dimension. Then, the sub - data with an extended device among the multiple sub - data is used as positive sample data, and the sub - data without an extended device among the multiple sub - data is used as negative sample data.

[0135] Exemplarily, the master device can use the slot division method to divide the filtered historical interaction data and construct positive sample data and negative sample data. For example, the interaction data of one day is divided into 48 slots according to the dimension of 0.5 hours, and these 48 slots are labeled. If there is an extended device in the slot, the corresponding slot is marked as 1, otherwise the corresponding slot is marked as 0. It can be understood that the master device can use the slots with label 1 as positive sample data and the slots with label 0 as negative sample data.

[0136] Exemplarily, Table 1 shows a schematic table of the division and marking of time - based slots according to an embodiment of the present application.

[0137] Table 1 Schematic table of the division and marking of time - based slots

[0138] slot Time period corresponding to the slot Whether the target event occurred 0 00:00-00:30 0 1 00:30-1:00 0 … … … 17 8:30-9:00 1 18 9:00-9:30 0 … … … 47 23:30-0:00 0

[0139] It can be understood that as shown in Table 1, the time period corresponding to slot 0 is 00:00 - 00:30, and the mark of whether the target event (whether there is an extended device) occurs is 0; the time period corresponding to slot 1 is 00:30 - 1:00, and the mark of whether the target event occurs is 0; the time period corresponding to slot 17 is 8:30 - 9:00, and the mark of whether the target event occurs is 1; the time period corresponding to slot 18 is 9:00 - 9:30, and the mark of whether the target event occurs is 0; the time period corresponding to slot 47 is 23:30 - 0:00, and the mark of whether the target event occurs is 0.

[0140] Exemplarily, Table 2 shows a schematic table of the division and marking of date - based slots according to an embodiment of the present application.

[0141] Table 2 Schematic table of the division and marking of date - based slots

[0142] slot Holidays Weekdays … Label 0 1 2 1 1 1 2 0 … … … … … 24 1 2 1 25 1 2 0 … … … … … 27 1 2 1

[0143] It can be understood that, as shown in Table 2, slot 0 corresponds to 1 holiday and 2 working days, and the label is 1; slot 1 corresponds to 1 holiday and 2 working days, and the label is 0; slot 24 corresponds to 1 holiday and 2 working days, and the label is 1; slot 25 corresponds to 1 holiday and 2 working days, and the label is 0; slot 27 corresponds to 1 holiday and 2 working days, and the label is 1.

[0144] S504: Train the sample data for regular time periods to obtain networking time periods and corresponding probabilities.

[0145] The master device trains the decision tree model based on positive sample data and negative sample data, predicts the probabilities of each slot interacting with the extended device based on the trained model, and screens out the time periods in which the probability value corresponding to the slot is greater than or equal to the first probability (such as the time period probability threshold slotthreshold) as the networking time periods.

[0146] In some embodiments, if two adjacent time periods are both networking time periods, the two adjacent networking time periods can be combined into one networking time period.

[0147] In some embodiments, the networking time periods in the networking portrait are the TOPK1 networking time periods, such as the TOPK1 networking time periods with the longest duration. The non-networking time periods are the TOPK2 non-networking time periods, such as the TOPK2 non-networking time periods with the shortest duration. It can be understood that the present application does not limit the specific values of TOPK1 and TOPK2.

[0148] That is to say, the master device can use all the networking time periods that meet the conditions (such as the probability value being greater than or equal to the time period probability threshold slotthreshold) as the networking time periods in the networking portrait, or can also only select some of the networking time periods that meet the conditions as the networking time periods in the networking portrait, and the present application does not limit this.

[0149] It can be understood that screening the networking time periods based on the time period probability threshold slotthreshold can make the networking time periods that meet the corresponding probability value greater than or equal to the time period probability threshold slotthreshold more regular.

[0150] In some other embodiments, after the master device determines the networking time periods and non-networking time periods in the networking portrait, it can also adjust the probabilities corresponding to the networking time periods and non-networking time periods by using a probability correction algorithm.

[0151] S505: Learn the connection intentions within each networking time period to obtain the extended devices, connection methods, and connection probabilities corresponding to each connection method within each networking time period.

[0152] In some embodiments, the master device statistically analyzes the extended devices connected to the master device during each interaction time and the probabilities of the corresponding connection methods in the filtered historical interaction data, and obtains the extended devices within the device group during each interaction time (for example, the extended devices connected to the master device during the interaction time) and the connection probabilities corresponding to the connection methods.

[0153] It can be understood that the statistical methods include, but are not limited to, confidence interval statistical methods such as the Clopper-Pearson method, the Wald method, and the Wilson method. The present application does not make specific limitations on this.

[0154] In some other embodiments, the master device can also filter the connection methods. For example, the connection methods with connection probabilities greater than or equal to a second probability (for example, the intent probability threshold intentthreshold) are used as the connection methods corresponding to each interaction time.

[0155] It can be understood that filtering the connection methods based on the intent probability threshold intentthreshold can make the connection methods that meet the corresponding probability values greater than or equal to the intent probability threshold intentthreshold more regular.

[0156] S506: Determine the networking profile based on the networking time period and the corresponding probabilities, as well as the extended devices, connection methods, and connection probabilities corresponding to each connection method within each networking time period.

[0157] In some embodiments, the master device integrates the networking time period and the non-networking time period, as well as the connection probabilities within each time period, to obtain the networking profile result.

[0158] It can be understood that the master device determines the networking profile based on the historical interaction data of the master device, and when the master device meets the connection condition, based on the networking profile, the master device and the extended device are pre-connected. When the interaction condition is met, the master device can directly use the device functions of the connected extended device without waiting for the master device to establish a connection with the extended device, improving the efficiency of device interaction.

[0159] It can be understood that in some other embodiments, according to actual needs, the above Figure 5 shown steps can be combined, deleted, or replaced with other steps that are beneficial to achieving the purpose of the present application, etc. The present application does not make limitations on this.

[0160] The following introduces the software architecture of the electronic device in the embodiments of the present application with reference to the accompanying drawings. It can be understood that the electronic device can be an electronic device within the device group, that is, it can be a master device or an extended device.

[0161] The software system of an electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present invention, taking the Android system with a layered architecture as an example, the software structure of the electronic device is exemplarily described.

[0162] Figure 6a The schematic diagram of the software structure of an electronic device is shown according to the embodiments of the present application.

[0163] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android TM system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0164] As Figure 6a shown, the application layer may include a series of application packages. The application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a meeting, a WLAN, a Bluetooth, music, a video, an instant messaging, etc.

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

[0166] As Figure 6a shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, a system settings 61, a system Bluetooth 62, an interconnection module 63, and a smart module 64, etc.

[0167] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0168] The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, a phone book, etc.

[0169] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying a picture.

[0170] The phone manager is used to provide the communication functions of the electronic device. For example, the management of call status (including answering, hanging up, etc.).

[0171] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and so on.

[0172] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it prompts text information in the status bar, emits a prompt tone, the electronic device vibrates, the indicator light flashes, etc.

[0173] The intelligent module 64 is used to obtain historical interaction data and determine the networking profile based on the historical interaction data. The intelligent module is also used to generate a device connection strategy based on the networking profile and transmit the device connection strategy to the interconnection module when the connection condition is met.

[0174] The interconnection module 63 is used to discover extended devices and complete device authentication, and establish a connection with the extended devices based on the device connection strategy. The interconnection module is also used to collect historical interaction data and transmit it to the intelligent module.

[0175] The system settings 61 are used to monitor the user's operations and send system broadcasts to the intelligent module and the interconnection module to notify the intelligent module and the interconnection module to trigger events, etc.

[0176] The system Bluetooth 62 is used to receive the device self-discovery request of the interconnection module and continuously send Bluetooth broadcasts to discover extended devices.

[0177] It can be understood that the system settings 61 and the system Bluetooth 62 are system services, which are used to implement functions such as event monitoring and broadcasting.

[0178] The Android Runtime includes a core library and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

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

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

[0181] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), etc.

[0182] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0183] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0184] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0185] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0186] Figure 6b According to an embodiment of the present application, a schematic structural diagram of an interconnection module is shown.

[0187] As Figure 6b shown, the interconnection module 63 includes: a logical networking sub-module 631, a self-discovery sub-module 632, an authentication sub-module 633, a data transmission sub-module 634, and an access networking sub-module 635.

[0188] Among them, the logical networking sub-module 631 is used to send notification messages to other modules in the interconnection module to complete corresponding operations, such as starting a pre-connection, etc., as well as connection management, etc. The self-discovery sub-module 632 is used to discover extended devices. The authentication sub-module 633 is used to complete the device authentication of the extended devices. The data transmission sub-module 634 is used to transmit the interaction data to the intelligent module. The access networking sub-module 635 is used to establish a connection with the extended device based on the device connection policy.

[0189] Figure 6c According to an embodiment of the present application, a schematic structural diagram of an intelligent module is shown.

[0190] The intelligent module 64 includes: a data sub-module 641, a learning sub-module 642, a decision-making sub-module 643, and a perception sub-module 644.

[0191] Among them, the data sub-module 641 is used to obtain historical interaction data. The learning sub-module 642 is used to determine the networking profile based on the historical interaction data. The decision-making sub-module 643 is used to generate a device connection strategy based on the networking profile. The perception sub-module 644 is used to detect whether the device meets the connection conditions.

[0192] To better understand the technical solution of the embodiments of the present application, the following combines Figures 6a to 6c the software module shown below to introduce in detail the software module interaction process of the networking method provided by the embodiments of the present application.

[0193] Figure 7 The interaction process diagram of the software module of a networking method is shown according to the embodiments of the present application.

[0194] As Figure 7 shown, taking the master device as an example, the process includes:

[0195] S701: The interconnection module 63 registers a system broadcast listener.

[0196] In some embodiments, the interconnection module 63 registers a system broadcast listener, that is, a system broadcast listener is created in the interconnection module 63 to listen to the system broadcast to determine whether to start the intelligent interconnection service, etc.

[0197] S702: The intelligent module 64 registers a system broadcast listener.

[0198] In some embodiments, the intelligent module 64 registers a system broadcast listener, that is, a system broadcast listener is created in the interconnection module 63 to listen to the system broadcast to determine whether to start the intelligent assistant basic service, etc.

[0199] S703: The system settings 61 detect the operation of the user logging in to the account.

[0200] S704: The system settings 61 broadcast the account login event to the interconnection module 63 system.

[0201] In some embodiments, after the system settings 61 detect the operation of the user logging in to the account, they can broadcast the account login event to the interconnection module 63 system.

[0202] S705: The system settings 61 detect the operation of the user enabling the intelligent interconnection service.

[0203] S706: The system settings 61 broadcast the service start event to the interconnection module 63 system.

[0204] In some embodiments, after the system settings 61 detect the operation of the user to enable the intelligent interconnection service, the system can broadcast a service start event to the interconnection module 63.

[0205] S707: The interconnection module 63 starts the function of the cross-device interconnection service.

[0206] In some embodiments, after the interconnection module 63 monitors the account login event and the service start event broadcast by the system, the function of the cross-device interconnection service can be started.

[0207] S708: The interconnection module 63 sends a notification to start the device self-discovery function to the system Bluetooth 62.

[0208] In some embodiments, after the interconnection module 63 determines to start the function of cross-device interconnection, it can send a notification to start the device self-discovery function to the system Bluetooth 62.

[0209] S709: The system settings 61 detect the operation of the user to agree to the basic service of the intelligent assistant.

[0210] S710: The system settings 61 broadcast a service start event to the intelligent module 64 system.

[0211] In some embodiments, after the system settings 61 detect the operation of the user to agree to the basic service of the intelligent assistant, the system can broadcast a service start event to the intelligent module 64 system.

[0212] S711: The intelligent module 64 starts the function of the intelligent service.

[0213] In some embodiments, after the intelligent module 64 monitors the service start event broadcast by the system, the function of the intelligent service can be started.

[0214] S712: The intelligent module 64 sends a notification of the start of the intelligent service function to the interconnection module 63.

[0215] In some embodiments, after the intelligent module 64 starts the function of the intelligent service, it can send a notification of the start of the intelligent service function to the interconnection module 63.

[0216] S713: The interconnection module 63 subscribes to the intelligent networking recommendation function from the intelligent module 64.

[0217] In some embodiments, after the interconnection module 63 receives the notification of the start of the intelligent service function sent by the intelligent module 64, it can subscribe to the intelligent networking recommendation function from the intelligent module 64.

[0218] S714: The system Bluetooth 62 sends a notification message of discovering devices with the same account to the interconnection module 63.

[0219] In some embodiments, after the interconnection module 63 subscribes to the intelligent networking recommendation function from the intelligent module 64, the system Bluetooth 62 can send a message to the interconnection module 63 to discover devices with the same account.

[0220] S715: The interconnection module 63 activates the device networking authentication function.

[0221] In some embodiments, after the interconnection module 63 detects a device with the same account, it can activate the device networking authentication function.

[0222] S716: The interconnection module 63 reports the device online event to the system settings 61.

[0223] In some embodiments, after the interconnection module 63 determines that the networking device authentication is successful, it can report the device online event to the system settings 61.

[0224] S717: The interconnection module 63 sends networking data to the intelligent module 64.

[0225] In some embodiments, after the interconnection module 63 determines that the networking device authentication is successful, it can send networking data to the intelligent module 64.

[0226] S718: The system settings 61 display the shared devices in the user interface.

[0227] In some embodiments, after the system device receives the device online message, it can display the shared devices in the user interface.

[0228] S719: The system settings 61 detect the operation where the user determines to expand the shared devices of the device.

[0229] S720: The system settings 61 send a notification to establish a data channel to the interconnection module 63.

[0230] In some embodiments, after the system settings 61 detect the operation where the user determines to expand the shared devices of the device, it can send a notification to establish a data channel to the interconnection module 63.

[0231] S721: The interconnection module 63 completes establishing a data channel with the expansion device.

[0232] In some embodiments, after the interconnection module 63 receives the notification to establish a data channel, it can complete establishing a data channel with the expansion device.

[0233] S722: The interconnection module 63 returns a notification of successful connection establishment to the system settings 61.

[0234] In some embodiments, after the interconnection module 63 completes the establishment of the data channel, it can return a notification message of successful connection establishment to the system settings 61.

[0235] S723: The interconnection module 63 sends networking channel data to the intelligent module 64.

[0236] In some embodiments, after the interconnection module 63 completes the establishment of the data channel, it can send networking channel data to the intelligent module 64.

[0237] S724: The system settings 61 notify the interconnection module 63 to use the shared devices of the extended device for interaction.

[0238] In some embodiments, after the system settings 61 receive the notification message of successful connection establishment, they can notify the interconnection module 63 to use the shared devices of the extended device for interaction, that is, notify the interconnection module 63 to use the device functions of the extended device.

[0239] It can be understood that the above steps S714 to S724 are the processes of an existing master device establishing a connection with an extended device and interacting, and the interconnection module 63 sending interaction data (networking data and networking channel data) to the intelligent module 64. Specifically, the process of the interconnection module 63 sending interaction data to the intelligent module 64 will be described in detail below, and this application will not elaborate here.

[0240] The following introduces the process of the master device determining the networking portrait based on historical interaction data, pre-establishing a connection with the extended device, and interacting with the corresponding extended device after detecting a trigger event in combination with steps S725 to S736.

[0241] S725: The intelligent module 64 generates a networking portrait.

[0242] In some embodiments, after the intelligent module 64 receives the networking data and networking channel data, it can generate a networking portrait.

[0243] Specifically, the process of the intelligent module 64 generating a networking portrait will be described in detail below, and this application will not elaborate here.

[0244] S726: The intelligent module 64 starts the networking prediction function.

[0245] In some embodiments, after the intelligent module 64 generates a networking portrait, it can start the networking prediction function. For example, it determines the networking strategy based on the networking portrait, and when the master device meets the connection conditions, it starts the pre-networking function based on the corresponding networking strategy.

[0246] Specifically, the process of starting the networking prediction function will be described in detail below, and this application will not elaborate here.

[0247] S727: The intelligent module 64 detects that the networking conditions are met.

[0248] In some embodiments, after starting the networking prediction, the intelligent module 64 can detect that the master device meets the networking conditions (i.e., connection conditions). At this time, the intelligent module 64 can continue to execute the following step S728 and send a pre-networking notification to the interconnection module 63.

[0249] It can be understood that if the intelligent module 64 does not detect that the networking conditions are met, it can execute the relevant content of the above steps S714 to S724.

[0250] S728: The intelligent module 64 sends a pre-networking notification to the interconnection module 63.

[0251] In some embodiments, after the intelligent module 64 detects that the master device meets the networking conditions, it can send a pre-networking notification to the interconnection module 63.

[0252] S729: The interconnection module 63 sends a notification to start the pre-networking function to the system Bluetooth 62.

[0253] In some embodiments, after receiving the pre-networking notification message, the interconnection module 63 can send a notification to start the pre-networking function to the system Bluetooth 62.

[0254] S730: The interconnection module 63 reports the device online event to the system settings 61.

[0255] In some embodiments, after receiving the pre-networking notification message, the interconnection module 63 can perform pre-networking and report the device online event to the system settings 61.

[0256] It can be understood that the pre-networking process may include device self-discovery, device networking authentication, and device connection, etc. Specifically, the processes of device self-discovery, device networking authentication, and device connection will be described in detail below, and the present application will not elaborate herein.

[0257] S731: The system settings 61 display the shared device on the user interface.

[0258] In some embodiments, after the system device receives the device online message, it can display the shared device on the user interface.

[0259] S732: The system settings 61 detect the operation of the user determining the shared device of the extended device.

[0260] S733: The system settings 61 send a notification to establish a data channel to the interconnection module 63.

[0261] In some embodiments, after the system settings 61 detect the operation of the user determining the shared device of the extended device, it can send a notification to establish a data channel to the interconnection module 63.

[0262] S734: The interconnection module 63 determines that there is an existing data channel.

[0263] In some embodiments, after receiving the notification message of the established data channel, the interconnection module 63 may obtain the identification information of the existing data channel.

[0264] It can be understood that the interconnection module 63 can determine parameters such as the type of the data channel (such as Bluetooth, Wi-Fi) according to the identification information of the data channel.

[0265] It can be understood that if the interconnection module 63 determines that there is no established data channel, it can execute the relevant content of the above steps S714 to S724.

[0266] S735: The interconnection module 63 returns the required channel to the system settings 61.

[0267] In some embodiments, after determining the existing data channel, the interconnection module 63 can directly return the required channel to the system settings 61.

[0268] S736: The system settings 61 notifies the interconnection module 63 to use the shared device of the extended device for interaction.

[0269] In some embodiments, after receiving the channel information sent by the interconnection module 63, the system settings 61 can notify the interconnection module 63 to use the shared device of the extended device for interaction.

[0270] It can be understood that the intelligent module determines the networking profile based on historical interaction data, and when the master device meets the connection condition, determines the networking strategy based on the networking profile, and sends the networking strategy to the interconnection module, so that the interconnection module pre - establishes a connection between the master device and the extended device based on the networking strategy. When the interaction condition is met, the interconnection module can directly use the established communication connection to interact with the extended device without waiting for the master device and the extended device to establish a connection, improving the efficiency of device interaction.

[0271] Figure 8 The embodiment according to the present application shows a schematic diagram of the interaction process of software modules in a device self - discovery process.

[0272] S801: The logical networking sub - module 631 of the master device sends a notification of setting a Bluetooth filter to the self - discovery sub - module 632 of the master device.

[0273] S802: The self - discovery sub - module 632 of the master device sends a notification of setting a Bluetooth filter to the system Bluetooth 62 of the master device.

[0274] S803: The logical networking sub - module 631 of the extended device sends a notification of setting a Bluetooth filter to the self - discovery sub - module 632 of the extended device.

[0275] S804: The self-discovery sub-module 632 of the extended device sends a notification to set the Bluetooth filter to the system Bluetooth 62 of the extended device.

[0276] It can be understood that setting the Bluetooth filter can avoid the influence of noise signals on the discovery of the extended device by the self-discovery sub-module 632.

[0277] S805: The logical networking sub-module 631 of the master device sends a notification to start the self-discovery function to the self-discovery sub-module 632 of the master device.

[0278] S806: The self-discovery sub-module 632 of the master device sends a notification to set the Bluetooth broadcast message and start broadcasting to the system Bluetooth 62 of the master device.

[0279] In some embodiments, after receiving the notification to start the self-discovery function, the self-discovery sub-module 632 of the master device can send a notification to set the Bluetooth broadcast message and start broadcasting to the system Bluetooth 62 of the master device.

[0280] S807: The system Bluetooth 62 of the master device sends a Bluetooth broadcast message to the system Bluetooth 62 of the extended device.

[0281] In some embodiments, after receiving the notification to set the Bluetooth broadcast message and start broadcasting, the system Bluetooth 62 of the master device can send a Bluetooth broadcast message to the system Bluetooth 62 of the extended device.

[0282] S808: The system Bluetooth 62 of the extended device sends the filtered Bluetooth data to the self-discovery sub-module 632 of the extended device.

[0283] In some embodiments, after receiving the Bluetooth broadcast message sent by the system Bluetooth 62 of the master device, the system Bluetooth 62 of the extended device can send the filtered Bluetooth data to the self-discovery sub-module 632 of the extended device.

[0284] S809: The self-discovery sub-module 632 of the extended device parses the message.

[0285] In some embodiments, after receiving the filtered Bluetooth data, the self-discovery sub-module 632 of the extended device can parse the Bluetooth broadcast message.

[0286] S810: The self-discovery sub-module 632 of the extended device sends a notification to set the broadcast response message to the system Bluetooth 62 of the extended device.

[0287] In some embodiments, after parsing the Bluetooth broadcast message, the self-discovery sub-module 632 of the extended device can send a notification to set the broadcast response message to the system Bluetooth 62 of the extended device.

[0288] S811: The system Bluetooth 62 of the expansion device sends a Bluetooth broadcast response message to the system Bluetooth 62 of the master device.

[0289] In some embodiments, after the system Bluetooth 62 of the expansion device receives the notification to set the broadcast response message, it can send a Bluetooth broadcast response message to the system Bluetooth 62 of the master device.

[0290] S812: The system Bluetooth 62 of the master device sends the filtered Bluetooth data to the self-discovery sub-module 632 of the master device.

[0291] In some embodiments, after the system Bluetooth 62 of the master device receives the Bluetooth broadcast response message, it can send the filtered Bluetooth data to the self-discovery sub-module 632 of the master device.

[0292] S813: The self-discovery sub-module 632 of the master device parses the message.

[0293] In some embodiments, after the system Bluetooth 62 of the master device receives the filtered Bluetooth data, it can parse the Bluetooth broadcast response message.

[0294] S814: The self-discovery sub-module 632 of the master device reports the device online event to the logical networking sub-module 631 of the master device.

[0295] In some embodiments, after the self-discovery sub-module 632 of the master device parses the Bluetooth broadcast response message, it can report the device online event to the logical networking sub-module 631 of the master device.

[0296] It can be understood that during the device self-discovery process, by setting the Bluetooth filter, the influence of noise signals on the self-discovery sub-module to discover the expansion device can be avoided, and the efficiency and accuracy of discovering the expansion device can be improved.

[0297] Figure 9 According to the embodiments of the present application, a schematic diagram of the interaction process of software modules for a device networking authentication process is shown.

[0298] S901: The logical networking sub-module 631 of the master device sends a notification of networking device authentication to the authentication sub-module 633 of the master device.

[0299] S902: The authentication sub-module 633 of the master device and the authentication sub-module 633 of the expansion device perform device same-account authentication interaction.

[0300] In some embodiments, after the authentication sub-module 633 of the master device receives the notification of networking device authentication sent by the logical networking sub-module 631 of the master device, it can perform device same-account authentication interaction with the authentication sub-module 633 of the expansion device.

[0301] S903: The authentication sub-module 633 of the master device sends a notification of successful authentication to the logical networking sub-module 631 of the master device.

[0302] In some embodiments, after the device authentication is successful, that is, it is determined that the user accounts logged in by the master device and the extended device are the same or are associated accounts, the authentication sub-module 633 of the master device sends a notification of successful authentication to the logical networking sub-module 631 of the master device.

[0303] S904: The authentication sub-module 633 of the extended device sends a notification of successful authentication to the logical networking sub-module 631 of the extended device.

[0304] In some embodiments, after the device authentication is successful, the authentication sub-module 633 of the extended device may send a notification of successful authentication to the logical networking sub-module 631 of the extended device.

[0305] S905: The logical networking sub-module 631 of the master device reports the device online event to the system settings 61 of the master device.

[0306] In some embodiments, after receiving the notification of successful authentication, the logical networking sub-module 631 of the master device may report the device online event to the system settings 61 of the master device.

[0307] S906: The logical networking sub-module 631 of the extended device reports the device online event to the system settings 61 of the extended device.

[0308] In some embodiments, after receiving the notification of successful authentication, the logical networking sub-module 631 of the extended device may report the device online event to the system settings 61 of the extended device.

[0309] S907: The logical networking sub-module 631 of the master device sends a notification to stop device self-discovery or update the Bluetooth filter to the self-discovery sub-module 632 of the master device.

[0310] In some embodiments, after the device authentication is successful, if there is no need to discover new extended devices, the logical networking sub-module 631 of the master device may send a notification to stop device self-discovery to the self-discovery sub-module 632 of the master device.

[0311] In other embodiments, after the device authentication is successful, if there is still a need to discover new extended devices, the logical networking sub-module 631 of the master device sends a notification to update the Bluetooth filter to the self-discovery sub-module 632 of the master device.

[0312] S908: The logical networking sub-module 631 of the extended device sends a notification to update the Bluetooth filter to the self-discovery sub-module 632 of the extended device.

[0313] In some embodiments, after the device authentication is passed, the logical networking sub-module 631 of the extended device may send a notification to update the Bluetooth filter to the self-discovery sub-module 632 of the extended device.

[0314] It can be understood that the above processes of device self-discovery and device networking authentication are based on the networking policy. That is to say, if the networking policy includes multiple extended devices, the above processes of device self-discovery and device networking authentication will complete the authentication of all extended devices in the networking policy before ending the device self-discovery process, so as to facilitate the connection between the master device and all extended devices in the networking policy during subsequent connections.

[0315] Figure 10 According to an embodiment of the present application, a schematic diagram of the interaction process of a software module for an interconnection module 63 to send interaction data to a smart module 64 is shown.

[0316] S1001: The access networking sub-module 635 obtains the networking authentication result.

[0317] S1002: The access networking sub-module 635 determines the networking data.

[0318] In some embodiments, after the access networking sub-module 635 determines that the networking authentication is successful, it determines the networking data.

[0319] It can be understood that the access networking sub-module 635 can determine the networking data by means of data logging (or data embedding). Among them, data logging is a method of data collection by implanting statistical codes.

[0320] S1003: The access networking sub-module 635 sends the networking data to the data sub-module 641.

[0321] In some embodiments, the access networking sub-module 635 sends the networking data to the data sub-module 641 to facilitate the generation of a networking profile.

[0322] S1004: The data sub-module 641 stores the networking data after attaching a location tag.

[0323] In some real-time examples, after receiving the networking data, the data sub-module 641 can attach a location tag to the networking data and store it.

[0324] It can be understood that the data sub-module 641 can store the networking data in the memory of the master device, or send the networking data to the server for storage by the server. The present application does not limit this.

[0325] S1005: The system settings 61 send a notification to establish a data channel to the data transmission sub-module 634.

[0326] In some embodiments, after the system settings 61 detect that the user determines the shared device of the expansion device, a notification to establish a data channel may be sent to the data transmission sub-module 634.

[0327] S1006: The data transmission sub-module 634 sends a notification to establish a data channel to the access networking sub-module 635.

[0328] S1007: The access networking sub-module 635 returns a notification of successful channel establishment to the data transmission sub-module 634.

[0329] In some embodiments, after receiving the notification to establish a data channel, the access networking sub-module 635 may complete the establishment of the data channel and return a notification of successful channel establishment to the data transmission sub-module 634.

[0330] S1008: The data transmission sub-module 634 determines the networking channel data.

[0331] In some embodiments, after receiving the message of successful channel establishment, the data transmission sub-module 634 may determine the networking channel data.

[0332] It can be understood that the data transmission sub-module 634 may determine the networking channel data by means of data dotting.

[0333] S1009: The data transmission sub-module 634 sends the networking channel data to the data sub-module 641.

[0334] In some embodiments, the data transmission sub-module 634 sends the networking channel data to the data sub-module 641 to facilitate the generation of a networking portrait.

[0335] S1010: The data sub-module 641 stores the networking channel data after attaching a location label.

[0336] In some real-time examples, after receiving the networking channel data, the data sub-module 641 may attach a location label to the networking channel data and store it.

[0337] It can be understood that the data sub-module 641 may store the networking channel data in the memory of the main device, or send the networking channel data to the server for storage by the server. This application does not make any restrictions on this.

[0338] S1011: The data transmission sub-module 634 returns a channel result to the system settings 61.

[0339] In some embodiments, after receiving the message of successful channel establishment, the data transmission sub-module 634 may return a channel result to the system settings 61.

[0340] It can be understood that the data transmission sub-module 634 and the access networking sub-module 635 of the interconnection module 63 collect the interaction data (networking data and networking channel data) of the main device and the expansion device and send it to the data sub-module 641 of the intelligent module 64, so that the intelligent module 64 can generate a networking profile and a networking strategy based on the interaction data of the main device.

[0341] Figure 11 The interaction process schematic diagram of a software module for generating a networking profile according to an embodiment of the present application is shown.

[0342] S1101: The learning sub-module 642 detects that the condition for generating a networking profile is met.

[0343] In some embodiments, the learning sub-module 642 detects that the condition for generating a networking profile is met, for example, the main device is powered off for the first time every day when charging, or the system time of the main device meets the time condition for generating a networking profile, such as a fixed time (such as 0 o'clock, etc.).

[0344] S1102: The learning sub-module 642 obtains networking data and / or networking channel data from the data sub-module 641.

[0345] In some embodiments, after detecting that the condition for generating a profile is met, the learning sub-module 642 can obtain networking data and / or networking channel data from the data sub-module 641.

[0346] S1103: The learning sub-module 642 generates a networking profile.

[0347] In some embodiments, the learning sub-module 642 generates a networking profile based on the networking data and / or networking channel data (historical interaction data).

[0348] Specifically, reference can be made to Figure 5 For the relevant description, for the sake of easy understanding, the execution subject in the relevant description of Figure 5 can be replaced by the learning sub-module 642 from the main device, and the present application will not elaborate here.

[0349] It can be understood that the learning sub-module 642 of the intelligent module 64 can, after detecting that the condition for generating a networking profile is met, obtain historical interaction data from the data sub-module and generate a networking profile based on the historical interaction data, so that when the main device meets the connection condition, a networking strategy can be generated based on the networking profile.

[0350] Figure 12 The interaction process schematic diagram of a software module for a networking prediction process according to an embodiment of the present application is shown.

[0351] S1201: The access networking sub-module 635 subscribes to the intelligent networking recommendation function from the decision-making sub-module 643.

[0352] S1202: The decision sub-module 643 returns the subscription result to the access networking sub-module 635.

[0353] S1203: The decision sub-module 643 queries the networking profile from the learning sub-module 642.

[0354] In some embodiments, after receiving the subscription result of the intelligent networking recommendation function, the decision sub-module 643 may query the networking profile from the learning sub-module 642.

[0355] S1204: The decision sub-module 643 registers a time fence with the sensing sub-module 644.

[0356] In some embodiments, the decision sub-module 643 determines the time fence based on the interaction time in the networking profile and registers the time fence with the sensing sub-module 644.

[0357] S1205: The sensing sub-module 644 notifies the decision sub-module 643 of the time fence trigger event.

[0358] In some embodiments, after detecting the time fence trigger, the sensing sub-module 644 may notify the decision sub-module 643 of the time fence trigger event.

[0359] S1206: The decision sub-module 643 queries the location snapshot from the sensing sub-module 644.

[0360] In some embodiments, the decision sub-module 643 queries the location snapshot from the sensing sub-module 644 to determine the current location information of the master device.

[0361] S1207: The sensing sub-module 644 returns the current location information to the decision sub-module 643.

[0362] S1208: When the connection conditions are met, the decision sub-module 643 determines the networking policy.

[0363] In some embodiments, after determining that the location information and time information meet the connection conditions, the decision sub-module 643 may determine the networking policy based on the networking profile.

[0364] S1209: The decision sub-module 643 sends the networking policy to the access networking sub-module 635.

[0365] In some embodiments, after determining the networking policy, the decision sub-module 643 may send the networking policy to the access networking sub-module 635.

[0366] S1210: The access networking sub-module 635 activates the pre-networking function.

[0367] In some embodiments, after the access networking sub-module 635 receives the networking policy, it can start the pre-networking function.

[0368] It can be understood that the decision-making sub-module 643 of the intelligent module 64 can generate a networking policy based on the networking profile generated by the student sub-module 642 when the master device meets the connection condition, and send the networking policy to the access networking sub-module 635. The access networking sub-module 635 starts the pre-networking function. When the interaction condition is met, the master device can directly use the device functions of the connected expansion device without waiting for the master device to establish a connection with the expansion device, improving the efficiency of device interaction.

[0369] Figure 13 According to an embodiment of the present application, a schematic diagram of the interaction process of software modules for a pre-networking process is shown.

[0370] S1301: The logical networking sub-module 631 of the master device sends a notification to set the Bluetooth filter to the self-discovery sub-module 632 of the master device.

[0371] S1302: The logical networking sub-module 631 of the expansion device sends a notification to set the Bluetooth filter to the self-discovery sub-module 632 of the expansion device.

[0372] S1303: The logical networking sub-module 631 receives a smart networking request.

[0373] S1304: The logical networking sub-module 631 of the master device sends a notification to start the self-discovery function to the self-discovery sub-module 632 of the master device.

[0374] S1305: Device self-discovery is performed.

[0375] It can be understood that steps S1301 to S1305 can refer to the description of the interaction process of software modules in the device self-discovery process shown above. The present application will not elaborate here. Figure 8 shown in the description of the interaction process of software modules in the device self-discovery process, and the present application will not elaborate here.

[0376] S1306: The authentication sub-module 633 of the master device sends a notification of successful authentication to the logical networking sub-module 631 of the master device.

[0377] S1307: The authentication sub-module 633 of the expansion device sends a notification of successful authentication to the logical networking sub-module 631 of the expansion device.

[0378] S1308: The logical networking sub-module 631 of the master device reports the device online event to the data transmission sub-module 634 of the master device.

[0379] In some embodiments, after the logical networking sub-module 631 of the master device receives the notification of successful authentication, it may report the device online event to the data transmission sub-module 634 of the master device.

[0380] S1309: The logical networking sub-module 631 of the expansion device reports the device online event to the data transmission sub-module 634 of the expansion device.

[0381] In some embodiments, after the logical networking sub-module 631 of the expansion device receives the notification of successful authentication, it may report the device online event to the data transmission sub-module 634 of the expansion device.

[0382] S1310: The logical networking sub-module 631 of the master device sends a notification to start the pre-networking function to the access networking sub-module 635 of the master device.

[0383] In some embodiments, after the logical networking sub-module 631 of the master device receives the notification of successful authentication, it may send a notification to start the pre-networking function to the access networking sub-module 635 of the master device.

[0384] S1311: The access networking sub-module 635 of the master device and the access networking sub-module 635 of the expansion device perform connection interaction.

[0385] In some embodiments, after the access networking sub-module 635 of the master device receives the notification to start pre-networking, it may start the pre-networking function and perform connection interaction with the access networking sub-module 635 of the expansion device.

[0386] S1312: The access networking sub-module 635 of the master device sends a notification of successful connection establishment to the logical networking sub-module 631 of the master device.

[0387] S1313: The access networking sub-module 635 of the expansion device sends a notification of successful connection establishment to the logical networking sub-module 631 of the expansion device.

[0388] S1314: The logical networking sub-module 631 of the master device performs connection management.

[0389] In some embodiments, after the logical networking sub-module 631 of the master device receives the notification of successful connection establishment, it may perform connection management.

[0390] S1315: The logical networking sub-module 631 of the expansion device performs connection management.

[0391] In some embodiments, after the logical networking sub-module 631 of the expansion device receives the notification of successful connection establishment, it may perform connection management.

[0392] S1316: The data transmission sub-module 634 of the master device sends a notification to start the connection function to the logical networking sub-module 631 of the master device.

[0393] S1317: The logical networking sub-module 631 of the master device determines whether a connection already exists.

[0394] After receiving the notification to start the connection function, the logical networking sub-module 631 of the master device determines whether a connection already exists.

[0395] In some embodiments, if the determination result is yes, then step S1318 is executed, and the logical networking sub-module 631 of the master device returns a notification of successful connection establishment to the data transmission sub-module 634 of the master device.

[0396] In other embodiments, if the determination result is no, then step S1319 is executed, and the logical networking sub-module 631 of the master device sends a notification to establish a connection to the access networking sub-module 635 of the master device.

[0397] S1318: The logical networking sub-module 631 of the master device returns a notification of successful connection establishment to the data transmission sub-module 634 of the master device.

[0398] In some embodiments, if there is an established connection, the logical networking sub-module 631 of the master device directly returns a notification of successful connection establishment to the data transmission sub-module 634 of the master device, without notifying the access networking sub-module 635 of the master device to establish a connection.

[0399] S1319: The logical networking sub-module 631 of the master device sends a notification to establish a connection to the access networking sub-module 635 of the master device.

[0400] In some embodiments, if there is no established connection, the logical networking sub-module 631 of the master device sends a notification to establish a connection to the access networking sub-module 635 of the master device.

[0401] S1320: The access networking sub-module 635 of the master device performs connection interaction with the access networking sub-module 635 of the extended device.

[0402] In some embodiments, after receiving the notification to establish a connection, the access networking sub-module 635 of the master device can perform connection interaction with the access networking sub-module 635 of the extended device.

[0403] S1321: The access networking sub-module 635 of the master device sends a notification of successful connection establishment to the logical networking sub-module 631 of the master device.

[0404] S1322: The access networking sub-module 635 of the extended device sends a notification of successful connection establishment to the logical networking sub-module 631 of the extended device.

[0405] S1323: The logical networking sub-module 631 of the master device performs connection management.

[0406] S1324: The logical networking sub-module 631 of the expansion device performs connection management.

[0407] S1325: The logical networking sub-module 631 of the master device returns a notification of successful connection establishment to the data transmission sub-module 634 of the master device.

[0408] It can be understood that the logical networking sub-module 631 of the interconnection module 63 can manage the connection of the master device. When the master device meets the connection conditions, the data sub-module 634 sends a notification to start the connection function to the logical networking sub-module 631. If the logical networking sub-module 631 detects an existing connection, the master device does not need to establish a connection with the expansion device and can directly use the existing connection to interact with the expansion device, improving the efficiency of device interaction.

[0409] Figure 14 According to an embodiment of the present application, a schematic diagram of an interaction process for canceling a service is shown.

[0410] S1401: The system settings 61 detect an operation by the user to turn off the intelligent interconnection service.

[0411] S1402: The system settings 61 broadcast a service shutdown event to the interconnection module 63 system.

[0412] In some embodiments, after the system settings 61 detect an operation by the user to turn off the intelligent interconnection service, they can broadcast a service shutdown event to the interconnection module 63 system.

[0413] S1403: The interconnection module 63 sends a notification to cancel the subscription to the intelligent networking recommendation function to the intelligent module 64.

[0414] In some embodiments, after the interconnection module 63 monitors the service shutdown event broadcast by the system, it can send a notification to cancel the subscription to the intelligent networking recommendation function to the intelligent module 64.

[0415] S1404: The interconnection module 63 turns off the device interconnection function.

[0416] In some embodiments, after the interconnection module 63 monitors the service shutdown event broadcast by the system, it can turn off the device interconnection function.

[0417] S1405: The system settings 61 detect an operation by the user to turn off the intelligent assistant basic service.

[0418] S1406: The system settings 61 broadcast a service shutdown event to the intelligent module 64 system.

[0419] In some embodiments, after the system setting 61 detects that the user closes the basic service of the intelligent assistant, it can broadcast a service shutdown event to the intelligent module 64 system.

[0420] S1407: The intelligent module 64 stops the function of the intelligent service.

[0421] In some embodiments, after the intelligent module 64 monitors the service shutdown event broadcast by the system, it can stop the function of the intelligent service.

[0422] S1408: The intelligent module 64 sends a notification of the stop of the intelligent service to the interconnection module 63.

[0423] In some embodiments, after the intelligent module 64 monitors the service shutdown event broadcast by the system, it can send a notification of the stop of the intelligent service to the interconnection module 63.

[0424] S1409: When the interconnection module 63 detects that the subscription to the intelligent networking recommendation function has not been cancelled, it sends a notification to cancel the subscription to the intelligent networking recommendation function to the intelligent module 64.

[0425] In some embodiments, after the interconnection module 63 receives the notification of the stop of the intelligent service, if it determines that the subscription to the intelligent networking recommendation function has not been cancelled, it can send a notification to cancel the subscription to the intelligent networking recommendation function to the intelligent module 64. It can be understood that if the master device determines that the user closes the function of the intelligent interconnection service and closes the intelligent networking recommendation function, then the function of cross-device interconnection and the function of the intelligent service are closed, that is, the networking portrait is no longer generated based on historical interactions and pre-networking is no longer performed, etc.

[0426] To better understand the technical solution of the embodiments of the present application, the structure of the electronic device involved in the present application is introduced below with reference to the accompanying drawings. It can be understood that the electronic device 100 can be any device within the device group, that is, the electronic device can be the master device or the extended device, and the present application does not limit this.

[0427] Exemplarily, Figure 15 According to the embodiments of the present application, a schematic structural diagram of an electronic device 100 is shown.

[0428] As Figure 15 shown, the electronic device 100 may include a processor 110, a memory 120, an interface module 130, a power module 140, a wireless communication module 150, a mobile communication module 160, an audio module 170, a sensor module 180, a button 190, a camera 191, a display screen 192, etc.

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

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

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

[0432] The interface module 130 may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0433] The power supply module 140 is connected to the processor 110 to supply power to the processor 110, the memory 120, the camera 191, the display screen 192, the mobile communication module 160, etc.

[0434] The wireless communication function of the electronic device 100 can be implemented through the wireless communication module 150, the mobile communication module 160, the antenna, the modulation and demodulation processor, and the baseband processor, etc.

[0435] The wireless communication module 150 can provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (such as Wi-Fi networks), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology, etc.

[0436] In some embodiments, wireless communication technologies 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 (TDSCDMA), LTE, NR, BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Beidou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS). In some embodiments, the main device and the expansion device may establish a communication connection through wireless communication technologies.

[0437] The mobile communication module 160 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. In some embodiments, the main device and the expansion device may also establish a communication connection through mobile communication technologies.

[0438] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 may also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be used to implement the functions of voice pickup and sound playback.

[0439] The sensor module 180 may include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0440] The electronic device 100 implements the display function through the GPU, the display screen 192, and the application processor, etc.

[0441] The display screen 192 is used to display images, videos, etc. The display screen 192 includes a display panel. The display panel can adopt 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 Mini-Led, a Micro-Led, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 192, where N is a positive integer greater than 1.

[0442] The electronic device 100 can implement the shooting function through an ISP, a camera 191, a video codec, a GPU, a display screen 192, an application processor, etc.

[0443] The camera 191 is used to capture still images or videos. In some embodiments, the electronic device 100 may include one or N cameras 191, where N is a positive integer greater than 1.

[0444] The memory 120 can be used to store computer-executable program code, and the executable program code includes instructions. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the memory 120 and / or the instructions stored in the memory provided in the processor.

[0445] The keys 190 include a power-on key, a volume key, etc. The keys 190 can be mechanical keys or touch keys.

[0446] In some embodiments, a computer-readable storage medium is further provided. At least one instruction, at least one program, a code set, or an instruction set is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the networking method provided in each of the above method embodiments.

[0447] In some embodiments, a program product is further provided. The program product includes instructions that, when executed by an electronic device, can cause the electronic device to implement the networking method provided in the embodiments of the present application.

[0448] Embodiments of the mechanisms disclosed in the present application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memories and / or storage elements), at least one input device, and at least one output device.

[0449] The program code can be applied to the input instructions to perform the various functions described in the present application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of the present application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0450] The program code can be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system. When necessary, the program code can also be implemented in assembly language or machine language. In fact, the mechanisms described in the present application are not limited to the scope of any specific programming language. In any case, the language can be a compiled language or an interpreted language.

[0451] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer-readable media. Thus, machine-readable media may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to, floppy disks, optical disks, optical discs, CD-ROMs, magneto-optical discs, read only memory (ROM), random access memory (RAM), erasable programmable read only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) in electrical, optical, acoustic, or other forms via the Internet. Thus, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).

[0452] In the drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or ordering may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Additionally, the inclusion of a structural or method feature in a particular figure does not imply that such a feature is required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0453] It should be noted that each unit / module mentioned in the device embodiments of this application is a logical unit / module. Physically, a logical unit / module may be a physical unit / module, may be a part of a physical unit / module, or may also be implemented as a combination of multiple physical units / module. The physical implementation manner of these logical units / modules themselves is not the most important. The combination of the functions implemented by these logical units / modules is the key to solving the technical problems proposed by this application. In addition, in order to highlight the innovative part of this application, the above device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems proposed by this application. This does not mean that there are no other units / modules in the above device embodiments.

[0454] It should be noted that in the examples and description of this patent, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one" does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

[0455] Although this application has been illustrated and described by reference to certain preferred embodiments thereof, those of ordinary skill in the art should understand that various changes may be made thereto in form and detail without departing from the spirit and scope of this application.

Claims

1. A networking method, applied to a first electronic device, characterized in that, including: Based on the historical interaction data between the first electronic device and the second electronic device, determining that the first electronic device meets the connection condition for establishing a communication connection with the second electronic device, where the historical interaction data includes: first historical interaction data in which the first electronic device establishes a communication connection with the second electronic device and realizes a first function through the second electronic device; Establishing a communication connection between the first electronic device and the second electronic device; Detecting a trigger event during the execution of a first task; Based on the communication connection, controlling the second electronic device to realize a second function of the first task; where the first function and the second function are the same or different.

2. The method according to claim 1, wherein The historical interaction data further includes at least one of the following: the device identifier of the second electronic device, at least one historical interaction time between the first electronic device and the second electronic device, at least one historical interaction location where the first electronic device interacted with the second electronic device historically, and the historical connection method corresponding to each of the historical interaction times and / or each of the historical interaction locations.

3. The method according to claim 2, wherein The connection condition includes: The current system time of the first electronic device matches the first historical interaction time among the at least one historical interaction time, and / or, The current location of the first electronic device matches the first historical interaction location among the at least one historical interaction location.

4. The method according to claim 3, wherein The establishing of the communication connection between the first electronic device and the second electronic device includes: Establishing a communication connection between the first electronic device and the second electronic device based on the first connection method corresponding to the first historical interaction time and / or the first historical interaction location.

5. The method according to claim 2, wherein The historical interaction time is determined by the following method: Respectively determining the probabilities of the first electronic device connecting to the second electronic device to realize the first function in multiple time periods; Determining the time periods in which the corresponding probabilities in the multiple time periods are greater than or equal to a first probability as the historical interaction time.

6. The method according to claim 2, characterized in that, The connection method corresponding to the second historical interaction time among the at least one historical interaction time is determined by the following method: Respectively determining the probabilities of the first electronic device using each connection method when connecting to the second electronic device to realize the first function within the second historical interaction time; Determining the connection method with a probability greater than or equal to a second probability as the connection method corresponding to the second historical interaction time.

7. The method according to claim 1, characterized in that The first function and the second function include a data acquisition function and / or a data output function.

8. The method according to claim 7, wherein The data acquisition function includes at least one of the following: a shooting function, a sound pickup function; and / or, The data output function includes at least one of the following: a sound playback function, a display function.

9. A readable medium, characterized in that, Instructions are stored on the readable medium, and when executed on an electronic device, the instructions cause the electronic device to execute the method according to any one of claims 1 to 8.

10. An electronic device, characterized in that, including: a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the processors of the electronic device, for executing the method according to any one of claims 1 to 8.

11. A program product, characterized in that, The program product includes instructions that, when executed on an electronic device, cause the electronic device to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Equipment connection method and device, first equipment and computer readable storage medium

    CN115065958A

  • Equipment interaction method, electronic equipment and computer readable storage medium

    CN115314591A

  • Equipment connection method, device and system

    CN115703006A

  • Information recommendation method and related device

    WO2022242699A1