Method, device and equipment for determining federal role characteristics, and storage medium

By constructing a federated role feature loss model and a deflection factor model, the data security problem of target object role features is solved, and accurate characterization and role analysis are achieved under data security conditions.

CN117407889BActive Publication Date: 2026-11-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210799732.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-06
Publication Date
2026-11-27
Estimated Expiration
2042-07-06

AI Technical Summary

Technical Problem

Existing technologies have low data security regarding the target object's role characteristics, making it easy to leak private data and leading to privacy and property security issues.

Method used

A federation role feature loss model is constructed. The module feature data is deflected through loss processing and a deflection factor model. The object role features and module feature data are combined to form federation role features.

Benefits of technology

It enables accurate characterization of target objects under data security conditions, avoids privacy data leakage, and ensures the accuracy of character analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117407889B_ABST
    Figure CN117407889B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and device for determining a federal role feature, an equipment and a storage medium, at least applied to the field of artificial intelligence and the field of data security, wherein the method comprises: constructing a federal role feature loss model based on an object role feature of each target object and module feature data under at least one service type module; performing loss processing on the federal role feature loss model to obtain a deflection factor model of a target object set; performing deflection processing on the module feature data under each service type module based on the deflection factor model to obtain deflected feature data; and performing data association processing on the object role feature of each target object and the deflected feature data under each service type module to obtain a federal role feature of each target object in the target object set. Through the present application, a federal role feature based on a data security condition can be constructed, and the data security problem in the target object role feature can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and includes, but is not limited to, a method, apparatus, device, and storage medium for determining federal role characteristics. Background Technology

[0002] Currently, target object role characteristics are widely used in various fields as an effective tool for outlining target objects and connecting their needs with design directions. In practice, they are often linked to the target object's attributes, behaviors, and expected data using the simplest and most relatable language. However, target object role characteristics in related technologies typically associate data with common identifying fields in each module using object IDs, resulting in poor data privacy and a high risk of leaking the target object's private data, significantly impacting their privacy and property security. Therefore, target object role characteristics in related technologies suffer from low security in further applications (such as in target object role analysis). Summary of the Invention

[0003] This application provides a method, apparatus, device, and storage medium for determining federal role characteristics, which are applied to at least the fields of artificial intelligence, data security, and vehicle scenarios. It can construct federal role characteristics based on data security conditions, solve data security problems in the role characteristics of target objects, and achieve more accurate characterization of target object roles by acquiring data from other service type modules.

[0004] The technical solution of this application embodiment is implemented as follows:

[0005] This application provides a method for determining federal role characteristics, the method comprising:

[0006] Based on the object role characteristics of each target object in the target object set and the module feature data of each target object under at least one service type module, a federated role feature loss model is constructed.

[0007] The loss model of the federal role feature is processed to obtain the deflection factor model corresponding to the target object set;

[0008] Based on the deflection factor model of the target object set, the module feature data under each service type module is deflected to obtain the deflection feature data under the corresponding service type module.

[0009] Data association processing is performed on the object role characteristics of each target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

[0010] This application provides an apparatus for determining federal role characteristics, the apparatus comprising:

[0011] The loss model construction module is used to construct a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one service type module; the loss processing module is used to perform loss processing on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set; the deflection processing module is used to perform deflection processing on the module feature data under each service type module based on the deflection factor model of the target object set to obtain deflection feature data under the corresponding service type module; the data association module is used to perform data association processing on the object role features of each target object and the deflection feature data under each service type module to obtain the federated role features of each target object in the target object set.

[0012] In some embodiments, the loss model construction module is further configured to: collect object data of each target object in the target object set within a preset historical time period, and interaction data of each target object within at least one service type module within the preset historical time period; extract role features from the object data to obtain object role features of each target object; extract data features from the interaction data to obtain module feature data of the target object under each service type module; and construct a federated role feature loss model based on the object role features of each target object and the module feature data of each target object.

[0013] In some embodiments, the loss model construction module is further configured to: perform homomorphic encryption processing on the object role features of each target object and the module feature data of each target object respectively to obtain encrypted object role features and encrypted module feature data; and perform data association processing and data transformation processing on the encrypted object role features and the encrypted module feature data in sequence to obtain the loss function of the federated role feature loss model.

[0014] In some embodiments, the object role features include the real role feature matrix of the target object and the target object role feature matrix; the encrypted object role features include the encrypted real role feature matrix and the encrypted target object role feature matrix; the loss model construction module is further configured to: perform data association processing on the encrypted target object role feature matrix and the encrypted module feature data to obtain an association feature matrix; determine the difference between the encrypted real role feature matrix and the association feature matrix; and determine the difference as the data association result after the data association processing; wherein, the data transformation processing is performing data transformation processing on the data association result.

[0015] In some embodiments, the loss model construction module is further configured to: determine the number of modules of the service type module; construct a data transformation matrix based on the number of modules; transpose the data transformation matrix to obtain a transposed matrix; perform matrix multiplication on the data association result, the data transformation matrix, and the transposed matrix to obtain a matrix multiplication result; and determine the loss function of the federated role feature loss model based on the matrix multiplication result.

[0016] In some embodiments, the loss processing module is further configured to: obtain the loss function of the federal role feature loss model; perform loss minimization calculation on the loss function to obtain a deflection factor model corresponding to the target object set.

[0017] In some embodiments, the deflection processing module is further configured to: input the object role features of each target object and the module feature data of each target object into the deflection factor model to obtain the deflection factor sequence corresponding to each service type module; and perform deflection processing on the module feature data under the corresponding service type module based on the deflection factor sequence corresponding to each service type module to obtain the deflection feature data under each service type module.

[0018] In some embodiments, the deflection processing module is further configured to: multiply the deflection factor sequence corresponding to each service type module with the module feature data under the corresponding service type module to obtain the product feature data corresponding to each service type module; and determine the product feature data corresponding to each service type module as the deflection feature data under the corresponding service type module.

[0019] In some embodiments, each target object in the target object set corresponds to an object identifier; for any target object, the object role characteristics of the target object and the deflection feature data under each service type module share the object identifier of the target object; the data association module is further configured to: obtain the object role characteristics of the same target object and the deflection feature data under each service type module based on the object identifier; perform data association processing on the object role characteristics of the same target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

[0020] In some embodiments, the service type module is a travel service type module; the module feature data under the service type module includes at least one of the following: chauffeur module feature data, ride-hailing module feature data, and car rental module feature data.

[0021] This application provides a device for determining federal role characteristics, including:

[0022] The memory is used to store executable instructions; the processor is used to implement the method for determining the aforementioned federation role characteristics when executing the executable instructions stored in the memory.

[0023] This application provides a computer program product or computer program, which includes executable instructions stored in a computer-readable storage medium; wherein, when the processor of the device for determining federal role characteristics reads the executable instructions from the computer-readable storage medium and executes the executable instructions, it implements the aforementioned method for determining federal role characteristics.

[0024] This application provides a computer-readable storage medium storing executable instructions for determining the aforementioned federal role characteristics when a processor executes the executable instructions.

[0025] The embodiments of this application have the following beneficial effects: First, based on the object role characteristics of each target object in the target object set and the module feature data of each target object under at least one type of service module, a federated role feature loss model is constructed; and loss processing is performed on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set; then, based on the deflection factor model of the target object set, the module feature data under each service type module is deflected to obtain the deflection feature data under the corresponding service type module; and data association processing is performed on the object role characteristics of each target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set. Thus, because the module feature data is deflected based on the deflection factor model, it is possible to construct federated role features under data security conditions, solve data security issues in the target object's role features, and prevent the leakage of the target object's privacy data. In addition, since module feature data under other service type modules are also obtained when constructing federated role features, that is, the federated role features of the target object are constructed based on multiple aspects of the target object's data, it is possible to achieve a more accurate characterization of the target object's role features. Based on these federated role features, the role features of the target object can be accurately characterized, and thus, when performing role analysis on the target object based on the federated role features, accurate role analysis of the target object can be performed. Attached Figure Description

[0026] Figure 1 This is an optional architecture diagram of the federal role characteristic determination system provided in the embodiments of this application;

[0027] Figure 2 This is a schematic diagram of the structure of the device for determining federal role characteristics provided in an embodiment of this application;

[0028] Figure 3 This is an optional flowchart illustrating a method for determining federal role characteristics provided in an embodiment of this application;

[0029] Figure 4 This is another optional flowchart illustrating the method for determining federal role characteristics provided in the embodiments of this application;

[0030] Figure 5 This is another optional flowchart illustrating the method for determining federal role characteristics provided in the embodiments of this application;

[0031] Figure 6 This is a technical flowchart of the method for determining federal role characteristics provided in the embodiments of this application. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0033] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of this application pertain. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit the application.

[0034] Before describing the solutions of the embodiments of this application, the terms involved in the embodiments of this application will be explained first:

[0035] (1) Role characteristics: refers to the labeled target object model abstracted based on the target object's basic attributes, target object preferences, target object behavior and other information.

[0036] (2) Federated role characteristics: also known as federated profiling, is a method that combines the detailed data of target objects in other modules with the detailed data of target objects in the current module to generate new role characteristic data under the condition that data cannot be interacted with each other. This more comprehensively portrays the characteristics of target objects in various dimensions. Federated role characteristics have the characteristics of data security and privacy protection.

[0037] (3) Federated learning: combines distributed machine learning, cryptography, financial rule-based incentive mechanisms and game theory to solve the problem of using decentralized data.

[0038] (4) Privacy-preserving computation: Computation methods such as data computation, statistical analysis, and algorithm training are performed using joint technical mechanisms between the data owners without data interaction between them.

[0039] Before explaining the method for determining the federal role characteristics in the embodiments of this application, the methods in related technologies will be described first.

[0040] As an effective tool for outlining target objects and connecting their needs with design direction, target object role characteristics have been widely used in various fields. In related technologies, constructing target object role characteristics typically involves collecting users' offline activity data; calculating the similarity between different users based on this data; updating user role characteristics; and updating the role characteristics of inactive users using user data from users with high similarity. This approach involves collecting offline activity data from different users and calculating the similarity between them. Furthermore, when updating user role characteristics, users with insufficient data (i.e., inactive users) are replaced with data from users with high similarity, ensuring that the role characteristics of users with insufficient data are updated promptly. This allows the role characteristics of inactive users to better reflect their actual characteristics.

[0041] While related technologies calculate user feature similarity and correlation, and replace insufficient user data with data from highly similar users to update the role characteristics of users with inadequate data, thus ensuring that the role characteristics of low-activity users better reflect their actual characteristics, these technologies also compromise the information security and privacy of other users by using detailed feature data from highly similar users as the user's own features. This could lead to significant data leaks.

[0042] To address the problems existing in related technologies, this application provides a method for determining federated role characteristics. This method employs a horizontal federated linking approach to construct federated role characteristics, resolving data security issues in the target object's role characteristics and acquiring data from other service type modules, thereby more accurately characterizing the target object's role characteristics. Furthermore, this method proposes federated links through federated learning, effectively connecting and associating data from various service type modules while ensuring data security.

[0043] The method for determining federated role features provided in this application firstly constructs a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one type of service module. Then, loss processing is performed on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set. Based on the deflection factor model of the target object set, deflection processing is performed on the module feature data under each service type module to obtain deflection feature data under the corresponding service type module. Finally, data association processing is performed on the object role features of each target object and the deflection feature data under each service type module to obtain the federated role features of each target object in the target object set. Thus, on the one hand, since the module feature data is deflected based on the deflection factor model, it is possible to construct federated role features under data security conditions, solve the data security problem in the role features of the target object, and avoid the leakage of the target object's privacy data. On the other hand, since module feature data under other service type modules are also obtained when constructing federated role features, that is, the federated role features of the target object are constructed based on multiple aspects of the target object's data, it is possible to achieve a more accurate characterization of the target object's role features. Based on these federated role features, the role features of the target object can be accurately characterized, so when performing role analysis on the target object based on the federated role features, accurate role analysis of the target object can be performed.

[0044] The following describes exemplary applications of the device for determining federated role characteristics according to embodiments of this application. The device for determining federated role characteristics provided in this application can be implemented as a terminal or a server. In one implementation, the device for determining federated role characteristics provided in this application can be implemented as any terminal capable of running user interaction applications and collecting user interaction data, such as a laptop, tablet, desktop computer, mobile device (e.g., mobile phone, portable music player, personal digital assistant, dedicated messaging device, portable gaming device), smart robot, smart home appliance, and smart vehicle device. In another implementation, the device for determining federated role characteristics provided in this application can also be implemented as a server. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application embodiment. The following will illustrate an exemplary application when the device for determining the federal role characteristics is implemented as a server.

[0045] See Figure 1 , Figure 1 This is an optional architecture diagram of the federal role feature determination system provided in this application embodiment. This application embodiment uses the application of the federal role feature determination method to any information recommendation application as an example for illustration. To support any information recommendation application, at least one information recommendation application is installed on the terminal of this application embodiment. The target object can perform interactive operations on the client interface of the information recommendation application to generate interactive data. The terminal collects the object data and interactive data of the target object within a preset historical time period, and generates the object role feature of the target object based on the object data, and generates the module feature data of the target object under at least one type of service module based on the interactive data.

[0046] The data processing system 10 includes at least multiple terminals 100, a network 200, and a server 300, wherein the server 300 may be a server for an information recommendation application. The server 300 may constitute a device for determining federated role characteristics according to embodiments of this application. Alternatively, the server 300 may be a third-party server independent of the information recommendation application. This third-party server is used to determine the federated role characteristics of each target object in the target object set, and the server of the information recommendation application can perform information recommendations based on the federated role characteristics determined by the third-party server. Terminals 100 are connected to the server 300 via the network 200, which may be a wide area network (WAN), a local area network (LAN), or a combination of both.

[0047] Because when the server of an information recommendation application characterizes the role features of target objects and makes accurate information recommendations based on these character features, inaccurate recommendations may occur if the information recommendation is based solely on the object role features of the target objects. Furthermore, since the server of the information recommendation application collects the object role features of all target objects under the information recommendation application, there is a risk of privacy data leakage for the target objects. Therefore, the method for determining federated role features according to the embodiments of this application can be adopted. Terminal 100 determines the object role features of the target objects and the module feature data of each target object under at least one service type module. Terminal 100 then sends the object role features of the target objects and the module feature data of each target object under at least one service type module to the server 300 of the information recommendation application via network 200. Server 300 first constructs a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one service type module. Then, it performs loss processing on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set. Based on the deflection factor model of the target object set, it performs deflection processing on the module feature data under each service type module to obtain the deflection feature data under the corresponding service type module. Finally, it performs data association processing on the object role features of each target object and the deflection feature data under each service type module to obtain the federated role features of each target object in the target object set. When server 300 is the server of the information recommendation application, after determining the federated role characteristics of each target object, server 300 recommends information to the target object based on the federated role characteristics of each target object, determines the information to be recommended, and sends the information to be recommended to the terminal corresponding to the target object; or, when server 300 is a third-party server independent of the server of the information recommendation application, after determining the federated role characteristics of each target object, server 300 can send the federated role characteristics of the target object to the server of the information recommendation application, so that the server of the information recommendation application can recommend information to the target object based on the federated role characteristics of the target object.

[0048] In some embodiments, the method for determining federated role characteristics can also be implemented by the terminal 100. That is, the terminal, as the executing entity, constructs a federated role characteristic loss model based on the object role characteristics of each target object in the target object set and the module characteristic data of each target object under at least one type of service module; performs loss processing on the federated role characteristic loss model to obtain a deflection factor model corresponding to the target object set; and, based on the deflection factor model of the target object set, performs deflection processing on the module characteristic data under each service type module to obtain deflection characteristic data under the corresponding service type module; and performs data association processing on the object role characteristics of each target object and the deflection characteristic data under each service type module to obtain the federated role characteristics of each target object in the target object set.

[0049] The method for determining federated role characteristics provided in this application embodiment can also be implemented based on a cloud platform and through cloud technology. For example, the aforementioned server 300 can be a cloud server. The method can involve constructing a federated role characteristic loss model using the cloud server, performing loss processing on the federated role characteristic loss model using the cloud server, performing bias processing on the module characteristic data under each service type module using the cloud server, or performing data association processing on the object role characteristics of each target object and the bias characteristic data under each service type module using the cloud server.

[0050] In some embodiments, a cloud storage system may also be included, which can store the object role characteristics of each target object, the module characteristics of each target object under at least one type of service module, or information such as the deflection factor model of the target object set, or the federated role characteristics of each target object. In this way, when making information recommendations, the federated role characteristics of each target object can be directly retrieved from the cloud storage, thereby achieving accurate and efficient information recommendations for target objects.

[0051] It's important to clarify that cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied in the cloud computing business model. It can form resource pools, providing flexible and convenient on-demand access. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing.

[0052] Figure 2 This is a schematic diagram of the structure of the device for determining federal role characteristics provided in an embodiment of this application. Figure 2 The device for determining federation role characteristics, as shown, includes at least one processor 310, memory 350, at least one network interface 320, and user interface 330. The various components in the device for determining federation role characteristics are coupled together via a bus system 340. It is understood that the bus system 340 is used to implement communication between these components. In addition to a data bus, the bus system 340 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 2 The general labeled all buses as Bus System 340.

[0053] The processor 310 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0054] User interface 330 includes one or more output devices 331 and one or more input devices 332 that enable the presentation of media content.

[0055] Memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Memory 350 may optionally include one or more storage devices physically located remote from processor 310. Memory 350 may include volatile memory or non-volatile memory, or both. Non-volatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). The memory 350 described in this application embodiment is intended to include any suitable type of memory. In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as illustrated below.

[0056] Operating system 351 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0057] The network communication module 352 is used to reach other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0058] The input processing module 353 is used to detect and translate one or more user inputs or interactions from one or more input devices 332.

[0059] In some embodiments, the apparatus provided in this application may be implemented in software. Figure 2 A device 354 for determining federated role characteristics, stored in memory 350, is shown. This device 354 can be a component of a federated role characteristic determination device, and can be software in the form of programs or plug-ins, including the following software modules: a loss model construction module 3541, a loss processing module 3542, a deflection processing module 3543, and a data association module 3544. These modules are logically connected and can therefore be arbitrarily combined or further split according to their implemented functions. The functions of each module will be described below.

[0060] In other embodiments, the apparatus provided in this application can be implemented in hardware. As an example, the apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the method for determining the federation role characteristics provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0061] The methods for determining federal role characteristics provided in the embodiments of this application can be executed by a device for determining federal role characteristics. The device for determining federal role characteristics can be any terminal capable of running user interaction applications and collecting user interaction data, or it can be a server. That is, the methods for determining federal role characteristics in the embodiments of this application can be executed by a terminal, by a server, or by an interaction between a terminal and a server.

[0062] See Figure 3 , Figure 3 This is an optional flowchart illustrating a method for determining federal role characteristics provided in an embodiment of this application. The following will combine... Figure 3 The steps shown will be explained. It should be noted that... Figure 3 The method for determining the characteristics of the federation role in the example is to use the server as the execution subject.

[0063] Step S301: Based on the object role characteristics of each target object in the target object set and the module feature data of each target object under at least one type of service module, construct a federated role feature loss model.

[0064] The method for determining federal role characteristics in this application can be applied to any federal role characteristic determination application. The federal role characteristic determination application may have multiple target objects, that is, multiple users may be registered in the federal role characteristic determination application. Each target object has its own object role characteristics and module characteristic data under at least one type of service module.

[0065] Here, object role characteristics refer to information used to reflect the interaction and usage characteristics of a target object. In this embodiment, the object role characteristics of the target object can be obtained based on the target object's static data. Static data refers to attribute information stored or filled in by the target object in any information recommendation application or federated role characteristic determination application, including but not limited to at least one of the following: identity information, preference information, areas of expertise, and other information that can characterize the static attributes of the target object. In this embodiment, user static data can be obtained, and the static data can be extracted and analyzed to obtain the target object's object role characteristics.

[0066] In some embodiments, object data of the target object within a preset historical time period can be collected, and role features can be extracted from the object data to obtain the object role features of the target object. Here, the object data can be any type of data corresponding to the object identifier of the target object. After the object data is collected, the object data is filtered to select specific types of data that can reflect the role features of the target object, and role features are extracted from these data that can reflect the role features of the target object to obtain the object role features of the target object.

[0067] Service type modules can be functional modules in any information recommendation application. They can acquire interaction and operation data of the target user within a preset historical time period while using the information recommendation application, and statistically analyze this data to obtain module characteristic data of the target user under each service type module. For example, when the information recommendation application is an in-vehicle application, the service type modules can be functional modules such as chauffeur service, ride-hailing, car rental, and discounted fuel.

[0068] In this embodiment, interaction data of the target object in each functional module within a preset historical time period can be obtained. Then, statistical data is obtained by analyzing the interaction data, and feature extraction is performed on the statistical data to obtain module feature data of the target object under each service type module. For example, user interaction data in the ride-hailing module within the past month can be obtained, including but not limited to: ride-hailing time, ride-hailing origin, ride-hailing destination, ride-hailing duration, ride-hailing payment status, ride-hailing type, and number of rides. Ride-hailing statistical data under the ride-hailing module can be obtained, and then feature extraction is performed on the ride-hailing statistical data to obtain the user's module feature data under the ride-hailing module.

[0069] In some embodiments, a federated role feature loss model can be constructed based on the object role characteristics of each target object in the target object set and the module feature data of each target object under at least one service type module. It should be noted that a separate federated role feature loss model can be constructed for each target object. The federated role feature loss model includes a loss function; by calculating the loss using this loss function, the bias factor for each service type module of the target object can be obtained. The construction process of the federated role feature loss model will be described in detail below.

[0070] Step S302: Perform loss processing on the federal role feature loss model to obtain the deflection factor model corresponding to the target object set.

[0071] Here, loss processing refers to calculating the loss function in the Federation Role Feature Loss Model. This loss calculation can be a loss minimization calculation, that is, minimizing the loss function to obtain the deflection factor model corresponding to the target object set.

[0072] The deflection factor model is a function that reflects the degree of deflection of different target objects and target objects under different service type modules. By substituting the object role characteristics and module characteristics of the target object into the deflection factor model, the deflection factor sequence of the target object under each service type module can be calculated.

[0073] Step S303: Based on the deflection factor model of the target object set, the module feature data under each service type module is deflected to obtain the deflection feature data under the corresponding service type module.

[0074] Here, deflection processing refers to homomorphic encryption processing. By deflecting the module feature data under each service type module through the deflection factor model, the module feature data under each service type module can be encrypted, thereby ensuring that even if the deflected feature data is leaked, the privacy data of the target object will not be leaked.

[0075] In some embodiments, when performing deflection processing, the deflection factor sequence of each target object can be used to perform weighted calculation on the corresponding module feature data, that is, to calculate the product of the deflection factor sequence and the module feature data to obtain the deflection feature data under the corresponding service type module.

[0076] Step S304: Perform data association processing on the object role characteristics of each target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

[0077] Here, data association processing refers to associating the object role characteristics and deviation characteristics of the same target object. In the process of implementation, based on the object identifier of each target object, the object role characteristics and deviation characteristics with the same object identifier can be identified as the characteristic data of the same target object, and then all the characteristic data of each target object can be associated.

[0078] In some embodiments, when performing data association, all feature data can be concatenated to obtain feature data with a higher dimension. For example, if all feature data of any target object U1 includes object role features and deflection feature data, where the dimension corresponding to the object role features is m and the dimension corresponding to the deflection feature data is n, then after associating the object role features and deflection feature data of target object U1, an m+n dimensional feature vector is obtained. This m+n dimensional feature vector is the federation role feature of target object U1.

[0079] The method for determining federated role features provided in this application first constructs a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one type of service module; then performs loss processing on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set; then, based on the deflection factor model of the target object set, performs deflection processing on the module feature data under each service type module to obtain the deflection feature data under the corresponding service type module; and finally, performs data association processing on the object role features of each target object and the deflection feature data under each service type module to obtain the federated role features of each target object in the target object set. Thus, because the module feature data is deflected based on the deflection factor model, it is possible to construct federated role features under data security conditions, solve data security issues in the target object's role features, and prevent the leakage of the target object's privacy data. In addition, since module feature data under other service type modules are also obtained when constructing federated role features, that is, the federated role features of the target object are constructed based on multiple aspects of the target object's data, it is possible to achieve a more accurate characterization of the target object's role features. Based on these federated role features, the role features of the target object can be accurately characterized, and thus, when performing role analysis on the target object based on the federated role features, accurate role analysis of the target object can be performed.

[0080] In some embodiments, the system for determining federated role characteristics includes at least a terminal and a server. The terminal runs a federated role characteristic determination application, which determines the federated role characteristics of a target object. The terminal corresponds to a target object in a set of target objects. The server constitutes the server for the federated role characteristic determination application.

[0081] Figure 4 This is another optional flowchart illustrating the method for determining federal role characteristics provided in the embodiments of this application, such as... Figure 4 As shown, the method includes the following steps:

[0082] Step S401: The terminal collects object data of the target object within a preset historical time period and interaction data of the target object under at least one service type module within the preset historical time period.

[0083] Here, the object data of the target object can be static data entered by the target object when running the Federation Role Characteristic Determination Application. The static data includes, but is not limited to, the registration information entered by the target object when registering on the Federation Role Characteristic Determination Application, as well as other static data entered by the target object during the use of the Federation Role Characteristic Determination Application.

[0084] Interactive data can be data generated by the target object during the process of using other information recommendation applications on the terminal. Interactive data corresponds to at least one interactive operation, including but not limited to: selection operation, click operation, browsing operation, purchase operation, sharing operation, comment operation, and like operation.

[0085] In step S402, the terminal extracts role features from the object data to obtain the object role features of the target object.

[0086] Here, the object data can be encoded using an encoder to obtain the object role characteristics of the target object.

[0087] In step S403, the terminal extracts data features from the interactive data to obtain the module feature data of the target object under each service type module.

[0088] Here, the interaction data can be classified based on the correspondence between each interaction data and the service type module to obtain the interaction dataset corresponding to each service type module. Then, for the interaction dataset of each service type module, the interaction data in the interaction dataset is encoded by an encoder to obtain the module feature data of the target object under each service type module.

[0089] In some embodiments, steps S402 and S403 can also be performed by the server. That is, after the terminal collects the object data and interaction data, it can send the object data and interaction data to the server. The server extracts role features from the object data to obtain the object role features of each target object in the target object set. The server also extracts data features from the interaction data to obtain the module feature data of the target object under each service type module.

[0090] In step S404, the terminal sends the object role characteristics of the target object and the module characteristic data of the target object under each service type module to the server.

[0091] In step S405, the server performs homomorphic encryption on the object role characteristics and module characteristics data of the target object, respectively, to obtain the encrypted object role characteristics and encrypted module characteristics data.

[0092] Here, homomorphic encryption is a cryptographic technique based on the computational complexity theory of mathematical problems. Processing homomorphically encrypted data yields an output, which is then decrypted. The decryption result is the same as the output obtained by processing the unencrypted original data using the same method. Homomorphic encryption can be implemented using a homomorphic encryption function. Homomorphic encryption performs ring-based addition and multiplication operations on the plaintext before encryption, which is equivalent to performing the corresponding operations on the encrypted ciphertext, resulting in the same outcome. This application does not limit the function form of the homomorphic encryption function in its embodiments.

[0093] In this embodiment of the application, when homomorphic encryption is performed on the object role characteristics and module characteristics data of the target object, the homomorphic encryption functions used may be the same or different.

[0094] In step S406, the server sequentially performs data association processing and data transformation processing on the encrypted object role features and encrypted module feature data to obtain the loss function of the federated role feature loss model.

[0095] In some embodiments, the object role characteristics include the target object's real role characteristic matrix and the target object's role characteristic matrix. The real role characteristic matrix is ​​a pre-determined role characteristic matrix of the target object, used to reflect the target object's real characteristics. The target object's role characteristic matrix is ​​the target object's role characteristic matrix under any service type module, used to reflect the target object's characteristics under that service type module.

[0096] The encrypted object role features include an encrypted real role feature matrix and an encrypted target object role feature matrix. Data association processing of the encrypted object role features and encrypted module feature data can be achieved through the following steps S4061 to S4063 (not shown in the figure):

[0097] Step S4061: Perform data association processing on the encrypted target object role feature matrix and the encrypted module feature data to obtain the association feature matrix.

[0098] Here, data association processing is performed on the encrypted target object role feature matrix and the encrypted module feature data. This can be achieved by concatenating the encrypted target object role feature matrix and the encrypted module feature data to obtain the associated feature matrix.

[0099] Step S4062: Determine the difference between the encrypted real character feature matrix and the associated feature matrix.

[0100] Step S4063: Determine the difference as the data association result after data association processing; wherein, data transformation processing is to perform data transformation processing on the data association result.

[0101] The data transformation process is described below. In this embodiment, the data transformation process can be implemented through the following steps S4064 to S4068 (not shown in the figure):

[0102] Step S4064: Determine the number of modules for the service type modules.

[0103] For example, when the information recommendation application is an in-vehicle application, the service type modules can be functional modules such as chauffeur service, ride-hailing, car rental, and discounted fuel. Therefore, in the current scenario, considering only the data where the service type modules are chauffeur service, ride-hailing, and car rental, the number of service type modules is 3.

[0104] Step S4065: Construct a data transformation matrix based on the number of modules.

[0105] Here, the dimension of the data transformation matrix can be determined based on the number of modules. After determining the dimension of the data transformation matrix, each element of the data transformation matrix is ​​set to 1 to obtain the complete data transformation matrix.

[0106] Step S4066: Transpose the data transformation matrix to obtain the transpose matrix.

[0107] Step S4067: Perform matrix dot product operation on the data association result, data transformation matrix and transpose matrix to obtain the matrix dot product result.

[0108] Step S4068: Based on the matrix dot product result, determine the loss function of the federal role feature loss model.

[0109] Here, after calculating the matrix dot product result, the deflection factor sequence can be used as the model parameter of the federated role feature loss model. The loss function is constructed by combining the matrix dot product result and the deflection factor sequence, thus obtaining the federated role feature loss model containing the loss function.

[0110] In step S407, the server performs loss processing on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set.

[0111] In step S408, the server performs deflection processing on the module feature data under each service type module based on the deflection factor model of the target object set, and obtains the deflection feature data under the corresponding service type module.

[0112] In step S409, the server performs data association processing on the object role characteristics of the target object and the deflection characteristic data under each service type module to obtain the federated role characteristics of the target object.

[0113] It should be noted that steps S407 to S409 are the same as steps S302 to S304 described above, and will not be repeated in this embodiment.

[0114] In step S410, the server sends the federal role characteristics of the target object to the terminal.

[0115] Step S411: The terminal determines the information to be recommended for the target object based on the characteristics of the federal role.

[0116] Step S412: The terminal displays the recommended information on the current interface.

[0117] The method for determining federated role characteristics provided in this application embodiment performs homomorphic encryption on the target object's object role characteristics and module characteristic data respectively. This ensures that even if the encrypted object role characteristics and module characteristic data are leaked, there is no risk of leakage of the target object's object role characteristics and module characteristic data. Furthermore, because homomorphic encryption is performed on the target object's object role characteristics and module characteristic data separately, the original object role characteristics and module characteristic data can still be obtained after decryption, preventing data loss. Thus, the federated role characteristic loss model determined based on the encrypted object role characteristics and module characteristic data not only accurately reflects the target object's role characteristics but also avoids data leakage, resulting in secure and accurate federated role characteristics that accurately reflect the target object's role characteristics.

[0118] In some embodiments, the system for determining federated role characteristics includes at least a terminal, a server for an information recommendation application (hereinafter referred to as a client server), and a third-party server. The third-party server is used to determine the federated role characteristics of the target object, and the client server is used to recommend information to the terminal based on the federated role characteristics determined by the third-party server.

[0119] Figure 5 This is another optional flowchart illustrating the method for determining federal role characteristics provided in the embodiments of this application, such as... Figure 5 As shown, the method includes the following steps:

[0120] Step S501: The terminal collects object data of the target object within a preset historical time period and interaction data of the target object under at least one service type module within the preset historical time period.

[0121] In some embodiments, the service type module can be a travel service type module; the module feature data under the service type module includes at least one of the following: chauffeur module feature data, ride-hailing module feature data, and car rental module feature data.

[0122] In step S502, the terminal extracts role features from the object data to obtain the object role features of the target object.

[0123] In step S503, the terminal extracts data features from the interactive data to obtain the module feature data of the target object under each service type module.

[0124] In some embodiments, steps S502 and S503 can also be performed by a third-party server. That is, after the terminal collects object data and interaction data, it can send the object data and interaction data to the third-party server. The third-party server extracts role features from the object data to obtain the object role features of each target object in the target object set. The third-party server also extracts data features from the interaction data to obtain the module feature data of the target object under each service type module.

[0125] In step S504, the terminal sends the object role characteristics of the target object and the module characteristic data of the target object under each service type module to the third-party server.

[0126] Step S505: The third-party server constructs a federated role feature loss model based on the object role characteristics of the target object and the module feature data of the target object under at least one type of service module. The federated role feature loss model includes a loss function.

[0127] In step S506, the third-party server performs a minimum loss calculation on the loss function to obtain a deflection factor model corresponding to the target object set.

[0128] Here, loss minimization calculation refers to minimizing the loss function to obtain the deflection factor model corresponding to the target object set.

[0129] The deflection factor model is a function that reflects the degree of deflection of different target objects and target objects under different service type modules. By substituting the object role characteristics and module characteristics of the target object into the deflection factor model, the deflection factor sequence of the target object under each service type module can be calculated.

[0130] In step S507, the third-party server inputs the object role characteristics and module characteristics data of the target object into the deflection factor model to obtain the deflection factor sequence corresponding to each service type module.

[0131] Each target object has multiple deflection factor sequences, and each deflection factor sequence corresponds to a service type module of the target object. The deflection factor sequence is used to perform deflection operations on the module feature data under the corresponding service type module, so as to change the value of the module feature data and realize the function of encrypting the module feature data.

[0132] In this embodiment, the deflection factor sequence is a vector with a certain dimension.

[0133] In step S508, the third-party server performs deflection processing on the module feature data under the corresponding service type module based on the deflection factor sequence corresponding to each service type module, and obtains the deflection feature data under each service type module.

[0134] In some embodiments, the deflection process can be implemented in the following ways:

[0135] First, the deflection factor sequence corresponding to each service type module is multiplied with the module feature data under the corresponding service type module to obtain the product feature data for each service type module. Here, since both the deflection factor sequence and the module feature data exist in vector form, multiplying the deflection factor sequence corresponding to each service type module with the module feature data under the corresponding service type module can be a vector product operation. Then, the product feature data corresponding to each service type module is determined as the deflection feature data under the corresponding service type module.

[0136] In some embodiments, each target object in the target object set corresponds to an object identifier; for any target object, the object role characteristics of the target object and the deflection feature data under each service type module share the object identifier of the target object. Here, the object role characteristics of the target object and the deflection feature data under each service type module sharing the object identifier of the target object means that for the same target object, the object role characteristics of the target object and the deflection feature data of the target object under each service type module have the same data identifier, and this data identifier is the object identifier of the target object, and this data identifier is the same as the object identifier of the target object.

[0137] In step S509, the third-party server obtains the object role characteristics of the target object and the deflection characteristic data under each service type module based on the object identifier.

[0138] Here, you can obtain the deflection feature data under the object role characteristics and service type modules that have the same object identifier.

[0139] In step S510, the third-party server performs data association processing on the object role characteristics of the target object and the deflection characteristic data under each service type module to obtain the federated role characteristics of the target object.

[0140] It should be noted that since the system for determining the federated role characteristics includes multiple terminals, each terminal corresponds to a target object, the third-party server can determine the federated role characteristics of each target object. Therefore, it can obtain the object role characteristics of each target object in the target object set corresponding to multiple terminals and the module characteristic data of each target object under at least one service type module. Then, using the method of the embodiment of this application, based on the object identifier, the object role characteristics of the same target object and the deflection characteristic data under each service type module are obtained. Then, the object role characteristics of the same target object and the deflection characteristic data under each service type module are processed by data association to obtain the federated role characteristics of each target object in the target object set.

[0141] In step S511, the third-party server sends the federal role characteristics of the target object to the client server.

[0142] In step S512, the client server determines the information to be recommended for the target object based on the characteristics of the federation role.

[0143] Here, the client server can use the federation role characteristics as the role characteristics of the target object, perform target object profile analysis, retrieve information from the information pool to be recommended, and determine the information to be recommended that is suitable for the target object.

[0144] In step S513, the client server sends the recommendation information to the terminal.

[0145] Step S514: The terminal displays the recommended information on the current interface.

[0146] The method for determining federated role characteristics provided in this application involves inputting the object role characteristics and module characteristic data of a target object into a deflection factor model to obtain a deflection factor sequence corresponding to each service type module. Based on this deflection factor sequence, the module characteristic data under the corresponding service type module is deflected to obtain deflected feature data for each service type module. This deflection processing of the module characteristic data under the service type module achieves homomorphic encryption, ensuring the data security of the target object and preventing the leakage of its privacy data. Furthermore, since the final constructed federated role characteristics of the target object consider multiple aspects of the target object's data simultaneously, such as the object role characteristics and the module characteristic data under multiple service type modules, it can more accurately characterize the target object's role characteristics. Therefore, when performing role analysis based on the federated role characteristics, accurate role analysis of the target object can be achieved.

[0147] In some embodiments, the system for determining federated role characteristics may include multiple terminals, each corresponding to a target object. Therefore, the server can employ the method for determining federated role characteristics of this application to simultaneously determine the federated role characteristics of multiple target objects, thereby obtaining the federated role characteristics of each target object in the target object set. In other embodiments, after obtaining the federated role characteristics of each target object in the target object set, information recommendations for these multiple target objects based on different domains, applications, and dimensions can be performed simultaneously.

[0148] In some embodiments, since the target object set includes multiple target objects, when determining the federal role characteristics of a target object, the feature data of other target objects that have a certain degree of similarity to the target object can also be considered.

[0149] For example, the similarity between two target objects can be determined based on their object role characteristics. When the similarity is greater than a similarity threshold, the two target objects are considered similar. When constructing the federated role characteristics of any target object, the object role characteristics of that target object and its module feature data under at least one service type module can be obtained. Simultaneously, the object role characteristics of similar objects can also be obtained. Then, the object role characteristics of the target object are updated using the object role characteristics of the similar objects, resulting in the updated object role characteristics. Based on the updated object role characteristics and the module feature data of the target object under at least one service type module, a federated role characteristic loss model can be constructed. Then, the federated role characteristic determination method provided in this application can be used to determine the federated role characteristics of the target object based on the constructed federated role characteristic loss model.

[0150] The following will describe an exemplary application of the embodiments of this application in a real-world application scenario.

[0151] This application provides a method for determining federated role characteristics. This method employs a vertical federation approach to construct federated role characteristics (also known as federated profiles) based on data security, addressing the issues of data security and more accurate characterization of user roles while accessing data from other service type modules. This application proposes federated links through federated learning, effectively connecting and associating user data from various service type modules under data security conditions. Under data privacy constraints, this application constructs a matrix loss model (i.e., a federated role characteristic loss model) using the user's real role characteristics and the data after federated links to each service type module. The matrix loss model calculates the bias factor for each user in each service type module while minimizing the matrix loss. This application biases the data of each service type module using the calculated bias factor, and then associates the biased user module dataset using the user ID, thereby obtaining the user role characteristics (i.e., federated role characteristics) under federated learning for each user.

[0152] The method in this application mainly solves the following problems:

[0153] (1) The horizontal federated link method is adopted to solve the problems of data security in user role characteristics and obtaining module feature data under other service type modules, so as to more accurately characterize user role characteristics.

[0154] (2) By proposing federated links through federated learning, user data from various modules can be effectively connected and associated under the condition of data security.

[0155] (3) Under the data privacy association, a matrix loss model is constructed by linking the user's real role characteristics with the data of each service type module in a federated manner. The deflection factor of each user under each service type module is calculated under the condition of minimizing the matrix loss.

[0156] (4) The data of each module is deflected by the calculated deflection factor, and then the deflected user module dataset is associated with the user ID to obtain the user role characteristics of each user under federated learning.

[0157] (5) The proposed method for defining the characteristics of the horizontal federation role is shown in the following formula 1:

[0158]

[0159] Where J represents the loss function of the federated role feature loss model; R represents the user's true profile matrix (n*(k+1)m dimensions), i.e., the true role feature matrix; U represents the target user role feature matrix, i.e., the target object role feature matrix; V kThis represents the user role characteristic data for the k-th service type module; a k This represents the user role characteristic bias factor for the k-th service type module; where, a={a l |l=1,...k} represents the sequence of user role feature bias factors.

[0160] (6) Based on the loss minimization method, a deflection factor model for horizontal federation is obtained through rigorous mathematical proof, as follows:

[0161] Formula 2:

[0162]

[0163] Among them, u ij This represents the j-th feature of the i-th user in the user's real role feature matrix; Let λ represent the feature data of the i-th user in the h-th service type module, and let λ represent the model parameters.

[0164] (7) It can be applied to the construction of user role characteristics in various industries. Through the data deflection factor, it can effectively protect the data security of various service type modules, and also more accurately characterize user characteristics.

[0165] Figure 6 This is a technical flowchart of the method for determining federal role characteristics provided in the embodiments of this application, such as... Figure 6 As shown, it mainly includes the following five stages:

[0166] Step S601, data input stage.

[0167] During the data input phase, the user role feature matrix of the user's experience in the discounted fuel module of the travel service can be collected as the target user role feature matrix. User role feature matrix of the designated driver module User role feature matrix of ride-hailing module User role feature matrix of car rental module

[0168] Step S602, Federal Role Feature Loss Model Construction Stage.

[0169] During the federal profile construction phase, based on the user role characteristics of each data module and the discounted refueling module, a federal role feature loss model is constructed as shown in the following formula 3:

[0170]

[0171] Step S603, Federal Deflection Factor (i.e., Deflection Factor Model) Construction Stage.

[0172] In the federation deflection factor construction stage, the federation role feature loss model from step S602 is input. Under the condition of minimizing loss, the deflection factor model of the horizontal federation is obtained through mathematical proof as shown in the following formula 4:

[0173]

[0174] Step S604, Federal Deflection Factor Calculation Stage.

[0175] In the federated deflection factor calculation stage, the target user role feature matrix from step S601 is input. User role feature matrix of the designated driver module User role feature matrix of ride-hailing module User role feature matrix of car rental module Substituting the deflection factor model from step S603, we obtain the deflection factor sequence {a} for each module. l |l=1,...,3}.

[0176] Step S605, Federation role feature splicing stage.

[0177] During the federal profile stitching stage, input the target user role feature matrix from step S601. User role feature matrix of the designated driver module User role feature matrix of ride-hailing module User role feature matrix of car rental module To the correlation model U′=[[[U]],[[a 1 V 1 ]],[[a 2 V 2 ]],[[a 3 V 3 In the input module, the deflection factor sequence {a} is used. l |l=1,...,3} to the correlation model U′=[[[U]],[[a 1 V 1 ]],[[a 2 V 2 ]],[[a 3 V 3 ]]]middle.

[0178] Based on the user ID, the target user role feature matrix, the deflected chauffeur module user role feature matrix, the deflected ride-hailing module user role feature matrix, and the deflected car rental module user role feature matrix are correlated and connected to obtain a federated profile: U′=[[[U]],[[a 1 V 1 ]],[[a 2 V 2 ]],[[a3 V 3 ]]).

[0179] It is understood that in the embodiments of this application, if the content involving user information, such as user role characteristics, federation role characteristics, and module characteristic data of the user under at least one service type module, involves data related to user information or enterprise information, when the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0180] The following continues to describe an exemplary structure of the federal role characteristic determination device 354 provided in the embodiments of this application, implemented as a software module. In some embodiments, such as Figure 2 As shown, the federal role characteristic determination device 354 includes:

[0181] The loss model construction module is used to construct a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one service type module; the loss processing module is used to perform loss processing on the federated role feature loss model to obtain a deflection factor model corresponding to the target object set; the deflection processing module is used to perform deflection processing on the module feature data under each service type module based on the deflection factor model of the target object set to obtain deflection feature data under the corresponding service type module; the data association module is used to perform data association processing on the object role features of each target object and the deflection feature data under each service type module to obtain the federated role features of each target object in the target object set.

[0182] In some embodiments, the loss model construction module is further configured to: collect object data of each target object in the target object set within a preset historical time period, and interaction data of each target object within at least one service type module within the preset historical time period; extract role features from the object data to obtain object role features of each target object; extract data features from the interaction data to obtain module feature data of the target object under each service type module; and construct a federated role feature loss model based on the object role features of each target object and the module feature data of each target object.

[0183] In some embodiments, the loss model construction module is further configured to: perform homomorphic encryption processing on the object role features of each target object and the module feature data of each target object respectively to obtain encrypted object role features and encrypted module feature data; and perform data association processing and data transformation processing on the encrypted object role features and the encrypted module feature data in sequence to obtain the loss function of the federated role feature loss model.

[0184] In some embodiments, the object role features include the real role feature matrix of the target object and the target object role feature matrix; the encrypted object role features include the encrypted real role feature matrix and the encrypted target object role feature matrix; the loss model construction module is further configured to: perform data association processing on the encrypted target object role feature matrix and the encrypted module feature data to obtain an association feature matrix; determine the difference between the encrypted real role feature matrix and the association feature matrix; and determine the difference as the data association result after the data association processing; wherein, the data transformation processing is performing data transformation processing on the data association result.

[0185] In some embodiments, the loss model construction module is further configured to: determine the number of modules of the service type module; construct a data transformation matrix based on the number of modules; transpose the data transformation matrix to obtain a transposed matrix; perform matrix multiplication on the data association result, the data transformation matrix, and the transposed matrix to obtain a matrix multiplication result; and determine the loss function of the federated role feature loss model based on the matrix multiplication result.

[0186] In some embodiments, the loss processing module is further configured to: obtain the loss function of the federal role feature loss model; perform loss minimization calculation on the loss function to obtain a deflection factor model corresponding to the target object set.

[0187] In some embodiments, the deflection processing module is further configured to: input the object role features of each target object and the module feature data of each target object into the deflection factor model to obtain the deflection factor sequence corresponding to each service type module; and perform deflection processing on the module feature data under the corresponding service type module based on the deflection factor sequence corresponding to each service type module to obtain the deflection feature data under each service type module.

[0188] In some embodiments, the deflection processing module is further configured to: multiply the deflection factor sequence corresponding to each service type module with the module feature data under the corresponding service type module to obtain the product feature data corresponding to each service type module; and determine the product feature data corresponding to each service type module as the deflection feature data under the corresponding service type module.

[0189] In some embodiments, each target object in the target object set corresponds to an object identifier; for any target object, the object role characteristics of the target object and the deflection feature data under each service type module share the object identifier of the target object; the data association module is further configured to: obtain the object role characteristics of the same target object and the deflection feature data under each service type module based on the object identifier; perform data association processing on the object role characteristics of the same target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

[0190] In some embodiments, the service type module is a travel service type module; the module feature data under the service type module includes at least one of the following: chauffeur module feature data, ride-hailing module feature data, and car rental module feature data.

[0191] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment described above, and has similar beneficial effects as the method embodiment; therefore, it will not be repeated. For technical details not disclosed in this apparatus embodiment, please refer to the description of the method embodiment of this application for understanding.

[0192] This application provides a computer program product or computer program that includes executable instructions, which are computer instructions; the executable instructions are stored in a computer-readable storage medium. When the processor of the device for determining federal role characteristics reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the device for determining federal role characteristics performs the method described in this application.

[0193] This application provides a storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to perform the method provided in this application, for example... Figure 3 The method shown.

[0194] In some embodiments, the storage medium may be a computer-readable storage medium, such as a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disc, or a compact disk-read-only memory (CD-ROM); or it may be a device that includes one or any combination of the above-mentioned memories.

[0195] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0196] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file containing other programs or data, for example, in one or more scripts within a Hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., files storing one or more modules, subroutines, or code sections). As an example, executable instructions may be deployed to execute on a single electronic device, or on multiple electronic devices located in one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0197] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A method for determining the characteristics of a federal role, characterized in that, The method includes: Based on the object role characteristics of each target object in the target object set and the module feature data of each target object under at least one service type module, a federated role feature loss model is constructed. The loss model of the federal role feature is processed to obtain a deflection factor model corresponding to the target object set; the deflection factor model is a function that reflects the degree of deflection of different target objects and the target objects under different service type modules; The object role characteristics and module characteristic data of each target object are input into the deflection factor model to obtain the deflection factor sequence corresponding to each service type module; Based on the deflection factor sequence corresponding to each service type module, the module feature data under the corresponding service type module is deflected to obtain the deflection feature data under each service type module; the deflection processing is homomorphic encryption processing. Data association processing is performed on the object role characteristics of each target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

2. The method according to claim 1, characterized in that, The federated role feature loss model is constructed based on the object role features of each target object in the target object set and the module feature data of each target object under at least one service type module, including: Collect object data for each target object in the target object set within a preset historical time period, and interaction data for each target object within at least one service type module within the preset historical time period; The object data is subjected to role feature extraction to obtain the object role features of each target object; Data feature extraction is performed on the interaction data to obtain the module feature data of the target object under each service type module; A federated role feature loss model is constructed based on the object role features and module feature data of each target object.

3. The method according to claim 2, characterized in that, The federated role feature loss model is constructed based on the object role features and module feature data of each target object, including: Homomorphic encryption is performed on the object role characteristics and module characteristic data of each target object to obtain encrypted object role characteristics and encrypted module characteristic data. The encrypted object role features and the encrypted module feature data are sequentially subjected to data association processing and data transformation processing to obtain the loss function of the federation role feature loss model.

4. The method according to claim 3, characterized in that, The object role features include the real role feature matrix of the target object and the target object role feature matrix; the encrypted object role features include the encrypted real role feature matrix and the encrypted target object role feature matrix; Data association processing is performed on the encrypted object role characteristics and the encrypted module characteristic data, including: The encrypted target object role feature matrix and the encrypted module feature data are subjected to data association processing to obtain an association feature matrix; Determine the difference between the encrypted real character feature matrix and the associated feature matrix; The difference is determined as the data association result after the data association processing; wherein, the data transformation processing is to perform data transformation processing on the data association result.

5. The method according to claim 4, characterized in that, The data transformation process is implemented in the following way: Determine the number of modules for the service type; Construct a data transformation matrix based on the number of modules; The data transformation matrix is ​​transposed to obtain the transpose matrix; Perform a matrix dot product operation on the data association result, the data transformation matrix, and the transpose matrix to obtain the matrix dot product result; Based on the matrix dot product result, the loss function of the federal role feature loss model is determined.

6. The method according to claim 1, characterized in that, The loss processing of the federal role feature loss model to obtain the deflection factor model corresponding to the target object set includes: Obtain the loss function of the federal role feature loss model; The loss function is minimized to obtain the deflection factor model corresponding to the target object set.

7. The method according to claim 1, characterized in that, The process of biasing the module feature data under each service type module based on the biasing factor sequence to obtain biasing feature data under each service type module includes: The deflection factor sequence corresponding to each service type module is multiplied with the module feature data under the corresponding service type module to obtain the product feature data corresponding to each service type module. The product feature data corresponding to each service type module is determined as the deflection feature data under the corresponding service type module.

8. The method according to claim 1, characterized in that, Each target object in the target object set corresponds to an object identifier; for any target object, the object role characteristics of the target object and the deflection characteristic data under each service type module share the object identifier of the target object; The process of associating the object role characteristics of each target object with the deflection characteristic data under each service type module to obtain the federated role characteristics of each target object in the target object set includes: Based on the object identifier, obtain the object role characteristics of the same target object and the deflection characteristic data under each service type module; Data association processing is performed on the object role characteristics of the same target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

9. The method according to any one of claims 1 to 8, characterized in that, The service type module is a travel service type module; the module feature data under the service type module includes at least one of the following: chauffeur module feature data, ride-hailing module feature data, and car rental module feature data.

10. A device for determining federal role characteristics, characterized in that, The device includes: The loss model building module is used to build a federated role feature loss model based on the object role features of each target object in the target object set and the module feature data of each target object under at least one service type module. The loss processing module is used to process the loss model of the federated role feature to obtain a deflection factor model corresponding to the target object set; the deflection factor model is a function that reflects the degree of deflection of different target objects and the target objects under different service type modules; The deflection processing module is used to input the object role characteristics and module characteristic data of each target object into the deflection factor model to obtain the deflection factor sequence corresponding to each service type module; based on the deflection factor sequence corresponding to each service type module, the module characteristic data under the corresponding service type module is deflected to obtain the deflection characteristic data under each service type module; the deflection processing is homomorphic encryption processing; The data association module is used to perform data association processing on the object role characteristics of each target object and the deflection feature data under each service type module to obtain the federated role characteristics of each target object in the target object set.

11. A device for determining federal role characteristics, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the method for determining federal role characteristics as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The device stores executable instructions for causing a processor to execute the executable instructions to implement the method for determining the federal role characteristics as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • DGA domain name detection method and device and computer storage medium

    CN113905016A

  • Microscopy System and Method for Monitoring a Learning Process of a Machine Learning Model

    US20220067444A1