Resource allocation method and resource allocation device
By calculating and sorting the business attribute scores of the services to be exposed, the problems of single resource allocation and poor exposure efficiency in the prior art are solved, and more efficient and diversified resource allocation is achieved.
Patent Information
- Application Number
- CN202111169570.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2041-10-08
AI Technical Summary
In the prior art, the resource allocation method is single, resulting in poor exposure efficiency and cannot meet the various business needs of diversified Internet services.
By obtaining multiple business attributes of the services to be exposed, the scores of each business attribute are calculated, and the scores are sorted according to the scores, so as to achieve diversified allocation of resources.
The efficiency and diversity of resource allocation are improved, so that the services allocated to each exposure opportunity have high value to both the platform and the user.
Smart Images

Figure CN113869957B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a resource allocation method and a resource allocation device. Background Art
[0002] In the related technologies, Internet businesses are diversified, and traffic media has multiple business requirements. Generally speaking, when allocating resources for exposure opportunities, resources are generally allocated to a single type of business based on a fixed allocation method, such as only exposing advertising content on an advertising space, resulting in a single resource allocation method and poor allocation efficiency. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a resource allocation method and a resource allocation device, which can solve the problems of a single business resource allocation method and poor exposure efficiency.
[0004] In a first aspect, an embodiment of the present application provides a resource allocation method, including:
[0005] Obtain M services to be exposed, where the services to be exposed correspond to N service attributes, and M and N are positive integers;
[0006] Determine a first score of each of the N business attributes, and calculate a business score of the to-be-exposed business according to the first score;
[0007] Based on the business scores, sort the M businesses to be exposed to obtain a value sequence;
[0008] Expose the businesses to be exposed according to the value sequence.
[0009] In a second aspect, an embodiment of the present application provides a resource allocation device, including:
[0010] An acquisition module is used to acquire M services to be exposed, wherein the services to be exposed correspond to N service attributes, and M and N are positive integers;
[0011] A calculation module, used to determine a first score of each of the N business attributes, and calculate a business score of the to-be-exposed business according to the first score;
[0012] A sorting module is used to sort the M businesses to be exposed based on the business scores to obtain a value sequence;
[0013] The exposure module is used to expose the exposed businesses according to the value sequence.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.
[0017] In the embodiment of the present application, when there is an exposure opportunity, the business attributes of multiple businesses that can be exposed are confirmed, and based on the scores of the business attributes, the scores of the businesses to be exposed are determined and recorded as the business scores of the businesses to be exposed. Among them, the business attributes include the attributes of the current business, such as advertising attributes, content attributes, distribution attributes, etc., that is, businesses of various business types are regarded as equal businesses to be exposed. Therefore, the business assigned to each exposure opportunity will not be a fixed business type, making the content of business exposure richer.
[0018] At the same time, the business score is a score obtained by combining multiple factors such as user preferences and platform strategies. The business score can intuitively express the exposure efficiency of a business. Therefore, based on the business score of each business to be exposed, the current multiple businesses to be exposed are sorted, and the current exposure opportunities are allocated according to the sorted value sequence, so that the business allocated to each exposure opportunity has a higher value for both the platform and the user, which can effectively improve the efficiency of resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flow chart of a resource allocation method according to an embodiment of the present application is shown;
[0020] Figure 2 A structural block diagram of a resource allocation device according to an embodiment of the present application is shown;
[0021] Figure 3 A structural block diagram of an electronic device according to an embodiment of the present application is shown;
[0022] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] The resource allocation method and resource allocation device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0026] In some embodiments of the present application, a resource allocation method is provided. Figure 1 A flow chart of a resource allocation method according to an embodiment of the present application is shown. Figure 1 As shown, the method includes:
[0027] Step 102, obtaining M services to be exposed;
[0028] In step 102, the business to be exposed corresponds to N business attributes, where M and N are positive integers;
[0029] Step 104, determining a first score of each of the N business attributes, and calculating a business score of the to-be-exposed business according to the first score;
[0030] Step 106, sorting the M businesses to be exposed based on the business scores to obtain a value sequence;
[0031] Step 108: Expose the business to be exposed according to the value sequence.
[0032] In an embodiment of the present application, when there is an exposure opportunity, the business attributes of multiple businesses that can be exposed are confirmed, and based on the scores of the business attributes, the score of the business to be exposed is determined and recorded as a business score of the business to be exposed.
[0033] Among them, exposure opportunity refers to the opportunity to showcase the business. An exposure opportunity can be a display area on a display interface, such as a content area on a web page, a "picture-in-picture" area during video playback, or an application recommendation position in an application store, or an audio clip in broadcast audio.
[0034] The business to be exposed can be a piece of news content, an advertisement, a game or an application (Application, APP).
[0035] Therefore, when there is an exposure opportunity, that is, there is a window for displaying the above-mentioned business to be exposed to the user, allocating an exposure opportunity to a business to be exposed means allocating a display resource to this business.
[0036] Among them, each business to be exposed corresponds to N business attributes, and the business attributes include the attributes of the current business, such as advertising attributes, content attributes, distribution attributes, etc. Among them, a business to be exposed may have only one attribute, such as the attribute of "mobile game" is "game", and a business to be exposed may also have multiple attributes at the same time, such as the attribute of "mobile game advertising" is "game + advertising".
[0037] Furthermore, the first score of each business attribute is estimated through a real-time estimation model. In the estimation process, the business strategy of the platform providing the exposure opportunity and the habits of the users of the exposure opportunity can be referred to to estimate the value of the business, thereby obtaining the first score.
[0038] This application regards various types of businesses, that is, businesses with different business attributes, as equal businesses to be exposed. Therefore, the business allocated to each exposure opportunity will not be a fixed business type, making the content of business exposure richer.
[0039] At the same time, the business score is a score obtained by combining multiple factors such as user preferences and platform strategies. The business score can intuitively express the exposure efficiency of a business. Therefore, based on the business score of each business to be exposed, the current multiple businesses to be exposed are sorted, and the current exposure opportunities are allocated according to the sorted value sequence, so that the business allocated to each exposure opportunity has a higher value for both the platform and the user, which can effectively improve the efficiency of resource allocation.
[0040] In some embodiments of the present application, the business score of the to-be-exposed business is calculated according to the first score of each business attribute among the N business attributes, including:
[0041] Normalizing the N first scores to obtain N normalized second scores;
[0042] Obtaining N weight ratios, wherein the N weight ratios correspond one-to-one to the N second scores;
[0043] Calculate the product of the second score of each business attribute and the corresponding weight ratio respectively to obtain a third score of the business attribute;
[0044] The sum of the N third scores is calculated to obtain the business score.
[0045] In an embodiment of the present application, a business to be exposed may have N business attributes, wherein the score of each business attribute is the first score. Specifically, the score of a business attribute refers to the score after comprehensive consideration of user value and platform value. For example, for a content distribution business (i.e., a business attribute of which is business distribution), its value is generally expressed by the content click-through rate (CTR), while for an advertising business (i.e., a business attribute of which is advertising), its value is generally expressed by the previous exposure revenue (Effective cost per mille, ECPM).
[0046] That is to say, for different business attributes, the first scores are expressed in different forms and their values are also quite different. Therefore, in order to uniformly quantify the scores of different types of business attributes, the N first scores corresponding to the N business attributes of a business to be exposed can be normalized. The normalized first scores are mapped to the same dimension, so that the true value of different business attributes can be accurately quantified.
[0047] Furthermore, after normalizing the N first scores, N second scores mapped to the same dimension are obtained, and N weight ratios corresponding to the N second scores are obtained. Specifically, when determining the first score of a business attribute, different business attributes are scored based on platform strategies and user habits through a preset prediction model. As platform strategies change and user profiles evolve, the value of different business attributes in the eyes of different platforms and different users may also change, thus leading to prediction errors.
[0048] This application sets a corresponding weight ratio for each business attribute, which represents the importance of a business attribute in the eyes of the current platform and the current user. Therefore, by calculating the product of the weight ratio and the second score, the superposition of prediction bias can be effectively avoided and the accuracy of value calculation can be improved.
[0049] After calculating the product of the second score of each business attribute and the corresponding weight ratio, the N second scores of the N business attributes are added together to obtain the third score, which is the business score of the current business to be exposed. Based on the third scores of the M businesses to be exposed, the M businesses to be exposed are sorted, where the business with the highest third score is the one with the highest ranking. Therefore, in the current exposure opportunity, the M businesses to be exposed are exposed according to the sorted value sequence, which can make the exposed businesses have relatively higher value for the current platform and the current user, thereby improving the efficiency of business exposure.
[0050] Specifically, the calculation formula is as follows:
[0051] score = a 1 ×F(object_1_scoren)+a 2 ×F(object_2_scoren)……+a n ×F(object_n_sco
[0052] ren);
[0053] Among them, score is the business score of the business to be exposed, a n is the weight ratio corresponding to the business attribute, object_n_scoren is the first score of the business attribute, F(object_1_scoren) is the second score after normalizing the first score, a n ×F(object_n_scoren) is the third score.
[0054] Here, F(x) is set as a normalized variation function, which is used to uniformly map the distribution of the original first score to the interval [0, 1], thereby achieving a unified dimension. Therefore, 0≤F(object_1_scoren)≤1.
[0055] In some embodiments of the present application, obtaining N weight ratios includes:
[0056] Obtain N preset weight ratios, and obtain user feature information of the current user and platform policy information of the current platform, wherein the N preset weight ratios correspond one-to-one to the N business attributes;
[0057] According to one or more of the user characteristic information and the platform policy information, N preset weight ratios are adjusted to obtain N weight ratios.
[0058] In an embodiment of the present application, a preset weight ratio can be pre-stored for each business attribute, and the weight ratio is an assessment of the importance of each business under a general strategy. Further, the platform policy information of the current platform and the user characteristics of the current user are obtained. Through the platform policy information and user characteristic information, the preset weight ratio is adjusted to make the weight ratio closer to the current platform requirements and user preferences, so that the business finally exposed has a higher value for both the platform and the user.
[0059] The preset weight ratio is based on the current business attribute status of the business to be exposed as the starting point, and multiple groups of AB tests are performed to gradually converge the weight ratio of the business attribute from a wide range to a set of parameters {a 1 , a 2 ……a n}, where each parameter is a preset weight ratio of a business attribute.
[0060] Specifically, the platform policy information includes the platform's unified regulation of the exposed business, such as the platform policy information can include exposure restrictions for businesses with the same business attributes. For example, the current page includes two exposure opportunities, one of which has been allocated to a business with the "game" attribute. If the platform policy does not want to continuously expose the same business type, then in the second exposure opportunity, the weight value corresponding to the "game" business attribute is dynamically reduced, thereby reducing the probability of "game" type business appearing, so that multiple exposure opportunities can be allocated to more business types, enriching the types of business exposure.
[0061] For another example, the platform strategy includes "content priority", that is, the platform has a higher priority setting for content distribution services. In this case, the weight value of the business attribute "content distribution" can be dynamically increased so that more exposure opportunities are allocated to content distribution services.
[0062] For example, the platform strategy includes setting different weights for different business attributes based on the position of the exposure opportunity on the page. For example, in the exposure opportunity at the "header" position of the web page, the weight value of the business attribute "news" is dynamically increased.
[0063] User feature information, including the user's historical behavior, generates a corresponding user feature profile through the user's historical behavior. Among them, the user's historical behavior includes the number of clicks, viewing time or playing time of the user on services of different service types. The more times a user clicks on a service with a certain service attribute, the more interested the user is in the service with the service attribute. In other words, the user is more willing to see the service with the service attribute. At this time, the weight value of the corresponding service attribute can be increased so that the user can obtain more services with the service attribute.
[0064] In some embodiments, the user characteristic information includes the programs that the user has recently used or the websites that the user has recently visited. Based on the types of programs that the user has recently used or the websites that the user has recently visited, the weight values of the business attributes associated with these historical behaviors are increased. For example, if the user has recently visited a game strategy website, the weight value of the business attribute "game" is dynamically increased.
[0065] In other implementations, the user characteristic information also includes the user setting labels such as "not interested", "complaint" or "no longer interested" for certain services. If the user sets the above for a service, it means that the user is not interested in one or more service attributes of the service, or even feels disgusted. In this case, the weight value of the corresponding service attribute can be reduced to reduce the number of times the user sees this type of service.
[0066] It is understandable that the "current user" for which the user information is directed may be a user account for logging into the platform, or a device identifier of an electronic device connected to the platform, or a network identifier for accessing the platform. This application does not limit this.
[0067] This application dynamically adjusts the preset weight ratios of different business attributes based on the platform strategy of the current platform and the user characteristics of the current user, so that each exposure can generate maximum value for both the platform and the user, thereby improving exposure efficiency.
[0068] In some embodiments of the present application, based on the business scores, M businesses to be exposed are sorted to obtain a value sequence, including:
[0069] Based on the size of the business scores, the M businesses to be exposed are arranged in descending order to obtain a value sequence.
[0070] In the embodiment of the present application, the larger the business score, the more valuable a business to be exposed is to the platform and the user. Therefore, the calculated business scores are arranged in descending order, and the value sequence obtained is such that the value of the business to be exposed at the front is higher. Therefore, exposing the M businesses to be exposed in the order of the value sequence can allocate more exposure opportunities to more valuable businesses, thereby effectively improving the efficiency of resource allocation.
[0071] In some embodiments of the present application, the business attributes include: content distribution, advertising, merchandise, news, games, and applications.
[0072] In the embodiment of the present application, the business attributes include content distribution, and content distribution specifically refers to content trends, including information, open courses, evaluations, etc. The business with content distribution attributes is to display and share content creation.
[0073] Advertisements include video ads, text ads, etc. Businesses with advertising attributes are aimed at promoting and introducing products or services.
[0074] Commodities include product introductions, product reviews, and product purchase links, etc. Businesses with commodity attributes are to provide methods for obtaining or purchasing commodities.
[0075] News includes news flashes, official announcements, current affairs news, etc. Businesses with news attributes are about displaying real-time news, which has a strong timeliness.
[0076] Games include mobile games, stand-alone games, online games and game-related services. Businesses with game attributes are to provide game-related content promotion, such as strategies, and provide game-related services.
[0077] Applications include tool applications, communication applications, financial applications, educational applications, etc. Similar to game attributes, businesses with application attributes are to provide application-related content promotion and services.
[0078] By classifying different types of content, different business attributes are obtained, and the exposed business is labeled by one or more business attributes, so that business exposure is no longer limited to a specific category, making the content of business exposure richer.
[0079] In some embodiments of the present application, a resource allocation device is provided. Figure 2 A structural block diagram of a resource allocation device according to an embodiment of the present application is shown. Figure 2 As shown, the resource allocation device 200 includes:
[0080] An acquisition module 202 is used to acquire M services to be exposed, wherein the services to be exposed correspond to N service attributes, and M and N are positive integers;
[0081] A calculation module 204, configured to determine a first score of each of the N business attributes, and calculate a business score of the to-be-exposed business according to the first score;
[0082] A sorting module 206 is used to sort the M businesses to be exposed based on the business scores to obtain a value sequence;
[0083] The exposure module 208 is used to expose the services to be exposed according to the value sequence.
[0084] In the embodiment of the present application, when there is an exposure opportunity, the business attributes of multiple businesses that can be exposed are confirmed, and based on the scores of the business attributes, the scores of the businesses to be exposed are determined and recorded as the business scores of the businesses to be exposed. Among them, the business attributes include the attributes of the current business, such as advertising attributes, content attributes, distribution attributes, etc., that is, businesses of various business types are regarded as equal businesses to be exposed. Therefore, the business assigned to each exposure opportunity will not be a fixed business type, making the content of business exposure richer.
[0085] At the same time, the business score is a score obtained by combining multiple factors such as user preferences and platform strategies. The business score can intuitively express the exposure efficiency of a business. Therefore, based on the business score of each business to be exposed, the current multiple businesses to be exposed are sorted, and the current exposure opportunities are allocated according to the sorted value sequence, so that the business allocated to each exposure opportunity has a higher value for both the platform and the user, which can effectively improve the efficiency of resource allocation.
[0086] In some embodiments of the present application, the resource allocation device further includes:
[0087] A processing module, used for normalizing the N first scores to obtain N normalized second scores;
[0088] The acquisition module is further used to acquire N weight ratios, wherein the N weight ratios correspond one to one to the N second scores;
[0089] The calculation module is also used to calculate the product of the second score of each business attribute and the corresponding weight ratio to obtain the third score of the business attribute; and calculate the sum of N third scores to obtain the business score.
[0090] In the embodiment of the present application, a business to be exposed may have N business attributes, wherein the score of each business attribute is a first score. In order to uniformly quantify the scores of different types of business attributes, the N first scores corresponding to the N business attributes of a business to be exposed may be normalized, and the normalized first scores are mapped to the same dimension, so that the true value of different business attributes can be accurately quantified.
[0091] After normalizing the N first scores, N second scores mapped to the same dimension are obtained, and N weight ratios corresponding to the N second scores are obtained. The product of the second score of each business attribute and the corresponding weight ratio is calculated, and the N second scores of the N business attributes are added together to obtain the third score, which is the business score of the current business to be exposed. Based on the third scores of the M businesses to be exposed, the M businesses to be exposed are sorted, where the business with the highest third score is the one ranked highest. Therefore, in the current exposure opportunity, the M businesses to be exposed are exposed according to the sorted value sequence, which can make the exposed businesses have relatively higher value for the current platform and the current users, thereby improving the efficiency of business exposure.
[0092] In some embodiments of the present application, the acquisition module is further used to acquire N preset weight ratios, and acquire user feature information of the current user and platform policy information of the current platform, wherein the N preset weight ratios correspond one-to-one to the N business attributes;
[0093] The resource allocation device also includes:
[0094] The adjustment module is used to adjust N preset weight ratios according to one or more of the user characteristic information and the platform policy information to obtain N weight ratios.
[0095] In an embodiment of the present application, a preset weight ratio can be pre-stored for each business attribute, and the weight ratio is an assessment of the importance of each business under a general strategy. Further, the platform strategy of the current platform and the user characteristics of the current user are obtained. Through the platform strategy and user characteristics, the preset weight ratio is adjusted to make the weight ratio closer to the current platform needs and user preferences, so that the business finally exposed has a higher value for both the platform and the user.
[0096] This application dynamically adjusts the preset weight ratios of different business attributes based on the platform strategy of the current platform and the user characteristics of the current user, so that each exposure can generate maximum value for both the platform and the user, thereby improving exposure efficiency.
[0097] In some embodiments of the present application, the sorting module is further used to sort the M businesses to be exposed in descending order based on the size of the business scores to obtain a value sequence.
[0098] In the embodiment of the present application, the larger the business score, the more valuable a business to be exposed is to the platform and the user. Therefore, the calculated business scores are arranged in descending order, and the value sequence obtained is such that the value of the business to be exposed at the front is higher. Therefore, exposing the M businesses to be exposed in the order of the value sequence can allocate more exposure opportunities to more valuable businesses, thereby effectively improving the efficiency of resource allocation.
[0099] In some embodiments of the present application, the business attributes include: content distribution, advertising, merchandise, news, games, and applications.
[0100] In the embodiments of the present application, business attributes include content distribution, and content distribution specifically refers to content trends, including consultation, evaluation, etc.; advertisements include video advertisements, text advertisements, etc.; products include product introductions, product purchase links, etc.; news includes news flashes, official announcements, current news, etc.; games include mobile games, game connections, game recharges, etc.; applications include tool applications, communication applications, financial references, educational applications, etc.
[0101] By classifying different types of content, different business attributes are obtained, and the exposed business is labeled by one or more business attributes, so that business exposure is no longer limited to a specific category, making the content of business exposure richer.
[0102] The resource allocation device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0103] The resource allocation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0104] The resource allocation device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0105] Optionally, an embodiment of the present application further provides an electronic device, Figure 3 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Figure 3 As shown, the electronic device 300 includes a processor 302, a memory 304, and a program or instruction stored in the memory 304 and executable on the processor 302. When the program or instruction is executed by the processor 302, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0106] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0107] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0108] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0109] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0110] Among them, the processor 410 is used to obtain M businesses to be exposed, wherein the business to be exposed corresponds to N business attributes, and M and N are positive integers; determine the first score of each business attribute in the N business attributes, and calculate the business score of the business to be exposed according to the first score; sort the M businesses to be exposed based on the business scores to obtain a value sequence; and expose the business to be exposed according to the value sequence.
[0111] Optionally, the processor 410 is also used to normalize the N first scores to obtain N normalized second scores; obtain N weight ratios, wherein the N weight ratios correspond one-to-one to the N second scores; respectively calculate the product of the second score of each business attribute and the corresponding weight ratio to obtain a third score of the business attribute; and calculate the sum of the N third scores to obtain a business score.
[0112] Optionally, the processor 410 is also used to obtain N preset weight ratios, and obtain user characteristic information of the current user and platform policy information of the current platform, where the N preset weight ratios correspond one-to-one to N business attributes; according to one or more of the user characteristics and platform policy information, the N preset weight ratios are adjusted to obtain N weight ratios.
[0113] Optionally, the processor 410 is further configured to arrange the M to-be-exposed businesses in descending order based on the business scores to obtain a value sequence.
[0114] Optionally, the business attributes include: content distribution, advertising, merchandise, news, games, and applications.
[0115] In the embodiment of the present application, when there is an exposure opportunity, the business attributes of multiple businesses that can be highlighted are confirmed, and based on the scores of the business attributes, the scores of the businesses to be exposed are determined and recorded as the business scores of the businesses to be exposed. Among them, the business attributes include the attributes of the current business, such as advertising attributes, content attributes, distribution attributes, etc., that is, businesses of various business types are regarded as equal businesses to be exposed. Therefore, the business assigned to each exposure opportunity will not be a fixed business type, making the content of business exposure richer.
[0116] At the same time, the business score is a score obtained by combining multiple factors such as user preferences and platform strategies. The business score can intuitively express the exposure efficiency of a business. Therefore, based on the business score of each business to be exposed, the current multiple businesses to be exposed are sorted, and the current exposure opportunities are allocated according to the sorted value sequence, so that the business allocated to each exposure opportunity has a higher value for both the platform and the user, which can effectively improve the efficiency of resource allocation.
[0117] It should be understood that in an embodiment of the present application, the input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
[0118] The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not repeated here. The memory 409 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.
[0119] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0120] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0121] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0122] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0123] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0125] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A resource allocation method, It is characterized in that include: Obtain M services to be exposed, wherein the services to be exposed correspond to N service attributes, and M and N are positive integers; Determine a first score for each of the N business attributes, and calculate a business score for the business to be exposed according to the first score; Based on the business scores, the M businesses to be exposed are sorted to obtain a value sequence; Exposing the business to be exposed according to the value sequence; The business score of the to-be-exposed business is calculated according to the first score of each business attribute among the N business attributes, including: Normalizing the N first scores to obtain N normalized second scores; Obtaining N weight ratios, wherein the N weight ratios correspond one-to-one to the N second scores; Calculate the product of the second score of each of the service attributes and the corresponding weight ratio respectively to obtain a third score of the service attribute; Calculate the sum of the N third scores to obtain the service score; The obtaining of N weight ratios includes: Obtaining N preset weight ratios, and obtaining user feature information of a current user and platform policy information of a current platform, wherein the N preset weight ratios correspond one-to-one to the N business attributes; According to one or more of the user characteristic information and the platform policy information, the N preset weight ratios are adjusted to obtain the N weight ratios; The user characteristic information includes at least one of the following: the viewing time or playing time of the service by the user, the program recently used by the user or the website recently visited by the user, and the tag setting of the service by the user; The platform policy information includes at least one of the following: exposure restrictions on businesses with the same business attributes, higher priority settings for content distribution businesses, and setting different weights for different business attributes based on the location of exposure opportunities on the page.
2. The resource allocation method according to claim 1, It is characterized in that The step of sorting the M businesses to be exposed based on the business scores to obtain a value sequence includes: Based on the size of the business scores, the M businesses to be exposed are arranged in descending order to obtain the value sequence.
3. The resource allocation method according to claim 1, It is characterized in that The business attributes include: Content distribution, advertising, merchandise, news, games and apps.
4. A resource allocation device, It is characterized in that include: An acquisition module, used for acquiring M services to be exposed, wherein the services to be exposed correspond to N service attributes, and M and N are positive integers; A calculation module, used to determine a first score of each of the N business attributes, and calculate a business score of the to-be-exposed business according to the first score; A sorting module, used for sorting the M businesses to be exposed based on the business scores to obtain a value sequence; An exposure module, used for exposing the business to be exposed according to the value sequence; A processing module, used for normalizing the N first scores to obtain N normalized second scores; The acquisition module is further used to acquire N weight ratios, wherein the N weight ratios correspond one-to-one to the N second scores; The calculation module is further used to respectively calculate the product of the second score of each of the service attributes and the corresponding weight ratio to obtain a third score of the service attribute; and calculate the sum of N third scores to obtain the service score; The acquisition module is further used to acquire N preset weight ratios, and acquire user feature information of the current user and platform policy information of the current platform, wherein the N preset weight ratios correspond one-to-one to the N business attributes; The resource allocation device also includes: An adjustment module, configured to adjust the N preset weight ratios according to one or more of the user characteristic information and the platform policy information to obtain the N weight ratios; The user characteristic information includes at least one of the following: the viewing time or playing time of the service by the user, the program recently used by the user or the website recently visited by the user, and the tag setting of the service by the user; The platform policy information includes at least one of the following: exposure restrictions on businesses with the same business attributes, higher priority settings for content distribution businesses, and setting different weights for different business attributes based on the location of exposure opportunities on the page.
5. The resource allocation device according to claim 4, It is characterized in that The sorting module is further used to arrange the M businesses to be exposed in descending order based on the business scores to obtain the value sequence.
6. The resource allocation device according to claim 4, It is characterized in that The business attributes include: Content distribution, advertising, merchandise, news, games and apps.
Citation Information
Patent Citations
Business object processing method, device and equipment
CN108074125A