CN115118672B - Shunting method and device - Google Patents

Shunting method and device Download PDF

Info

Publication number
CN115118672B
CN115118672B CN202210586678.7A CN202210586678A CN115118672B CN 115118672 B CN115118672 B CN 115118672B CN 202210586678 A CN202210586678 A CN 202210586678A CN 115118672 B CN115118672 B CN 115118672B
Authority
CN
China
Prior art keywords
distribution
target
user
container
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210586678.7A
Other languages
Chinese (zh)
Other versions
CN115118672A (en
Inventor
赵泽润
蒋宁
吴鹏
杨澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mashang Xiaofei Finance Co Ltd
Original Assignee
Mashang Xiaofei Finance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mashang Xiaofei Finance Co Ltd filed Critical Mashang Xiaofei Finance Co Ltd
Priority to CN202210586678.7A priority Critical patent/CN115118672B/en
Publication of CN115118672A publication Critical patent/CN115118672A/en
Application granted granted Critical
Publication of CN115118672B publication Critical patent/CN115118672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification provides a shunting method and device, wherein the shunting method comprises the following steps: acquiring user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information; if the shunting container corresponding to the target keyword is found in the storage space, acquiring a shunting sequence number corresponding to the shunting container; according to the distribution sequence numbers, determining a target distribution channel identifier for distributing the target users in the distribution channel identifiers stored in the distribution container; and shunting the target user to the target shunting channel corresponding to the target shunting channel identifier. By adopting the embodiment of the application, the user distribution can be realized efficiently, and the labor cost is reduced.

Description

Shunting method and device
Technical Field
The present disclosure relates to the field of data offloading technology, and in particular, to an offloading method and apparatus.
Background
With the development of internet technology, the user traffic of the internet platform is more and more huge, and the user traffic scale is further expanded, so that a single service provider cannot bear all the user traffic on the internet platform due to the limited capability of the single service provider to bear the user traffic on the internet platform. On the premise, more service providers are needed to be accessed to process the service, and the user traffic is shared to each service provider, so that the normal processing of the service is ensured.
Disclosure of Invention
In a first aspect, an embodiment of the present application provides a splitting method, including:
acquiring user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information;
if the shunting container corresponding to the target keyword is found in the storage space, acquiring a shunting sequence number corresponding to the shunting container;
according to the distribution sequence numbers, determining a target distribution channel identifier for distributing the target users in the distribution channel identifiers stored in the distribution container;
and shunting the target user to the target shunting channel corresponding to the target shunting channel identifier.
In a second aspect, embodiments of the present application provide a shunt device, including:
the information acquisition module is used for acquiring user information and behavior information of a target user and determining a target keyword according to the user information and the behavior information;
if the shunting container corresponding to the target keyword is found in the storage space, a sequence number acquisition module is operated, wherein the sequence number acquisition module is used for acquiring a shunting sequence number corresponding to the shunting container;
The channel identification determining module is used for determining a target distribution channel identification for carrying out distribution processing on the target user in the distribution channel identifications stored in the distribution container according to the distribution sequence numbers;
and the user distribution module is used for distributing the target user to the target distribution channel corresponding to the target distribution channel identifier.
In a third aspect, an embodiment of the present application provides a shunt device, including: a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to perform the splitting method of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the splitting method according to the first aspect.
It can be seen that in the embodiment of the application, the target keyword is determined from the acquired user information and behavior information of the target user, the distribution container corresponding to the target keyword is searched, the target distribution channel identifier for distributing the target user is determined according to the distribution sequence number corresponding to the distribution container and the distribution channel identifier stored in the distribution container, the target distribution channel identifier is used as the distribution basis for distributing the user, the user is distributed to the target distribution channel corresponding to the target distribution channel identifier, therefore, the high efficiency of user distribution is realized by introducing the distribution container, the labor cost is reduced, the target distribution channel identifier for distributing the user is determined by setting the distribution channel identifier in the distribution container, the distribution processing is performed on the user according to the target distribution channel identifier, the flexibility of user distribution is realized, meanwhile, the user is distributed to the target distribution channel, the distribution of user flow is facilitated, and the processing efficiency for the user needs under the distribution channel is improved.
Drawings
For a clearer description of embodiments of the present application or of the solutions of the prior art, the drawings that are required to be used in the description of the embodiments or of the prior art will be briefly described, it being obvious that the drawings in the description below are only some of the embodiments described in the present specification, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art;
fig. 1 is a flow chart of a flow splitting method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a split-flow process according to an embodiment of the present disclosure;
fig. 3 is a flow chart of a distribution method applied to a security service scenario according to an embodiment of the present application;
fig. 4 is a schematic diagram of a flow splitting device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a flow splitting device according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
In practical application, in the process of carrying out the shunting processing on the user, the shunting identifier (such as a random number generated by using a random algorithm) is often adopted to be compared with shunting intervals configured by each shunting type in sequence, and the shunting type corresponding to the shunting identifier is determined, so that the user is shunted to the shunting type, the shunting result needs to be judged by using the shunting interval, the shunting process is complex, and the required labor cost is high.
For this, the distribution method provided in this embodiment determines the target keyword by means of the user information and the behavior information of the target user, and searches the distribution container corresponding to the target keyword, so as to realize preliminary distribution of the user according to the distribution container, simplify the distribution processing flow by introducing the distribution container, and realize high efficiency of user distribution, reduce labor cost, secondly obtain the distribution sequence number corresponding to the distribution container, determine the target distribution channel identifier for performing distribution processing on the target user from the distribution sequence number, and take the target distribution channel identifier as the processing basis for performing distribution processing on the user, and distribute the target user to the target distribution channel corresponding to the target distribution channel identifier, thereby further performing secondary distribution on the basis of performing preliminary distribution on the user, realizing refinement and refinement of user distribution, and meanwhile, determine the target distribution channel identifier for performing distribution processing on the user by setting the distribution channel identifier in the distribution container, so as to perform distribution processing on the user according to the target distribution channel identifier, promote flexibility of user distribution, and distribute the user to the target distribution channel, thereby being beneficial to dispersing the user flow, and improving the processing efficiency of the user demand under distribution.
Referring to fig. 1, the splitting method provided in the present embodiment specifically includes steps S102 to S108.
Step S102, obtaining user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information.
The target user in this embodiment includes a user participating in a current service, for example, the current service is a fund service, the fund service includes a loan service of a credit agency or a stage borrowing service of a credit card, the target user includes a user participating in the fund service, and the target user may be one or more. The user information refers to information related to the user, such as age, gender, occupation, etc.; the behavior information comprises fund behavior information, and the fund behavior information specifically comprises information related to the fund behavior generated by a target user, such as the fund behavior is loan behavior, and the fund behavior information is loan amount, loan period number and the like.
The target keywords include keywords of a service party providing a service to a user, such as a keyword "xx insurance" of a guarantee mechanism providing a guarantee service.
The distribution method provided by the embodiment is applied to the servers, specifically, the number of the servers can be one or more, and in combination with an actual distribution service scene, in the process of distributing different channels to the users, the deployment number and deployment mode of the servers can be determined according to the magnitude of the number of the users, for example, one or more servers can be deployed under the condition of less number of the users; for another example, under the condition that the number of users reaches a certain level, a server cluster formed by a plurality of servers is deployed, so that the shunting processing efficiency of shunting the users is improved, or the servers or the server cluster can be deployed in a cloud computing environment.
In an actual user distribution scene, the user flow is larger, and distribution processing may be performed on a plurality of users at the same time, in this embodiment, the user is taken as one of the target users to describe a specific implementation process of distribution, and in the case that the user is multiple, similar to the one, the distribution processing is performed on the users only in batches, which is not repeated here in this embodiment.
In particular, in order to accurately determine the target keyword for the target user, user information and behavior information of the target user may be obtained, and in particular, in the process of obtaining the information, the user information may be obtained at a current service, where the user information includes registration information of the target user at the current service, and after obtaining the user information and the behavior information of the target user, the target keyword is determined by using the user information and the behavior information.
In the process of determining the target keyword according to the user information and the behavior information, in order to improve the accuracy of determining the target keyword, the user category of the user can be determined according to the user information and the behavior information, under the user category, the user information and the behavior information are subjected to matching processing with the preset keyword, particularly, in the process of matching processing, detail information corresponding to the preset keyword is read, the user information and the behavior information are subjected to matching processing with the read detail information, and the target keyword is determined in the preset keyword based on a matching processing result. In an optional implementation manner provided in this embodiment, in a process of determining a target keyword according to user information and behavior information, the following operations are performed:
Determining the user category of the target user according to the behavior information;
and under the user category, carrying out matching processing on the user information and the behavior information and preset keywords to obtain preset keywords matched with the user information and the behavior information as the target keywords.
The user categories comprise user categories formed by dividing users according to behavior information. For example, the user category is divided into a first category, a second category and a third category, the loan amount corresponding to the first category is 0-xx ten thousand, the loan amount corresponding to the second category is xx ten thousand-xxx ten thousand, the loan amount corresponding to the third category is xxx ten thousand-xxx ten thousand, and the loan amount is detail information.
The preset keywords include preset keywords of a service party providing services to the user, such as keywords "xx1 insurance", "xx2 insurance", "xx3 insurance" of a guarantee mechanism providing guarantee services.
Along the above example, the user information of the target user u is "annual income xx ten thousand elements", the behavior information is "loan xx ten thousand elements and loan 36 period", the user category of the target user u is determined to be a second category, under the second category, preset keywords of "xx1 insurance", "xx2 insurance" and "xx3 insurance" exist, the user information of "annual income xx ten thousand elements" and the behavior information of "loan xx ten thousand elements, the loan 36 period" are respectively matched with the detail information of "annual income xx ten thousand elements and the loan period number of not more than xx year", the user information of "annual income xx ten thousand elements" and the behavior information of "loan xx ten thousand elements and the loan 36 period" are matched with the detail information of "annual xx ten thousand elements and the loan period number of not more than xx year", and the user information of "annual xx ten thousand elements and the behavior information of" xx3 insurance "are matched with the preset keywords, and the detail information of" annual income xx ten thousand elements and the behavior information of "xx ten thousand elements" and the loan ten thousand elements "which are not more than xx year" are obtained as the key information of the matching of the preset income of the user.
In addition, the user category of the target user can be determined according to the behavior information; under the category of the user, matching any one of the user information and the behavior information with a preset keyword to obtain the preset keyword matched with the user information and the behavior information as a target keyword.
In addition, in order to improve the effectiveness and accuracy of the target keywords and improve the determination efficiency of the target keywords, the target keywords may be determined in a model manner. In the process of determining the target keyword according to the user information and the behavior information, the following operations are performed:
and inputting the user information and the behavior information into a keyword determination model to determine a target keyword, and outputting the target keyword.
For example, the user information "annual income xx ten thousand yuan" and the behavior information "loan xx ten thousand yuan" of the target user u are input into a keyword determination model for determining a target keyword, and the target keyword "xx insurance" is output.
In addition, in addition to the above-described implementation manner of acquiring the user information and the behavior information of the target user and determining the target keyword according to the user information and the behavior information, any one of the user information and the behavior information of the target user may be acquired and the target keyword may be determined according to any one of the user information and the behavior information.
Step S104, if the shunt container corresponding to the target keyword is found in the storage space, the shunt sequence number corresponding to the shunt container is obtained.
After the user information and the behavior information of the target user are obtained and the target keyword is determined according to the user information and the behavior information, in this embodiment, a corresponding distribution container is set for the target keyword, so that preliminary distribution of the user is achieved through the distribution container, specifically, in the executing process, the corresponding distribution container is searched in the storage space through the target keyword, and the distribution sequence number corresponding to the distribution container is obtained.
The storage space in this embodiment includes a memory or a cache, such as jvm (Java Virtual Machine ) memory, redis (Remote Dictionary Server, remote dictionary service) cache, and may be other storage areas.
Optionally, the distribution container stores an identification set, and the identification set is composed of distribution channel identifications. The distribution channel identification is an identification of a distribution channel for carrying out distribution processing on a user by a pointer, for example, the distribution channel identification comprises 0, 1 and 2, wherein '0' represents a first distribution channel, '1' represents a second distribution channel and '2' represents a third distribution channel.
In particular, the identification sets may be stored in the offload container in various data structures, such as in the offload container in the form of an array, a sequence, or a linked list.
It should be noted that, the identifier set is composed of a plurality of branching channel identifiers of the branching channels, and the branching channel identifiers of the branching channels may be arranged in the identifier set according to a specific arrangement sequence.
The arrangement sequence includes an arrangement sequence determined according to the arrangement priority of the distribution channels, for example, in the case that the identification sets are stored in the distribution container in the form of an array, the arrangement priority of the first distribution channel is higher than that of the second distribution channel, the arrangement priority of the second distribution channel is higher than that of the third distribution channel, after the distribution channel identifications are arranged according to the arrangement priority of the distribution channels, a specific identification set [0,0,1,1,1,2,2,2,2,2] stored in the distribution container in the form of an array is obtained, wherein '0, 1,2 and 2' are all distribution channel identifications, and then the total number of identifications of the distribution channel identifications is 10, '0' represents the first distribution channel, '1' represents the second distribution channel, and '2' represents the third distribution channel.
For another example, in the case where the identifier sets are stored in the branching container in a sequential manner, the first branching channel is ranked higher than the second branching channel, the second branching channel is ranked higher than the third branching channel, and after the branching channel identifiers are ranked according to the ranking priorities of the branching channels, a specific identifier set "0,0,1,1,1,2,2,2,2,2" stored in the branching container in a sequential manner is obtained, where "0" represents the first branching channel, "1" represents the second branching channel, and "2" represents the third branching channel.
Or, in the case that the identifier set is stored in the splitting container in the form of a linked list, the first splitting channel is ranked higher than the second splitting channel, the second splitting channel is ranked higher than the third splitting channel, and after the splitting channel identifiers are ranked according to the ranking priority of the splitting channels, a specific identifier set "0,0,1,1,1,2,2,2,2,2" stored in the splitting container in the form of a linked list is obtained, wherein "0" represents the first splitting channel, "1" represents the second splitting channel, and "2" represents the third splitting channel.
In addition, the arrangement sequence comprises an arrangement sequence determined according to the arrangement priority of the distribution channels, and an arrangement sequence determined according to the channel types of the distribution channels, so that users can be uniformly distributed to different distribution channels, service processing efficiency reduction caused by distributing the users to the same distribution channel in a short time is avoided, and the user bearing capacity of each distribution channel is balanced. Alternatively, the ranking also includes a ranking determined by the ranking priority of the distribution channels and the channel categories of the distribution channels.
For example, in the case where the identifier set is stored in the distribution container in the form of an array, in order to achieve homogenization of user distribution, the distribution channel identifiers may be arranged according to channel categories of the distribution channels, and 2 "0", 3 "1", and 5 "2" are present in the distribution channel identifiers in the array, so that a specific identifier set [0,1,2,0,1,2,1,2,2,2] stored in the distribution container in the form of an array is obtained.
In addition, the distribution channel identifiers of the distribution channels in the identifier set may also be randomly arranged. For example, in the case where the identifier set is stored in the shunt container in the form of an array, the shunt channel identifiers in the array have 2 "0", 3 "1", 5 "2", and 2 "0", 3 "1", 5 "2" are randomly arranged, so as to obtain a specific identifier set [1,2,2,0,0,1,1,2,2,2] stored in the shunt container in the form of an array.
It can be understood that, in the case that the above-mentioned example identifier sets are stored in the form of an array, a sequence or a linked list, the branching channel identifiers forming the array, the sequence or the linked list are merely schematic, and the number of identifiers of each branching channel identifier in the specific branching channel identifiers and the arrangement order of each branching channel identifier are determined according to the actual application scenario.
The shunt sequence number refers to the number of the acquisition sequence of the shunt channel identifier in the shunt container, for example, the shunt channel identifier stored in the shunt container is 0,0,1,1,1,2,2,2,2,2, and the shunt sequence number is 2, which indicates that the shunt channel identifier is 0 currently acquired; for another example, the distribution channel identifier stored in the distribution container is 0,0,1,1,1,2,2,2,2,2, the distribution sequence number is 11, all distribution sequence numbers of the first round are 0-9, which indicates that the distribution channel identifier of the first round is already acquired currently, and the distribution channel identifier of the second round in the distribution container is acquired, so that the distribution channel identifier of "0" is acquired.
In the implementation, in the process of searching the shunting container corresponding to the target keyword in the storage space, a shunting container acquisition method can be adopted to improve the efficiency and convenience of searching the shunting container, for example, a get (key) method for calling the map object is adopted to transfer the target keyword to the key, namely, the shunting container corresponding to the target keyword is searched in the storage space.
In addition, in order to avoid confusion in the acquisition order of the shunt channel identifiers, a shunt sequence parameter may be set for recording a shunt sequence number, and an initial value may be set for the shunt sequence parameter, where the shunt sequence parameter may be stored in a storage space, and in this case, if a shunt container corresponding to the target keyword is found in the storage space, the shunt sequence number recorded in the shunt sequence parameter configured for the shunt container is acquired, for example, a shunt sequence parameter num is set, and the initial value is 0, and is stored in the redis cache.
In the process of acquiring the shunt sequence numbers corresponding to the shunt containers, a number acquisition method, such as calling an incrBy method, can be adopted to acquire the shunt sequence numbers corresponding to the shunt containers in the storage space so as to ensure that the atomic acquisition of the shunt sequence numbers is ensured.
In a specific execution process, a distribution container corresponding to the target keyword is found in the storage space, and after a distribution sequence number corresponding to the distribution container is obtained, in order to improve the convenience of distribution processing for the next user, the target distribution sequence number when the distribution processing is performed for the next user can be calculated and used as a basis for the distribution processing for the next user. In an optional implementation manner provided in this embodiment, in a specific process of calculating the target split sequence number, the following operations are performed: calculating the sequence number based on the shunt sequence number and the shunt interval parameter to obtain a target shunt sequence number; and updating the stored shunt sequence number according to the target shunt sequence number.
The shunt interval parameter includes a parameter representing a difference value between adjacent shunt sequence numbers, for example, a parameter value of the shunt interval parameter is 1, and the current shunt sequence number is 8, and then the current shunt sequence number and the parameter value of the shunt interval parameter are added to obtain a target shunt sequence number 9, and the current shunt sequence number 8 is updated according to the target shunt sequence number 9.
It should be noted that, the parameter value of the shunt interval parameter is not fixed, may be 1, may be 2, or may be other parameter values; the current shunt sequence number and the parameter value of the shunt interval parameter can be added, and the current shunt sequence number and the parameter value of the shunt interval parameter can be subtracted.
In practical application, in the process of searching the shunt container corresponding to the target keyword in the storage space, if the shunt container corresponding to the target keyword is not searched, the shunt container corresponding to the target keyword can be constructed, the comprehensiveness of the shunt container is improved, and the shunt sequence number corresponding to the shunt container is continuously read through the constructed shunt container.
In an optional implementation manner provided in this embodiment, after obtaining user information and behavior information of a target user and determining that a target keyword is executed according to the user information and the behavior information, a shunting container corresponding to the target keyword may be further constructed, and specifically the following operations are performed:
if the distribution container corresponding to the target keyword is not found in the storage space, generating a corresponding identification set according to a preset distribution proportion of the channel to be distributed as the distribution container;
And establishing a corresponding relation between the target keyword and the distribution container, and storing the target keyword and the distribution container into the storage space.
Specifically, if the distribution container corresponding to the target keyword is not found in the storage space, it is indicated that the distribution container corresponding to the target keyword is not generated, the distribution container can be constructed, the comprehensiveness and the diversification of the distribution container are guaranteed, various requirements of users are met, a corresponding identification set is generated according to the preset distribution proportion of the channels to be distributed, specifically, the preset distribution proportion of each distribution channel to be distributed, and the corresponding identification set is used as the distribution container, the identification set can be stored in various data structures, such as an array, a sequence or a linked list, the corresponding relation between the target keyword and the distribution container is established, and the target keyword and the distribution container are stored in the storage space, so that the distribution processing is performed on the target user through the generated distribution container.
For example, if the target keyword is "xx insurance", and a shunt container corresponding to the "xx insurance" is not found in the storage space, generating a corresponding identifier set "0,0,1,1,1,2,2,2,2,2" according to a preset shunt ratio of 2:3:5, taking the identifier set as the shunt container, establishing a corresponding relationship between the "xx insurance" and the shunt container, and storing the "xx insurance" and the shunt container in the storage space; "0" represents a first branching channel, "1" represents a second branching channel, and "2" represents a third branching channel.
In the process of storing the target keyword and the shunt container into the storage space, the storage method may be called to execute, for example, a put (key, arraylest) method of map is called, the key is transferred into the target keyword, the arraylest is transferred into the shunt container, i.e. the target keyword and the shunt container are correspondingly placed into the storage space.
Note that, the preset split ratio is recorded with: the split ratio of the first split channel, the split ratio of the second split channel and the split ratio of the third split channel; in addition, the preset split ratio may also be recorded: one or both of the split ratio of the first split channel, the split ratio of the second split channel, and the split ratio of the third split channel.
The first distribution channel can be a fund service channel, the second distribution channel can be a guarantee service channel of a guarantee mechanism, and the third distribution channel can be a guarantee service channel of a third party guarantee platform.
Along the above example, the preset distribution ratio is 2:3:5, "2" is the distribution ratio of the first distribution channel, "3" is the distribution ratio of the second distribution channel, and "5" is the distribution ratio of the third distribution channel, which represents that among 10 users, 2 users continue to remain in the fund service (such as loan service), 3 users distribute the guarantee service to the guarantee mechanism, and 5 users distribute the guarantee service to the third party guarantee platform.
And step S106, determining a target distribution channel identifier for distributing the target user from the distribution channel identifiers stored in the distribution container according to the distribution sequence numbers.
Under the condition that the distribution container corresponding to the target keyword is found in the storage space, the distribution sequence number corresponding to the distribution container is obtained, and in the step, the target distribution channel identifier for carrying out distribution processing on the target user is determined from the distribution channel identifiers stored in the distribution container by taking the obtained distribution sequence number as a basis, so that the distribution processing on the target user is carried out according to the target distribution channel identifier.
The branching channel identifier in this embodiment is an identifier of a branching channel that indicates that branching is performed on a user, for example, the branching channel identifier has 0, 1, 2, "0" represents a first branching channel, "1" represents a second branching channel, and "2" represents a third branching channel; the target distribution channel identifier is an identifier of a distribution channel for distributing the target user by a pointer, for example, the target distribution channel identifier is "1", and the distribution channel representing the distribution process for the target user u is a second distribution channel.
In an optional implementation manner provided in this embodiment, in determining, from among the distribution channel identifiers stored in the distribution container according to the distribution sequence number, a target distribution channel identifier for performing distribution processing on a target user, the following operations are specifically performed:
performing remainder processing on the total number of the identifiers of the shunting channel identifiers stored in the shunting container according to the shunting sequence numbers to obtain remainder;
and taking the remainder as a position index for determining a target distribution channel identifier for distributing the target user, and acquiring the target distribution channel identifier corresponding to the position index from the distribution container.
Taking the above example, wherein the obtained shunt container corresponds to the shunt sequence number 11, and the total number of the identifiers of the shunt channel identifiers stored in the described shunt container is 10, then taking the remainder of the total number of the identifiers of the shunt channel identifiers in the shunt sequence number 11 to obtain a remainder 1, and taking the remainder 1 as a position index for determining the target shunt channel identifier, namely obtaining a target shunt channel identifier 0 corresponding to the position index 1 in the shunt container; the position indexes corresponding to the distribution channel identifiers 0,0,1,1,1,2,2,2,2,2 in the distribution container are respectively 0,1, 2, 3, 4, 5, 6, 7, 8 and 9, the distribution sequence number is 11, which indicates that the distribution channel identifiers in the distribution container have acquired one round, and the second round is executed currently;
The shunt sequence numbers are overlapped in a round-to-round manner, for example, in the first round of shunt processing, the shunt sequence number corresponding to the shunt container is 0-9, in the second round of shunt processing, the shunt sequence number corresponding to the shunt container is 10-19, and so on, so that the shunt of the user is realized by using the shunt container, the total number of the marks of the shunt channel marks can be obtained as remainder, the target shunt channel marks are determined through the remainder, and the shunt accuracy of the user is improved.
In addition, in the process of determining the target distribution channel identifier for performing distribution processing on the target user in the distribution channel identifiers stored in the distribution container according to the distribution sequence number, a distribution intermediate factor can be determined according to the distribution sequence number and the total number of identifiers of the distribution channel identifiers stored in the distribution container, and the target distribution channel identifier is determined in the distribution channel identifiers stored in the distribution container based on the distribution intermediate factor, wherein the distribution intermediate factor comprises a remainder obtained after the distribution sequence number performs surplus processing on the total number of identifiers.
Step S108, the target user is shunted to the target shunting channel corresponding to the target shunting channel identifier.
According to the distribution sequence numbers, the target distribution channel identification for distributing the target users is determined in the distribution channel identifications stored in the distribution container, in the step, the target users are distributed to the target distribution channels corresponding to the target distribution channel identifications so as to perform corresponding service processing under the target distribution channels, and the users can be distributed to different distribution channels, so that the user traffic is distributed, and the bearing capacity of the distribution channels to the user traffic is balanced.
In particular, in order to split the user traffic, the service side is prevented from excessively increasing the carrying capacity of the user traffic, which results in delayed response of the service side system and even system breakdown, so that user experience is reduced, and meanwhile, user public praise of the service side is affected, different distribution channels can be set, and the user traffic is dispersed to different distribution channels, such as a first distribution channel, a second distribution channel and/or a third distribution channel. It should be noted that the number of the distribution channels may be 1 or more than 2, and the specific number of the distribution channels in this embodiment is not limited and is determined according to the actual application scenario.
Specifically, the target distribution channel identifier comprises a first distribution channel identifier, a second distribution channel identifier and/or a third distribution channel identifier;
Wherein, the first distribution channel corresponding to the first distribution channel identifier is a fund service channel; the second shunt channels corresponding to the second shunt channel identifiers are guarantee service channels of a guarantee mechanism; and the third distribution channel corresponding to the third distribution channel identifier is a guarantee service channel of the third party guarantee platform.
In a specific execution process, the user is finely distributed by setting different distribution channels, the user is distributed to the target distribution channel corresponding to the target distribution channel identifier based on the target distribution channel identifier, and corresponding service processing is performed under the target distribution channel. Specifically, after the target user is shunted to the target shunting channel corresponding to the target shunting channel identifier, the following operations are further executed:
if the target distribution channel identifier is a first distribution channel identifier, under the fund service channel corresponding to the first distribution channel identifier, performing fund approval processing according to the user information and the behavior information;
if the target distribution channel identifier is a second distribution channel identifier, the guarantee organization performs the application and guarantee processing according to the user information and the behavior information under the guarantee service channel of the guarantee organization corresponding to the second distribution channel identifier;
If the target distribution channel identifier is a third distribution channel identifier, the third party security platform performs security application processing according to the user information and the behavior information under the security service channel of the third party security platform corresponding to the third distribution channel identifier.
Specifically, under the condition that the target distribution channel identifier for distributing the target user is determined to be the first distribution channel identifier, the first distribution channel corresponding to the first distribution channel identifier is a fund service channel, namely, a distribution mode for distributing the fund service is implemented, specifically, the user is distributed to the fund service channel, so that corresponding fund service processing is implemented under the fund service channel, specifically, under the fund service channel, fund approval processing is implemented according to user information and behavior information.
Along the above example, "0" represents a first distribution channel, "1" represents a second distribution channel, "2" represents a third distribution channel, the target distribution channel identified in the distribution channel identification "0,0,1,1,1,2,2,2,2,2" stored in the distribution container is "0", that is, the first distribution channel is a funds service channel, the user is distributed to the funds service channel, the user information of the target user u is "annual income xx ten thousand yuan", the behavior information is "loan xx ten thousand yuan, and the loan 36 period", and under the funds service channel, the funds approval process is performed according to the user information and the behavior information.
In addition, under the fund service channel, fund approval processing can be performed according to any one of the behavior information and the user information.
Under the condition that the target distribution channel identifier for distributing the target users is determined to be the second distribution channel identifier, the second distribution channel corresponding to the second distribution channel identifier is a guarantee service channel of the guarantee mechanism, namely a distribution mode for distributing the guarantee service of the guarantee mechanism, specifically, the users are distributed to the guarantee service channel of the guarantee mechanism, so that corresponding guarantee service processing is performed under the guarantee service channel of the guarantee mechanism, and specifically, the guarantee processing is performed under the guarantee service channel of the guarantee mechanism according to the behavior information and the user information.
For example, the guarantee mechanism is "xx insurance", "0" represents a first distribution channel, "1" represents a second distribution channel, "2" represents a third distribution channel, the target distribution channel identified in the distribution channel identification "0,0,1,1,1,2,2,2,2,2" stored in the distribution container is "1", that is, the second distribution channel is an insurance service channel of the insurance mechanism, the user is distributed to the insurance service channel of the insurance mechanism, the user information of the target user u is "annual income xx ten thousand yuan", the behavior information is "loan xx ten thousand yuan, and loan 36 period", and the insurance process of "xx insurance" is performed according to the user information and the behavior information under the insurance service channel of the insurance mechanism.
In addition, the application process can be performed according to any one of the behavior information and the user information under the guarantee service channel of the guarantee institution.
Under the condition that the target distribution channel identifier for distributing the target user is determined to be a third distribution channel identifier, the third distribution channel corresponding to the third distribution channel identifier is a guarantee service channel of the third party guarantee platform, namely, a distribution mode for distributing the guarantee service channel of the third party guarantee platform is adopted, the user is distributed to the guarantee service channel of the third party guarantee platform specifically, so that corresponding guarantee service processing is carried out under the guarantee service channel of the third party guarantee platform, and the guarantee application processing is carried out according to the user information and the behavior information under the guarantee service channel of the third party guarantee platform specifically.
The guarantee service of the third party guarantee platform refers to the guarantee service of the guarantee mechanism on the third party guarantee platform.
For example, the third party security platform is a "third party security platform", the "third party security platform" is configured with an security service of "xx security", 0 "represents a first distribution channel," 1 "represents a second distribution channel," 2 "represents a third distribution channel, a target distribution channel determined in a distribution channel identifier" 0,0,1,1,1,2,2,2,2,2 "stored in a distribution container is identified as" 2", that is, a third distribution channel, the third distribution channel is an security service channel of the third party security platform, a user is distributed to the security service channel of the third party security platform, user information of the target user u is" annual income xx ten thousand yuan ", and behavior information is" loan xx ten thousand yuan, loan 36 period ", and under the security service channel of the third party security platform, the application process of" xx security "is performed according to the user information and the behavior information.
In addition, the application process can be performed according to any one of the behavior information and the user information under the guarantee service channel of the third party guarantee platform.
In addition, the branching channel identifier stored in the branching container may be any one of the first branching channel identifier, the second branching channel identifier, and the third branching channel identifier, and the target branching channel identifier may be any one of the first branching channel identifier, the second branching channel identifier, and the third branching channel identifier, and the branching channel identifier stored in the branching container may be any two or three of the first branching channel identifier, the second branching channel identifier, and the third branching channel identifier, in which case the target branching channel identifier is determined in any two of the first branching channel identifier, the second branching channel identifier, and the third branching channel identifier, or is determined in any three of the first branching channel identifier, the second branching channel identifier, and the third branching channel identifier.
In addition, the target user may be in a fund service at present, in which case, if the target distribution channel is a fund service channel, distributing the target user to the target distribution channel corresponding to the target distribution channel identifier includes: shunting the target user to a fund service channel; if the target distribution channel is a guarantee service channel of the guarantee mechanism, distributing the target user to the target distribution channel corresponding to the target distribution channel identifier comprises: skipping from the fund service to the guarantee service of the guarantee mechanism for the target user; if the target distribution channel is a guarantee service channel of the third party guarantee platform, distributing the target user to the target distribution channel corresponding to the target distribution channel identifier comprises: and jumping from the fund service to a guarantee service channel of a guarantee mechanism on a third-party guarantee platform aiming at the target user.
In practical application, since the carrying capacity of each service party for the user traffic cannot be unchanged, for example, the capacity of the service party system for carrying the user traffic is enhanced after updating, in order to meet the user traffic allocation requirements of each service party at different stages, the flexibility and convenience of user traffic distribution are improved, dynamic allocation of the user traffic is realized, the regulation and control function for the user traffic can be increased, and the regulation and control for the user traffic can be realized by adjusting the distribution proportion.
In an optional implementation manner provided in this embodiment, an identifier set is stored in the splitting container, and on the basis that the identifier set is formed by splitting channel identifiers, in a process of adjusting a splitting ratio, the following operations are performed:
determining the distribution ratio of each distribution channel according to the target distribution ratio carried in the submitted distribution ratio updating request;
generating a corresponding target identification set according to the distribution ratio of each distribution channel;
and updating the identification set stored in the shunt container according to the target identification set.
Specifically, the distribution proportion update request can be submitted by a service person currently serving, or by a service person corresponding to a distribution channel.
Along the above example, the target distribution ratio is 0:6:4, the distribution ratio of the first distribution channel is determined to be 0, the distribution ratio of the second distribution channel is determined to be 6, the distribution ratio of the third distribution channel is determined to be 4, 0 is adopted to represent the first distribution channel, "1" is adopted to represent the second distribution channel, "2" is adopted to represent the third distribution channel, 6 1 and 4 2, specifically "1,1,1,1,1,1,2,2,2,2", exist in the generated target identification set, and the identification set "0,0,1,1,1,2,2,2,2,2" stored in the distribution container is updated according to the target identification set "1,1,1,1,1,1,2,2,2,2".
In the user distribution scene provided by the embodiment, a plurality of service parties for providing target services can exist, a third party platform can be introduced for distributing the user traffic of the service parties, and the target services are also provided for users, so that corresponding distribution proportion can be set for each service party for distributing the user traffic to the service parties or the third party platform, or the target services are not provided for the users, namely the current services are reserved, so that the distribution processing of the users is realized, the processing efficiency of the distribution processing is improved, and the user experience is improved; the distribution to the service side, the third party platform and the current service all belong to distribution channels, that is, the distribution in this embodiment refers to distributing the user traffic to different distribution channels.
For example, the target service is a guarantee service, the guarantee service is provided by a plurality of guarantee mechanisms, a third party guarantee platform can be introduced for distributing the user traffic of the guarantee mechanisms, and the guarantee service of the guarantee mechanisms is also provided for the users.
The following further describes, by taking an example of application of the splitting method provided in the embodiment to a security service scenario, with reference to fig. 2 and fig. 3, the splitting method provided in the embodiment and applied to the security service scenario, referring to fig. 3, specifically includes the following steps.
As shown in a schematic diagram of a distribution processing procedure in fig. 2, user information and fund behavior information of a user 1 are acquired, a target keyword is determined according to the acquired user information and fund behavior information, a distribution container corresponding to the target keyword is searched in a storage space, if the distribution container is searched, a distribution sequence number corresponding to the distribution container is acquired, a target distribution channel identifier for distribution processing of the user 1 is determined in distribution channel identifiers stored in the distribution container according to the distribution sequence number, the target distribution channel identifier is sent to a distribution processing system, and the distribution processing system distributes the user 1 to a target distribution channel corresponding to the target distribution channel identifier so as to perform service processing under the target distribution channel; if the distribution container is not found, the distribution container can be generated according to the preset distribution proportion of the channel to be distributed, the corresponding distribution sequence number is continuously acquired according to the generated distribution container, the target distribution channel identification is determined, and distribution is performed according to the distribution channel. The distribution channels are divided into a fund service channel, a guarantee service channel of a guarantee mechanism and a guarantee service channel of a third party guarantee platform, service processing under the fund service channel comprises fund approval processing, service processing under the guarantee service channel of the guarantee mechanism comprises insurance processing, and service processing under the guarantee service channel of the third party guarantee platform comprises insurance processing. The offloading process for user 2 to user n is similar to that for user 1 and will not be described again here.
Step S302, user information and fund behavior information of a target user are acquired.
Wherein the user information and the funding behavior information are available at a funding service.
For example, user information "annual income xx ten thousand yuan" and fund behavior information "loan xx ten thousand yuan, loan 36 period" of the target user u are acquired.
Step S304, determining the user category of the target user according to the fund behavior information, and under the user category, carrying out matching processing on the user information and the fund behavior information and the preset keywords to obtain the preset keywords matched with the user information and the fund behavior information as the target keywords.
The user categories comprise user categories formed by dividing users according to behavior information. For example, the user categories are classified into a first category, a second category, and a third category, the first category corresponds to a loan amount of 0-xx ten thousand, the second category corresponds to a loan amount of xx ten thousand-xxx ten thousand, and the third category corresponds to a loan amount of xxx ten thousand-xxx ten thousand.
The preset keywords include preset keywords of a service party providing services to the user, such as keywords "xx1 insurance", "xx2 insurance", "xx3 insurance" of a guarantee mechanism providing a guarantee service.
Along the above example, the user information of the target user u is "annual income xx ten thousand elements", the behavior information is "loan xx ten thousand elements and loan 36 period", the user category of the target user u is determined to be a second category, under the second category, preset keywords of "xx1 insurance", "xx2 insurance" and "xx3 insurance" exist, the user information of "annual income xx ten thousand elements" and the behavior information of "loan xx ten thousand elements, the loan 36 period" are respectively matched with the detail information of "annual income xx ten thousand elements and the loan period number of not more than xx year", the user information of "annual income xx ten thousand elements" and the behavior information of "loan xx ten thousand elements and the loan 36 period" are matched with the detail information of "annual xx ten thousand elements and the loan period number of not more than xx year", and the user information of "annual xx ten thousand elements and the behavior information of" xx3 insurance "are matched with the preset keywords, and the detail information of" annual income xx ten thousand elements and the behavior information of "xx ten thousand elements" and the loan ten thousand elements "which are not more than xx year" are obtained as the key information of the matching of the preset income of the user.
Step S306, if the shunting container corresponding to the target keyword is found in the storage space, the shunting sequence number corresponding to the shunting container is obtained.
For example, if a shunt container corresponding to the target keyword "xx insurance" is found in the storage space, the shunt sequence number 11 corresponding to the shunt container is acquired.
In addition, if the distribution container corresponding to the target keyword is not found in the storage space, a corresponding identification set is generated according to the preset distribution proportion of the channel to be distributed and is used as the distribution container;
and establishing a corresponding relation between the target keyword and the distribution container, and storing the target keyword and the distribution container into a storage space.
For example, a corresponding identifier set 0,0,1,1,1,2,2,2,2,2 is generated according to a preset distribution ratio of 2:3:5 of the channels to be distributed, the identifier set is used as a distribution container, a corresponding relation between xx insurance and the distribution container is established, and xx insurance and the distribution container are stored in a storage space.
The above identification set may be stored in the splitting container in various data structures, for example, in the form of an array, a sequence or a linked list.
Step S308, performing remainder processing on the total number of the identifiers of the shunting channel identifiers stored in the shunting container according to the shunting sequence number to obtain a remainder.
Along the above example, the obtained shunt container corresponds to the shunt sequence number 11, the shunt channel identifier stored in the shunt container is 0,0,1,1,1,2,2,2,2,2, the total number of identifiers of the shunt channel identifiers is 10, and the remainder processing is performed on the total number of identifiers of the shunt channel identifiers by the shunt sequence number 11, so as to obtain the remainder 1.
Step S310, taking the remainder as a position index for determining a target distribution channel identifier for distributing the target user, and acquiring the target distribution channel identifier corresponding to the position index from a distribution container.
Taking the remainder 1 as a position index for determining the target distribution channel identifier, and acquiring a target distribution channel identifier 0 corresponding to the position index 1 in a distribution container; the position indexes corresponding to the distribution channel identifiers 0,0,1,1,1,2,2,2,2,2 stored in the distribution container are respectively 0,1, 2, 3, 4, 5, 6, 7, 8 and 9, the distribution sequence number is 11, which indicates that the distribution channel identifiers in the distribution container have acquired one round, and the second round is executed currently.
Step S312, if the target distribution channel identifier is the first distribution channel identifier, the first distribution channel identifier is sent to the distribution processing system, so that the target user is distributed to the fund service channels according to the fund service channels corresponding to the first distribution channel identifier.
Along the above example, the "0" in the distribution channel identifier stored in the distribution container is the first distribution channel identifier, "1" is the second distribution channel identifier, "2" is the third distribution channel identifier, and when the target distribution channel identifier is "0", the "0" is sent to the distribution processing system, so that the target user u is distributed to the loan service channel in the distribution processing system.
Step S314, if the target distribution channel identifier is the second distribution channel identifier, the second distribution channel identifier is sent to the distribution processing system, so that the target user is distributed to the guarantee service channel of the guarantee mechanism according to the guarantee service channel of the corresponding guarantee mechanism of the second distribution channel identifier.
Along the above example, in the case where the target distribution channel is identified as "1", the "1" is sent to the distribution processing system to distribute the target user u to the insurance service channel of "xx insurance" at the distribution processing system.
Step S316, if the target distribution channel identifier is a third distribution channel identifier, the third distribution channel identifier is sent to the distribution processing system, so that the target user is distributed to the guarantee service channel of the third party guarantee platform according to the guarantee service channel of the third party guarantee platform corresponding to the third distribution channel identifier.
Along the above example, in the case that the target distribution channel is identified as "2", the "2" is sent to the distribution processing system, so that the target user u is distributed to the insurance service channel of the "xx insurance" of the third party security platform in the distribution processing system.
After that, any one of a service person of the fund service, an organization member of the guarantee organization and a member of the third party guarantee platform can submit a diversion proportion update request according to the service requirement and update the diversion proportion, and particularly in the process of updating the diversion proportion, the diversion proportion of each diversion channel is determined according to the target diversion proportion carried in the submitted diversion proportion update request; generating a corresponding target identification set according to the distribution ratio of each distribution channel; and updating the identification set stored in the shunt container according to the target identification set.
For example, the target distribution ratio is 0:6:4, the distribution ratio of the first distribution channel is determined to be 0, the distribution ratio of the second distribution channel is determined to be 6, the distribution ratio of the third distribution channel is determined to be 4, 0 is adopted to represent the first distribution channel, 1 is represented by the second distribution channel, 2 is represented by the third distribution channel, 6 1's and 4 2's exist in the generated target identification set, specifically 1,1,1,1,1,1,2,2,2,2 ', the distribution channel identification in the target identification set is 1,1,1,1,1,1,2,2,2,2, and the identification set 0,0,1,1,1,2,2,2,2,2 stored in the distribution container is updated according to the target identification set 1,1,1,1,1,1,2,2,2,2.
The target identifier set may be stored in the splitting container in various data structures, for example, in the form of an array, a sequence or a linked list.
It will be appreciated that the above exemplary distribution channel identifiers in the distribution container are merely illustrative, and the number of identifiers of each distribution channel identifier in a specific distribution channel identifier and the arrangement order of each distribution channel identifier are determined according to the actual application scenario.
An embodiment of a shunt device provided in the present specification is as follows:
in the above-described embodiments, a flow dividing method is provided, and a flow dividing device is provided corresponding thereto, and the flow dividing method is described below with reference to the accompanying drawings.
Referring to fig. 4, a schematic diagram of a shunt device according to the present embodiment is shown.
Since the apparatus embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative.
The present embodiment provides a shunt device, including:
an information acquisition module 402, configured to acquire user information and behavior information of a target user, and determine a target keyword according to the user information and the behavior information;
If a split-flow container corresponding to the target keyword is found in the storage space, a sequence number acquisition module 404 is operated, where the sequence number acquisition module 404 is configured to acquire a split-flow sequence number corresponding to the split-flow container;
channel identifier determining module 406, configured to determine, according to the branching sequence number, a target branching channel identifier for performing branching processing on the target user from branching channel identifiers stored in the branching container;
and the user distribution module 408 is configured to distribute the target user to the target distribution channel corresponding to the target distribution channel identifier.
An embodiment of a shunt device provided in the present specification is as follows:
corresponding to the above-described splitting method, based on the same technical concept, the embodiment of the present application further provides a splitting device, where the splitting device is configured to perform the above-provided splitting method, and fig. 5 is a schematic structural diagram of the splitting device provided by the embodiment of the present application.
The present embodiment provides a shunt device, including:
as shown in fig. 5, the shunting device may have a relatively large difference due to different configurations or performances, and may include one or more processors 501 and a memory 502, where the memory 502 may store one or more storage applications or data. Wherein the memory 502 may be transient storage or persistent storage. The application programs stored in memory 502 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in the shunt device. Still further, the processor 501 may be configured to communicate with the memory 502 and execute a series of computer executable instructions in the memory 502 on the shunt device. The shunt 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, and the like.
In a particular embodiment, a flow splitting 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 flow splitting device, and configured for execution by one or more processors, the one or more programs comprising computer-executable instructions for:
acquiring user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information;
if the shunting container corresponding to the target keyword is found in the storage space, acquiring a shunting sequence number corresponding to the shunting container;
according to the distribution sequence numbers, determining a target distribution channel identifier for distributing the target users in the distribution channel identifiers stored in the distribution container;
and shunting the target user to the target shunting channel corresponding to the target shunting channel identifier.
An embodiment of a computer-readable storage medium provided in the present specification is as follows:
Corresponding to the above-described splitting method, the embodiments of the present application further provide a computer readable storage medium based on the same technical concept.
The present embodiment provides a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the following flow:
acquiring user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information;
if the shunting container corresponding to the target keyword is found in the storage space, acquiring a shunting sequence number corresponding to the shunting container;
according to the distribution sequence numbers, determining a target distribution channel identifier for distributing the target users in the distribution channel identifiers stored in the distribution container;
and shunting the target user to the target shunting channel corresponding to the target shunting channel identifier.
It should be noted that, in the present specification, the embodiments related to the computer readable storage medium and the embodiments related to the splitting method in the present specification are based on the same inventive concept, so that the specific implementation of the embodiments may refer to the implementation of the corresponding method, and the repetition is omitted.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-readable storage media (including, but not limited to, magnetic disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable shunt device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable shunt device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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 disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Embodiments of the application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (10)

1. A method of splitting, the method comprising:
acquiring user information and behavior information of a target user, and determining a target keyword according to the user information and the behavior information;
if the shunting container corresponding to the target keyword is found in the storage space, acquiring a shunting sequence number corresponding to the shunting container;
according to the distribution sequence numbers, determining a target distribution channel identifier for carrying out distribution processing on the target user in the distribution channel identifiers of the distribution channels stored in the distribution container;
and shunting the target user to the target shunting channel corresponding to the target shunting channel identifier.
2. The method of claim 1, wherein the acquiring the user information and the behavior information of the target user, and determining the target keyword according to the user information and the behavior information, further comprises:
if the distribution container corresponding to the target keyword is not found in the storage space, generating a corresponding identification set according to a preset distribution proportion of the channel to be distributed as the distribution container;
and establishing a corresponding relation between the target keyword and the distribution container, and storing the target keyword and the distribution container into the storage space.
3. The method of claim 1, wherein the distribution container has stored therein a set of identifiers, the set of identifiers consisting of distribution channel identifiers.
4. A method according to claim 3, characterized in that the method further comprises:
determining the distribution ratio of each distribution channel according to the target distribution ratio carried in the submitted distribution ratio updating request;
generating a corresponding target identification set according to the distribution ratio of each distribution channel;
and updating the identification set stored in the shunt container according to the target identification set.
5. The method according to claim 1, wherein the determining, from among the distribution channel identifiers stored in the distribution container according to the distribution sequence number, a target distribution channel identifier for performing distribution processing on the target user includes:
performing remainder processing on the total number of the identifiers of the shunting channel identifiers stored in the shunting container according to the shunting sequence numbers to obtain remainder;
and taking the remainder as a position index for determining a target distribution channel identifier for distributing the target user, and acquiring the target distribution channel identifier corresponding to the position index from the distribution container.
6. The method of claim 1, wherein said determining a target keyword from said user information and said behavior information comprises:
determining the user category of the target user according to the behavior information;
and under the user category, carrying out matching processing on the user information and the behavior information and preset keywords to obtain preset keywords matched with the user information and the behavior information as the target keywords.
7. The method of claim 1, wherein, if the splitting container corresponding to the target keyword is found in the storage space, after the splitting sequence number corresponding to the splitting container is obtained, further comprising:
calculating the sequence number based on the shunt sequence number and the shunt interval parameter to obtain a target shunt sequence number;
and updating the stored shunt sequence number according to the target shunt sequence number.
8. A shunt device, the device comprising:
the information acquisition module is used for acquiring user information and behavior information of a target user and determining a target keyword according to the user information and the behavior information;
If the shunting container corresponding to the target keyword is found in the storage space, a sequence number acquisition module is operated, wherein the sequence number acquisition module is used for acquiring a shunting sequence number corresponding to the shunting container;
the channel identification determining module is used for determining a target distribution channel identification for carrying out distribution processing on the target user in the distribution channel identifications of the distribution channels stored in the distribution container according to the distribution sequence numbers;
and the user distribution module is used for distributing the target user to the target distribution channel corresponding to the target distribution channel identifier.
9. A flow diversion apparatus, the apparatus comprising:
a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to perform the splitting method of any of claims 1-7.
10. A computer readable storage medium storing computer executable instructions which, when executed by a processor, implement the splitting method of any of claims 1-7.
CN202210586678.7A 2022-05-27 2022-05-27 Shunting method and device Active CN115118672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586678.7A CN115118672B (en) 2022-05-27 2022-05-27 Shunting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586678.7A CN115118672B (en) 2022-05-27 2022-05-27 Shunting method and device

Publications (2)

Publication Number Publication Date
CN115118672A CN115118672A (en) 2022-09-27
CN115118672B true CN115118672B (en) 2024-03-26

Family

ID=83326512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586678.7A Active CN115118672B (en) 2022-05-27 2022-05-27 Shunting method and device

Country Status (1)

Country Link
CN (1) CN115118672B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016046603A (en) * 2014-08-20 2016-04-04 日本電信電話株式会社 Network function load distribution system and method
CN108491267A (en) * 2018-03-13 2018-09-04 百度在线网络技术(北京)有限公司 Method and apparatus for generating information
CN109285064A (en) * 2018-08-02 2019-01-29 平安科技(深圳)有限公司 Loan guarantee processing method, device, equipment and medium based on message queue
CN110175742A (en) * 2019-04-19 2019-08-27 平安普惠企业管理有限公司 A kind of automatic engine shunt method, system, medium and electronic equipment
CN110969528A (en) * 2018-09-29 2020-04-07 重庆小雨点小额贷款有限公司 Transaction channel routing method, device, server and computer storage medium
CN111338967A (en) * 2020-03-09 2020-06-26 京东数字科技控股有限公司 Shunting test method and device, electronic equipment and storage medium
CN112001787A (en) * 2020-08-19 2020-11-27 深圳鼎盛电脑科技有限公司 User distribution method, device, server and storage medium
CN112235428A (en) * 2020-12-16 2021-01-15 太平金融科技服务(上海)有限公司 Call request processing method and device, computer equipment and storage medium
CN113409158A (en) * 2021-06-04 2021-09-17 上海明胜品智人工智能科技有限公司 Channel object data processing and communication method, device, server and medium
CN113989013A (en) * 2021-09-30 2022-01-28 广州品唯软件有限公司 Method, device and medium for managing account opening channel

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016046603A (en) * 2014-08-20 2016-04-04 日本電信電話株式会社 Network function load distribution system and method
CN108491267A (en) * 2018-03-13 2018-09-04 百度在线网络技术(北京)有限公司 Method and apparatus for generating information
CN109285064A (en) * 2018-08-02 2019-01-29 平安科技(深圳)有限公司 Loan guarantee processing method, device, equipment and medium based on message queue
CN110969528A (en) * 2018-09-29 2020-04-07 重庆小雨点小额贷款有限公司 Transaction channel routing method, device, server and computer storage medium
CN110175742A (en) * 2019-04-19 2019-08-27 平安普惠企业管理有限公司 A kind of automatic engine shunt method, system, medium and electronic equipment
CN111338967A (en) * 2020-03-09 2020-06-26 京东数字科技控股有限公司 Shunting test method and device, electronic equipment and storage medium
CN112001787A (en) * 2020-08-19 2020-11-27 深圳鼎盛电脑科技有限公司 User distribution method, device, server and storage medium
CN112235428A (en) * 2020-12-16 2021-01-15 太平金融科技服务(上海)有限公司 Call request processing method and device, computer equipment and storage medium
CN113409158A (en) * 2021-06-04 2021-09-17 上海明胜品智人工智能科技有限公司 Channel object data processing and communication method, device, server and medium
CN113989013A (en) * 2021-09-30 2022-01-28 广州品唯软件有限公司 Method, device and medium for managing account opening channel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多维电子渠道建设中微服务架构的应用与实践;周春;戴波;邢占伟;彭磊;高磊;;数字技术与应用(第05期);全文 *

Also Published As

Publication number Publication date
CN115118672A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
Mody International and development communication: A 21st-century perspective
CN108683692B (en) Service request processing method and device
CN111899008B (en) Resource transfer method, device, equipment and system
CN111724170A (en) Service processing system, service processing method, device and equipment
CN111932238B (en) Payment account recommendation method and device and electronic equipment
CN109151521B (en) User original value acquisition method, device, server and storage medium
CN108920183B (en) Service decision method, device and equipment
CN109639747B (en) Data request processing method, data request processing device, query message processing method, query message processing device and equipment
CN112070342B (en) Microservice evaluation method and device, electronic equipment and computer readable storage medium
CN115118672B (en) Shunting method and device
CN105825333A (en) Crowdsourcing service system based on anonymous places of cloud platform and task distribution method
CN111881274B (en) Method, device and processor for determining answers to questions
CN112967044B (en) Payment service processing method and device
CN115017362A (en) Data processing method, electronic device and storage medium
CN114169733A (en) Resource allocation method and device
CN114996019A (en) Task allocation method, device, computer equipment, storage medium and program product
CN114254278A (en) User account merging method and device, computer equipment and storage medium
CN111445317A (en) Online customer service method and system based on service group
CN116561735B (en) Mutual trust authentication method and system based on multiple authentication sources and electronic equipment
CN117955796A (en) Push verification method and related device
CN110333927B (en) Interface skipping method and device, server and storage medium
US20240070201A1 (en) System and method for verified predictions and performance
CN116644231A (en) User recommendation method, device, equipment and readable storage medium
CN115080621A (en) Data service processing method and device, processor and electronic equipment
CN116862636A (en) Method and device for constructing risk prevention system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant