[go: up one dir, main page]

CN115048419B - Business opportunity library-removing method and system - Google Patents

Business opportunity library-removing method and system Download PDF

Info

Publication number
CN115048419B
CN115048419B CN202210977904.4A CN202210977904A CN115048419B CN 115048419 B CN115048419 B CN 115048419B CN 202210977904 A CN202210977904 A CN 202210977904A CN 115048419 B CN115048419 B CN 115048419B
Authority
CN
China
Prior art keywords
business opportunity
business
opportunity
target
order
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
CN202210977904.4A
Other languages
Chinese (zh)
Other versions
CN115048419A (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.)
Chengdu Potato Chip Technology Co ltd
Original Assignee
Chengdu Potato Chip Technology 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 Chengdu Potato Chip Technology Co ltd filed Critical Chengdu Potato Chip Technology Co ltd
Priority to CN202210977904.4A priority Critical patent/CN115048419B/en
Publication of CN115048419A publication Critical patent/CN115048419A/en
Application granted granted Critical
Publication of CN115048419B publication Critical patent/CN115048419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Managing shopping lists, e.g. compiling or processing purchase lists
    • G06Q30/0635Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of computers, and discloses a method and a system for business opportunity library deletion, wherein the method comprises the steps that a server distributes business opportunity library deletion tasks of multiple business opportunities to each node in a distributed system, wherein the business opportunity library deletion task of the same business opportunity is distributed to the same node in the distributed system; after adding a distributed lock to each node in the distributed system, inquiring the commodity opportunity library falling rule of the corresponding commercial tenant, updating the library falling time of the corresponding commercial tenant after the inquiry is successful, and releasing the distributed lock; and each node in the distributed system carries out business opportunity database removal on the business opportunity of the corresponding merchant according to the business opportunity database removal rule of the corresponding merchant, wherein the business opportunity database removal refers to an access permission object of a database which is used for expanding the merchant and storing business opportunity data. The method and the system for the warehouse-out of the business opportunity, disclosed by the invention, can enable more business opportunity digesters to follow up and develop the business opportunity, and the conversion rate of the business opportunity is improved to the greatest extent.

Description

商机掉库方法及系统Method and System for Dropping Business Opportunities

技术领域technical field

本发明涉及计算机技术领域,具体涉及一种商机掉库方法及系统。The present invention relates to the field of computer technology, in particular to a method and system for dropping a business opportunity.

背景技术Background technique

商机是订单的来源,业务人员可通过对商机进行跟进开发,撮合交易达成,从而实现商机的转化。目前,一些线上的企业平台,通过将商机存储在商机数据库中,其中有数据访问权限的商机消化商(业务人员)可查询商机数据库获取商机并对商机进行跟进开发。Business opportunities are the source of orders, and business personnel can follow up and develop business opportunities and match deals to achieve conversion of business opportunities. At present, some online enterprise platforms store business opportunities in the business opportunity database, and business opportunity digesters (business personnel) with data access rights can query the business opportunity database to obtain business opportunities and follow up the development of business opportunities.

然而,采用这样的方式,对于一些有大量商户加盟的企业平台(如房产中介平台,其中的各个中介加盟商可被认为是商户,加盟商提供的房屋出售/出租资源可被认为是商机,从事房产中介的房产中介人员可被认为是商机消化商),可能由于各商户的配置不同,使得一些商机消化商无法对部分商户的商机数据库进行访问并进行商机跟进开发,从而导致部分商机不能够得到有效转化,因此有必要将一些仅限于部分商机消化商访问的商机数据库的允许访问对象进行扩展。However, in this way, for some enterprise platforms (such as real estate intermediary platforms) with a large number of merchants joining in, each intermediary franchisee can be considered as a merchant, and the housing sales/rental resources provided by franchisees can be considered as business opportunities. The real estate intermediaries of real estate agencies can be considered as business opportunity digesters), which may be due to the different configurations of various merchants, making some business opportunity digesters unable to access the business opportunity database of some merchants and carry out follow-up development of business opportunities, resulting in some business opportunities not being able to Therefore, it is necessary to expand the allowed access objects of some business opportunity databases that are limited to some business opportunity digesters.

发明内容Contents of the invention

为了解决现有技术中部分商机不能够得到有效转化的问题,本发明的目的在于提供一种商机掉库方法及系统,该商机掉库方法及系统可将仅限于部分商机消化商查询的数据库的允许访问对象进行扩展,从而使得更多的商机消化商能够对商户的商机进行跟进开发,最大可能提高商机的转化率,便于实际推广和应用。In order to solve the problem that some business opportunities cannot be effectively converted in the prior art, the purpose of the present invention is to provide a method and system for removing business opportunities, which can digest only part of the business opportunities in the database of business queries. Allowing access objects to expand, so that more business opportunity digesters can follow up and develop business opportunities for merchants, and maximize the conversion rate of business opportunities, which is convenient for actual promotion and application.

第一方面,本发明提供了一种商机掉库方法,用于对多个商户的商机进行掉库,包括:In the first aspect, the present invention provides a method for deleting business opportunities, which is used to delete business opportunities of multiple merchants, including:

服务器将所述多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;The server assigns the business opportunity inventory removal tasks of the multiple merchants to each node in the distributed system, wherein the business opportunity inventory removal tasks of the same merchant are assigned to the same node in the distributed system;

所述分布式系统中各节点对对应的商户加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;Each node in the distributed system adds a distributed lock to the corresponding merchant and inquires about the business opportunity dropout rules of the corresponding merchant, and updates the dropout time of the corresponding merchant after the query is successful and releases the distributed lock;

所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库,其中商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象。Each node in the distributed system deletes the business opportunity of the corresponding merchant according to the business opportunity deletion rule of the corresponding merchant, wherein the business opportunity deletion refers to the allowed access object of the database of the extended merchant and used to store business opportunity data.

基于上述发明内容,提供了一种商机掉库方案,即服务器将多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;分布式系统中各节点加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库。如此,可将仅限于部分商机消化商查询的数据库的允许访问对象进行扩展,从而使得更多的商机消化商能够对商户的商机进行跟进开发,最大可能提高商机的转化率,便于实际推广和应用。其次,通过分布式系统对商户的商机进行掉库,可避免由于需要掉库的商户过多而导致掉库效率过低的问题,提升掉库效率。Based on the content of the above invention, a business opportunity database removal scheme is provided, that is, the server assigns the business opportunity database removal tasks of multiple merchants to each node in the distributed system, and the business opportunity database removal tasks of the same merchant are assigned to the nodes in the distributed system. The same node of the same node; each node in the distributed system adds a distributed lock to query the corresponding merchant's business opportunity drop-out rules, and updates the corresponding merchant's drop-out time and releases the distributed lock after the query is successful; each node in the distributed system According to the business opportunity removal rules of the corresponding merchants, the business opportunities of the corresponding merchants are removed from the library. In this way, the allowed access objects of the database that are limited to some business opportunity digesters can be expanded, so that more business opportunity digesters can follow up and develop the business opportunities of merchants, and the conversion rate of business opportunities can be improved to the greatest extent. It is convenient for actual promotion and application. Secondly, through the distributed system to remove the business opportunities of merchants, it can avoid the problem of low efficiency of inventory removal due to too many merchants who need to drop their inventory, and improve the efficiency of inventory removal.

在一个可能的设计中,商机掉库的对象为目标数据库,在所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,所述方法还包括:In a possible design, the object of the business opportunity database is the target database. After each node in the distributed system deletes the business opportunities of the corresponding merchants according to the business opportunity database rules of the corresponding merchants, the method further includes :

所述服务器根据目标数据库中目标商机的需求信息,将所述目标商机推送给与所述需求信息匹配的多个第一商机消化商,并将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商;According to the demand information of the target business opportunity in the target database, the server pushes the target business opportunity to multiple first business opportunity digesters that match the demand information, and distributes the target business opportunity to the multiple first business opportunities Among the digesters, the target digester who initiates order grabbing first;

其中,所述需求信息包括业务类型和业务所属地区,所述目标商机为所述目标数据库中的任一商机。Wherein, the demand information includes the business type and the region to which the business belongs, and the target business opportunity is any business opportunity in the target database.

在一个可能的设计中,在将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商之后,所述方法还包括:In a possible design, after allocating the target business opportunity to the target digester who first initiates order grabbing among the plurality of first business opportunity digesters, the method further includes:

所述服务器响应所述目标消化商发起的协单操作,获取与所述目标商机的需求信息匹配的多个第二商机消化商,所述多个第二商机消化商为与所述目标商机的需求信息匹配所有消化商中除所述目标消化商之外的消化商;The server responds to the cooperation order operation initiated by the target business opportunity, and acquires a plurality of second business opportunity digesters that match the demand information of the target business opportunity, and the multiple second business opportunity digesters are The demand information matches all digests except the target digest;

所述服务器基于所述多个第二商机消化商中各消化商的历史协单记录中的且与所述目标商机属于同类型商机的各项协单参数,及各项协单参数所对应的权重,确定出所述多个第二商机消化商所对应的协单质量评估分;The server is based on the transaction order parameters of each of the digestion providers in the plurality of second business opportunity digesters in the historical contract record and belonging to the same type of business opportunities as the target business opportunity, and the corresponding contract parameters Weight, determine the co-order quality evaluation points corresponding to the plurality of second business opportunity digestion quotients;

所述服务器基于所述多个第二商机消化商所对应的协单质量评估分,按照评分从高到低的顺序对所述多个第二商机消化商进行排序,得到消化商排序列表,以便所述目标消化商基于所述消化商排序列表选择协单的消化商并向被选择的消化商推送与所述目标商机对应的协单任务;The server sorts the plurality of second business opportunity digesters in descending order of scores based on the contract quality evaluation scores corresponding to the multiple second business opportunity digesters to obtain a sorted list of digesters, so that The target digestion quotient selects the digestion quotient of the co-order based on the digestion quotient ranking list and pushes the co-order task corresponding to the target business opportunity to the selected digestion quotient;

其中,各项协单参数所对应的权重,是以所述目标商机的同类型商机的历史协单记录中各项协单参数作为输入,所述目标商机的同类型商机的历史协单记录所对应的客户评分,与所述历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标,进行训练得到的;Wherein, the weight corresponding to each cooperation order parameter is based on each cooperation order parameter in the historical cooperation order record of the same type business opportunity of the target business opportunity as input, and the historical cooperation order record of the same type business opportunity of the target business opportunity The corresponding customer score is obtained by training with the goal of minimizing the error between the weighted calculation scores of the various cooperation order parameters recorded in the historical cooperation order;

所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量中的至少一种。The various co-order parameters include at least one of the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks.

在一个可能的设计中,所述方法还包括:In a possible design, the method also includes:

所述服务器获取已协单的所有历史协单记录;The server obtains all historical contract records that have been contracted;

所述服务器基于历史携带记录所对应商机的类型对所述所有历史协单记录进行分类,得到至少一个商机分类;The server classifies all the historical contract records based on the types of business opportunities corresponding to the historical carry records to obtain at least one business opportunity classification;

所述服务器以所述至少一个商机分类中的各类商机所对应历史协单记录中记录的各项协单参数作为输入,所述至少一个商机分类中的各类商机所对应历史协单记录的客户评分,与所述至少一个商机分类中的各类商机所对应历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标进行训练,得到各类商机所对应历史协单记录中各项协单参数所对应的权重。The server takes as input the parameters of each contract recorded in the historical contract record corresponding to each type of business opportunity in the at least one business opportunity category, and the parameters of the historical contract record corresponding to each type of business opportunity in the at least one business opportunity category The customer score, and the error between the weighted calculation scores of the various contract parameters recorded in the historical contract records corresponding to the various business opportunities in the at least one business opportunity category is the goal of training, and the historical contract corresponding to the various business opportunities is obtained. The weight corresponding to each co-order parameter in the record.

在一个可能的设计中,在向被选择的消化商推送与所述目标商机对应的协单任务之后,所述方法还包括:In a possible design, after pushing the co-order task corresponding to the target business opportunity to the selected digester, the method further includes:

所述服务器向被选择的消化商发送协单请求提示信息。The server sends an order request prompt message to the selected digester.

在一个可能的设计中,所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量。In a possible design, the various co-order parameters include the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks.

在一个可能的设计中,所述方法还包括:In a possible design, the method also includes:

服务器根据呼入的通话记录中携带的呼入信息生成线索;The server generates clues according to the incoming call information carried in the incoming call record;

服务器响应所述通话记录接听方的业务端录入的需求信息和所述线索生成商机。The server generates a business opportunity in response to the demand information entered by the service terminal of the receiver of the call record and the clue.

在一个可能的设计中,在所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,所述方法还包括:In a possible design, after each node in the distributed system deletes the business opportunities of the corresponding merchants according to the business opportunity deletion rules of the corresponding merchants, the method further includes:

所述分布式系统依据掉库日志确定是否存在所述分布式系统中各节点依据对应商户的商机掉库规则未完成掉库的节点;The distributed system determines whether there are nodes in the distributed system that have not completed the database deletion according to the business opportunity deletion rules of the corresponding merchants according to the database deletion log;

如存在,则控制未完成掉库的节点重新对对应商户的商机进行掉库。If it exists, control the node that has not completed the inventory drop to re-drop the business opportunity of the corresponding merchant.

第二方面,本发明提供了一种商机掉库系统,用于对多个商户的商机进行掉库,包括服务器和分布式系统,其中服务器用于将所述多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;In the second aspect, the present invention provides a business opportunity inventory removal system, which is used to remove the business opportunities of multiple merchants, including a server and a distributed system, wherein the server is used to allocate the business opportunity inventory removal tasks of the plurality of merchants For each node in the distributed system, the business opportunity drop-off task of the same merchant is assigned to the same node in the distributed system;

所述分布式系统中各节点用于加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;以及Each node in the distributed system is used to query the business opportunity dropout rules of the corresponding merchant after adding the distributed lock, and update the dropout time of the corresponding merchant after the query is successful and release the distributed lock; and

依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库,其中商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象。According to the business opportunity deletion rules of the corresponding merchant, the business opportunity deletion database of the corresponding merchant is performed, wherein the business opportunity deletion database refers to the allowed access object of the database of the extended merchant and used to store business opportunity data.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明提供的商机掉库方法的流程图。Fig. 1 is a flow chart of a method for dropping a business opportunity provided by the present invention.

图2是本发明提供的在服务器生成商机的流程图。Fig. 2 is a flow chart of generating business opportunities on the server provided by the present invention.

图3是本发明提供的为分配商机的目标消化商提供协单的流程图。Fig. 3 is a flow chart of providing cooperation orders for target digesters who allocate business opportunities provided by the present invention.

图4是本发明提供的确定历史协单记录中各项协单参数所对应的权重的流程图。Fig. 4 is a flow chart of determining the weights corresponding to each cooperation order parameter in the historical cooperation order record provided by the present invention.

图5是本发明提供的商机掉库系统的结构示意图。Fig. 5 is a schematic structural diagram of the business opportunity storage system provided by the present invention.

具体实施方式Detailed ways

下面结合附图及具体实施例来对本发明作进一步阐述。在此需要说明的是,对于这些实施例方式的说明虽然是用于帮助理解本发明,但并不构成对本发明的限定。本文公开的特定结构和功能细节仅用于描述本发明的示例实施例。然而,可用很多备选的形式来体现本发明,并且不应当理解为本发明限制在本文阐述的实施例中。The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments. It should be noted here that although the descriptions of these embodiments are used to help the understanding of the present invention, they are not intended to limit the present invention. Specific structural and functional details disclosed herein are for purposes of describing example embodiments of the invention only. However, the invention may be embodied in many alternative forms and should not be construed as limited to the embodiments set forth herein.

应当理解,尽管本文可能使用术语第一、第二等等来描述各种单元,但是这些单元不应当受到这些术语的限制。这些术语仅用于区分一个单元和另一个单元。例如可以将第一单元称作第二单元,并且类似地可以将第二单元称作第一单元,同时不脱离本发明的示例实施例的范围。It will be understood that, although the terms first, second etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.

应当理解,还应当注意到在一些备选实施例中,所出现的功能/动作可能与附图出现的顺序不同。例如,取决于所涉及的功能/动作,实际上可以实质上并发地执行,或者有时可以以相反的顺序来执行连续示出的两个图。It should be understood that in some alternative implementations, the functions/acts may occur out of the order noted in the figures. For example, two figures shown in succession may in fact be executed substantially concurrently or the functions/acts shown in succession may sometimes be executed in the reverse order, depending upon the functionality/acts involved.

实施例Example

为了提高商机的转化率,本申请实施例提供了一种商机掉库方法及系统,该商机掉库方法及系统可将仅限于部分商机消化商访问的数据库的允许访问对象进行扩展,从而使得更多的商机消化商能够对商机进行跟进开发,最大可能提高商机的转化率,便于实际推广和应用。In order to improve the conversion rate of business opportunities, the embodiment of this application provides a method and system for deleting business opportunities. The method and system for deleting business opportunities can expand the allowed access objects of the database that are limited to some business opportunity digesters, so that more Many business opportunity digesters can follow up and develop business opportunities, which can maximize the conversion rate of business opportunities and facilitate actual promotion and application.

本实施例第一方面所提供的商机掉库方法可应用于商机掉库系统,该商机掉库系统包括服务器和与服务器通信连接的分布式系统。所述服务器可以是有大量商户加盟的企业平台的服务器,商机消化商(业务人员)可访问被允许访问的商户的数据库中的商机数据以获取商机,并可对获取到的商机进行跟进开发。The business opportunity inventory removal method provided in the first aspect of this embodiment can be applied to a business opportunity inventory removal system, and the business opportunity inventory removal system includes a server and a distributed system communicatively connected to the server. The server may be a server of an enterprise platform with a large number of merchants joining, and the business opportunity digester (business personnel) can access the business opportunity data in the database of the allowed merchants to obtain business opportunities, and can follow up and develop the obtained business opportunities .

下面将对本申请实施例提供的商机掉库方法进行详细说明。A detailed description will be given below of the business opportunity drop-out method provided by the embodiment of the present application.

如图1所示,是本申请实施例提供的商机掉库方法的流程图,所述商机掉库方法可以包括如下步骤:As shown in Figure 1, it is a flow chart of a method for dropping a database of business opportunities provided by the embodiment of the present application, and the method for dropping a database of business opportunities may include the following steps:

步骤S101.服务器将多个商户的商机掉库任务分配给分布式系统中的各节点。Step S101. The server distributes the task of removing business opportunities of multiple merchants to each node in the distributed system.

其中,同一商户的商机掉库任务被分配给分布式系统中的同一节点,商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象。Wherein, the business opportunity database task of the same merchant is assigned to the same node in the distributed system, and the business opportunity database refers to the allowed access object of the database of the extended merchant and used for storing business opportunity data.

本申请实施例中,服务器与分布式系统通信连接以进行数据交互,分布式系统包括多个节点,每个节点为一个节点服务器,当需要对多个商户的商机进行掉库时,服务器可将多个商户的商机掉库任务分配给分布式系统中的各节点,且在分配商机掉库时,同一个商户的商机掉库任务会被分配给分布式系统中的同一个节点。In the embodiment of this application, the server communicates with the distributed system for data interaction. The distributed system includes multiple nodes, and each node is a node server. When it is necessary to drop the business opportunities of multiple merchants, the server can send The business opportunity drop task of multiple merchants is assigned to each node in the distributed system, and when the business opportunity drop is allocated, the business opportunity drop task of the same merchant will be assigned to the same node in the distributed system.

举例,多个商户包括商户a、b、c和d,分布式系统中包括节点A、B和C,在分配时可将商户a和b的商机掉库任务分配给节点A,商户c的商机掉库任务分配给节点B,商户d的商机掉库任务分配给节点C。可以理解的,上述商机掉库任务的分配方式仅仅是举例说明,在其他的一些实施例中还可以有其他的分配方式。For example, multiple merchants include merchants a, b, c, and d, and the distributed system includes nodes A, B, and C. When assigning, the business opportunities of merchants a and b can be assigned to node A, and the business opportunities of merchant c The inventory removal task is assigned to node B, and the merchant d's business opportunity inventory removal task is assigned to node C. It can be understood that, the above-mentioned distribution method of the business opportunity inventory removal task is only an example, and there may be other distribution methods in some other embodiments.

步骤S102.分布式系统中各节点对对应的商户加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁。Step S102. Each node in the distributed system adds a distributed lock to the corresponding merchant and then queries the business opportunity dropout rules of the corresponding merchant. After the query is successful, updates the dropout time of the corresponding merchant and releases the distributed lock.

在步骤S102中,分布式系统中各节点在进行掉库时,首先对对应的商户加上分布式锁,此时只有对商户加上分布式锁的节点才能够对商户的数据库中的数据进行查询等操作,从而确保数据的一致性。In step S102, each node in the distributed system first adds a distributed lock to the corresponding merchant when performing database drop. Query and other operations to ensure data consistency.

服务器可以配置商户的掉库规则,该掉库规则中记录了商户的数据库所允许访问的对象,分布式系统中各节点可从服务器查询对应商户的商机掉库规则,并在查询成功后更新对应商户的掉库时间并释放分布式锁。一般节点在对商户进行商机掉库(即扩展商户用于存储商机的数据库的允许访问对象)时,商机掉库时间很短,因此可以将掉库时间设置为当前时间或者距离当前时间间隔较小且在后的某一时间。The server can configure the merchant’s database drop-out rules, which record the objects that the merchant’s database is allowed to access. Each node in the distributed system can query the corresponding merchant’s business opportunity drop-out rules from the server, and update the corresponding The merchant's storage time and release the distributed lock. When a general node deletes a business opportunity for a merchant (that is, expands the allowed access objects of the database used by the merchant to store the business opportunity), the time for the business opportunity to be dropped is very short, so the time for the dropout can be set to the current time or the time interval from the current time is relatively small And at some later time.

在一个或多个实施例中,商户可以继承服务器配置的掉库规则,因此分布式节点在进行掉库时,也可从对应商户的配置信息中获取对应商户所继承的掉库规则。In one or more embodiments, the merchant can inherit the inventory removal rules configured by the server, so when the distributed node performs inventory removal, it can also obtain the inventory removal rules inherited by the corresponding merchant from the configuration information of the corresponding merchant.

步骤S103.分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库。Step S103. Each node in the distributed system deletes the business opportunities of the corresponding merchants according to the business opportunity deletion rules of the corresponding merchants.

其中,商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象。Wherein, the business opportunity database refers to an object allowed to be accessed by extending the database of the merchant and used to store business opportunity data.

进一步的,本申请实施例中,分布式系统中各节点在将对对应商户的商机进行商机掉库时,还会生成掉库日志,该掉库日志中记录有已完成商机掉库的商户,在掉库后分布式系统还可依据掉库日志确定是否存在未完成掉库的节点,如果存在则控制未完成掉库的节点重新对对应商户的商机进行掉库,从而确保完成对各商户的商机掉库。Further, in the embodiment of this application, each node in the distributed system will also generate a database deletion log when the business opportunities of the corresponding merchants are deleted, and the database deletion log records the merchants that have completed the business opportunity deletion After the database is dropped, the distributed system can also determine whether there are nodes that have not completed the database drop according to the database dropout log. If there is, the node that has not completed the library dropout will be controlled to re-drop the business opportunities of the corresponding merchants, so as to ensure the completion of the transaction for each merchant. Business opportunities are out of stock.

由此通过前述步骤S101~S103的商机掉库方法,通过服务器将多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;分布式系统中各节点加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库。如此,可将仅限于部分商机消化商访问的数据库的允许访问对象进行扩展,从而使得更多的商机消化商能够对商户的商机进行跟进开发,最大可能提高商机的转化率,便于实际推广和应用。其次,通过分布式系统对商户的商机进行掉库,可避免由于需要掉库的商户过多而导致掉库效率过低的问题,提升掉库效率。另外,在掉库后还可依据掉库日志确定是否存在未完成掉库的节点,如果存在则控制未完成掉库的节点重新对对应商户的商机进行掉库,从而确保完成对各商户的商机掉库。Thus, through the business opportunity drop-out method in the aforementioned steps S101~S103, the server will distribute the business opportunity drop-out tasks of multiple merchants to each node in the distributed system, wherein the business opportunity drop-out tasks of the same merchant are assigned to the nodes in the distributed system. The same node of the same node; each node in the distributed system adds a distributed lock to query the corresponding merchant's business opportunity drop-out rules, and updates the corresponding merchant's drop-out time and releases the distributed lock after the query is successful; each node in the distributed system According to the business opportunity removal rules of the corresponding merchants, the business opportunities of the corresponding merchants are removed from the library. In this way, the allowed access objects of the database that are limited to some business opportunity digesters can be expanded, so that more business opportunity digesters can follow up and develop the business opportunities of merchants, and the conversion rate of business opportunities can be improved to the greatest extent, which is convenient for actual promotion and application. Secondly, through the distributed system to remove the business opportunities of merchants, it can avoid the problem of low efficiency of inventory removal due to too many merchants who need to drop their inventory, and improve the efficiency of inventory removal. In addition, after the database is dropped, it is also possible to determine whether there are nodes that have not completed the database drop according to the database dropout log. If there is, control the nodes that have not completed the dropout to re-drop the business opportunities of the corresponding merchants, so as to ensure that the business opportunities for each merchant are completed. Drop library.

如图2所示,本申请实施例在前述第一方面的技术方案基础上,还具体提出了一种在服务器生成商机的可能设计一,其可以包括但不限于如下的步骤S201~S202。As shown in FIG. 2 , on the basis of the above-mentioned technical solution of the first aspect, the embodiment of the present application specifically proposes a possible design 1 for generating business opportunities on the server, which may include but not limited to the following steps S201~S202.

步骤S201.服务器根据呼入的通话记录中携带的呼入信息生成线索。Step S201. The server generates a clue according to the incoming call information carried in the incoming call record.

其中,所述呼入信息包括但不限于来电显示地区和来电电话号码。Wherein, the incoming call information includes but not limited to the caller ID area and the caller's phone number.

步骤S202.服务器响应通话记录接听方的业务端录入的需求信息和所述线索生成商机。Step S202. The server responds to the demand information entered by the service terminal of the receiver of the call record and the lead to generate a business opportunity.

本申请实施例中,业务端录入的需求信息可以是业务端的业务人员根据通话过程中的通话内容手动录入的。可以理解的,在其他的一些实施例中,需求信息也可以是服务器对通话记录进行关键词得到的。In the embodiment of the present application, the demand information entered by the service end may be manually entered by the service personnel of the service end according to the call content during the call. It can be understood that, in some other embodiments, the demand information may also be obtained by the server performing key words on the call records.

由此通过前述的可能设计一,能够根据通话记录十分方便快捷的生成商机,便于商机消化商进行商机跟进开发。Therefore, through the aforementioned possible design one, business opportunities can be generated very conveniently and quickly according to the call records, which is convenient for business opportunity digesters to follow up and develop business opportunities.

本申请实施例在前述第一方面或可能设计一的技术方案基础上,还具体提出了一种在分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,将商机推送给商机消化商的可能设计二。即服务器根据目标数据库中目标商机的需求信息,将目标商机推送给与需求信息匹配的多个第一商机消化商,并将目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商。其中,目标数据库为商机掉库的对象,需求信息包括业务类型和业务所属地区,目标商机为目标数据库中的任一商机。On the basis of the above-mentioned first aspect or the technical solution of possible design 1, the embodiment of the present application also specifically proposes a method for each node in the distributed system to delete the business opportunities of the corresponding merchants according to the business opportunity deletion rules of the corresponding merchants. After that, push the business opportunity to the possible design two of the business opportunity digester. That is, according to the demand information of the target business opportunity in the target database, the server pushes the target business opportunity to multiple first business opportunity digesters that match the demand information, and distributes the target business opportunity to the first business opportunity digester among the multiple first business opportunity digesters. Single target digestive quotient. Wherein, the target database is the object of business opportunity dropout, the demand information includes the business type and the region to which the business belongs, and the target business opportunity is any business opportunity in the target database.

本申请实施例中,与需求信息匹配的多个第一商机消化商,可以是指该多个第一商机消化商所能消化的业务类型与需求信息中的业务类型匹配,该多个第一商机消化商负责的区域与需求信息中的业务所属地区匹配,且该多个第一商机消化商被允许访问所述需求信息所对应目标商机所属的目标数据库。In this embodiment of the present application, the multiple first business opportunity digesters that match the demand information may refer to the business types that the multiple first business opportunity digesters can digest match the business types in the demand information, and the multiple first business opportunity digesters The area in charge of the business opportunity digester matches the business area in the demand information, and the multiple first business opportunity digesters are allowed to access the target database to which the target business opportunity corresponding to the demand information belongs.

由此通过前述的可能设计二,能够将商机推送给匹配的商机消化商,方便商机消化商及时获知与其匹配的商机,而无需从海量的商机中进行搜索,方便商机消化商对商机进行抢单及跟进开发等,从而尽快撮合交易达成,更加方便快捷的实现商机转化。Therefore, through the aforementioned possible design 2, the business opportunity can be pushed to the matching business opportunity digester, so that the business opportunity digester can know the matching business opportunity in a timely manner without searching from a large number of business opportunities, and it is convenient for the business opportunity digester to grab orders for business opportunities And follow-up development, etc., so as to match the transaction as soon as possible, and realize the conversion of business opportunities more conveniently and quickly.

请参阅图3,本申请实施例在前述可能设计二的技术方案基础上,还具体提出了一种在将目标商机分配给多个第一商机消化商中最先发起抢单的目标消化商之后,为分配商机的目标消化商提供协单的可能设计三,其可以包括但不限于如下的步骤S301~S303。Please refer to Figure 3. On the basis of the technical solution of the aforementioned possible design 2, the embodiment of the present application also specifically proposes a method after allocating the target business opportunity to the target digester who is the first to initiate grabbing orders among multiple first business opportunity digesters. , the third possible design of providing cooperation orders for target digesters who allocate business opportunities, which may include but not limited to the following steps S301~S303.

步骤S301.服务器响应目标消化商发起的协单操作,获取与目标商机的需求信息匹配的多个第二商机消化商。Step S301. The server responds to the cooperation order operation initiated by the target digester, and obtains multiple second business opportunity digesters that match the demand information of the target business opportunity.

其中,所述多个第二商机消化商为与所述目标商机的需求信息匹配所有消化商中除所述目标消化商之外的消化商。Wherein, the multiple second business opportunity digestion quotients are the digestion quotients of all the digestion quotients that match the demand information of the target business opportunity except the target digestion quotient.

本申请实施例中,如果目标消化商在接单后发现接单的商机不属于自己所擅长的业务类型或者其中部分业务自己无法处理而需要其他消化商协助完成,此时目标消化商可发起的协单操作,以请求其他消化商协助目标消化商处理该接单的商机。此时,服务器响应目标消化商发起的协单操作,获取与目标商机的需求信息匹配的多个第二商机消化商。In the embodiment of this application, if the target digester finds that the business opportunity received does not belong to the type of business he is good at after receiving the order, or some of the business cannot be handled by himself and needs the assistance of other digesters to complete, at this time the target digester can initiate Order cooperation operation, to request other digesters to assist the target digester in handling the business opportunity of the order. At this time, the server responds to the cooperation order operation initiated by the target digester, and obtains a plurality of second business opportunity digesters that match the demand information of the target business opportunity.

步骤S302.服务器基于多个第二商机消化商中各消化商的且与目标商机属于同类型商机的历史协单记录中的各项协单参数,及各项协单参数所对应的权重,确定出多个第二商机消化商所对应的协单质量评估分。Step S302. The server determines based on the various order parameters in the historical agreement records of each of the multiple second business opportunity digesters that belong to the same type of business opportunity as the target opportunity, and the weights corresponding to each agreement parameter. The evaluation scores of the contract quality corresponding to multiple second business opportunity digestion quotients are generated.

服务器记录有所有商机消化商的历史协单记录,历史协单记录中记录有与协单相关的各项协单参数,所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量中的至少一种。本申请实施例中,各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量。The server records the historical contract records of all business opportunity digesters. The historical contract records record various contract parameters related to the contract. The various contract parameters include the average conversion rate of business opportunities into business, conversion success At least one of the average conversion time of business opportunities and the amount of completed cooperation orders. In the embodiment of the present application, various co-order parameters include the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks.

服务器还根据同一类型商机的历史协单记录中的各项协单参数及所述同一类型商机的历史协单记录所对应的客户评分,确定出了所述同一类型商机的历史协单记录中各项协单参数所对应的权重。对于(与目标商机属于同类型商机的历史协单记录中的)各项协单参数所对应的权重,可以以目标商机的同类型商机的历史协单记录中各项协单参数作为输入,所述目标商机的同类型商机的历史协单记录所对应的客户评分,与所述(目标商机的同类型商机的)历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标,进行训练得到的。客户评分与加权运算得分之间的误差可以是但不限于平均误差或均方误差,本申请实施例中不做具体限定。The server also determines each of the historical contract records of the same type of business opportunity according to each contract parameter in the historical contract record of the same type of business opportunity and the customer score corresponding to the historical contract record of the same type of business opportunity. The weight corresponding to the item order parameter. For the weights corresponding to each order parameter (in the historical agreement record of the same type of business opportunity as the target opportunity), you can use each agreement parameter in the historical agreement record of the same type of business opportunity as the target opportunity as input, so The minimum error between the customer score corresponding to the historical contract record of the same type of business opportunity of the target business opportunity and the weighted calculation score of each contract parameter of the historical contract record (of the same type of business opportunity of the target business opportunity) is at least target, obtained through training. The error between the customer rating and the weighted calculation score may be, but not limited to, an average error or a mean square error, which is not specifically limited in this embodiment of the present application.

步骤S303.服务器基于多个第二商机消化商所对应的协单质量评估分,按照评分从高到低的顺序对多个第二商机消化商进行排序,得到消化商排序列表,以便目标消化商基于消化商排序列表选择协单的消化商并向被选择的消化商推送与目标商机对应的协单任务。Step S303. The server sorts the multiple second business opportunity digesters in descending order of scores based on the contract quality evaluation scores corresponding to the multiple second business opportunity digesters, and obtains a sorted list of digesters, so that the target digester can Select the digestion quotient of the cooperation order based on the ranking list of digestion quotients and push the cooperation order task corresponding to the target business opportunity to the selected digestion quotient.

进一步的,在向被选择的消化商推送与所述目标商机对应的协单任务之后,服务器还可以向被选择的消化商发送协单请求提示信息,以提示被选择的消化商当前有协单请求。Further, after pushing the cooperation order task corresponding to the target business opportunity to the selected digester, the server may also send a cooperation order request prompt message to the selected digester to prompt that the selected digester currently has a cooperation order ask.

由此通过前述的可能设计三,在目标消化商接单后发现接单的商机在跟进开发过程中存在困难而需要请求其他消化商协助处理时,能够自动为目标消化商推荐合适的消化商,以便目标消化商根据需要选取消化商发起协单请求,从而通过协作的方式尽可能完成商机的转化,进一步提高商机的转化效率,实现消化商之间的合作共赢。Therefore, through the above-mentioned possible design three, when the target digester finds that the business opportunity of receiving the order has difficulties in the follow-up development process after receiving the order and needs to ask other digesters to assist in processing, it can automatically recommend a suitable digester for the target digester , so that the target digester can select the digester to initiate a cooperation order request according to the needs, so as to complete the conversion of business opportunities as much as possible through collaboration, further improve the conversion efficiency of business opportunities, and achieve win-win cooperation among digesters.

请参阅图4,本申请实施例在前述可能设计三的技术方案基础上,还具体提出了一种确定各类商机所对应历史协单记录中各项协单参数所对应的权重的可能设计四,其可以包括但不限于如下的步骤S401~S403。Please refer to Fig. 4. On the basis of the technical solution of the aforementioned possible design three, the embodiment of the present application also specifically proposes a possible design four for determining the weights corresponding to each contract parameter in the historical contract records corresponding to various business opportunities , which may include but not limited to the following steps S401~S403.

步骤S401.服务器获取已协单的所有历史协单记录。Step S401. The server obtains all historical transaction records of already-contracted orders.

步骤S402.服务器基于历史携带记录所对应商机的类型对所有历史协单记录进行分类,得到至少一个商机分类。Step S402. The server classifies all historical contract records based on the types of business opportunities corresponding to the historical carrying records, and obtains at least one business opportunity classification.

步骤S403.服务器以至少一个商机分类中的各类商机所对应历史协单记录中记录的各项协单参数作为输入,至少一个商机分类中的各类商机所对应历史协单记录的客户评分,与至少一个商机分类中的各类商机所对应历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标进行训练,得到各类商机所对应历史协单记录中各项协单参数所对应的权重。Step S403. The server uses at least one business opportunity classification of various business opportunities in the historical contract records corresponding to the various contract parameters recorded in the transaction record as input, at least one customer score of the business opportunity classification in the various business opportunities in the historical contract records corresponding to the customer score, The error between the weighted calculation scores of each order parameter in the historical agreement records corresponding to various types of business opportunities in at least one business opportunity category is the minimum for training, and each agreement in the historical agreement records corresponding to various business opportunities is obtained. The weight corresponding to a single parameter.

其中,各类商机所对应历史协单记录中记录的各项协单参数,包括但不限于商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量中的至少一种。Among them, various cooperation order parameters recorded in the historical cooperation order records corresponding to various business opportunities, including but not limited to the average conversion rate of business opportunities into business, the average conversion time of successfully converted business opportunities, and the number of completed cooperation order tasks at least one.

在训练时,对于某一类商机,可以以该类商机对应历史协单记录中记录的各项协单参数作为输入,通过不同调整各项协单参数所对应的权重(调整次数可根据时间情况预先设定),计算该类商机所对应历史协单记录的各项协单参数的加权运算得分。计算各加权运算得分与该类商机所对应历史协单记录的客户评分之间的误差项,选择误差项最小时各项协单参数所对应的权重,作为该类商机所对应历史协单记录中各项协单参数所对应的权重。During training, for a certain type of business opportunity, you can use the various parameters of the cooperation order recorded in the historical agreement record corresponding to this type of business opportunity as input, and adjust the weights corresponding to each cooperation order parameter (the number of adjustments can be based on the time situation) Pre-set), calculate the weighted calculation score of each cooperation order parameter in the historical cooperation order record corresponding to this type of business opportunity. Calculate the error term between each weighted operation score and the customer score of the historical contract record corresponding to this type of business opportunity, and select the weight corresponding to each contract parameter when the error term is the smallest, as the historical contract record corresponding to this type of business opportunity. The weight corresponding to each co-order parameter.

由此通过前述的可能设计四,能够准确合理的确定出协单记录中各项协单参数所对应的权重,以便于消化商发起协单请求时,能够根据各项协单参数所对应的权重为发起协单请求的消化商推荐合适的消化商进行协单。Therefore, through the aforementioned possible design four, it is possible to accurately and reasonably determine the weights corresponding to each cooperation order parameter in the cooperation order record, so that when the digester initiates a cooperation order request, it can be based on the weights corresponding to each cooperation order parameter Recommend a suitable digester for the digester who initiated the order cooperation request to cooperate with the order.

第二方面,请参阅图5,本申请实施例提供了一种商机掉库系统,用于对多个商户的商机进行掉库,该商机掉库系统包括服务器和分布式系统,其中服务器用于将所述多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;In the second aspect, please refer to FIG. 5. The embodiment of the present application provides a system for removing business opportunities from a plurality of merchants. The system for removing business opportunities includes a server and a distributed system, wherein the server is used for Allocating the business opportunity drop-out tasks of the multiple merchants to each node in the distributed system, wherein the business opportunity drop-out tasks of the same merchant are assigned to the same node in the distributed system;

所述分布式系统中各节点用于加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;以及Each node in the distributed system is used to query the business opportunity dropout rules of the corresponding merchant after adding the distributed lock, and update the dropout time of the corresponding merchant after the query is successful and release the distributed lock; and

依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库,其中商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象。According to the business opportunity deletion rules of the corresponding merchant, the business opportunity deletion database of the corresponding merchant is performed, wherein the business opportunity deletion database refers to the allowed access object of the database of the extended merchant and used to store business opportunity data.

本实施例第二方面提供的装置的工作过程、工作细节和技术效果,可以参见实施例第一方面,于此不再赘述。For the working process, working details and technical effects of the device provided in the second aspect of this embodiment, please refer to the first aspect of the embodiment, and details will not be repeated here.

本发明不局限于上述可选实施方式,任何人在本发明的启示下都可得出其他各种形式的产品,但不论在其形状或结构上作任何变化,凡是落入本发明权利要求界定范围内的技术方案,均落在本发明的保护范围之内。The present invention is not limited to the above-mentioned optional embodiments, anyone can draw other various forms of products under the enlightenment of the present invention, but no matter make any changes in its shape or structure, any change that falls within the scope of the claims of the present invention The technical solutions within the scope all fall within the protection scope of the present invention.

Claims (7)

1.一种商机掉库方法,用于对多个商户的商机进行掉库,其特征在于,包括:1. A method for removing business opportunities from the library, which is used to remove the business opportunities of multiple merchants, characterized in that it includes: 服务器将所述多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;The server assigns the business opportunity inventory removal tasks of the multiple merchants to each node in the distributed system, wherein the business opportunity inventory removal tasks of the same merchant are assigned to the same node in the distributed system; 所述分布式系统中各节点对对应的商户加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;Each node in the distributed system adds a distributed lock to the corresponding merchant and inquires about the business opportunity dropout rules of the corresponding merchant, and updates the dropout time of the corresponding merchant after the query is successful and releases the distributed lock; 所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库,其中商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象;Each node in the distributed system performs business opportunity deletion on the business opportunities of the corresponding merchants according to the business opportunity deletion rules of the corresponding merchants, wherein the business opportunity deletion refers to the allowed access object of the database that expands the merchant and is used to store business opportunity data; 商机掉库的对象为目标数据库,在所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,所述方法还包括:The object of the business opportunity dropout is the target database. After each node in the distributed system performs the business opportunity dropout of the business opportunity of the corresponding merchant according to the business opportunity dropout rule of the corresponding merchant, the method also includes: 所述服务器根据目标数据库中目标商机的需求信息,将所述目标商机推送给与所述需求信息匹配的多个第一商机消化商,并将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商;According to the demand information of the target business opportunity in the target database, the server pushes the target business opportunity to multiple first business opportunity digesters that match the demand information, and distributes the target business opportunity to the multiple first business opportunities Among the digesters, the target digester who initiates order grabbing first; 其中,所述需求信息包括业务类型和业务所属地区,所述目标商机为所述目标数据库中的任一商机;Wherein, the demand information includes the business type and the region to which the business belongs, and the target business opportunity is any business opportunity in the target database; 在将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商之后,所述方法还包括:After allocating the target business opportunity to the target digester who first initiates order grabbing among the plurality of first business opportunity digesters, the method further includes: 所述服务器响应所述目标消化商发起的协单操作,获取与所述目标商机的需求信息匹配的多个第二商机消化商,所述多个第二商机消化商为与所述目标商机的需求信息匹配所有消化商中除所述目标消化商之外的消化商;The server responds to the cooperation order operation initiated by the target business opportunity, and acquires a plurality of second business opportunity digesters that match the demand information of the target business opportunity, and the multiple second business opportunity digesters are The demand information matches all digests except the target digest; 所述服务器基于所述多个第二商机消化商中各消化商的且与所述目标商机属于同类型商机的历史协单记录中的各项协单参数,及各项协单参数所对应的权重,确定出所述多个第二商机消化商所对应的协单质量评估分;The server is based on each contract parameter in the historical contract record of each digester among the plurality of second business opportunity digesters and that belongs to the same type of business opportunity as the target business opportunity, and the corresponding value of each contract parameter Weight, determine the co-order quality evaluation points corresponding to the plurality of second business opportunity digestion quotients; 所述服务器基于所述多个第二商机消化商所对应的协单质量评估分,按照评分从高到低的顺序对所述多个第二商机消化商进行排序,得到消化商排序列表,以便所述目标消化商基于所述消化商排序列表选择协单的消化商并向被选择的消化商推送与所述目标商机对应的协单任务;The server sorts the plurality of second business opportunity digesters in descending order of scores based on the contract quality evaluation scores corresponding to the multiple second business opportunity digesters to obtain a sorted list of digesters, so that The target digestion quotient selects the digestion quotient of the co-order based on the digestion quotient ranking list and pushes the co-order task corresponding to the target business opportunity to the selected digestion quotient; 其中,各项协单参数所对应的权重,是以所述目标商机的同类型商机的历史协单记录中各项协单参数作为输入,所述目标商机的同类型商机的历史协单记录所对应的客户评分,与所述历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标,进行训练得到的;Wherein, the weight corresponding to each cooperation order parameter is based on each cooperation order parameter in the historical cooperation order record of the same type business opportunity of the target business opportunity as input, and the historical cooperation order record of the same type business opportunity of the target business opportunity The corresponding customer score is obtained by training with the goal of minimizing the error between the weighted calculation scores of the various cooperation order parameters recorded in the historical cooperation order; 所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量中的至少一种。The various co-order parameters include at least one of the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks. 2.如权利要求1所述的方法,其特征在于,所述方法还包括:2. The method of claim 1, further comprising: 所述服务器获取已协单的所有历史协单记录;The server obtains all historical contract records that have been contracted; 所述服务器基于历史携带记录所对应商机的类型对所述所有历史协单记录进行分类,得到至少一个商机分类;The server classifies all the historical contract records based on the types of business opportunities corresponding to the historical carry records to obtain at least one business opportunity classification; 所述服务器以所述至少一个商机分类中的各类商机所对应历史协单记录中记录的各项协单参数作为输入,所述至少一个商机分类中的各类商机所对应历史协单记录的客户评分,与所述至少一个商机分类中的各类商机所对应历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标进行训练,得到各类商机所对应历史协单记录中各项协单参数所对应的权重。The server takes as input the parameters of each contract recorded in the historical contract record corresponding to each type of business opportunity in the at least one business opportunity category, and the parameters of the historical contract record corresponding to each type of business opportunity in the at least one business opportunity category The customer score, and the error between the weighted calculation scores of the various contract parameters recorded in the historical contract records corresponding to the various business opportunities in the at least one business opportunity category is the goal of training, and the historical contract corresponding to the various business opportunities is obtained. The weight corresponding to each co-order parameter in the record. 3.如权利要求1所述的方法,其特征在于,在向被选择的消化商推送与所述目标商机对应的协单任务之后,所述方法还包括:3. The method according to claim 1, further comprising: 所述服务器向被选择的消化商发送协单请求提示信息。The server sends an order request prompt message to the selected digester. 4.如权利要求1所述的方法,其特征在于,所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量。4 . The method according to claim 1 , wherein the various co-order parameters include the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks. 5.如权利要求1所述的方法,其特征在于,所述方法还包括:5. The method of claim 1, further comprising: 服务器根据呼入的通话记录中携带的呼入信息生成线索;The server generates clues according to the incoming call information carried in the incoming call record; 服务器响应所述通话记录接听方的业务端录入的需求信息和所述线索生成商机。The server generates a business opportunity in response to the demand information entered by the service terminal of the receiver of the call record and the clue. 6.如权利要求1所述的方法,其特征在于,在所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,所述方法还包括:6. The method according to claim 1, characterized in that, after each node in the distributed system removes the business opportunities of the corresponding merchants according to the business opportunity removal rules of the corresponding merchants, the method further comprises: 所述分布式系统依据掉库日志确定是否存在未完成掉库的节点;The distributed system determines whether there are nodes that have not completed the library drop according to the drop log; 如存在,则控制未完成掉库的节点重新对对应商户的商机进行掉库。If it exists, control the node that has not completed the inventory drop to re-drop the business opportunity of the corresponding merchant. 7.一种商机掉库系统,用于对多个商户的商机进行掉库,其特征在于,包括服务器和分布式系统,其中服务器用于将所述多个商户的商机掉库任务分配给分布式系统中的各节点,其中同一商户的商机掉库任务被分配给分布式系统中的同一节点;7. A business opportunity database removal system, which is used to remove the business opportunities of multiple merchants, and is characterized in that it includes a server and a distributed system, wherein the server is used to assign the business opportunity database removal tasks of the multiple merchants to the distribution system. Each node in the distributed system, in which the business opportunity drop-off task of the same merchant is assigned to the same node in the distributed system; 所述分布式系统中各节点用于加上分布式锁后对对应商户的商机掉库规则进行查询,在查询成功后更新对应商户的掉库时间并释放分布式锁;以及Each node in the distributed system is used to query the business opportunity dropout rules of the corresponding merchant after adding the distributed lock, and update the dropout time of the corresponding merchant after the query is successful and release the distributed lock; and 依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库,其中商机掉库是指扩展商户的且用于存储商机数据的数据库的允许访问对象;According to the business opportunity deletion rules of the corresponding merchant, the business opportunity deletion database of the corresponding merchant is performed, wherein the business opportunity deletion database refers to the allowed access object of the database of the extended merchant and used to store business opportunity data; 商机掉库的对象为目标数据库,所述服务器还用于在所述分布式系统中各节点依据对应商户的商机掉库规则,对对应商户的商机进行商机掉库之后,根据目标数据库中目标商机的需求信息,将所述目标商机推送给与所述需求信息匹配的多个第一商机消化商,并将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商;The object of the business opportunity dropout is the target database, and the server is also used for each node in the distributed system to delete the business opportunities of the corresponding merchants according to the business opportunity dropout rules of the corresponding merchants, and then according to the target business opportunity in the target database. demand information, push the target business opportunity to a plurality of first business opportunity digesters that match the demand information, and distribute the target business opportunity to the one that first initiates order grabbing among the plurality of first business opportunity digesters target digestion quotient; 其中,所述需求信息包括业务类型和业务所属地区,所述目标商机为所述目标数据库中的任一商机;Wherein, the demand information includes the business type and the region to which the business belongs, and the target business opportunity is any business opportunity in the target database; 所述服务器还用于在将所述目标商机分配给所述多个第一商机消化商中最先发起抢单的目标消化商之后,响应所述目标消化商发起的协单操作,获取与所述目标商机的需求信息匹配的多个第二商机消化商,所述多个第二商机消化商为与所述目标商机的需求信息匹配所有消化商中除所述目标消化商之外的消化商;The server is further configured to, after allocating the target business opportunity to the first target digester among the plurality of first business opportunity digesters, to respond to the cooperation order operation initiated by the target digester, and obtain the A plurality of second business opportunity digestion quotients matching the demand information of the target business opportunity, the plurality of second business opportunity digestion quotients are all digestion quotients matching the demand information of the target business opportunity except the target digestion quotient ; 基于所述多个第二商机消化商中各消化商的且与所述目标商机属于同类型商机的历史协单记录中的各项协单参数,及各项协单参数所对应的权重,确定出所述多个第二商机消化商所对应的协单质量评估分;以及Based on the various contract parameters in the historical contract record of each digester among the plurality of second business opportunity digesters and the target business opportunity belonging to the same type of business opportunities, and the weights corresponding to each contract parameter, determine Obtaining the contract quality evaluation points corresponding to the plurality of second business opportunity digestion quotients; and 基于所述多个第二商机消化商所对应的协单质量评估分,按照评分从高到低的顺序对所述多个第二商机消化商进行排序,得到消化商排序列表,以便所述目标消化商基于所述消化商排序列表选择协单的消化商并向被选择的消化商推送与所述目标商机对应的协单任务;Based on the contract quality evaluation scores corresponding to the plurality of second business opportunity digestion quotients, sort the plurality of second business opportunity digestion quotients in descending order of scores to obtain a sorted list of digestion quotients, so that the target The digestion quotient selects the digestion quotient of the co-order based on the digestion quotient ranking list and pushes the co-order task corresponding to the target business opportunity to the selected digestion quotient; 其中,各项协单参数所对应的权重,是以所述目标商机的同类型商机的历史协单记录中各项协单参数作为输入,所述目标商机的同类型商机的历史协单记录所对应的客户评分,与所述历史协单记录的各项协单参数的加权运算得分之间的误差最小为目标,进行训练得到的;Wherein, the weight corresponding to each cooperation order parameter is based on each cooperation order parameter in the historical cooperation order record of the same type business opportunity of the target business opportunity as input, and the historical cooperation order record of the same type business opportunity of the target business opportunity The corresponding customer score is obtained by training with the goal of minimizing the error between the weighted calculation scores of the various cooperation order parameters recorded in the historical cooperation order; 所述各项协单参数包括商机转化为业务的平均转化率、转化成功的商机的平均转化时长以及已完成协单任务量中的至少一种。The various co-order parameters include at least one of the average conversion rate of business opportunities converted into business, the average conversion time of successfully converted business opportunities, and the amount of completed co-order tasks.
CN202210977904.4A 2022-08-16 2022-08-16 Business opportunity library-removing method and system Active CN115048419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210977904.4A CN115048419B (en) 2022-08-16 2022-08-16 Business opportunity library-removing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210977904.4A CN115048419B (en) 2022-08-16 2022-08-16 Business opportunity library-removing method and system

Publications (2)

Publication Number Publication Date
CN115048419A CN115048419A (en) 2022-09-13
CN115048419B true CN115048419B (en) 2022-11-11

Family

ID=83167046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210977904.4A Active CN115048419B (en) 2022-08-16 2022-08-16 Business opportunity library-removing method and system

Country Status (1)

Country Link
CN (1) CN115048419B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333512A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Distributed memory database access system and method
CN109493046A (en) * 2018-11-12 2019-03-19 平安科技(深圳)有限公司 Business opportunity information sharing method, electronic device and readable storage medium storing program for executing based on block chain
CN111783042A (en) * 2020-06-30 2020-10-16 北京金山云网络技术有限公司 Database access control method, device, database host system and electronic device
CN114742484A (en) * 2022-06-13 2022-07-12 北京神州光大科技有限公司 Method, system, device and medium for processing information technology service requirement

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011101858A1 (en) * 2010-02-22 2011-08-25 Yogesh Chunilal Rathod A system and method for social networking for managing multidimensional life stream related active note(s) and associated multidimensional active resources & actions
US9741050B2 (en) * 2012-09-04 2017-08-22 Gratuity, Llc System and method for managing gratuities
CN108197997A (en) * 2018-01-16 2018-06-22 成都小时代科技有限公司 A kind of automobile shops inside trade machine excavates and the method and system of conversion
CN114240495A (en) * 2021-12-16 2022-03-25 成都新潮传媒集团有限公司 Method, device and computer-readable storage medium for predicting business opportunity conversion probability

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333512A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Distributed memory database access system and method
CN109493046A (en) * 2018-11-12 2019-03-19 平安科技(深圳)有限公司 Business opportunity information sharing method, electronic device and readable storage medium storing program for executing based on block chain
CN111783042A (en) * 2020-06-30 2020-10-16 北京金山云网络技术有限公司 Database access control method, device, database host system and electronic device
CN114742484A (en) * 2022-06-13 2022-07-12 北京神州光大科技有限公司 Method, system, device and medium for processing information technology service requirement

Also Published As

Publication number Publication date
CN115048419A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN107038166B (en) Method and device for inquiring reservable warehouse capacity, reserving and canceling reservation warehousing
US7822761B2 (en) Groupware system with improved contact data handling
CN111008521B (en) Method, device and computer storage medium for generating wide table
CN111260288B (en) Order management method, device, medium and electronic equipment
KR102256814B1 (en) Method and system for selecting target data
KR20130053407A (en) Enhancing an inquiry for a search of a database
CN109165257A (en) Data query method and related system, equipment and storage medium
CN111144796B (en) Method and device for generating tally information
EP3401862A1 (en) Data storage and service processing method and device
CN111125240A (en) A distributed transaction implementation method, device, electronic device and storage medium
CN115048419B (en) Business opportunity library-removing method and system
CN110689293B (en) A method and device for processing items out of warehouse
CN110263060B (en) ERP electronic accessory management method and computer equipment
CN117893287A (en) Order information processing method, device, equipment and storage medium
CN115239250A (en) Generation method, use method and related equipment of warehouse management system
CN117314327A (en) Method, device, equipment and storage medium for improving work order processing efficiency
CN114429326A (en) A method and system for automatic merging and sharing of materials applied to joint business
CN114997779A (en) Storage processing method and device, electronic equipment and computer readable medium
CN116629495A (en) Method and device for outputting information
TWI643075B (en) Cloud frequent sequential pattern mining method
CN112214587B (en) A method and device for determining technology evolution trend
CN118586804B (en) Order matching method, order matching device, electronic equipment and computer storage medium
CN115269126B (en) Cloud platform inverse affinity scheduling system based on cosine similarity
CN115391052B (en) Robot task processing method and device, electronic equipment and storage medium
TWI829177B (en) Employee performance appraisal method and system based on blockchain

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
PP01 Preservation of patent right

Effective date of registration: 20250922

Granted publication date: 20221111