Information recommendation data processing method and device, electronic equipment and storage medium

By obtaining and assembling the resource parameters of information recommendation scenarios and independently publishing information recommendation services, the problem of data processing pressure and service downtime in multiple scenarios is solved, and personalized recommendations for each scenario are achieved and the operation and maintenance pressure is reduced.

CN118656539AInactive Publication Date: 2024-09-17MASHANG CONSUMER FINANCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410384753.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In multiple information recommendation scenarios, unified recommendation engineering services lead to high pressure on data processing. When the service is down, all scenarios cannot be recommended. Operation and maintenance pressure is high, and changes in configuration information affect old scenarios. Restarting the service will cause interruptions.

Method used

By obtaining the resources of the target information recommendation scenario, extracting the information recommendation parameters and accessing the mirror address, using the parameter assembly service to assemble the target parameters, and independently publishing the information recommendation service, ensuring that each scenario has personalized services and avoiding the impact of uneven resource allocation and downtime. .

Benefits of technology

It reduces the operation and maintenance pressure of the information recommendation service, ensures that other scenarios can still run normally when any one scenario goes down, reduces the data processing pressure and configuration frequency, and improves the stability and efficiency of the information recommendation service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656539A
    Figure CN118656539A
Patent Text Reader

Abstract

The embodiment of the invention provides an information recommendation data processing method and device, electronic equipment and a storage medium. The method comprises the steps that target resources of a target information recommendation scene are acquired; extracting an information recommendation parameter and a first access address for accessing the first mirror image from the target resource; accessing the first mirror image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameter through the parameter assembly service to obtain a target information recommendation parameter of the target information recommendation scene; and according to the target information recommendation parameter, performing publishing processing on an information recommendation service of the target information recommendation scene. Therefore, the operation and maintenance pressure of the information recommendation service can be relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to an information recommendation data processing method, device, electronic device and storage medium. Background Art

[0002] In different information recommendation scenarios, the recommendation algorithms used for information recommendation processing and the data used for information recommendation processing are often different. Through a unified recommendation engineering service, parameters are manually assembled for each recommendation scenario. The business side calls the recommendation engineering service when performing information recommendation processing, and can assemble algorithm parameters for different scenarios.

[0003] However, the more information recommendation scenarios the recommendation engineering service involves, the greater the number of information recommendation requests it processes simultaneously, the greater the data processing pressure, and once the recommendation engineering service goes down, all information recommendation scenarios will be unable to perform information recommendation processing. The above factors may cause the recommendation engineering service to generate greater pressure during the operation and maintenance process. Summary of the invention

[0004] The embodiments of the present application provide an information recommendation data processing method, device, electronic device, and storage medium, which can reduce the operation and maintenance pressure of information recommendation services.

[0005] In a first aspect, an embodiment of the present application provides an information recommendation data processing method, comprising:

[0006] Obtain target resources for target information recommendation scenarios;

[0007] Extracting an information recommendation parameter and a first access address for accessing a first image from the target resource;

[0008] Accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0009] According to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published.

[0010] In a second aspect, an embodiment of the present application provides an information recommendation data processing device, including:

[0011] An acquisition unit, used to acquire target resources of a target information recommendation scenario;

[0012] An extraction unit, configured to extract an information recommendation parameter and a first access address for accessing a first image from the target resource;

[0013] an assembling unit, configured to access the first image according to the first access address to start a parameter assembly service, and perform parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0014] A publishing unit is used to publish the information recommendation service of the target information recommendation scenario according to the target information recommendation parameters.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor executes the information recommendation data processing method as described in the first aspect.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer-executable instructions, which, when executed by a processor, implement the information recommendation data processing method as described in the first aspect.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the information recommendation data processing method as described in the first aspect.

[0018] It can be seen that in the embodiment of the present application, first, the target resource of the target information recommendation scenario is obtained; then, the information recommendation parameters and the first access address for accessing the first image are extracted from the target resource; then, the first image is accessed according to the first access address to start the parameter assembly service, and the information recommendation parameters are assembled through the parameter assembly service to obtain the target information recommendation parameters of the target information recommendation scenario; finally, according to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published. In this way, considering that the parameters required for information recommendation processing are different in different information recommendation scenarios, for any information recommendation scenario, for example, the target information recommendation scenario, the parameter assembly service provided by the first image can be used to assemble the information recommendation parameters required for the target information recommendation scenario and publish the information recommendation service of the corresponding scenario, so as to realize that each information recommendation scenario has a personalized information recommendation service. Furthermore, in the case that the information recommendation service of any information recommendation scenario is down, the information recommendation services of other information recommendation scenarios are not affected and can still operate normally, which is conducive to reducing the operation and maintenance pressure of the information recommendation service. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.

[0020] Figure 1 A schematic diagram of an implementation environment of an information recommendation data processing method provided in an embodiment of the present application;

[0021] Figure 2 A processing flow chart of an information recommendation data processing method provided in an embodiment of the present application;

[0022] Figure 3 A processing flow chart of another information recommendation data processing method provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of an information recommendation data processing device provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] An embodiment of an information recommendation data processing method provided in this specification is as follows:

[0027] In actual applications, different information recommendation scenarios may require different data and algorithms. If a unified recommendation engineering service is used to manually assemble parameters for each information recommendation scenario, and the recommendation engineering service is called when performing information recommendation processing in any information recommendation scenario, the following problems may occur:

[0028] (1) Every time a new information recommendation service is added, it is necessary to manually modify the configuration information of the recommendation service and restart the recommendation service.

[0029] On the one hand, the change of configuration information may affect the information recommendation service of other irrelevant old information recommendation scenarios. On the other hand, restarting the service will cause the information recommendation service of the old information recommendation scenario to be temporarily interrupted.

[0030] (2) With the increase in information recommendation scenarios, the data processing pressure of recommendation engineering services is increasing.

[0031] Since different information recommendation scenarios all use the same recommendation engineering service, service downtime may occur due to uneven resource allocation. For example, information recommendation scenario 1 triggers 100 information recommendations first, occupying most of the data processing resources of the recommendation engineering service, making it difficult for the remaining data processing resources to support the information recommendation service of information recommendation scenario 2.

[0032] (3) Once the recommendation engineering service goes down, all information recommendation scenarios will no longer be able to perform information recommendations.

[0033] Therefore, in order to solve the above problems, an embodiment of the present application provides an information recommendation data processing method.

[0034] The information recommendation data processing method provided in one or more embodiments of this specification may be applicable to the implementation environment of the information recommendation data processing method, such as Figure 1 As shown, the implementation environment at least includes a server 101 for processing information recommendation data.

[0035] The server 101 may be a single server, or a server cluster consisting of a plurality of servers, or one or more cloud servers in a cloud computing platform, for processing information recommendation data.

[0036] In the implementation environment, when processing information recommendation data, the server 101 first obtains the target resource of the target information recommendation scenario; then, extracts the information recommendation parameters and the first access address for accessing the first image from the target resource; then, accesses the first image according to the first access address to start the parameter assembly service, and performs parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain the target information recommendation parameters of the target information recommendation scenario; finally, according to the target information recommendation parameters, publishes the information recommendation service of the target information recommendation scenario. In this way, considering that the parameters required for information recommendation processing are different in different information recommendation scenarios, for any information recommendation scenario, for example, the target information recommendation scenario, the parameter assembly service provided by the first image can be used to assemble the information recommendation parameters required by the target information recommendation scenario and publish the information recommendation service of the corresponding scenario, so as to realize that each information recommendation scenario has a personalized information recommendation service. Furthermore, in the case where the information recommendation service of any information recommendation scenario is down, the information recommendation services of other information recommendation scenarios are not affected and can still operate normally, which is conducive to reducing the operation and maintenance pressure of the information recommendation service.

[0037] Figure 2 A processing flow chart of an information recommendation data processing method provided in an embodiment of the present application.

[0038] The information recommendation data processing method provided in this embodiment can be executed through a container management platform, or a terminal having a module with the same or similar functions as the container management platform.

[0039] A container management platform is a software tool used to manage and run containerized applications. The container management platform provides a centralized way to manage the life cycle of containers, including creating, deploying, scheduling, monitoring, and scaling containers. By using a container management platform, developers and operations teams can build, deploy, and manage containerized applications more efficiently.

[0040] In this specification, the container management platform is used as the execution subject of the information recommendation data processing method to exemplify the implementation process of the information recommendation data processing method. Terminals with modules having the same or similar functions as the container management platform can refer to the corresponding description part of the container management platform.

[0041] In the container management platform, resources are the core concept, and the entire ecosystem operates around resources. The container management platform is essentially a resource control system that is responsible for registering, managing, scheduling resources, and maintaining the status of resources.

[0042] All content in the container management platform can be abstracted into resources, such as Pod, Service, Node, etc. After instantiating the resources, objects can be obtained, such as a specific Pod and a specific Node. A resource can be abstracted into multiple objects, but an object can only conform to the characteristics of one resource.

[0043] Pod is the smallest resource management component and scheduling unit in the container management platform. It is a collection of containers. The containers in a Pod share network and storage resources. Pod also minimizes the resources for running containerized applications. A Pod represents a process running in the cluster.

[0044] Service is mainly used to provide network services. Through the definition of Service, it can provide stable access addresses and load balancing functions for client applications, as well as shield changes in the backend. It is the core resource for container management platforms to implement microservices. Service is a strategy that can access Pod logical groupings and access Pod groups through Label Selectors.

[0045] A label is a key-value pair attached to an object (such as Pods) to distinguish the object. Labels are intended to specify identifying properties of an object that are meaningful and relevant to the user, but do not have direct semantic meaning to the core system. Labels can be used to organize and select subsets of objects. Labels can be attached to objects when they are created, and can be added and modified at any time. By using labels, you can get a certain type of object. Specifically, labels can be used in conjunction with selectors to limit conditions with expressions for more precise and flexible resource lookups. Each object can define a set of key / value labels. Each key must be unique for a given object.

[0046] Node is a working node in the container management platform. A Node can be a VM (Virtual Machine) or a physical machine.

[0047] Reference Figure 2 The information recommendation data processing method provided in this embodiment specifically includes steps S202 to S208:

[0048] Step S202: Acquire target resources of the target information recommendation scenario.

[0049] The target information recommendation scenario can be any information recommendation scenario. The information recommendation here can be the recommendation of a specified type of product / service for the user. Specifically, the recommendation prediction processing of the specified type of product / service can be performed for the user, and the recommended information of the recommendation prediction result can be displayed in a preset display area, thereby realizing information recommendation. In different information recommendation scenarios, the parameters required for information recommendation processing may be the same or different. In different information recommendation scenarios, the recommendation algorithms used for information recommendation processing may be the same or different.

[0050] For example, the homepage of application A includes a first area, which is used to display the first type of products recommended to the user. For different users, the first type of products suitable for the user may be different. When user 1 enters the homepage of application A, the recommendation prediction processing of the first type of products for user 1 is automatically triggered, and the recommendation information of the recommendation prediction result "Product 1" is displayed in the first area of ​​the homepage. When user 2 enters the homepage of application A, the recommendation prediction processing of the first type of products for user 2 is automatically triggered, and the recommendation information of the recommendation prediction result "Product 2" is displayed in the first area of ​​the homepage.

[0051] For another example, the homepage of application A includes a second area, which is used to display the second type of service recommended to the user. For different users, the second type of service suitable for the user may be different. When user 3 enters the homepage of application A, the recommendation prediction processing of the second type of service for user 3 is automatically triggered, and the recommendation information of the recommendation prediction result "Service 3" is displayed in the second area of ​​the homepage. When user 4 enters the homepage of application A, the recommendation prediction processing of the second type of service for user 4 is automatically triggered, and the recommendation information of the recommendation prediction result "Service 4" is displayed in the second area of ​​the homepage.

[0052] The target resource may be resource data that is customized and configured for the target information recommendation scenario, and the resource data may be created through the container management platform.

[0053] The target resources may include parameters required for information recommendation processing in the target information recommendation scenario, and may also include an information recommendation algorithm used for information recommendation processing in the target information recommendation scenario.

[0054] For each information recommendation scenario, resource data corresponding to the information recommendation scenario may be pre-configured. The target resource may be resource data corresponding to the target information recommendation scenario.

[0055] In addition, considering that the target resource is used for publishing processing of the information recommendation service of the target information recommendation scenario in the subsequent steps, the target resource can be regarded as a kind of information recommendation data.

[0056] In a specific implementation, obtaining a target resource for a target information recommendation scenario includes: when a resource creation operation is detected, obtaining a target resource created by a resource creation operation; or, when a resource update operation is detected, obtaining a target resource that is updated by a resource update operation.

[0057] The resource creation operation may be an operation of creating a target resource. The resource update operation may be an operation of performing resource update processing on a target resource.

[0058] Before executing step S202, the developer can customize and configure a new resource type in the container management platform, and create a target resource based on the new resource type. Alternatively, the developer can also update the target resource after creating the target resource.

[0059] For example, CRD (Custom Resource Definition) is a resource type built into the container management platform, which allows users to customize new resource types and expand cluster capabilities. It usually needs to be used with a custom Controller. The Controller is an object that manages and runs containers on a cluster. After creating a CRD resource, it usually only declares the user's desired goal, and a program is needed to achieve the goal, which is the Controller.

[0060] The custom controller can be used to detect resource editing operations of the container management platform, including but not limited to: resource creation operations, resource update operations, and resource deletion operations, etc. The custom controller can obtain the target resource for the resource editing operation when the resource editing operation is detected.

[0061] When a resource creation operation is detected, the target resource created by the resource creation operation is obtained. In specific implementation, after the user submits a resource creation request to create a target resource, the container management platform responds to the resource creation request and performs the resource creation operation. The custom Controller detects the resource creation operation, and then the container management platform forwards the created target resource to the custom Controller.

[0062] When a resource update operation is detected, the target resource that is updated through the resource update operation is obtained. In specific implementation, after the user makes a resource update request for the target resource, the container management platform responds to the resource update request and performs the resource update operation. The custom Controller detects the resource update operation, and then the container management platform forwards the target resource after the resource update to the custom Controller.

[0063] It should be noted that creating a target resource declares the user's expected state. Since the target resource is a custom resource, after the resource creation operation is executed, the container management platform has recognized the target resource, but does not know how to handle it. Therefore, the target resource needs to be instantiated through a custom Controller. Similarly, updating the target resource changes the user's expected state. After the resource update operation is executed, the target resource after the resource update needs to be instantiated through a custom Controller.

[0064] In addition, the above step "when a resource creation operation is detected, the target resource created by the resource creation operation is obtained" can also be replaced by "when a resource creation request is detected, the target resource created by the resource creation request is obtained"; and together with other processing steps in this embodiment, a new implementation method is formed. The resource creation request is used to request the creation of a target resource. Since the technical concept is the same, the specific implementation method can refer to the corresponding description part.

[0065] Based on the same technical concept, the above step "when a resource update operation is detected, the target resource for resource update processing through the resource update operation is obtained" can also be replaced by "when a resource update request is detected, the target resource for resource update processing through the resource update request is obtained"; and together with other processing steps in this embodiment, a new implementation method is formed. The resource update request is used to request resource update processing for the target resource. Since the technical concept is the same, the specific implementation method can refer to the corresponding description part.

[0066] Step S204: extracting the information recommendation parameter and the first access address for accessing the first image from the target resource.

[0067] The first image may be an image of an assembly parameter interface, which is used to provide parameter assembly services. In the process of publishing corresponding information recommendation services for different information recommendation scenarios, the first access address of the first image may be reused. The information recommendation parameters are personalized parameters required for information recommendation processing in the target information recommendation scenario.

[0068] That is, when the target information recommendation scenario is any information recommendation scenario, the first access address of the first image extracted from the target resource is the same, and the information recommendation parameters extracted from the target resource may be different.

[0069] For example, when the target information recommendation scenario is the first information recommendation scenario, the information recommendation parameter extracted from the target resource of the first information recommendation scenario is parameter 1, and the first access address extracted from the target resource of the first information recommendation scenario is address U1; when the target information recommendation scenario is the second information recommendation scenario, the information recommendation parameter extracted from the target resource of the second information recommendation scenario is parameter 2, and the first access address extracted from the target resource of the second information recommendation scenario is address U1; when the target information recommendation scenario is the third information recommendation scenario, the information recommendation parameter extracted from the target resource of the third information recommendation scenario is parameter 3, and the first access address extracted from the target resource of the third information recommendation scenario is address U1.

[0070] Developers can develop parameter assembly services in advance. In specific implementation, first, you can define the startup parameters of the parameter assembly service and store the startup parameters in context-param (context parameters); then, develop a parameter assembly interface that can be used by information recommendation services in various information recommendation scenarios; finally, based on the startup parameters and the assembly parameter interface, package and upload them to the docker image to obtain the first image, and generate the first access address of the first image.

[0071] The startup parameters of the parameter assembly service include but are not limited to: a first parameter representing a user identifier, a second parameter representing user feature information, and a third parameter representing a recommendation algorithm. ParamContext is used to store and transmit configuration information of an application.

[0072] It should be noted that the ordinal numbers such as "first", "second", "third" etc. in this specification are for the convenience of distinguishing multiple technical features and have no actual meaning, and will not be elaborated below.

[0073] Considering that the fields representing user identifiers may be different in different information recommendation scenarios, and the parameter assembly service can be used jointly by information recommendation services in various information recommendation scenarios, the first parameter needs to be able to locate the user identifier of each information recommendation request, and then obtain the corresponding user parameters and pass them to the algorithm. Therefore, the first parameter can be an expression for obtaining the user identifier.

[0074] For example, in the first scenario, the field representing the user identifier is "userId", in the second scenario, the field representing the user identifier is "uid", and in the third scenario, the field representing the user identifier is "id". The first parameter is an expression "userExpress" for obtaining the user identifier.

[0075] The second parameter may be a table name representing a data table storing user characteristic information, for example, the second parameter is tableName.

[0076] User characteristic information is information that describes the personalized characteristics of the user, such as age, occupation, major, etc. User characteristic information belongs to the user's privacy to a certain extent. In order to ensure the privacy security of the user, the user characteristic information stored in the data table is obtained based on user authorization.

[0077] A data table is an object used to store data in a database. It is a collection of structured data and the basis of the entire database system. A database is a "warehouse that organizes, stores, and manages data according to data structures." For example, a data table can be stored in MySQL. MySQL is a relational database management system.

[0078] The third parameter may be a request address of the recommendation algorithm, for example, the third parameter is "algoUrl".

[0079] The aforementioned parameter assembly interface can be used to obtain the user identifier carried in the information recommendation request based on the first parameter analysis, and can also be used to read the user feature information corresponding to the user identifier in the data table corresponding to the second parameter based on the user identifier obtained by analysis, and can also be used to pass the user feature information to the recommendation algorithm corresponding to the third parameter, and obtain the algorithm result, and return the algorithm result to the business party providing the information recommendation service.

[0080] To facilitate understanding of step S204, the following is an exemplary description of the specific implementation process in which the developer configures a new resource type through the CRD of the container management platform and creates a target resource based on the new resource type.

[0081] In the process of configuring a new resource type through CRD, first, you need to configure the GVK.

[0082] In the container management platform, GVK refers to the three fields of Group, Version, and Kind, which are used to uniquely identify resources in the container management platform.

[0083] Group refers to the resource group in the container management platform's API (Application Programming Interface). Version refers to the API version of the resource. Kind refers to the resource type. In the container management platform, all resources have a unique corresponding GVK to facilitate operation and management by the container management platform's controller.

[0084] For example, a custom GVK with a new resource type is as follows:

[0085] group: Resource group 1

[0086] version: API version 1

[0087] kind: Resource type 1

[0088] After configuring GVK, you can customize other parameters you expect, such as Replicas, label, image, tableName, userExpress, and algoUrl, etc.

[0089] Replicas is used to indicate the number of instances. Label is used to bind pods and services. Image is used to indicate the first image mentioned above. TableName, userExpress, and algoUrl can refer to the second parameter, the first parameter, and the third parameter mentioned above.

[0090] After the developer configures a new resource type, the container management platform recognizes the custom resource of this resource type, and then creates the target resource according to the configuration information of the new resource type. For example, the target resource includes the following information:

[0091] apiVersion: Resource group 1 / API version 1

[0092] kind: Resource type 1

[0093] metadata:

[0094] name:Scene A

[0095] namespace:index 1

[0096] spec:

[0097] replicas:3

[0098] label: Scene A

[0099] images:Access address 1

[0100] tableName: Table 1

[0101] userExpress:$.userId

[0102] algoUrl: Access address 2

[0103] In the above information, apiVersion is used to indicate the resource group and resource API version in the container management platform API. kind is used to indicate the resource type. metadata is data that describes data, mainly information that describes data attributes. name is used to indicate the resource name. namespace is a concept in the container management platform. In many cases, it is used to implement multi-tenant resource isolation. namespace "assigns" resource objects within the cluster to different namespaces to form logically grouped different projects, groups or user groups, so that different groups can share and use the resources of the entire cluster while being managed separately. spec is the abbreviation of specification, which is used to describe the expected state or configuration of resources. replicas indicates the number of instances. label is a key-value pair attached to an object in the container management platform to distinguish objects. images is used to indicate the first image. tableName, userExpress and algoUrl can refer to the second parameter, the first parameter and the third parameter mentioned above.

[0104] The first access address of the first image is extracted from the target resource. For example, the resource configuration information "access address 1" of "images" is extracted from the target resource, and the "access address 1" is used as the first access address of the first image.

[0105] Extract information recommendation parameters from the target resource, for example, extract the resource configuration information "tableName: Table 1" of "tableName" from the target resource, extract the resource configuration information "userExpress: $.userId" of "userExpress" from the target resource, and extract the resource configuration information "algoUrl: Access Address 2" of "algoUrl" from the target resource, and add "tableName: Table 1", "userExpress: $.userId" and "algoUrl: Access Address 2" to the information recommendation parameters.

[0106] Step S206: access the first image according to the first access address to start a parameter assembly service, and perform parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario.

[0107] The first image can be accessed through the first access address, and the information recommendation parameters are used as the startup parameters of the startup parameter assembly service. The parameter assembly service is started through the startup parameters, and the information recommendation parameters are parameter assembled through the parameter assembly service to obtain the target information recommendation parameters of the target information recommendation scenario.

[0108] For example, the Controller can use "tableName: Table 1", "userExpress: $.userId", and "algoUrl: access address 2" as startup parameters for starting images.

[0109] The target information recommendation parameters are information recommendation parameters of the target information recommendation scenario after parameter assembly processing.

[0110] In a specific implementation, parameter assembly processing is performed on information recommendation parameters, including: determining a first field representing a user identifier, a second field representing user feature information, and a third field representing a recommendation algorithm in the information recommendation parameters; and performing parameter assembly processing on the first field, the second field, and the third field according to a preset assembly method.

[0111] The first field may be determined based on the information recommendation parameter and the aforementioned first parameter, the second field may be determined based on the information recommendation parameter and the aforementioned second parameter, and the third field may be determined based on the information recommendation parameter and the aforementioned third parameter.

[0112] For example, information recommendation parameters include: "tableName: table 1", "userExpress: $.userId", and "algoUrl: access address 2", and so on.

[0113] Through "userExpress: $.userId", it can be determined that the first field representing the user identifier is "userId", through "tableName: Table 1", the second field representing the user feature information can be determined as "Table 1", and through "algoUrl: Access Address 2", it can be determined that the third field representing the recommendation algorithm is "Access Address 2".

[0114] The preset assembly method can refer to the description of the aforementioned assembly parameter interface.

[0115] By performing parameter assembly processing on the first field, the second field, and the third field according to the preset assembly method, the data processing logic of the information recommendation service for the information recommendation request in the target information recommendation scenario can be as follows:

[0116] The user identifier carried in the information recommendation request is obtained by parsing the first field, and the user feature information corresponding to the user identifier is read in the data table corresponding to the second field based on the user identifier obtained by parsing. The user feature information is passed to the recommendation algorithm corresponding to the third field, and the algorithm result is obtained, and the algorithm result is returned to the business party providing the information recommendation service.

[0117] For example, according to the first field "userId", the information "userId: 001" carried in the information recommendation request is parsed to obtain the user identifier "001" carried in the information recommendation request, and according to the user identifier "001" obtained by parsing, the user characteristic information "age: X" and "occupation: Y" corresponding to the user representation is read in the data table corresponding to the second field "Table 1", and the user characteristic information "age: X" and "occupation: Y" are passed to the recommendation algorithm corresponding to the third field "access address 2", and the algorithm result "recommended information 1" is obtained, and the algorithm result "recommended information 1" is returned to the business party providing the information recommendation service.

[0118] In a specific implementation, the second field is the table identification information of the target data table storing user characteristic information; the user characteristic information is represented by the field value of the characteristic field; the information recommendation data processing method also includes: receiving a data update request for the target data table; and according to the data update request, performing data update processing on at least one of the number, field type and field value of the characteristic field.

[0119] The table identification information may be identification information used to identify a uniquely corresponding data table, for example, a table name, a table serial number, a table address, and the like.

[0120] The feature field may be a field that describes the type of user features, such as age, occupation, major, and so on.

[0121] The field value of the characteristic field may be a specific numerical value that describes the user's characteristics. For example, the field value of the characteristic field "age" is "20 years old", the field value of the characteristic field "major" is "mathematics", and so on.

[0122] In the target information recommendation scenario, the data used as a reference for information recommendation may be changed to optimize the information recommendation effect. For example, initially, feature 1 and feature 2 are used as parameters to be passed to the recommendation algorithm. Later, in order to optimize the information recommendation effect, feature 1, feature 2, and feature 3 are used as parameters to be passed to the recommendation algorithm. By storing user feature information in the target data table, and configuring the second field representing the user feature information as the table identification information of the target data table, it is beneficial to flexibly update the user feature information required for information recommendation processing in the target information recommendation scenario while keeping the information recommendation service unchanged, which can reduce the number of times the configuration information of the information recommendation service is modified and the information recommendation service is republished.

[0123] The data update request for the target data table can be used to request to add / delete / update feature fields, to request to add / delete / update feature fields and corresponding field values, and to add / delete / update specified field values.

[0124] For example, data update request 1 is used to request to update the feature field "feature 1" to "feature 1'". According to data update request 1, the field type of the feature field "feature 1" is updated to "feature 1'".

[0125] Data update request 2 is used to request the addition of the feature field "occupation" and the corresponding field value. According to the data update request 2, the number, field type and field value of the feature field are updated. Specifically, after the data update process, the number of feature fields in the target data table is increased by 1, the field type of the newly added feature field is "occupation", and the newly added field values ​​include the field value "occupation 1" of the feature field "occupation" of the user ID "001" and the field value "occupation 2" of the feature field "occupation" of the user ID "002".

[0126] Data update request 3 is used to request to change the field value "Occupation 1" of the characteristic field "Occupation" of user ID "001" to "Occupation 2". According to data update request 3, the field value "Occupation 1" of the characteristic field "Occupation" of user ID "001" is updated and changed to "Occupation 2".

[0127] Data update request 4 is used to request the deletion of the feature field "Feature 3". Before the data update processing, the target data table includes the feature field "Feature 3" but does not include the field value of the feature field "Feature 3". Then, according to the data update request 4, the data update processing is performed on the number of feature fields, that is, the feature field "Feature 3" is deleted.

[0128] In some implementations, the information recommendation data processing method further includes: receiving a resource update request, the resource update request being used to request an update of table identification information. After receiving the resource update request, the information recommendation data processing method provided in this embodiment can be executed to republish the information recommendation service of the target information recommendation scenario. By changing the table identification information, the data table storing the user feature information can be replaced, thereby substantially adjusting the parameters of the recommendation algorithm to be passed in. Considering that there is no technical difficulty in reconfiguring a data table storing user feature information, and the requirements for business capabilities and business proficiency are extremely low, by updating the table identification information, the workload of manually changing the configuration information of the information recommendation service can be reduced, and the requirements for manual business capabilities and business proficiency in the operation and maintenance scenario can also be reduced. In addition, since the information recommendation service for each information recommendation scenario is independent, replacing the data table and republishing the information recommendation service for the target information recommendation scenario will not affect the information recommendation service of other information recommendation scenarios.

[0129] In other implementations, considering that the information recommendation service of the target information recommendation scenario can use the parameter assembly service provided by the first image to shield the parameter acquisition method of the information recommendation parameters of the target information recommendation scenario, it can also not re-publish the information recommendation service of the target information recommendation scenario through the information recommendation data processing method provided by this embodiment after receiving the resource update request, but directly perform information recommendation processing in the target information recommendation scenario according to the table identification information after the resource update, thereby improving the maintenance efficiency of the information recommendation service and reducing the interference to users caused by re-publishing the service.

[0130] To better understand how the parameter assembly service shields the parameter acquisition method, an example is provided below for illustration.

[0131] For example, by performing parameter assembly processing on the first field, the second field, and the third field according to a preset assembly method, the data processing logic of the information recommendation service for the information recommendation request in the target information recommendation scenario can be as follows: the user identifier carried in the information recommendation request is obtained by parsing the first field, and the user feature information corresponding to the user identifier is read in the data table corresponding to the second field based on the user identifier obtained by the analysis, and the user feature information is passed to the recommendation algorithm corresponding to the third field, and the algorithm result is obtained, and the algorithm result is returned to the business party providing the information recommendation service.

[0132] After receiving a resource update request for requesting an update of table identification information, the table identification information changes, that is, the field value of the second field changes, but the data processing logic of the information recommendation service in the target information recommendation scenario still includes "reading user feature information corresponding to the user identifier in the data table corresponding to the second field based on the user identifier obtained through analysis". The field value of the second field changes, resulting in the data table corresponding to the second field changing when processing the information recommendation request, but the data processing logic is not changed. This is because the parameter acquisition method of the data table is shielded by the parameter assembly service. Therefore, after receiving the resource update request, there is no need to republish the information recommendation service of the target information recommendation scenario, and the updated table identification information can be used directly to process the information recommendation request of the target information recommendation scenario.

[0133] In a specific implementation, the third field is a second access address for accessing a second image, and the second image is used to provide a target recommendation algorithm configured for a target information recommendation scenario; the information recommendation data processing method also includes: receiving an algorithm update request for a target recommendation algorithm; updating a code segment of the target recommendation algorithm according to the algorithm update request; updating the second image and the second access address according to the updated code segment; and performing resource editing on the third field in the target resource according to the updated second access address.

[0134] The algorithm update request can be used to request an update of the code segment of the target recommendation algorithm.

[0135] The second image and the second access address are updated according to the updated code segment, and the second image is republished according to the updated code segment, and a new second access address is generated.

[0136] The second image can be released again by first deleting the released second image before the update process, and then releasing the second image according to the updated code segment. After the second image is released, the access address of the second image can be automatically generated, that is, the second access address after the update process.

[0137] According to the updated second access address, resource editing is performed on the third field in the target resource, and the second access address before the update in the third field in the target resource is changed to the updated second access address.

[0138] After performing resource editing processing on the third field in the target resource according to the updated second access address, the information recommendation data processing method provided by this embodiment can be executed to republish the information recommendation service of the target information recommendation scenario. By changing the second access address, the target recommendation algorithm used in the information recommendation processing can be replaced. Since the information recommendation service of each information recommendation scenario is independent, changing the recommendation algorithm and republishing the information recommendation service of the target information recommendation scenario will not affect the information recommendation services of other information recommendation scenarios.

[0139] Considering that the information recommendation service of the target information recommendation scenario utilizes the parameter assembly service provided by the first image, the parameter acquisition method of the information recommendation parameters of the target information recommendation scenario can be shielded. Therefore, after performing resource editing processing on the third field in the target resource according to the second access address after the update processing, information recommendation processing can be performed in the target information recommendation scenario directly according to the second access address after the resource editing processing without republishing the information recommendation service, thereby improving the maintenance efficiency of the information recommendation service and reducing the interference to users caused by republishing the service.

[0140] Step S208: publishing the information recommendation service of the target information recommendation scenario according to the target information recommendation parameters.

[0141] Publishing information recommendation services can be considered as a process of instantiating target resources, that is, creating an instance of the target resource.

[0142] According to the target information recommendation parameters, the information recommendation service for the target information recommendation scenario is published and processed, which may be to configure the data processing logic of the information recommendation service according to the information recommendation parameters after parameter assembly processing, and publish the configured information recommendation service.

[0143] For example, information recommendation parameters include: "tableName: table 1", "userExpress: $.userId", and "algoUrl: access address 2", and so on.

[0144] Through "userExpress: $.userId", it can be determined that the first field representing the user identifier is "userId", through "tableName: Table 1", the second field representing the user feature information can be determined as "Table 1", and through "algoUrl: Access Address 2", it can be determined that the third field representing the recommendation algorithm is "Access Address 2".

[0145] The parameter assembly service is started according to the first access address to perform parameter assembly processing on the first field "userId", the second field "table 1" and the third field "access address 2".

[0146] Taking a specific information recommendation request as an example, according to the target information recommendation parameters, it can be determined that the data processing logic of the information recommendation service in the target information recommendation scenario for the information recommendation request is as follows:

[0147] According to the first field "userId", the information "userId: 001" carried in the information recommendation request is parsed to obtain the user identifier "001" carried in the information recommendation request, and according to the user identifier "001" obtained by parsing, the user characteristic information "age: X" and "occupation: Y" corresponding to the user representation is read in the data table corresponding to the second field "Table 1", and the user characteristic information "age: X" and "occupation: Y" are passed to the recommendation algorithm corresponding to the third field "access address 2", and the algorithm result "recommended information 1" is obtained, and the algorithm result "recommended information 1" is returned to the business party providing the information recommendation service.

[0148] After completing the configuration of the data processing logic of the information recommendation service for the information recommendation request in the target information recommendation scenario, the publishing process of the information recommendation service can be performed.

[0149] In a specific implementation, after publishing and processing the information recommendation service of the target information recommendation scenario according to the target information recommendation parameters, the information recommendation data processing method also includes: receiving a first information recommendation request carrying a first scene identifier; if it is determined according to the first scene identifier that the first information recommendation request is in the target information recommendation scenario, calling the information recommendation service to perform information recommendation processing.

[0150] In actual applications, after the user performs some preset operations, one or more information recommendation requests for information recommendation scenarios may be automatically triggered, and the information recommendation request for each information recommendation scenario carries a scenario identifier of the information recommendation scenario.

[0151] For example, the homepage of application A includes a first area, which is used to display the first type of products recommended to the user, and the first area corresponds to information recommendation scenario 1. For different users, the first type of products suitable for the user may be different. When user 1 enters the homepage of application A, a first information recommendation request for the first scenario of user 1 is automatically triggered, and the first information recommendation request carries a scenario identifier 101 of the first scenario. If the first information recommendation request is determined to be in the target information recommendation scenario according to the scenario identifier 101, the information recommendation service is called to perform information recommendation processing, and the recommendation prediction result "product 1" is obtained, and the recommendation information of "product 1" is displayed in the first area of ​​the homepage. Similarly, when user 2 enters the homepage of application A, a first information recommendation request for the first scenario of user 2 is automatically triggered, and the first information recommendation request carries a scenario identifier 101 of the first scenario. If the first information recommendation request is determined to be in the target information recommendation scenario according to the scenario identifier 101, the information recommendation service is called to perform information recommendation processing, and the recommendation prediction result "product 2" is obtained, and the recommendation information of "product 2" is displayed in the first area of ​​the homepage.

[0152] In specific implementation, after publishing the information recommendation service of the target information recommendation scenario according to the target information recommendation parameter, a third access address of the information recommendation service of the target information recommendation scenario can be automatically generated. Calling the information recommendation service to perform information recommendation processing can be calling the information recommendation service through the third access address to perform information recommendation processing.

[0153] Taking into account that the information recommendation service of each information recommendation scenario is independent, on the one hand, if the information recommendation service of the target information recommendation scenario goes down, it will not affect the information recommendation services of other information recommendation scenarios, thus reducing the pressure of operation and maintenance; on the other hand, each information recommendation service only processes the information recommendation request of the corresponding scenario, which can reduce the pressure of data processing and avoid the service downtime caused by uneven resource allocation that is easy to occur when multiple information recommendation scenarios share the same information recommendation service; on the other hand, the release of information recommendation services for new information recommendation scenarios will not affect the information recommendation services of existing information recommendation scenarios, thus reducing the pressure of operation and maintenance, and the deployment and access of services can be quickly completed by manually deploying custom resources; on the other hand, it is conducive to the targeted configuration of the data processing resources required for the information recommendation service according to the characteristics of the information recommendation scenario. For example, for the first scenario with a large number of concurrency, better hardware resources can be configured during the release of the information recommendation service.

[0154] In a specific implementation, the information recommendation service includes a parameter sub-service and an algorithm sub-service; calling the information recommendation service to perform information recommendation processing includes: calling the parameter sub-service to parse and process the first information recommendation request to obtain a target user identifier; querying the corresponding target user feature information based on the target user identifier; sending the target user feature information to the algorithm sub-service; calling the algorithm sub-service to perform information recommendation processing based on the target user feature information.

[0155] The calling parameter sub-service can parse and process the first information recommendation request according to the first field to obtain the target user identifier. It can also query the target user feature information corresponding to the target user identifier in the data table corresponding to the second field according to the target user identifier. It can also pass the target user feature information to the algorithm sub-service according to the third field.

[0156] The algorithm sub-service may be provided by the second image. The algorithm sub-service may be called to perform information recommendation processing according to the target user feature information, obtain a recommendation prediction result, and send the recommendation prediction result to the parameter sub-service, which is then sent to the business party providing the information recommendation service.

[0157] In such Figure 2 In the embodiment shown, first, the target resource of the target information recommendation scenario is obtained; then, the information recommendation parameters and the first access address for accessing the first image are extracted from the target resource; then, the first image is accessed according to the first access address to start the parameter assembly service, and the information recommendation parameters are assembled through the parameter assembly service to obtain the target information recommendation parameters of the target information recommendation scenario; finally, according to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published. In this way, considering that the parameters required for information recommendation processing are different in different information recommendation scenarios, for any information recommendation scenario, for example, the target information recommendation scenario, the parameter assembly service provided by the first image can be used to assemble the information recommendation parameters required by the target information recommendation scenario and publish the information recommendation service of the corresponding scenario, so as to realize that each information recommendation scenario has a personalized information recommendation service. Furthermore, in the case that the information recommendation service of any information recommendation scenario is down, the information recommendation services of other information recommendation scenarios are not affected and can still operate normally, which is conducive to reducing the operation and maintenance pressure of the information recommendation service.

[0158] Based on the same technical concept, this embodiment also provides another information recommendation data processing method. Figure 3 A processing flow chart of another information recommendation data processing method provided in an embodiment of the present application.

[0159] like Figure 3As shown, a page of application 304 includes: recommendation position 3042, recommendation position 3044 and recommendation position 3046. Among them, recommendation position 3042 is used to display the corresponding recommendation prediction result after information recommendation processing in information recommendation scenario 1, recommendation position 3044 is used to display the corresponding recommendation prediction result after information recommendation processing in information recommendation scenario 2, and recommendation position 3046 is used to display the corresponding recommendation prediction result after information recommendation processing in information recommendation scenario 3.

[0160] The application server 306 includes: a recommended location backend 3062 for the recommended location 3042, a recommended location backend 3064 for the recommended location 3044, and a recommended location backend 3066 for the recommended location 3046. The recommended location backend 3062 is used to receive an information recommendation request in information recommendation scenario 1. The recommended location backend 3062 is used to receive an information recommendation request in information recommendation scenario 2. The recommended location backend 3062 is used to receive an information recommendation request in information recommendation scenario 3.

[0161] The recommendation engineering service 308 includes: an access address 30802 of the information recommendation service 1 of the information recommendation scenario 1, an access address 30804 of the information recommendation service 2 of the information recommendation scenario 2, and an access address 30806 of the information recommendation service 3 of the information recommendation scenario 3.

[0162] In the recommendation engineering service 308: the functions of information recommendation service 1 include parameter assembly 30804 and request algorithm 30806; the functions of information recommendation service 2 include parameter assembly 30810 and request algorithm 30812; the functions of information recommendation service 3 include parameter assembly 30816 and request algorithm 30818.

[0163] The recommendation algorithm 310 includes: a location recommendation algorithm 3102 adopted in information recommendation scenario 1, a location recommendation algorithm 3104 adopted in information recommendation scenario 2, and a location recommendation algorithm 3106 adopted in information recommendation scenario 3.

[0164] In such Figure 3 In another information recommendation data processing method shown, the following steps may be performed:

[0165] (1) Developers can first develop the parameter assembly service and package it into the first image.

[0166] (2) Developers develop custom CRDs and deploy them to the cluster of the container management platform.

[0167] (3) The algorithm personnel complete the development of the recommendation algorithm according to business needs, package it into the second image, write the user parameters into the data table, and deliver the second image to the operation and maintenance personnel.

[0168] (4) The operation and maintenance personnel release the second image.

[0169] (5) The operation and maintenance personnel deploy the information recommendation service of the target information recommendation scenario and configure the information recommendation parameters of the target information recommendation scenario. After the operation and maintenance personnel complete the release of the information recommendation service, the third access address of the information recommendation service is automatically generated.

[0170] This step can refer to Figure 2 The corresponding description parts of steps S202 to S208 are shown.

[0171] (6) The business party connects to the third access address.

[0172] The subsequent business party may directly call the information recommendation service through the third access address when receiving an information recommendation request in the target information recommendation scenario.

[0173] In a specific implementation, when the user 302 enters a page of the application 304, the information recommendation request 1 of the information recommendation scenario 1, the information recommendation request 2 of the information recommendation scenario 2, and the information recommendation request 3 of the information recommendation scenario 3 are automatically triggered.

[0174] After receiving the information recommendation request 1, the recommendation location backend 3062 of the recommendation location 3042 calls the information recommendation service 1 of the information recommendation scenario 1 through the access address 30802 to process the information recommendation request 1. Specifically, through the functions of the information recommendation service 1: parameter assembly 30804 and request algorithm 30806, the information recommendation request 1 can be parsed and processed to obtain the target user identifier, and the corresponding target user feature information is queried according to the target user identifier, and the target user feature information is passed as a parameter to the location recommendation algorithm 3102. The location recommendation algorithm 3102 performs information recommendation processing according to the target user feature information, obtains the recommendation prediction result and sends it to the business party of the application 304, so as to realize the display of the recommendation prediction result to the user 302 at the recommendation location 3042.

[0175] After receiving the information recommendation request 2, the recommended location backend 3064 of the recommended location 3044 calls the information recommendation service 2 of the information recommendation scenario 2 through the access address 30808 to process the information recommendation request 2. Specifically, through the functions of the information recommendation service 2: parameter assembly 30810 and request algorithm 30812, the information recommendation request 2 can be parsed and processed to obtain the target user identifier, and the corresponding target user feature information is queried according to the target user identifier, and the target user feature information is passed as a parameter to the location recommendation algorithm 3104. The location recommendation algorithm 3104 performs information recommendation processing according to the target user feature information, obtains the recommendation prediction result and sends it to the business party of the application 304, so as to realize the display of the recommendation prediction result to the user 302 at the recommended location 3044.

[0176] After receiving the information recommendation request 3, the recommendation location backend 3066 of the recommendation location 3046 calls the information recommendation service 3 of the information recommendation scenario 3 through the access address 30814 to process the information recommendation request 3. Specifically, through the functions of the information recommendation service 3: parameter assembly 30816 and request algorithm 30818, the information recommendation request 3 can be parsed and processed to obtain the target user identifier, and the corresponding target user feature information is queried according to the target user identifier, and the target user feature information is passed as a parameter to the location recommendation algorithm 3106. The location recommendation algorithm 3106 performs information recommendation processing according to the target user feature information, obtains the recommendation prediction result and sends it to the business party of the application 304, so as to realize the display of the recommendation prediction result to the user 302 at the recommendation location 3046.

[0177] Since the technical concept is the same, the description of the other information recommendation data processing method provided in this embodiment is relatively simple, and the relevant parts may refer to the corresponding description of the aforementioned method in this embodiment.

[0178] An embodiment of an information recommendation data processing device provided in this specification is as follows:

[0179] In the above-mentioned embodiment, a method for processing information recommendation data is provided. Based on the same technical concept, an embodiment of the present application also provides an information recommendation data processing device, which is described below in conjunction with the accompanying drawings.

[0180] Figure 4 Schematic diagram of an information recommendation data processing device provided in an embodiment of the present application. This embodiment provides an information recommendation data processing device 400, including:

[0181] An acquisition unit 402 is used to acquire a target resource of a target information recommendation scenario;

[0182] An extraction unit 404 is used to extract the information recommendation parameter and the first access address for accessing the first image from the target resource;

[0183] An assembling unit 406 is configured to access the first image according to the first access address to start a parameter assembly service, and perform parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0184] The publishing unit 408 is used to publish the information recommendation service of the target information recommendation scenario according to the target information recommendation parameter.

[0185] Optionally, when the assembling unit 406 performs parameter assembly processing on the information recommendation parameters, the assembling unit 406 performs the following steps:

[0186] Determining, in the information recommendation parameters, a first field representing a user identifier, a second field representing user feature information, and a third field representing a recommendation algorithm;

[0187] The first field, the second field and the third field are subjected to parameter assembly processing according to a preset assembly method.

[0188] Optionally, the second field is table identification information of a target data table storing user characteristic information; the user characteristic information is represented by a field value of a characteristic field; the information recommendation data processing device 400 further includes:

[0189] A receiving unit, configured to receive a data update request for a target data table;

[0190] The updating unit is used to perform data updating processing on at least one of the number, field type and field value of the characteristic fields according to the data updating request.

[0191] Optionally, the third field is a second access address for accessing a second image, and the second image is used to provide a target recommendation algorithm configured for the target information recommendation scenario; the information recommendation data processing device 400 further includes an editing unit;

[0192] The receiving unit is further used to receive an algorithm update request for the target recommendation algorithm;

[0193] The updating unit is further used to update the code segment of the target recommendation algorithm according to the algorithm update request; and update the second image and the second access address according to the updated code segment;

[0194] The editing unit is used to perform resource editing processing on the third field in the target resource according to the second access address after the update processing.

[0195] Optionally, the information recommendation data processing device 400 further includes a calling unit;

[0196] The receiving unit is further configured to receive a first information recommendation request carrying a first scene identifier;

[0197] The calling unit is configured to call the information recommendation service to perform information recommendation processing if it is determined according to the first scenario identifier that the first information recommendation request is in a target information recommendation scenario.

[0198] Optionally, the information recommendation service includes a parameter sub-service and an algorithm sub-service; when the calling unit calls the information recommendation service to perform information recommendation processing, the calling unit performs the following steps:

[0199] Call the parameter sub-service to parse and process the first information recommendation request to obtain a target user identifier; query corresponding target user feature information according to the target user identifier; and send the target user feature information to the algorithm sub-service;

[0200] The algorithm sub-service is called to perform information recommendation processing based on the target user's characteristic information.

[0201] Optionally, when acquiring the target resource of the target information recommendation scenario, the acquisition unit 402 performs the following steps:

[0202] When a resource creation operation is detected, obtaining a target resource created by the resource creation operation;

[0203] or,

[0204] When a resource update operation is detected, the target resource to be updated by the resource update operation is acquired.

[0205] In an embodiment of the present application, an information recommendation data processing device includes: an acquisition unit for acquiring a target resource of a target information recommendation scenario; an extraction unit for extracting information recommendation parameters and a first access address for accessing a first image from the target resource; an assembly unit for accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters of the target information recommendation scenario; and a publishing unit for publishing the information recommendation service of the target information recommendation scenario according to the target information recommendation parameters. In this way, considering that the parameters required for information recommendation processing are different in different information recommendation scenarios, for any information recommendation scenario, for example, the target information recommendation scenario, the parameter assembly service provided by the first image can be used to assemble the information recommendation parameters required for the target information recommendation scenario and publish the information recommendation service of the corresponding scenario, so as to realize that each information recommendation scenario has a personalized information recommendation service. Furthermore, in the case where the information recommendation service of any information recommendation scenario is down, the information recommendation services of other information recommendation scenarios are not affected and can still operate normally, which is conducive to reducing the operation and maintenance pressure of the information recommendation service.

[0206] Corresponding to the information recommendation data processing method described above, based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the information recommendation data processing method provided above. Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0207] like Figure 5 As shown, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 501 and memory 502, and the memory 502 may store one or more storage applications or data. Among them, the memory 502 can be a temporary storage or a permanent storage. The application stored in the memory 502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 501 can be configured to communicate with the memory 502 to execute a series of computer executable instructions in the memory 502 on the electronic device. The electronic device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input / output interfaces 505, one or more keyboards 506, etc.

[0208] In a specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs configured to be executed by one or more processors include the following computer executable instructions:

[0209] Obtain target resources for target information recommendation scenarios;

[0210] Extracting an information recommendation parameter and a first access address for accessing a first image from the target resource;

[0211] Accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0212] According to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published.

[0213] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented:

[0214] Obtain target resources for target information recommendation scenarios;

[0215] Extracting an information recommendation parameter and a first access address for accessing a first image from the target resource;

[0216] Accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0217] According to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published.

[0218] It should be noted that the embodiment of the computer-readable storage medium in this specification and the embodiment of the information recommendation data processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0219] Another embodiment of the present disclosure further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following process is implemented:

[0220] Obtain target resources for target information recommendation scenarios;

[0221] Extracting an information recommendation parameter and a first access address for accessing a first image from the target resource;

[0222] Accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario;

[0223] According to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published.

[0224] The computer program product in the embodiment of the present disclosure can implement each process of the above-mentioned information recommendation data processing method embodiment and achieve the same effect and function, which will not be repeated here.

[0225] In an embodiment of the present application, first, the target resource of the target information recommendation scenario is obtained; then, the information recommendation parameters and the first access address for accessing the first image are extracted from the target resource; then, the first image is accessed according to the first access address to start the parameter assembly service, and the information recommendation parameters are assembled through the parameter assembly service to obtain the target information recommendation parameters of the target information recommendation scenario; finally, according to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published. In this way, considering that the parameters required for information recommendation processing are different in different information recommendation scenarios, for any information recommendation scenario, for example, the target information recommendation scenario, the parameter assembly service provided by the first image can be used to assemble the information recommendation parameters required for the target information recommendation scenario and publish the information recommendation service of the corresponding scenario, so as to realize that each information recommendation scenario has a personalized information recommendation service. Furthermore, in the case where the information recommendation service of any information recommendation scenario is down, the information recommendation services of other information recommendation scenarios are not affected and can still operate normally, which is conducive to reducing the operation and maintenance pressure of the information recommendation service.

[0226] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0227] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0228] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable electronic device to produce a machine, so that the instructions executed by the processor of the computer or other programmable electronic device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0229] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable electronic device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0230] These computer program instructions may also be loaded onto a computer or other programmable electronic device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0231] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0232] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0233] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0234] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0235] Embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0236] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0237] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A method for processing information recommendation data, characterized in that: include: Obtain target resources for target information recommendation scenarios; Extracting an information recommendation parameter and a first access address for accessing a first image from the target resource; Accessing the first image according to the first access address to start a parameter assembly service, and performing parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario; According to the target information recommendation parameters, the information recommendation service of the target information recommendation scenario is published.

2. The method according to claim 1, characterized in that The parameter assembly process of the information recommendation parameters includes: Determining, in the information recommendation parameters, a first field representing a user identifier, a second field representing user feature information, and a third field representing a recommendation algorithm; Perform parameter assembly processing on the first field, the second field and the third field according to a preset assembly method.

3. The method according to claim 2, characterized in that The second field is table identification information of a target data table storing the user characteristic information; the user characteristic information is represented by a field value of a characteristic field; the method further includes: receiving a data update request for the target data table; According to the data update request, data update processing is performed on at least one of the number, field type and field value of the characteristic fields.

4. The method according to claim 2, characterized in that: The third field is a second access address for accessing a second image, where the second image is used to provide a target recommendation algorithm configured for the target information recommendation scenario; The method further comprises: receiving an algorithm update request for the target recommendation algorithm; According to the algorithm update request, updating the code segment of the target recommendation algorithm; According to the updated code segment, updating the second image and the second access address; According to the updated second access address, resource editing is performed on the third field in the target resource.

5. The method according to claim 1, characterized in that After publishing the information recommendation service for the target information recommendation scenario according to the target information recommendation parameter, the method further includes: receiving a first information recommendation request carrying a first scene identifier; If it is determined according to the first scenario identifier that the first information recommendation request is in the target information recommendation scenario, the information recommendation service is called to perform information recommendation processing.

6. The method according to claim 5, characterized in that The information recommendation service includes a parameter sub-service and an algorithm sub-service; the calling of the information recommendation service to perform information recommendation processing includes: Calling the parameter sub-service to parse and process the first information recommendation request to obtain a target user identifier; querying corresponding target user feature information according to the target user identifier; and sending the target user feature information to the algorithm sub-service; The algorithm sub-service is called to perform information recommendation processing according to the target user feature information.

7. The method according to claim 1, characterized in that The step of obtaining target resources for a target information recommendation scenario includes: In case a resource creation operation is detected, acquiring the target resource created by the resource creation operation; or, When a resource update operation is detected, the target resource to be updated by the resource update operation is acquired.

8. An information recommendation data processing device, characterized in that: include: An acquisition unit, used to acquire target resources of a target information recommendation scenario; An extraction unit, configured to extract an information recommendation parameter and a first access address for accessing a first image from the target resource; an assembling unit, configured to access the first image according to the first access address to start a parameter assembly service, and perform parameter assembly processing on the information recommendation parameters through the parameter assembly service to obtain target information recommendation parameters for the target information recommendation scenario; A publishing unit is used to publish the information recommendation service of the target information recommendation scenario according to the target information recommendation parameters.

9. An electronic device, characterized in that: include: processor; And, a memory configured to store computer executable instructions, which, when executed, cause the processor to perform the information recommendation data processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the information recommendation data processing method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the information recommendation data processing method as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for providing application construction service and application construction platform

    CN111984269A

  • Application deployment method and system

    CN111984270A

  • Micro-service deployment method and device, code server and storage medium

    CN114461249A

  • Information processing method and device, equipment and storage medium

    CN115454416A

  • Model service method and device

    CN116450157A