Joint learning monitoring method, device and readable medium
By implementing the joint learning monitoring method on smart terminals, users can understand their participation and execution process in joint learning tasks, solving the problem of users being unable to understand their participation, improving user experience and ensuring data security and equipment operation. stability.
Patent Information
- Application Number
- CN202011459919.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-11
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-12-11
AI Technical Summary
Intelligent terminals lack a monitoring mechanism in joint learning tasks, resulting in users being unable to understand their participation and execution process, which affects the user experience.
A joint learning monitoring method and device are provided. By receiving and parsing requests to participate in joint learning, it is determined to join the joint learning control center, obtain execution records, and generate monitoring data based on the records, which are displayed to users to achieve task monitoring.
Ensure that users can understand and participate in the joint learning process, improve user experience, and ensure data security and normal operation of terminal devices.
Smart Images

Figure CN114626542B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy technology, and in particular to a joint learning monitoring method, device and readable medium. Background Art
[0002] Smart terminals usually include a large number of joint learning tasks. Smart terminals only have simple settings for joint learning tasks. Terminal users are not clear whether to participate in joint learning and the execution process of joint learning. Therefore, how to monitor joint learning tasks has become an urgent problem to be solved. Summary of the invention
[0003] The present invention provides a joint learning monitoring method, device and computer-readable storage medium, which can realize the monitoring of joint learning tasks.
[0004] In a first aspect, the present invention provides a joint learning monitoring method, comprising:
[0005] Receive requests to participate in joint learning;
[0006] Parsing the request to participate in joint learning to obtain a parsing result;
[0007] Determine to join the joint learning control center according to the analysis result; when joining the joint learning control center, obtain the execution record of the joint learning task carried by the joint learning participation request, wherein the execution record includes the indicator value of at least one joint learning monitoring indicator;
[0008] Determining monitoring data of the joint learning task according to the execution record of the joint learning task;
[0009] Display monitoring data of the joint learning task.
[0010] In a second aspect, the present invention provides a joint learning monitoring device, comprising:
[0011] A receiving module, used for receiving a request from a task requester to participate in joint learning;
[0012] A parsing module, used for parsing the request for participating in joint learning to obtain a parsing result;
[0013] A joining module, used for determining to join the joint learning control center according to the analysis result;
[0014] A recording module, used for obtaining the execution record of the joint learning task carried in the joint learning participation request when joining the joint learning control center;
[0015] A data determination module, used to determine the monitoring data of the joint learning task according to the execution record of the joint learning task;
[0016] The display module is used to display the monitoring data of the joint learning task.
[0017] In a third aspect, the present invention provides a computer-readable storage medium, comprising execution instructions. When a processor of a terminal device executes the execution instructions, the processor executes any method described in the first aspect.
[0018] In a fourth aspect, the present invention provides a terminal device, comprising a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor executes any method described in the first aspect.
[0019] The present invention provides a joint learning monitoring method, device and computer-readable storage medium. The method receives a joint learning request, then parses the request to participate in the joint learning to obtain a parsing result, and then, based on the parsing result, determines to access a joint learning control center. Then, when joining the joint learning control center, obtains the execution record of the joint learning task carried by the request to participate in the joint learning, and then, based on the execution record, determines the monitoring data of the joint learning task, and then displays the monitoring data of the joint learning task, thereby realizing the monitoring of the joint learning task and ensuring the user experience.
[0020] The further effects of the above-mentioned non-conventional preferred manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the existing technical solutions, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 A flowchart of a joint learning monitoring method provided by one embodiment of the present invention;
[0023] Figure 2 A flowchart of another joint learning monitoring method provided by one embodiment of the present invention;
[0024] Figure 3 A schematic diagram of the structure of a joint learning monitoring device provided by one embodiment of the present invention;
[0025] Figure 4 A structural diagram of a joint learning monitoring system provided by one embodiment of the present invention;
[0026] Figure 5 A schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] As a new concept of joint learning, joint learning ensures that user privacy data is protected to the maximum extent through distributed training and encryption technology, so as to enhance user trust in artificial intelligence technology. Under the joint learning mechanism, each participant contributes the encrypted data model to the alliance, jointly trains a joint model, and then opens this model to each participant. However, the participants are not aware of the joint learning they are participating in. The embodiment of the present invention solves the problem that the participants are not aware of the joint learning they are participating in by displaying the data in the joint learning task process.
[0029] It should be understood that the joint learning monitoring method can be applied to a terminal device, which can be a wearable device or a portable device, and the wearable device can be a smart bracelet, a smart watch, a smart phone, etc., which are not listed one by one in this application. Here, the terminal device is a participant in the joint learning.
[0030] like Figure 1 The embodiment of the present invention provides a joint learning monitoring method, comprising the following steps:
[0031] Step 101: Receive a request to participate in joint learning.
[0032] Specifically, the request to participate in joint learning may be received by the terminal device, or may be received by an application in the terminal device. It should be understood that the request to participate in joint learning is an external request, and the terminal device needs to report the model parameters obtained through training.
[0033] Step 102: parse the request to participate in joint learning to obtain a parsing result.
[0034] Specifically, the request for participating in the joint learning is parsed to obtain a parsing result, wherein the parsing result includes relevant information carried by the request for participating in the joint learning for determining whether to join the joint learning control center, such as the joint learning task, risk clauses, security clauses, and the reputation of the task requester.
[0035] Step 103: Determine to join the joint learning control center according to the analysis result.
[0036] It can be understood that the joint learning control center refers to the object that manages the joint learning between each participant. It can be the object to which the terminal device reports the model parameters obtained through training. In other words, it is the alliance to which each participant contributes the encrypted data model. For example, the joint learning control center can adjust and manage the participants of the joint learning task, and can aggregate and update the data models uploaded by each participant. In actual applications, the request to participate in joint learning carries the address of the joint learning control center, and correspondingly, the parsing result includes the address of the joint learning control center, so that the terminal device can join the joint learning control center, so that the joint learning control center can control and manage the joint learning of the terminal device. It should be noted that joining the joint learning control center means that the terminal device can interact with the joint learning control center with information related to joint learning, which is equivalent to establishing a connection with the joint learning control center.
[0037] In one embodiment, step 103 includes: determining whether the request to participate in joint learning has passed authentication, and when the authentication is passed, determining to join the joint learning control center, and if the joint learning task carried by the joint learning request is being executed, stopping the execution of the joint learning task. By authenticating the request to participate in joint learning, it is ensured that the request to participate in joint learning is a normal request, and when the joint learning request is abnormal, the execution is terminated to ensure data security.
[0038] Optionally, the determining whether the request to participate in joint learning is authenticated includes:
[0039] When it is determined that the request to participate in the joint learning is not a malicious request, determining authentication data of the request to participate in the joint learning;
[0040] According to the authentication data, it is determined whether the request to participate in joint learning has passed the authentication.
[0041] Specifically, malicious requests may cause data leakage and interfere with the normal operation of terminal devices. Therefore, it is necessary to determine whether the request to participate in joint learning is a malicious request, and perform subsequent operations when the joint learning task is not a malicious request, thereby ensuring the security of reducing data leakage and ensuring that the operation of the terminal device will not be interfered with. Here, it can be determined whether the request to participate in joint learning is a malicious request based on the reputation of the task requester carried by the request to participate in joint learning and the access frequency of the request to participate in joint learning. For example, if it is accessed 50 times within 10 seconds, it is considered a malicious request. For example, if the reputation of the task requester is low, it is considered a malicious request. The specific needs to be determined in combination with the actual situation, and no specific limitation is made here. Among them, the task requester is the alliance in the joint learning, that is, the model parameter aggregator.
[0042] When it is determined that the request to participate in joint learning is not a malicious request, the authentication data of the request to participate in joint learning is determined, and based on the authentication data, it is determined whether the request to participate in joint learning is authenticated. Among them, the authentication data includes but is not limited to any one or more of the estimated computing power usage, privacy-focused clauses, risk-focused clauses, and estimated network traffic. Here, the privacy-focused clauses can be understood as important clauses in the privacy clauses, such as address book reading, and the risk-focused clauses can be understood as important clauses in the risk clauses. Network traffic can be understood as the amount of data that needs to be transmitted on the network during the model training process. It can be the amount of data transmitted from the updated model to the task requester carried by the request to participate in joint learning after the model training is completed, or it can be the amount of data requested from the outside for model training. For example, when the database in the terminal device is insufficient, it is necessary to request data from the external database.
[0043] As a possible implementation method, a user interaction page is generated, and the authentication data is displayed on the user interaction page. According to the external operation information sent by the user interaction page, it is determined whether the request to participate in the joint learning is authenticated. Here, the authentication data can be displayed on the user interaction interface. After the user sees the authentication data, the user operates the user interaction page to determine whether the authentication is passed, so that the user can participate in the joint learning process and ensure the user experience. For example, an accept button and a reject button can be set on the user interaction interface. The user determines whether the authentication is passed by clicking the accept button or the reject button. When the user clicks the accept button, it means that the authentication is passed. When the user clicks the reject button, it means that the authentication fails.
[0044] As another possible implementation, the probability of authentication passing is determined based on the obtained joint learning preference information and the authentication data, and whether the request to participate in the joint learning is authenticated is determined based on the authentication passing probability. Here, based on the joint learning preference information, the user can make decisions instead of the user, improve the intelligence of authentication, and ensure the user experience. Among them, the joint learning preference information includes but is not limited to information such as computing power requirements, data security requirements, and network traffic restrictions. For example, a preference setting page can be developed, and the user enters relevant information in advance to obtain the joint learning preference information. Here, it can be judged whether the authentication data meets the joint learning preference information, for example, whether it meets the computing power requirements, data security requirements, and network traffic restrictions. If it meets, the probability of authentication passing is set to 1, and if it does not meet, the probability of authentication passing is set to 0. When the probability of authentication passing is 1, the authentication passes.
[0045] Step 104: When joining the joint learning control center, obtain the execution record of the joint learning task carried in the request for participating in the joint learning.
[0046] Specifically, when joining the joint learning control center, the joint learning task can be executed through the joint learning engine. The specific process is as follows: the joint learning engine calls the local data in the terminal device, trains the model carried by the participating joint learning request according to the local data, and obtains the updated model. After that, the updated model can be sent to the task requester carried by the participating joint learning task. In practical applications, the task requester can be the joint learning control center. In the process of executing joint learning, the start time of joint learning, the end time of joint learning, the quality of the data called for executing joint learning, the amount of computing power occupied, and the amount of data transmitted to the task requester by the updated model parameters are recorded, and the recorded information is used as the execution record. Among them, the local data includes the data input into the terminal device by the user and the data collected by the built-in sensor of the terminal device.
[0047] For example, joint learning tasks include regression tasks (input data to predict a value, for example, input characteristic data that affects load and predict load), classification tasks (a set of data should belong to which categories, such as fault type prediction), etc. The specific needs to be determined in combination with the actual situation. Of course, the implementation of joint learning tasks depends on joint learning models, such as decision trees, support vector machines, naive Bayes, K-nearest neighbors, neural networks, etc. Usually, the request to participate in joint learning carries joint learning tasks and joint learning models. The data for user model training is determined based on the joint learning tasks, and data mining is performed based on the joint learning models.
[0048] As a possible scenario, the execution record can be a current execution record or a historical execution record. Here, the current execution record can be understood as the data recorded when the joint learning task carried by the joint learning request is being executed, and the historical execution record can be understood as the data recorded when the joint learning task carried by the joint learning request was executed in the past.
[0049] Furthermore, in one embodiment, it also includes: when a task termination instruction of the joint learning task is received, stopping the execution of the joint learning task, thereby achieving management of the joint learning task.
[0050] Step 105: Determine monitoring data of the joint learning task according to the execution record of the joint learning task.
[0051] Specifically, the monitoring data may be currently monitored data or historically monitored data.
[0052] In practical applications, there may be multiple joint learning tasks, and correspondingly, the monitoring data of each of the multiple joint learning tasks is determined.
[0053] Step 106: Display monitoring data of the joint learning task.
[0054] In one embodiment, the monitoring data of the joint learning task corresponds to the data request of the joint learning task sent by the task management page;
[0055] The monitoring data displaying the joint learning task includes:
[0056] The monitoring data of the joint learning task is displayed in the task management page.
[0057] Specifically, the task management page can be understood as a page in the task manager, and the monitoring data of the joint learning task is the data corresponding to the data request of the joint learning task. It should be understood that when there are multiple joint learning tasks, the monitoring data of multiple joint learning tasks can be requested at the same time. Among them, the task manager can be understood as an application for task management of joint learning tasks.
[0058] It should be understood that the task manager sends the joint learning task carried in the joint learning request to the joint learning engine, and the joint learning engine executes the joint learning task.
[0059] In actual applications, there can be multiple joint learning tasks. Correspondingly, the task management page displays the monitoring data of multiple joint learning tasks.
[0060] In one embodiment, the monitoring data of the joint learning task corresponds to a data request of the joint learning task sent by a sub-page, and the sub-page is a link page of an application icon corresponding to the joint learning task in the task management page;
[0061] The monitoring data displaying the joint learning task includes:
[0062] The monitoring data of the joint learning task is displayed on the link page.
[0063] It can be understood that the sub-page is a link page of the application icon in the task management page. The application icon can be understood as a thumbnail of the application. The user can first enter the task management page in the task manager, and then click the application icon in the task management page to jump to get the link page of the corresponding joint learning task. The link page is also used to display more related information of the joint learning task.
[0064] In the above embodiment, as a possible situation, the execution record includes the current execution record, and the monitoring data includes any one of the current computing power usage, the current memory usage, the current disk usage, the current task execution time, the current network traffic, and the data quality of the current training data corresponding to the joint learning task. Among them, the data quality of the current training data corresponding to the joint learning task can be the data scale of the current training data, the number of features of the current training data, the importance of the features of the current training data, the contribution of the features of the current training data to the model and other information. The current training data can be understood as the data called by the joint learning task being executed; the current computing power occupancy can be understood as the CPU (Central Processing Unit / Processor, referred to as the central processing unit) resources occupied by the currently executed joint learning task, or the MCU (Microcontroller Unit, referred to as the microcontroller unit) resources occupied by the joint learning task being executed. The current memory occupancy can be understood as the memory space occupied by the currently executed joint learning task, the current disk occupancy can be understood as the disk space occupied by the currently executed joint learning task, the current task execution time can be understood as the execution time of the joint learning task being executed, and the current network traffic can be understood as the amount of data transmitted on the network by the joint learning task being executed. Specifically, the current computing power occupancy, the current memory occupancy, and the current disk occupancy can be expressed in percentage form, and the unit of the current network traffic is Mbps. Correspondingly, the task management page is a real-time monitoring page.
[0065] In the above embodiment, as another possible situation, the execution record includes historical execution records within a preset time period, and the monitoring data includes any one of the computing power usage, memory usage, disk usage, task execution time, network traffic, transmission data volume and data quality of the training data corresponding to the joint learning task within the preset time period. Among them, the data quality of the training data corresponding to the joint learning task within the preset period can be information such as data scale, number of data features, importance of data features, contribution of data features to the model, etc. The training data can be understood as the data called by the joint learning task within the preset period; the amount of data transmitted can be understood as the amount of data transmitted on the network during the execution of the joint learning task within the preset period. For example, if the joint learning is performed 3 times, the amount of data transmitted is the amount of data transmitted by executing the joint learning task 3 times. Similarly, the computing power occupied can be understood as the computing power occupied by the execution of the joint learning task within the preset period, the memory occupied can be understood as the memory space occupied by the execution of the joint learning task within the preset period, the disk occupied can be understood as the disk space occupied by the execution of the joint learning task within the preset period, the task execution time can be understood as the time occupied by the execution of the joint learning task within the preset period, and the network traffic can be understood as the network resources occupied by the execution of the joint learning task within the preset period. Specifically, the computing power occupied, the memory occupied, and the disk occupied can be expressed in percentage form, and the unit of network traffic is Mbps. Correspondingly, the task management page is a history record page. It should be understood that the user can set a time period to obtain the execution records of the joint learning task within the set time period, and perform statistical calculations on the execution records of the joint learning task based on the data request of the joint learning task on the task management page to determine the monitoring data.
[0066] In actual applications, the content displayed on the task management page is usually different from the content displayed on the link page. Generally speaking, the content displayed on the link page is richer, more specific, and has more detailed information than the content displayed on the task management page. What content should be displayed on the task management page and the link page needs to be determined in combination with actual needs, and no specific restrictions are made here. For example, the task management page displays the computing power usage, memory usage, disk usage, and network traffic, and the link page displays network traffic and the data quality of the training data corresponding to the joint learning task, such as data size, number of features, importance of features, and contribution of features to the model. Furthermore, when a task termination instruction sent by the task management page is received, the execution of the joint learning task is stopped. Thereby achieving control over the joint learning task.
[0067] In actual application, the above embodiment receives multiple requests for participating in joint learning; for each request for participating in joint learning, obtains the execution record of the joint learning task carried by the request for participating in joint learning, and determines the monitoring data of the joint learning task based on the execution record of the joint learning task; and displays the monitoring data of each joint learning task.
[0068] It can be seen from the above technical solution that the beneficial effect of this embodiment is: by obtaining the execution record during the execution of the joint learning task, the monitoring data of the joint learning task is displayed, and the joint learning monitoring is realized, so that users can participate in the joint learning process and ensure the user experience.
[0069] Figure 1 What is shown is only a basic embodiment of the method of the present invention. By performing certain optimization and expansion on this basis, other preferred embodiments of the method can be obtained.
[0070] like Figure 2 FIG. 1 is another specific embodiment of the joint learning monitoring method of the present invention. Based on the above embodiments, this embodiment is described in more detail in combination with the application scenario. The method specifically includes the following steps:
[0071] Step 201: Receive a request for participating in joint learning, and parse the request for participating in joint learning to obtain a parsing result.
[0072] The terminal device receives a request to participate in the joint learning sent by the joint server, that is, a request to participate in the joint learning.
[0073] Step 202: According to the analysis result, determine whether the request to participate in joint learning is a malicious request. If not, go to step 203.
[0074] Step 203: Determine authentication data of the request to participate in joint learning according to the analysis result.
[0075] Certification data includes estimated computing power usage, privacy-focused terms, risk-focused terms, and estimated network traffic.
[0076] Step 204a: Generate a user interaction page, display the authentication data on the user interaction page, and determine whether the request to participate in joint learning is authenticated based on the external operation information received from the user interaction page.
[0077] The task manager pops up a user interaction interface and displays the authentication data on the user interaction interface. The user clicks an accept button or a reject button on the user interaction interface to determine whether the request to participate in the joint learning is approved.
[0078] Step 204b: determine the authentication pass probability based on the obtained joint learning preference information and the authentication data, and determine whether the request to participate in the joint learning is authenticated based on the authentication pass probability.
[0079] The user enters data on the preference setting page to obtain the joint learning preference information. Based on the comparison between the joint learning preference information and the authentication data, the probability that the user prefers the authentication data is determined, that is, the probability of authentication passing. By comparing the authentication passing probability with the preset threshold, it is determined whether the request to participate in the joint learning is authenticated.
[0080] Step 205: When the authentication is passed, it is determined to join the joint learning control center. When joining the joint learning control center, the execution record of the joint learning task carried in the request for participating in the joint learning is obtained.
[0081] The federated learning engine receives the federated learning task carried by the federated learning request sent by the task manager, calls the relevant data in the database for federated learning, stores the updated model after completing the federated learning task, and sends the updated model to the task manager, which sends it to the federated server. At the same time, it records whether the federated learning task passes the request, the task start time, the data quality of the relevant data of the task, the computing power occupied, the task end time, and the amount of transmission data sent by the updated model to the federated server.
[0082] Step 206a1: Determine monitoring data of the joint learning task according to the execution record of the joint learning task and the data request of the joint learning task sent by the task management page.
[0083] The task management page is a page in the task manager.
[0084] Step 206a2: Display monitoring data of the joint learning task in the task management page.
[0085] The execution record includes the current execution record. The monitoring data includes the current computing power usage, current memory usage, current disk usage and current network traffic. The task management page is a real-time monitoring page.
[0086] The execution records include all historical execution records within the preset time period. The monitoring data includes the computing power usage, memory usage, disk usage, task execution time and network traffic within the preset time period. The task management page is the history record page.
[0087] Step 206b1, determining the monitoring data of the joint learning task according to the execution record of the joint learning task and the data request of the joint learning task sent by the sub-page, wherein the sub-page is a link page of the application icon corresponding to the joint learning task in the task management page.
[0088] Specifically, the application icon may be a thumbnail of the APP. Correspondingly, the task management page includes thumbnails of multiple APPs, so as to monitor the participation of multiple APPs in the joint learning.
[0089] Step 206b2: Display the monitoring data of the joint learning task on the link page.
[0090] The execution record includes the current execution record. The monitoring data includes the quantity and scale of the current training data corresponding to the joint learning task, the number of features, the importance of each feature, and the contribution of each feature to the model. The task management page is a real-time monitoring page.
[0091] The execution records include all historical execution records within the preset time period. The monitoring data includes the computing power usage, the amount of data transmitted, and the data quality of the training data within the preset time period corresponding to the joint learning task. The task management page is the history record page.
[0092] It can be seen from the above technical solutions that the beneficial effects of this embodiment are: by obtaining the execution records during the execution of the joint learning task, the monitoring data of the joint learning task is displayed, and the joint learning monitoring is realized, so that the user can participate in the joint learning process and manage the entire process of the joint learning; a user interaction interface is provided, so that the user can subjectively receive and terminate the request to participate in the joint learning; a user preference setting interface is provided, which can be set by the user to make decisions on the request to participate in the joint learning on behalf of the user; a task management page is provided to enable the user to understand the overall overview of the joint learning at present or in a set time period.
[0093] Based on the same concept as the embodiment of the method of the present invention, please refer to Figure 3 The embodiment of the present invention further provides a joint learning monitoring device 300, comprising:
[0094] A receiving module 301 is used to receive a request to participate in joint learning;
[0095] The parsing module 302 is used to parse the request to participate in the joint learning to obtain a parsing result;
[0096] A joining module 303, used for determining to join the joint learning control center according to the analysis result;
[0097] The recording module 304 is used to obtain the execution record of the joint learning task carried in the joint learning participation request when joining the joint learning control center;
[0098] A data determination module 305, configured to determine monitoring data of the joint learning task according to the execution record of the joint learning task;
[0099] The display module 306 is used to display the monitoring data of the joint learning task.
[0100] In one embodiment, the joining module 303 is used to determine whether the request to participate in the joint learning is authenticated according to the parsing result, and if the authentication is passed, determine to join the joint learning control center.
[0101] In one embodiment, the joining module 303 includes: a judgment unit and an authentication unit; wherein:
[0102] The judging unit is configured to determine authentication data of the request to participate in the joint learning when judging that the request to participate in the joint learning is not a malicious request;
[0103] The authentication unit is used to determine whether the request to participate in joint learning has passed the authentication according to the authentication data.
[0104] In one embodiment, the authentication unit is used to generate a user interaction page, display the authentication data on the user interaction page, and determine whether the request to participate in joint learning is authenticated based on the external operation information received from the user interaction page.
[0105] In one embodiment, the authentication unit is used to determine an authentication success probability based on the acquired joint learning preference information and the authentication data, and determine whether the request to participate in the joint learning is authenticated based on the authentication success probability.
[0106] In one embodiment, the authentication data includes any one or more of estimated computing power usage, privacy-focused terms, risk-focused terms, and estimated network traffic;
[0107] The joint learning preference information is determined based on input data in the preference setting page;
[0108] The user interaction page is provided with an accept button and a reject button;
[0109] The joint learning task is executed by a joint learning engine, and the joint learning engine calls the data in the database to perform joint learning according to the joint learning task to obtain an updated model.
[0110] In one embodiment, the monitoring data of the joint learning task corresponds to the data request of the joint learning task sent by the task management page;
[0111] The display module 304 includes: a first display unit; wherein,
[0112] The first display unit is used to display the monitoring data of the joint learning task in the task management page.
[0113] In one embodiment, the monitoring data of the joint learning task corresponds to a data request of the joint learning task sent by a sub-page, and the sub-page is a link page of an application icon corresponding to the joint learning task in the task management page;
[0114] The display module 304 includes: a second display unit; wherein,
[0115] The second display unit is used to display the monitoring data of the joint learning task on the link page.
[0116] In one embodiment, the execution record includes the current execution record, and the monitoring data includes any one of the current computing power usage, the current memory usage, the current disk usage, the current task execution time, the current network traffic, and the data quality of the current training data corresponding to the joint learning task.
[0117] In one embodiment, the execution record includes historical execution records within a preset time period, and the monitoring data includes any one of the computing power usage, memory usage, disk usage, task execution time, network traffic, transmission data volume and data quality of the training data corresponding to the joint learning task within the preset time period.
[0118] In one embodiment, it further includes: a termination module; wherein,
[0119] The termination module is used to stop executing the joint learning task when receiving a task termination instruction sent by the task management page.
[0120] Please refer to Figure 4The embodiment of the present invention also provides a joint learning monitoring system, including: a task requester 401 and a terminal device 402, the terminal device 402 includes an application 4021, a local database 4022 and a joint learning monitoring device 300; the task requester 401 sends a request to participate in joint learning to the application 4021, the application 4021 sends the request to participate in joint learning to the joint learning monitoring device 300, and the joint learning monitoring device 300 calls the local data in the local database 4022 for joint learning, wherein the local data includes the data input into the terminal device by the user and the data collected by the built-in sensor of the terminal device.
[0121] The joint learning monitoring device 300 includes a task management page, a user interaction page, and a preference setting page. The joint learning monitoring device 300 interacts with the task management page, the user interaction page, and the preference setting page to enable users to participate in joint learning. The task management page is used to display the monitoring data of all joint learning tasks, and the user interaction page is used to display the authentication data of the request to participate in the joint learning, so that the user can decide whether to participate in the joint learning task, wherein the authentication data includes the estimated computing power usage, privacy-focused clauses, risk-focused clauses, and estimated network traffic; the preference setting page is used to obtain the joint learning preference information input by the user, and based on the comparison between the joint learning preference information and the authentication data, it replaces the user's decision to determine whether to participate in the joint learning, thereby improving the intelligence of the authentication.
[0122] Figure 5 It is a schematic diagram of the structure of a terminal device 402 provided in an embodiment of the present invention. At the hardware level, the terminal device includes a processor 501 and a memory 502 storing execution instructions, and optionally also includes an internal bus 503 and a network interface 504. Among them, the memory 502 may include a memory 5021, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory 5022 (non-volatile memory), such as at least one disk storage, etc.; the processor 501, the network interface 504 and the memory 502 can be interconnected through an internal bus 503, and the internal bus 503 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc.; the internal bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5Only one bidirectional arrow is used in the diagram, but it does not mean that there is only one bus or one type of bus. Of course, the terminal device may also include hardware required for other services. When the processor 501 executes the execution instruction stored in the memory 502, the processor 501 executes the method in any embodiment of the present invention, and is at least used to execute the following steps: Figure 1 or Figure 2 The method shown.
[0123] In one possible implementation, the processor reads the corresponding execution instructions from the non-volatile memory into the memory and then runs them, and can also obtain the corresponding execution instructions from other devices to form a joint learning monitoring device at the logical level. The processor executes the execution instructions stored in the memory to implement a joint learning monitoring method provided in any embodiment of the present invention through the execution of the execution instructions.
[0124] The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0125] The embodiment of the present invention further provides a computer-readable storage medium, including an execution instruction. When a processor of a terminal device executes the execution instruction, the processor executes the method provided in any embodiment of the present invention. The terminal device may be specifically as follows: Figure 5 The terminal device shown; the execution instruction is a computer program corresponding to a joint learning monitoring device.
[0126] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods or computer program products. Therefore, the present invention may be implemented in the form of a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware.
[0127] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0128] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0129] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A joint learning monitoring method for a joint learning task that ensures user privacy data is protected through distributed training and encryption technology. It is characterized in that include: receiving a request for participating in joint learning, where the request for participating in joint learning is received by a terminal device or an application in the terminal device, and the request for participating in joint learning is an external request; Parsing the request to participate in joint learning to obtain a parsing result; According to the analysis result, determining whether the request to participate in the joint learning is authenticated, and if authenticated, determining to join the joint learning control center; When joining the joint learning control center, obtaining the execution record of the joint learning task carried in the joint learning participation request; Determining monitoring data of the joint learning task according to the execution record of the joint learning task; Display monitoring data of the joint learning task; The step of judging whether the request to participate in the joint learning is authenticated according to the parsing result includes: When it is determined that the request to participate in the joint learning is not a malicious request, determining authentication data of the request to participate in the joint learning; According to the authentication data, it is determined whether the request to participate in joint learning has passed the authentication.
2. The method according to claim 1, It is characterized in that The determining, according to the authentication data, whether the request to participate in the joint learning is authenticated includes: Generate a user interaction page, display the authentication data on the user interaction page, and determine whether the request to participate in joint learning is authenticated according to the external operation information sent by the user interaction page; or, The authentication pass probability is determined according to the obtained joint learning preference information and the authentication data, and whether the request to participate in the joint learning is authenticated is judged according to the authentication pass probability.
3. The method according to claim 2, It is characterized in that The authentication data includes any one or more of the estimated computing power usage, privacy-focused clauses, risk-focused clauses, and estimated network traffic; The joint learning preference information is determined based on input data in the preference setting page; The user interaction page is provided with an accept button and a reject button; The joint learning task is executed by a joint learning engine, and the joint learning engine calls local data to perform joint learning according to the joint learning task to obtain an updated model.
4. The method according to claim 1, It is characterized in that The monitoring data of the joint learning task corresponds to the data request of the joint learning task sent by the task management page, or the monitoring data of the joint learning task corresponds to the data request of the joint learning task sent by a sub-page, and the sub-page is a link page of the application icon corresponding to the joint learning task in the task management page; The monitoring data displaying the joint learning task includes: The monitoring data of the joint learning task is displayed in the task management page, or the monitoring data of the joint learning task is displayed on the link page.
5. The method according to claim 4, It is characterized in that The execution record includes the current execution record, and the monitoring data includes any one or more of the current computing power usage, the current memory usage, the current disk usage, the current task execution time, the current network traffic, and the data quality of the current training data corresponding to the joint learning task; Alternatively, the execution record includes historical execution records within a preset time period, and the monitoring data includes any one or more of the computing power usage, memory usage, disk usage, task execution time, network traffic, transmission data volume, and data quality of the training data corresponding to the joint learning task within the preset time period.
6. The method according to claim 4, It is characterized in that Also includes: When a task termination instruction sent by the task management page is received, execution of the joint learning task is stopped.
7. A joint learning monitoring device, used in a joint learning task that ensures user privacy data is protected through distributed training and encryption technology, It is characterized in that include: A receiving module, used for receiving a request for participating in joint learning, where the request for participating in joint learning is received by a terminal device or an application in the terminal device, and the request for participating in joint learning is an external request; A parsing module, used for parsing the request for participating in joint learning to obtain a parsing result; A joining module, used to determine whether the request to participate in the joint learning is authenticated according to the analysis result, and when the authentication is passed, determine to join the joint learning control center; A recording module, used for obtaining the execution record of the joint learning task carried in the joint learning participation request when joining the joint learning control center; A data determination module, used to determine the monitoring data of the joint learning task according to the execution record of the joint learning task; A display module, used to display the monitoring data of the joint learning task; The joining module includes: a judgment unit and an authentication unit; The judging unit is used to: when judging that the request to participate in the joint learning is not a malicious request, determine the authentication data of the request to participate in the joint learning; The authentication unit is used to determine whether the request to participate in joint learning has passed the authentication according to the authentication data.
8. A computer-readable storage medium, comprising an execution instruction. When a processor of a terminal device executes the execution instruction, the processor executes the method according to any one of claims 1 to 6.
