[go: up one dir, main page]

CN109685573A - Business circle data processing method and device, electronic equipment and storage medium - Google Patents

Business circle data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109685573A
CN109685573A CN201811592653.8A CN201811592653A CN109685573A CN 109685573 A CN109685573 A CN 109685573A CN 201811592653 A CN201811592653 A CN 201811592653A CN 109685573 A CN109685573 A CN 109685573A
Authority
CN
China
Prior art keywords
business
analysis
data
user
order data
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.)
Pending
Application number
CN201811592653.8A
Other languages
Chinese (zh)
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.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Lazas Network Technology Shanghai 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 Lazas Network Technology Shanghai Co Ltd filed Critical Lazas Network Technology Shanghai Co Ltd
Priority to CN201811592653.8A priority Critical patent/CN109685573A/en
Publication of CN109685573A publication Critical patent/CN109685573A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例涉及数据分析领域,公开了一种商圈数据的处理方法、装置、电子设备和存储介质。本发明中,商圈数据的处理方法,包括:接收分析请求,所述分析请求携带用户类别和用户所属商圈;根据所述用户类别和所述用户所属商圈获取对应的分析结果;反馈所述分析结果,适应不同类别的用户群的需求,提供个性化分析结果。

Embodiments of the present invention relate to the field of data analysis, and disclose a business circle data processing method, device, electronic device and storage medium. In the present invention, the method for processing business circle data includes: receiving an analysis request, where the analysis request carries the user category and the business circle to which the user belongs; obtaining a corresponding analysis result according to the user category and the business circle to which the user belongs; Describe the analysis results, adapt to the needs of different types of user groups, and provide personalized analysis results.

Description

一种商圈数据的处理方法、装置、电子设备和存储介质A method, device, electronic device and storage medium for processing business circle data

技术领域technical field

本发明涉及数据分析领域,特别涉及一种商圈数据的处理方法、装置、电子设备和存储介质。The invention relates to the field of data analysis, in particular to a method, device, electronic device and storage medium for processing business circle data.

背景技术Background technique

在当今这个大数据时代,针对特定业务场景的单个报表的行数甚至达到了数十亿级别,在线服务行业中,不同的客户端对数据的需求是不一样的,商户端对订单量,流量等比较敏感,而顾客端对价格、口味等比较敏感,物流端又对配送压力,配送难易程度等比较敏感,这就需要外卖平台能对不同用户端透传不同数据。In today's era of big data, the number of rows in a single report for a specific business scenario has even reached billions. In the online service industry, different clients have different data requirements. The customer side is more sensitive to price, taste, etc., and the logistics side is more sensitive to the pressure of distribution, the difficulty of distribution, etc., which requires the takeaway platform to transparently transmit different data to different users.

发明人发现:目前最常用的技术为数据看板,就是通过数据的整合,对不同的使用方,展示他们关心的数据。然后看板的维度大多都是时间、城市、人群、商户类别等维度的,过于宏观,无法指导实际商圈中的数据应用。The inventor found that the most commonly used technology is data kanban, which is to display the data they care about to different users through the integration of data. Then most of the dimensions of Kanban are time, city, crowd, business category and other dimensions, which are too macro to guide the application of data in actual business circles.

发明内容SUMMARY OF THE INVENTION

本发明实施方式的目的在于提供一种商圈数据的处理方法、装置、电子设备和存储介质,适应不同类别的用户群的需求,提供个性化分析结果。The purpose of the embodiments of the present invention is to provide a business circle data processing method, device, electronic device and storage medium, which can adapt to the needs of different types of user groups and provide personalized analysis results.

为解决上述技术问题,本发明的实施方式提供了一种商圈数据的处理方法,包括:接收分析请求,所述分析请求携带用户类别和用户所属商圈;根据所述用户类别和所述用户所属商圈获取对应的分析结果;反馈所述分析结果。To solve the above technical problems, embodiments of the present invention provide a method for processing business circle data, including: receiving an analysis request, where the analysis request carries a user category and a business circle to which the user belongs; The affiliated business district obtains the corresponding analysis results; and feeds back the analysis results.

本发明的实施方式还提供了一种商圈数据的处理装置,包括:接收模块,用于接收分析请求,所述分析请求携带用户类别和用户所属商圈;获取模块,用于根据所述用户类别和所述用户所属商圈获取对应的分析结果;发送模块,用于反馈所述分析结果。An embodiment of the present invention also provides a business circle data processing device, comprising: a receiving module for receiving an analysis request, where the analysis request carries a user category and a business circle to which the user belongs; an acquisition module for receiving an analysis request according to the user The category and the business circle to which the user belongs to obtain the corresponding analysis result; the sending module is used for feeding back the analysis result.

本发明的实施方式还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:接收分析请求,所述分析请求携带用户类别和用户所属商圈;根据所述用户类别和所述用户所属商圈获取对应的分析结果;反馈所述分析结果。Embodiments of the present invention also provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data executable by the at least one processor The instruction is executed by the at least one processor, so that the at least one processor can execute: receive an analysis request, the analysis request carries the user category and the business circle to which the user belongs; Obtain corresponding analysis results from the business circle to which the user belongs; and feed back the analysis results.

本发明的实施方式还提供了一种非易失性存储介质,用于存储计算机可读程序,计算机可读程序用于供计算机执行如上所述的商圈数据的处理方法。Embodiments of the present invention also provide a non-volatile storage medium for storing a computer-readable program, and the computer-readable program is used for a computer to execute the above-mentioned business circle data processing method.

本发明实施方式相对于现有技术而言,主要区别及其效果在于:在接收到分析请求后,根据分析请求中携带的用户列表和用户所属商圈获取到分析结果,从而再反馈获得的分析结果。实现不同类别的用户群可以得到不同的分析结果,符合不同用户群敏感数据不同的实际情况,适应不同用户类别的实际需求,从而提供个性化分析结果。Compared with the prior art, the main difference and effect of the embodiments of the present invention are: after receiving the analysis request, the analysis result is obtained according to the user list carried in the analysis request and the business district to which the user belongs, and the obtained analysis is then fed back. result. Different types of user groups can get different analysis results, in line with the different actual situations of sensitive data of different user groups, and adapt to the actual needs of different user categories, thereby providing personalized analysis results.

作为进一步改进,所述分析结果根据以下方式获得:获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据;根据所述场景标签对各所述商户分类;汇总同一分类下的商户的订单数据;根据预设的分析策略对汇总后的订单数据进行分析,获得所述第一商圈的分析结果。利用场景标签为一商圈中的商户分类,并进一步汇总同一分类下的订单数据,根据汇总结果具体分析,从而得到对该商圈的分析结果。As a further improvement, the analysis result is obtained according to the following methods: acquiring the scene labels of the merchants belonging to the first business district and order data in the first business district; classifying the merchants according to the scene labels; summarizing the same category order data of the merchants placed; analyze the aggregated order data according to a preset analysis strategy, and obtain the analysis result of the first business district. Use scene tags to classify merchants in a business circle, and further summarize order data under the same category, and analyze the results according to the summary results, so as to obtain the analysis results of the business circle.

作为进一步改进,所述分析策略有多种,不同的分析策略对应不同的用户类别;所述根据预设的分析策略对汇总后的订单数据进行分析,包括:根据所述分析请求中的所述用户类别确定分析策略;根据所确定的分析策略对汇总出的订单数据进行分析。为不同用户类别设置不同的分析策略,从而保证准确地得到各类用户对应的分析结果。As a further improvement, there are multiple analysis strategies, and different analysis strategies correspond to different user categories; the analyzing the aggregated order data according to the preset analysis strategy includes: according to the analysis request The user category determines the analysis strategy; the aggregated order data is analyzed according to the determined analysis strategy. Set different analysis strategies for different user categories to ensure accurate analysis results corresponding to various users.

作为进一步改进,所述根据所述场景标签对各所述商户分类之前,还包括:获取所属其他商圈的具有相同场景标签的商户的订单数据;所述根据场景标签对各所述商户分类中,具体为:根据场景标签对所属第一商圈的各所述商户和所属其他商圈的各所述商户分类。在进行数据分析时,在所属一类别的商户的数据中,加入其他商圈的具有同场景标签的商户数据,使得参与分析的数据样本更多,提升分析结果的准确性。As a further improvement, before classifying the merchants according to the scene tags, the method further includes: acquiring order data of merchants with the same scene tags belonging to other business districts; classifying the merchants according to the scene tags , specifically: classifying each of the merchants in the first business district and each of the merchants in other business districts according to the scene tag. When performing data analysis, the data of merchants belonging to a category with the same scene label is added to the data of merchants in other business districts, so that more data samples are involved in the analysis and the accuracy of the analysis results is improved.

作为进一步改进,包括:所述商户的场景标签根据以下方法获得:提取所述商圈中的订单数据的特征参数;分析所述商圈中的订单数据的所述特征参数的特性;根据分析结果确定出所述商户的场景标签。根据预定的特征参数进行数据分析,从而根据特征参数所表现的特性获得商户的场景标签,利用场景标签对商户分类更为贴近用户需求。As a further improvement, it includes: the scene label of the merchant is obtained according to the following methods: extracting the characteristic parameters of the order data in the business circle; analyzing the characteristics of the characteristic parameters of the order data in the business circle; according to the analysis result A scene tag of the merchant is determined. Data analysis is performed according to the predetermined characteristic parameters, so as to obtain the scene tags of the merchants according to the characteristics expressed by the characteristic parameters, and the classification of merchants by the scene tags is closer to the user's needs.

作为进一步改进,所述特征参数为:空间坐标、时间或品类。明确具体的特征参数。As a further improvement, the characteristic parameters are: space coordinates, time or category. Specify specific characteristic parameters.

作为进一步改进,所述分析所述商圈中的订单数据的特征参数的特性,包括:求取所述订单数据的特征参数的熵值;根据所述熵值确定所述商圈中的订单数据的所述特征参数的特性。利用求熵的方法获得特征参数所表现的特性,更为科学准确。As a further improvement, the analyzing the characteristics of the characteristic parameters of the order data in the business circle includes: obtaining an entropy value of the characteristic parameters of the order data; determining the order data in the business circle according to the entropy value the characteristics of the characteristic parameters. It is more scientific and accurate to use the method of entropy to obtain the characteristics of the characteristic parameters.

作为进一步改进,所述获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据之前,还包括:收集订单数据和各订单所属商圈;根据各所述商圈的空间坐标和下属订单进行商圈合并,所述第一商圈为合并后的商圈之一。具体根据商圈的空间坐标和下属订单进行商圈合并,实现商圈的去重、脱敏,减少合并后的商圈数量,减少总体分析次数。As a further improvement, before acquiring the scene labels of the merchants belonging to the first business district and the order data in the first business district, the method further includes: collecting order data and the business districts to which each order belongs; Coordinates and subordinate orders are merged with business circles, and the first business circle is one of the merged business circles. Specifically, according to the spatial coordinates of the business district and subordinate orders, the business district is merged to achieve deduplication and desensitization of the business district, reduce the number of business districts after the merger, and reduce the number of overall analysis.

作为进一步改进,所述用户所属商圈,根据所述用户所处位置与各商圈的位置关系确定。明确所属商圈的确定方式。As a further improvement, the business circle to which the user belongs is determined according to the positional relationship between the user's location and each business circle. Clarify the method of determining the business district to which you belong.

作为进一步改进,所述用户类别包括:商户、顾客、物流和平台。明确用户的类别。As a further improvement, the user categories include: merchants, customers, logistics and platforms. Identify the category of the user.

作为进一步改进,所述分析请求携带的用户类别为商户,所述分析结果至少包括:商品规划建议。As a further improvement, the user category carried in the analysis request is a merchant, and the analysis result at least includes: commodity planning suggestions.

作为进一步改进,所述根据用户类别和所述用户所属商圈获取对应的分析结果中,包括:根据所述用户类别和所述用户所属商圈从系统中查找所对应的分析结果。可以预先生成分析结果存储于系统,供接收到分析请求后直接查找获取,加快获取速度。As a further improvement, obtaining the corresponding analysis result according to the user category and the business circle to which the user belongs includes: searching the system for the corresponding analysis result according to the user category and the business circle to which the user belongs. The analysis results can be pre-generated and stored in the system for direct search and acquisition after receiving the analysis request to speed up the acquisition.

附图说明Description of drawings

图1是根据本发明第一实施方式中的商圈数据的处理方法的流程图;1 is a flowchart of a method for processing business district data according to the first embodiment of the present invention;

图2是根据本发明第二实施方式中的商圈数据的处理方法中分析结果的获得方式的流程图;FIG. 2 is a flow chart of an acquisition method of an analysis result in a method for processing business district data according to a second embodiment of the present invention;

图3是根据本发明第二实施方式中的商圈数据的处理方法中场景标签的获得方式的流程图;3 is a flowchart of a method for obtaining a scene label in the method for processing business district data according to the second embodiment of the present invention;

图4是根据本发明第三实施方式中的商圈数据的处理方法中分析结果的获得方式的流程图;FIG. 4 is a flow chart of a method for obtaining an analysis result in a method for processing business district data according to a third embodiment of the present invention;

图5是根据本发明第四实施方式中的商圈数据的处理装置的示意图;5 is a schematic diagram of a processing device for business district data according to a fourth embodiment of the present invention;

图6是根据本发明第五实施方式中的电子设备结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized.

本发明的第一实施方式涉及一种商圈数据的处理方法,本实施方式可以应用在终端侧,如应用在手机,平板电脑等电子设备中,也可以应用在网络侧的服务器中,具体流程如图1所示,包括:The first embodiment of the present invention relates to a method for processing business circle data. This embodiment can be applied to the terminal side, such as in electronic devices such as mobile phones and tablet computers, and can also be applied in the server on the network side. The specific process As shown in Figure 1, it includes:

步骤101,接收分析请求。Step 101, receiving an analysis request.

具体的说,分析请求可以由用户输入指令发出,也可以设置由应用自动发出。如,在应用的某界面中设有接收分析报告的按钮,在用户点击该按钮时,发送分析请求,对应的,电子设备接收分析请求;又如,设置应用每天第一次开启时,自动发送分析请求,那么用户在每天第一次开启该应用程序时,触发发送分析请求,对应的,电子设备接收分析请求。Specifically, the analysis request can be issued by a user input instruction, or can be set to be issued automatically by the application. For example, there is a button for receiving an analysis report in a certain interface of the application. When the user clicks the button, an analysis request is sent, and correspondingly, the electronic device receives the analysis request. Analysis request, then when the user opens the application for the first time every day, the sending of the analysis request is triggered, and correspondingly, the electronic device receives the analysis request.

继续说明,分析请求携带用户类别,用户类别可以包括:商户、顾客、物流和平台。其中,商户如餐饮店、按摩店等,物流如骑手、派送员等。Continuing to explain, the analysis request carries user categories, and the user categories may include: merchants, customers, logistics, and platforms. Among them, merchants such as restaurants, massage shops, etc., logistics such as riders, delivery staff, etc.

更具体的说,分析请求携带用户所属商圈,具体可以根据用户所处位置与各商圈的位置关系确定其的商圈,如将与用户所处位置最近的商圈作为用户所属商圈。More specifically, the analysis request carries the business district to which the user belongs. Specifically, the business district of the user can be determined according to the positional relationship between the user's location and each business district. For example, the business district closest to the user's location is regarded as the business district to which the user belongs.

需要继续说明的是,本实施方式中的商圈根据一定规则合并,尽量避免由商圈重叠造成的用户所属商圈不清楚的情况。其中,商圈合并时的规则可以根据商圈分别上报的订单数据合并,如两个商圈分别上报的订单数据中,重复率超过一定比例,就可以确定两个商圈实际重合度非常高,从而以订单数据更丰富的商圈作为两个商圈合并后的数据;又如两个商圈的空间坐标差小于一定阈值,也可以确定两个商圈的距离非常接近,从而以两个商圈上报的订单数据做并集后去重,确定出合并后的商圈的订单数据。It should be further explained that the business districts in this embodiment are merged according to certain rules, and try to avoid the situation where the business districts to which users belong are unclear due to overlapping business districts. Among them, the rules for merging business districts can be merged according to the order data reported by the business districts respectively. For example, if the repetition rate of the order data reported by the two business districts exceeds a certain percentage, it can be determined that the actual degree of overlap between the two business districts is very high. Therefore, the business district with more abundant order data is used as the combined data of the two business districts; if the spatial coordinate difference between the two business districts is less than a certain threshold, it can also be determined that the distance between the two business districts is very close, so that the two business districts are determined as two business districts. The order data reported by the circle is merged and then deduplicated to determine the order data of the merged business circle.

步骤102,根据用户类别和用户所属商圈获取对应的分析结果。Step 102: Acquire corresponding analysis results according to the user category and the business district to which the user belongs.

本实施方式中,可以以商圈为单位进行数据分析,得到分析结果。其中,不同的用户类别可以对应不同的分析策略,根据用户类别确定的分析策略,获得所属商圈的分析结果。In this embodiment, data analysis may be performed in units of business districts to obtain analysis results. Among them, different user categories may correspond to different analysis strategies, and according to the analysis strategy determined by the user category, the analysis results of the business district to which they belong are obtained.

具体的说,用户类别为商户,分析结果至少包括:商品规划建议,还可以包括本商圈顾客需求较高时段及对应的订单量、本商圈顾客需求较高品类、本商圈各分类商户比例等,实际分析结果可以根据实际需求设置,在此不做限定。Specifically, the user category is a merchant, and the analysis results include at least: product planning suggestions, and may also include the time period with high customer demand in this business district and the corresponding order volume, the category with high customer demand in this business district, and the merchants of each category in this business district. The actual analysis results can be set according to actual needs, which is not limited here.

更具体的说,分析结果可以预先生成,存储于系统中,如预先对一商圈进行不同分析策略的分析,获得对应不同用户类别的多个分析结果,并分别存储,还可以形成分析结果库。随后,在收到分析请求后,根据用户类别和用户所属商圈从系统中查找所对应的分析结果。More specifically, the analysis results can be pre-generated and stored in the system. For example, a business district can be analyzed with different analysis strategies in advance, and multiple analysis results corresponding to different user categories can be obtained and stored separately, and an analysis result library can also be formed. . Then, after receiving the analysis request, the corresponding analysis result is searched from the system according to the user category and the business district to which the user belongs.

步骤103,反馈分析结果。Step 103, feedback the analysis result.

具体的说,将步骤102中获得的分析结果反馈给用户,如反馈给用户的终端,由终端进行展示。Specifically, the analysis result obtained in step 102 is fed back to the user, for example, fed back to the user's terminal, and displayed by the terminal.

更具体的说,终端在收到分析结果后,还可以根据分析结果处理出各种类型的应用数据。以用户为顾客为例,终端在收到分析结果后,还可以根据分析结果中的本商圈热卖单品,为用户进行单品推荐。More specifically, after receiving the analysis result, the terminal can also process various types of application data according to the analysis result. Taking the user as the customer as an example, after receiving the analysis result, the terminal can also recommend the single product for the user according to the hot selling single product in the business area in the analysis result.

继续说明,终端在获得分析结果后,还可以先暂存,之后在用户需要查阅时再进行展示。Continuing to explain, after the terminal obtains the analysis result, it can also be temporarily stored, and then displayed when the user needs to refer to it.

本实施方式相对于现有技术而言,主要区别及其效果在于:在接收到分析请求后,根据分析请求中携带的用户列表和用户所属商圈获取到分析结果,从而再反馈获得的分析结果。实现不同类别的用户群可以得到不同的分析结果,符合不同用户群敏感数据不同的实际情况,适应不同用户类别的实际需求,从而提供个性化分析结果。Compared with the prior art, the main difference and effect of this embodiment are: after the analysis request is received, the analysis result is obtained according to the user list carried in the analysis request and the business district to which the user belongs, and the obtained analysis result is then fed back. . Different types of user groups can get different analysis results, in line with the different actual situations of sensitive data of different user groups, and adapt to the actual needs of different user categories, thereby providing personalized analysis results.

本发明的第二实施方式涉及一种商圈数据的处理方法,本实施方式进一步明确了分析结果的获得方式。The second embodiment of the present invention relates to a method for processing business circle data, and this embodiment further specifies the way of obtaining the analysis result.

本实施方式中商圈数据的处理方法中分析结果的获得方式的具体流程如图2所示,包括:The specific flow of the acquisition method of the analysis result in the business circle data processing method in this embodiment is shown in Figure 2, including:

步骤201,获取所属第一商圈的商户的场景标签和第一商圈中订单数据。Step 201: Obtain scene tags of merchants belonging to the first business circle and order data in the first business circle.

具体的说,订单数据可以包括下属第一商圈的所有订单,并获取各订单中的下单时间、消费产品、消费金额等数据。Specifically, the order data may include all orders in the subordinate first business district, and data such as order time, consumption products, and consumption amount in each order are obtained.

继续说明,本实施方式中商户可以以场景标签分类,其中的场景标签可以以如图3所示的方式获得,具体如下:Continuing to explain, in this embodiment, merchants can be classified by scene tags, and the scene tags can be obtained in the manner shown in FIG. 3 , as follows:

步骤301,提取商圈中的订单数据的特征参数。Step 301: Extract characteristic parameters of order data in the business circle.

具体的说,所需提取的特征参数可以预设,如空间坐标、时间或品类,所需提取的特征参数可以是一个,也可以是多个,如果所需提取的特征参数不止一个,可以分别提取,后续分别分析。Specifically, the feature parameters to be extracted can be preset, such as spatial coordinates, time or category. The feature parameters to be extracted can be one or multiple. If there are more than one feature parameters to be extracted, they can be extracted separately. extraction and subsequent analysis.

步骤302,分析商圈中的订单数据的特征参数的特性。Step 302, analyze the characteristics of the characteristic parameters of the order data in the business circle.

具体的说,在分析特征参数的特性时,具体可以先求取订单数据的特征参数的熵值,再根据熵值确定商圈中的订单数据的特征参数的特性。Specifically, when analyzing the characteristic of the characteristic parameter, the entropy value of the characteristic parameter of the order data can be obtained first, and then the characteristic of the characteristic parameter of the order data in the business circle is determined according to the entropy value.

以特征参数为品类为例,品类熵的计算公式为:Taking the characteristic parameter as the category as an example, the calculation formula of category entropy is:

period_entropy=sigma((-1)*ratei*log(ratei));period_entropy=sigma((-1)*rate i *log(rate i ));

其中,针对多个品类进行求和,ratei=第i个品类订单量/总订单量。Among them, for the summation of multiple categories, rate i = order quantity of the ith category/total order quantity.

具体的说,上述公式中的总订单量或某品类订单量可以在获取商圈中订单数据时计算好备用。Specifically, the total order quantity or the order quantity of a certain category in the above formula can be calculated and used when obtaining the order data in the business circle.

继续说明,熵越大,即period_entropy越大,表示订单的品类分布越分散,反之,越集中。之后再根据熵值确定品类的特性,如果计算熵值用到的烧烤品类数据最小,即烧烤品类对应的(-1)*rate*log(rate)最小,说明订单中烧烤品类的订单量最大,从而可以确定该商圈中烧烤被下单的比重较高,特性可以是喜欢烧烤品类。如果各品类数据都相差不大,说明订单中各品类的订单量较为平均,特性可以是各类都比较喜欢或者是没有突出喜好的品类。Continuing to explain, the larger the entropy, that is, the larger the period_entropy, the more scattered the category distribution of orders, and vice versa, the more concentrated. Then determine the characteristics of the category according to the entropy value. If the barbecue category data used to calculate the entropy value is the smallest, that is, the (-1)*rate*log(rate) corresponding to the barbecue category is the smallest, indicating that the order quantity of the barbecue category is the largest in the order. Therefore, it can be determined that the proportion of barbecue orders placed in this business district is relatively high, and the characteristic can be that they like barbecue categories. If the data of each category is not much different, it means that the order volume of each category in the order is relatively average, and the characteristics can be that each category is more liked or has no prominent favorite category.

以特征参数为时间为例,时间熵的计算公式为:Taking the characteristic parameter as time as an example, the calculation formula of time entropy is:

period_entropy=sigma((-1)*ratei*log(ratei));period_entropy=sigma((-1)*rate i *log(rate i ));

其中,针对5个时段(如:早餐、午餐、下午茶、晚餐、夜宵)进行求和,ratei=第i个时段订单量/总订单量。Wherein, summing is performed for five time periods (eg, breakfast, lunch, afternoon tea, dinner, and supper), rate i = order quantity in the ith time period/total order quantity.

同样的,熵越大,表示订单的时段分布越分散,反之,越集中。之后再根据熵值确定时段的特性,如果计算熵值用到的中午时段(午餐)数据最小,即下午时段对应的(-1)*rate*log(rate)最小,说明订单中午餐的订单量最大,从而可以确定该商圈中在午餐时下单的比重较高,特性可以是午餐。如果各时段数值都相差不大,说明订单中各时段的订单量较为平均,特性可以是各时段都比较平均。Similarly, the larger the entropy, the more scattered the time period distribution of orders, and vice versa, the more concentrated. Then determine the characteristics of the period according to the entropy value. If the noon period (lunch) data used to calculate the entropy value is the smallest, that is, the (-1)*rate*log(rate) corresponding to the afternoon period is the smallest, indicating the order quantity of lunch in the order. Therefore, it can be determined that the proportion of orders placed during lunch is relatively high in this business district, and the characteristic can be lunch. If the values of each time period are not much different, it means that the order volume in each time period in the order is relatively average, and the characteristic can be that each time period is relatively average.

步骤303,根据分析结果确定出商户的场景标签。Step 303: Determine the scene label of the merchant according to the analysis result.

具体的说,可以根据特征参数的特征确定出商户的场景标签。以特征参数包括空间坐标和时间为例,可以根据下表中的对应关系确定出商户的场景标签,下表中列出的场景标签作为实例,实际应用中还可以设置为其他。Specifically, the scene label of the merchant can be determined according to the characteristics of the characteristic parameter. Taking the feature parameters including spatial coordinates and time as an example, the scene label of the merchant can be determined according to the corresponding relationship in the following table. The scene label listed in the table below is used as an example, and can also be set to other in practical applications.

商圈business district 时间time 空间坐标space coordinates 早餐breakfast 午餐Lunch 晚餐dinner 夜宵supper 住宅区residential area 居民早餐Resident Breakfast 周末居民午餐Weekend Resident Lunch 工作日居民晚餐Weekday Resident Dinner 居民夜宵Resident supper 楼栋building 白领早餐white collar breakfast 工作日白领午餐weekday white collar lunch 白领晚餐white collar dinner 白领夜宵white-collar supper 学校School ———— 学生午餐student lunch 学生晚餐student dinner 学生夜宵student supper 商场shopping mall 商场员工早饭shopping mall staff breakfast 工作日商场员工午餐weekday mall employee lunch 商场员工晚餐mall staff dinner 商场员工夜宵shopping mall employees 医院Hospital 医院早餐hospital breakfast 医院午餐hospital lunch 医院晚餐hospital dinner ———— 宾馆酒店hotel 度假/出差早餐Vacation/Business trip breakfast 工作日午餐weekday lunch 度假/出差晚餐Vacation/Business Trip Dinner 度假/出差夜宵Vacation / business trip late night 产业园区Industrial Park 产业园区早餐Industrial Park Breakfast 科技员工午餐Tech Staff Lunch ———— ———— 公司company 公司员工早餐Company employee breakfast 公司员工午餐Company employee lunch ———— ————

根据上表中的对应关系可确定出各商户对应的场景标签。According to the corresponding relationship in the above table, the scene label corresponding to each merchant can be determined.

继续说明,实际应用中,在将商圈中可能的场景标签列出后,可以根据商圈在不同场景下的订单占比,来归纳商圈所具有的场景属性,如:根据商圈在不同场景下的订单占比,得出工作日白领午餐、科技员工午餐、公司员工午餐、白领夜宵的占比较高,从而得出这些场景为该商圈的强场景。Continue to explain, in practical applications, after listing the possible scene labels in the business district, the scene attributes of the business district can be summarized according to the proportion of orders in the business district in different scenarios, such as: according to the business district in different scenarios The proportion of orders in the scene shows that the proportion of white-collar lunches, technology employees' lunches, company employees' lunches, and white-collar supper is relatively high on weekdays, so that these scenes are strong scenes in the business district.

通过上述步骤301至303,可以实现为商圈中各商户进行场景标签的确定。Through the above steps 301 to 303, it can be realized to determine the scene label for each merchant in the business circle.

还需要说明的是,本实施方式步骤201中的第一商圈也是合并后的商圈,具体合并方式可以如下:收集订单数据和各订单所属商圈;根据各商圈的空间坐标和下属订单进行商圈合并,其中,第一商圈为合并后的商圈之一。具体的说,本实施方式中的商圈根据一定规则合并,尽量避免由商圈重叠造成的用户所属商圈不清楚的情况。其中,商圈合并时的规则可以根据商圈分别上报的订单数据合并,具体和第一实施方式中的合并规则相类似,在此不再赘述。It should also be noted that the first business district in step 201 of this embodiment is also a merged business district, and the specific merging method can be as follows: collect order data and the business district to which each order belongs; according to the spatial coordinates of each business district and the subordinate orders Merge business districts, of which the first business district is one of the merged business districts. Specifically, the business circles in this embodiment are merged according to certain rules, and try to avoid the situation where the business circles to which users belong are unclear due to overlapping business circles. The rules for merging business circles may be combined according to the order data respectively reported by the business circles, which are similar to the merging rules in the first embodiment, and will not be repeated here.

步骤202,根据场景标签对各商户分类。Step 202, classify each merchant according to the scene tag.

步骤203,汇总同一分类下的商户的订单数据。Step 203: Aggregate order data of merchants under the same category.

具体的说,步骤202至203中以场景标签将各商户分类再汇总,每个分类下的商户对应的顾客类似,每个分类下的商户可以算是竞争对手,各个商户对于竞争对手的数据也更为敏感,所以根据场景标签分类后的分析结果,对商户更有参考价值。Specifically, in steps 202 to 203, the merchants are classified and aggregated by scene tags. The customers corresponding to the merchants in each category are similar, and the merchants in each category can be regarded as competitors, and the data of each merchant about the competitors is also updated. Therefore, the analysis results after classification according to the scene tags are more valuable for merchants.

步骤204,根据预设的分析策略对汇总后的订单数据进行分析,获得第一商圈的分析结果。Step 204 , analyze the aggregated order data according to a preset analysis strategy, and obtain an analysis result of the first business district.

具体的说,可以设定多种分析策略,不同的分析策略对应不同的用户类别。Specifically, multiple analysis strategies can be set, and different analysis strategies correspond to different user categories.

实际应用中,每个商圈可以预设一种分析策略,还可以为同类商户都预设一种分析策略,在此不做限定。In practical applications, each business district can preset an analysis strategy, and can also preset an analysis strategy for similar merchants, which is not limited here.

可见,本实施方式利用场景标签为一商圈中的商户分类,并进一步汇总同一分类下的订单数据,根据汇总结果具体分析,从而得到对该商圈的分析结果。It can be seen that this embodiment uses scene tags to classify merchants in a business district, further aggregates the order data under the same category, and makes specific analysis according to the aggregated results, thereby obtaining an analysis result of the business district.

本发明的第三实施方式涉及一种商圈数据的处理方法。The third embodiment of the present invention relates to a method for processing business circle data.

本实施方式中商圈数据的处理方法中分析结果的获得方式的具体流程如图4所示,包括:The specific flow of the acquisition method of the analysis result in the processing method of the business circle data in this embodiment is shown in FIG. 4 , including:

步骤401与第二实施方式中的步骤201相类似,在此不再赘述。Step 401 is similar to step 201 in the second embodiment, and will not be repeated here.

步骤402,获取所属其他商圈的具有相同场景标签的商户的订单数据。Step 402: Obtain order data of merchants with the same scene tag belonging to other business districts.

具体的说,可以在待分析商圈的周围选取一个或多个商圈,具体可以根据距离远近选取,将所选取的商圈中的订单数据加入待分析商圈的订单数据中,丰富待分析商圈的数据量,使得分析结果更为准确。Specifically, one or more business districts can be selected around the business district to be analyzed, and the order data in the selected business district can be added to the order data of the business district to be analyzed to enrich the order data of the business district to be analyzed. The amount of data in the business district makes the analysis results more accurate.

步骤403,根据场景标签对各商户分类。Step 403, classify each merchant according to the scene tag.

具体的说,本实施方式中根据场景标签对所属第一商圈的各商户和所属其他商圈的各商户分类。Specifically, in this embodiment, the merchants belonging to the first business district and the merchants belonging to other business districts are classified according to the scene tags.

步骤404至405与第二实施方式中的步骤203至204相类似,在此不再赘述。Steps 404 to 405 are similar to steps 203 to 204 in the second embodiment, and are not repeated here.

可见,在进行数据分析时,在所属一类别的商户的数据中,加入其他商圈的具有同场景标签的商户数据,使得参与分析的数据样本更多,提升分析结果的准确性。It can be seen that during data analysis, the data of merchants with the same scene label in other business districts are added to the data of merchants belonging to a category, so that more data samples are involved in the analysis and the accuracy of the analysis results is improved.

本发明的第四实施方式涉及一种商圈数据的处理装置,如图5所示,包括:The fourth embodiment of the present invention relates to a processing device for business circle data, as shown in FIG. 5 , including:

接收模块,用于接收分析请求,分析请求携带用户类别和用户所属商圈。The receiving module is used to receive the analysis request, and the analysis request carries the user category and the business circle to which the user belongs.

获取模块,用于根据用户类别和用户所属商圈获取对应的分析结果。The obtaining module is used to obtain the corresponding analysis results according to the user category and the business district to which the user belongs.

发送模块,用于反馈分析结果。The sending module is used to feed back the analysis results.

本实施方式相对于现有技术而言,主要区别及其效果在于:在接收到分析请求后,根据分析请求中携带的用户列表和用户所属商圈获取到分析结果,从而再反馈获得的分析结果。实现不同类别的用户群可以得到不同的分析结果,符合不同用户群敏感数据不同的实际情况,适应不同用户类别的实际需求,从而提供个性化分析结果。Compared with the prior art, the main difference and effect of this embodiment are: after the analysis request is received, the analysis result is obtained according to the user list carried in the analysis request and the business district to which the user belongs, and the obtained analysis result is then fed back. . Different types of user groups can get different analysis results, in line with the different actual situations of sensitive data of different user groups, and adapt to the actual needs of different user categories, thereby providing personalized analysis results.

不难发现,本实施方式为与第一实施方式相对应的装置实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。It is not difficult to find that this embodiment is a device example corresponding to the first embodiment, and this embodiment can be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied to the first embodiment.

在一个例子中,分析结果通过以下模块获得:In one example, analysis results are obtained through the following modules:

第二获取模块,用于获取所属第一商圈的商户的场景标签和第一商圈中订单数据。The second acquisition module is used to acquire the scene tags of the merchants belonging to the first business circle and the order data in the first business circle.

分类模块,用于根据场景标签对各商户分类。The classification module is used to classify each merchant according to the scene label.

汇总模块,用于汇总同一分类下的商户的订单数据。The aggregation module is used to aggregate the order data of merchants under the same category.

第一分析模块,用于根据预设的分析策略对汇总后的订单数据进行分析,获得第一商圈的分析结果。The first analysis module is configured to analyze the aggregated order data according to the preset analysis strategy, and obtain the analysis result of the first business district.

在一个例子中,分析策略有多种,不同的分析策略对应不同的用户类别;第一分析模块,包括:In an example, there are multiple analysis strategies, and different analysis strategies correspond to different user categories; the first analysis module includes:

第一确定子模块,用于根据分析请求中的用户类别确定分析策略。The first determination submodule is used to determine the analysis strategy according to the user category in the analysis request.

分析子模块,用于根据所确定的分析策略对汇总出的订单数据进行分析。The analysis sub-module is used to analyze the aggregated order data according to the determined analysis strategy.

在一个例子中,装置还包括:In one example, the apparatus further includes:

第三获取模块,用于获取所属其他商圈的具有相同场景标签的商户的订单数据。The third acquisition module is used to acquire order data of merchants with the same scene tag belonging to other business districts.

分类模块,具体根据场景标签对所属第一商圈的各商户和所属其他商圈的各商户分类。The classification module specifically classifies the merchants in the first business district and the merchants in other business districts according to the scene tags.

在一个例子中,装置还包括:商户的场景标签根据以下模块获得:In one example, the apparatus further includes: the scene tag of the merchant is obtained according to the following modules:

提取模块,用于提取商圈中的订单数据的特征参数。The extraction module is used to extract the characteristic parameters of the order data in the business circle.

第二分析模块,用于分析商圈中的订单数据的特征参数的特性。The second analysis module is used to analyze the characteristics of the characteristic parameters of the order data in the business circle.

确定模块,用于根据分析结果确定出商户的场景标签。The determining module is used to determine the scene label of the merchant according to the analysis result.

在一个例子中,特征参数为:空间坐标、时间或品类。In one example, the feature parameters are: spatial coordinates, time or category.

在一个例子中,第二分析模块,包括:In one example, the second analysis module includes:

求熵子模块,用于求取订单数据的特征参数的熵值。The entropy submodule is used to obtain the entropy value of the characteristic parameters of the order data.

第二确定子模块,用于根据熵值确定商圈中的订单数据的特征参数的特性。The second determination submodule is used for determining the characteristic of the characteristic parameter of the order data in the business circle according to the entropy value.

在一个例子中,还包括:In one example, also include:

收集模块,用于收集订单数据和各订单所属商圈。The collection module is used to collect order data and the business district to which each order belongs.

根据各商圈的空间坐标和下属订单进行商圈合并,第一商圈为合并后的商圈之一。Business districts are merged according to the spatial coordinates and subordinate orders of each business district, and the first business district is one of the merged business districts.

在一个例子中,用户所属商圈,根据用户所处位置与各商圈的位置关系确定。In one example, the business circle to which the user belongs is determined according to the positional relationship between the user's location and each business circle.

在一个例子中,用户类别包括:商户、顾客、物流和平台。In one example, the user categories include: merchant, customer, logistics, and platform.

在一个例子中,分析请求携带的用户类别为商户,分析结果至少包括:商品规划建议。In an example, the user category carried in the analysis request is a merchant, and the analysis result at least includes: product planning suggestions.

在一个例子中,第一获取模块,具体根据用户类别和用户所属商圈从系统中查找所对应的分析结果。In one example, the first obtaining module searches the system for the corresponding analysis result according to the user category and the business district to which the user belongs.

值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that each module involved in this embodiment is a logical module. In practical applications, a logical unit may be a physical unit, a part of a physical unit, or multiple physical units. A composite implementation of the unit. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

本发明的第五实施方式涉及一种电子设备。A fifth embodiment of the present invention relates to an electronic device.

如图6所示,该电子设备包括:至少一个处理器601;以及,与至少一个处理器601通信连接的存储器602;以及,与扫描装置通信连接的通信组件603,通信组件603在处理器601的控制下接收和发送数据;其中,存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行以实现:As shown in FIG. 6 , the electronic device includes: at least one processor 601 ; and a memory 602 communicatively connected to the at least one processor 601 ; Receive and send data under the control of the memory 602; wherein, the memory 602 stores instructions that can be executed by the at least one processor 601, and the instructions are executed by the at least one processor 601 to achieve:

提取应用中存在的查询任务。Extract the query tasks that exist in the application.

设置定时器定期执行查询任务并缓存查询结果。Set a timer to periodically execute query tasks and cache query results.

接收查询指令,查询指令中包括查询任务。A query instruction is received, and the query instruction includes a query task.

响应于查询任务,根据查询任务和缓存结果确定查询指令对应的查询结果。In response to the query task, the query result corresponding to the query instruction is determined according to the query task and the cached result.

具体地,该电子设备包括:一个或多个处理器601以及存储器602,图6中以一个处理器601为例。处理器601、存储器602可以通过总线或者其他方式连接,图6中以通过总线连接为例。存储器602作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。处理器601通过运行存储在存储器602中的非易失性软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述商圈数据的处理方法。Specifically, the electronic device includes: one or more processors 601 and a memory 602, and one processor 601 is taken as an example in FIG. 6 . The processor 601 and the memory 602 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 6 . As a non-volatile computer-readable storage medium, the memory 602 can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. The processor 601 executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory 602, ie, realizes the above-mentioned processing method of business district data.

存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储选项列表等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施方式中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至外接设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function; the storage data area may store an option list and the like. Additionally, memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 602 may optionally include memory located remotely from the processor 601, and these remote memories may be connected to external devices via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

一个或者多个模块存储在存储器602中,当被一个或者多个处理器601执行时,执行上述任意方法实施方式中的商圈数据的处理方法。One or more modules are stored in the memory 602, and when executed by the one or more processors 601, execute the method for processing business district data in any of the above method embodiments.

上述产品可执行本申请实施方式所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施方式中详尽描述的技术细节,可参见本申请实施方式所提供的方法。The above product can execute the method provided by the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present application.

本发明的第六实施方式涉及一种非易失性存储介质,用于存储计算机可读程序,计算机可读程序用于供计算机执行上述部分或全部的方法实施例。The sixth embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, and the computer-readable program is used for a computer to execute some or all of the above method embodiments.

即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a device ( It may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those skilled in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present invention. scope.

本申请实施方式提供了A1.一种商圈数据的处理方法,包括:Embodiments of the present application provide A1. A method for processing business district data, comprising:

接收分析请求,所述分析请求携带用户类别和用户所属商圈;receiving an analysis request, where the analysis request carries the user category and the business district to which the user belongs;

根据所述用户类别和所述用户所属商圈获取对应的分析结果;Obtain corresponding analysis results according to the user category and the business district to which the user belongs;

反馈所述分析结果。Feedback the analysis results.

A2.根据A1所述的商圈数据的处理方法,所述分析结果根据以下方式获得:A2. According to the processing method for business district data described in A1, the analysis result is obtained according to the following methods:

获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据;Obtain the scene tags of the merchants belonging to the first business circle and the order data in the first business circle;

根据所述场景标签对各所述商户分类;classify each of the merchants according to the scene tag;

汇总同一分类下的商户的订单数据;Aggregate order data of merchants under the same category;

根据预设的分析策略对汇总后的订单数据进行分析,获得所述第一商圈的分析结果。The aggregated order data is analyzed according to the preset analysis strategy, and the analysis result of the first business district is obtained.

A3.根据A2所述的商圈数据的处理方法,所述分析策略有多种,不同的分析策略对应不同的用户类别;A3. According to the processing method of the business district data described in A2, the analysis strategy has many kinds, and different analysis strategies correspond to different user categories;

所述根据预设的分析策略对汇总后的订单数据进行分析,包括:The analysis of the aggregated order data according to the preset analysis strategy includes:

根据所述分析请求中的所述用户类别确定分析策略;determining an analysis policy according to the user category in the analysis request;

根据所确定的分析策略对汇总出的订单数据进行分析。The aggregated order data is analyzed according to the determined analysis strategy.

A4.根据A2所述的商圈数据的处理方法,所述根据所述场景标签对各所述商户分类之前,还包括:A4. The method for processing business district data according to A2, before classifying each of the merchants according to the scene label, further comprising:

获取所属其他商圈的具有相同场景标签的商户的订单数据;Obtain the order data of merchants with the same scene label in other business districts;

所述根据场景标签对各所述商户分类中,具体为:In the classification of each of the merchants according to the scene tags, the specific steps are:

根据场景标签对所属第一商圈的各所述商户和所属其他商圈的各所述商户分类。The merchants belonging to the first business district and the merchants belonging to other business districts are classified according to the scene tags.

A5.根据A2所述的商圈数据的处理方法,包括:所述商户的场景标签根据以下方法获得:A5. The processing method of business district data according to A2, comprising: the scene label of the merchant is obtained according to the following method:

提取所述商圈中的订单数据的特征参数;extracting characteristic parameters of the order data in the business circle;

分析所述商圈中的订单数据的所述特征参数的特性;analyzing the characteristics of the characteristic parameters of the order data in the business district;

根据分析结果确定出所述商户的场景标签。The scene tag of the merchant is determined according to the analysis result.

A6.根据A5所述的商圈数据的处理方法,所述特征参数为:空间坐标、时间或品类。A6. The processing method for business district data according to A5, wherein the characteristic parameters are: spatial coordinates, time or category.

A7.根据A5所述的商圈数据的处理方法,所述分析所述商圈中的订单数据的特征参数的特性,包括:A7. The method for processing business district data according to A5, wherein the analysis of the characteristics of the characteristic parameters of the order data in the business district includes:

求取所述订单数据的特征参数的熵值;Obtain the entropy value of the characteristic parameter of the order data;

根据所述熵值确定所述商圈中的订单数据的所述特征参数的特性。The characteristic of the characteristic parameter of the order data in the business circle is determined according to the entropy value.

A8.根据A2所述的商圈数据的处理方法,所述获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据之前,还包括:A8. The method for processing business district data according to A2, before acquiring the scene labels of the merchants belonging to the first business district and the order data in the first business district, further comprising:

收集订单数据和各订单所属商圈;Collect order data and the business district to which each order belongs;

根据各所述商圈的空间坐标和下属订单进行商圈合并,所述第一商圈为合并后的商圈之一。Business circles are merged according to the spatial coordinates and subordinate orders of each of the business circles, and the first business circle is one of the combined business circles.

A9.根据A1所述的商圈数据的处理方法,所述用户所属商圈,根据所述用户所处位置与各商圈的位置关系确定。A9. The business circle data processing method according to A1, the business circle to which the user belongs is determined according to the positional relationship between the user's location and each business circle.

A10.根据A1所述的商圈数据的处理方法,所述用户类别包括:商户、顾客、物流和平台。A10. The business district data processing method according to A1, wherein the user categories include: merchants, customers, logistics and platforms.

A11.根据A1所述的商圈数据的处理方法,所述分析请求携带的用户类别为商户,所述分析结果至少包括:商品规划建议。A11. The business district data processing method according to A1, wherein the user category carried in the analysis request is a merchant, and the analysis result at least includes: commodity planning suggestions.

A12.根据A1所述的商圈数据的处理方法,所述根据用户类别和所述用户所属商圈获取对应的分析结果中,包括:A12. The method for processing business circle data according to A1, wherein obtaining the corresponding analysis results according to the user category and the business circle to which the user belongs, including:

根据所述用户类别和所述用户所属商圈从系统中查找所对应的分析结果。The corresponding analysis result is searched from the system according to the user category and the business circle to which the user belongs.

本申请实施方式还提供了B13.一种商圈数据的处理装置,包括:Embodiments of the present application also provide B13. A device for processing business circle data, comprising:

接收模块,用于接收分析请求,所述分析请求携带用户类别和用户所属商圈;a receiving module, configured to receive an analysis request, where the analysis request carries the user category and the business circle to which the user belongs;

第一获取模块,用于根据所述用户类别和所述用户所属商圈获取对应的分析结果;a first obtaining module, configured to obtain corresponding analysis results according to the user category and the business circle to which the user belongs;

发送模块,用于反馈所述分析结果。A sending module is used to feed back the analysis result.

B14.根据B13所述的商圈数据的处理装置,所述分析结果通过以下模块获得:B14. The processing device for business circle data according to B13, wherein the analysis result is obtained through the following modules:

第二获取模块,用于获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据;The second obtaining module is used to obtain the scene tags of the merchants belonging to the first business circle and the order data in the first business circle;

分类模块,用于根据所述场景标签对各所述商户分类;a classification module, configured to classify each of the merchants according to the scene label;

汇总模块,用于汇总同一分类下的商户的订单数据;The aggregation module is used to aggregate the order data of merchants under the same category;

第一分析模块,用于根据预设的分析策略对汇总后的订单数据进行分析,获得所述第一商圈的分析结果。The first analysis module is configured to analyze the aggregated order data according to a preset analysis strategy to obtain the analysis result of the first business district.

B15.根据B14所述的商圈数据的处理装置,所述分析策略有多种,不同的分析策略对应不同的用户类别;B15. The device for processing business district data according to B14, the analysis strategies include multiple types, and different analysis strategies correspond to different user categories;

所述第一分析模块,包括:The first analysis module includes:

第一确定子模块,用于根据所述分析请求中的所述用户类别确定分析策略;a first determination submodule, configured to determine an analysis strategy according to the user category in the analysis request;

分析子模块,用于根据所确定的分析策略对汇总出的订单数据进行分析。The analysis sub-module is used to analyze the aggregated order data according to the determined analysis strategy.

B16.根据B14所述的商圈数据的处理装置,还包括:B16. The device for processing business circle data according to B14, further comprising:

第三获取模块,用于获取所属其他商圈的具有相同场景标签的商户的订单数据;The third acquisition module is used to acquire the order data of merchants with the same scene label in other business districts;

所述分类模块,具体根据场景标签对所属第一商圈的各所述商户和所属其他商圈的各所述商户分类。The classification module specifically classifies each of the merchants in the first business district and each of the merchants in other business districts according to the scene tags.

B17.根据B14所述的商圈数据的处理装置,包括:所述商户的场景标签根据以下模块获得:B17. The apparatus for processing business circle data according to B14, comprising: the scene label of the merchant is obtained according to the following modules:

提取模块,用于提取所述商圈中的订单数据的特征参数;an extraction module for extracting characteristic parameters of the order data in the business circle;

第二分析模块,用于分析所述商圈中的订单数据的所述特征参数的特性;a second analysis module, configured to analyze the characteristics of the characteristic parameters of the order data in the business district;

确定模块,用于根据分析结果确定出所述商户的场景标签。A determination module, configured to determine the scene label of the merchant according to the analysis result.

B18.根据B17所述的商圈数据的处理装置,所述特征参数为:空间坐标、时间或品类。B18. The apparatus for processing business circle data according to B17, wherein the characteristic parameter is: spatial coordinates, time or category.

B19.根据B17所述的商圈数据的处理装置,所述第二分析模块,包括:B19. The processing device for business circle data according to B17, the second analysis module includes:

求熵子模块,用于求取所述订单数据的特征参数的熵值;An entropy sub-module, used to obtain the entropy value of the characteristic parameter of the order data;

第二确定子模块,用于根据所述熵值确定所述商圈中的订单数据的所述特征参数的特性。The second determination submodule is configured to determine the characteristic of the characteristic parameter of the order data in the business circle according to the entropy value.

B20.根据B14所述的商圈数据的处理装置,还包括:B20. The device for processing business circle data according to B14, further comprising:

收集模块,用于收集订单数据和各订单所属商圈;The collection module is used to collect order data and the business district to which each order belongs;

根据各所述商圈的空间坐标和下属订单进行商圈合并,所述第一商圈为合并后的商圈之一。Business circles are merged according to the spatial coordinates and subordinate orders of each of the business circles, and the first business circle is one of the combined business circles.

B21.根据B13所述的商圈数据的处理装置,所述用户所属商圈,根据所述用户所处位置与各商圈的位置关系确定。B21. The apparatus for processing business circle data according to B13, wherein the business circle to which the user belongs is determined according to the positional relationship between the user's location and each business circle.

B22.根据B13所述的商圈数据的处理装置,所述用户类别包括:商户、顾客、物流和平台。B22. The apparatus for processing business circle data according to B13, wherein the user categories include: merchants, customers, logistics and platforms.

B23.根据B13所述的商圈数据的处理装置,所述分析请求携带的用户类别为商户,所述分析结果至少包括:商品规划建议。B23. The apparatus for processing business circle data according to B13, wherein the user category carried in the analysis request is a merchant, and the analysis result at least includes: commodity planning suggestions.

B24.根据B13所述的商圈数据的处理装置,所述第一获取模块,具体根据所述用户类别和所述用户所属商圈从系统中查找所对应的分析结果。B24. The apparatus for processing business circle data according to B13, wherein the first acquisition module searches the system for a corresponding analysis result according to the user category and the business circle to which the user belongs.

本申请实施方式还提供了C25.一种电子设备,包括:Embodiments of the present application also provide C25. An electronic device, comprising:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute:

接收分析请求,所述分析请求携带用户类别和用户所属商圈;receiving an analysis request, where the analysis request carries the user category and the business district to which the user belongs;

根据所述用户类别和所述用户所属商圈获取对应的分析结果;Obtain corresponding analysis results according to the user category and the business district to which the user belongs;

反馈所述分析结果。Feedback the analysis results.

C26.根据C25所述的电子设备,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上述A2至A12中任意一项所述的商圈数据的处理方法。C26. The electronic device according to C25, wherein the instruction is executed by the at least one processor, so that the at least one processor can execute the business area data processing method according to any one of the above A2 to A12 .

本申请实施方式还提供了D27.一种非易失性存储介质,用于存储计算机可读程序,计算机可读程序用于供计算机执行如A1至A12中任意一项所述的商圈数据的处理方法。Embodiments of the present application also provide D27. A non-volatile storage medium for storing a computer-readable program, and the computer-readable program is used for a computer to execute the business circle data as described in any one of A1 to A12. Approach.

Claims (10)

1.一种商圈数据的处理方法,其特征在于,包括:1. a processing method of business district data, is characterized in that, comprises: 接收分析请求,所述分析请求携带用户类别和用户所属商圈;receiving an analysis request, where the analysis request carries the user category and the business district to which the user belongs; 根据所述用户类别和所述用户所属商圈获取对应的分析结果;Obtain corresponding analysis results according to the user category and the business district to which the user belongs; 反馈所述分析结果。Feedback the analysis results. 2.根据权利要求1所述的商圈数据的处理方法,其特征在于,所述分析结果根据以下方式获得:2. The processing method of business district data according to claim 1, wherein the analysis result is obtained according to the following methods: 获取所属第一商圈的商户的场景标签和所述第一商圈中订单数据;Obtain the scene tags of the merchants belonging to the first business circle and the order data in the first business circle; 根据所述场景标签对各所述商户分类;classify each of the merchants according to the scene tag; 汇总同一分类下的商户的订单数据;Aggregate order data of merchants under the same category; 根据预设的分析策略对汇总后的订单数据进行分析,获得所述第一商圈的分析结果。The aggregated order data is analyzed according to the preset analysis strategy, and the analysis result of the first business district is obtained. 3.根据权利要求2所述的商圈数据的处理方法,其特征在于,所述分析策略有多种,不同的分析策略对应不同的用户类别;3. The method for processing business district data according to claim 2, wherein the analysis strategy has multiple types, and different analysis strategies correspond to different user categories; 所述根据预设的分析策略对汇总后的订单数据进行分析,包括:The analysis of the aggregated order data according to the preset analysis strategy includes: 根据所述分析请求中的所述用户类别确定分析策略;determining an analysis policy according to the user category in the analysis request; 根据所确定的分析策略对汇总出的订单数据进行分析。The aggregated order data is analyzed according to the determined analysis strategy. 4.根据权利要求2所述的商圈数据的处理方法,其特征在于,所述根据所述场景标签对各所述商户分类之前,还包括:4. The method for processing business district data according to claim 2, wherein before classifying each of the merchants according to the scene label, the method further comprises: 获取所属其他商圈的具有相同场景标签的商户的订单数据;Obtain the order data of merchants with the same scene label in other business districts; 所述根据场景标签对各所述商户分类中,具体为:In the classification of each of the merchants according to the scene tags, the specific steps are: 根据场景标签对所属第一商圈的各所述商户和所属其他商圈的各所述商户分类。The merchants belonging to the first business district and the merchants belonging to other business districts are classified according to the scene tags. 5.根据权利要求2所述的商圈数据的处理方法,其特征在于,包括:所述商户的场景标签根据以下方法获得:5. The method for processing business district data according to claim 2, wherein the method comprises: the scene label of the merchant is obtained according to the following method: 提取所述商圈中的订单数据的特征参数;extracting characteristic parameters of the order data in the business circle; 分析所述商圈中的订单数据的所述特征参数的特性;analyzing the characteristics of the characteristic parameters of the order data in the business district; 根据分析结果确定出所述商户的场景标签。The scene tag of the merchant is determined according to the analysis result. 6.根据权利要求5所述的商圈数据的处理方法,其特征在于,所述特征参数为:空间坐标、时间或品类。6 . The method for processing business district data according to claim 5 , wherein the characteristic parameters are: spatial coordinates, time or category. 7 . 7.根据权利要求5所述的商圈数据的处理方法,其特征在于,所述分析所述商圈中的订单数据的特征参数的特性,包括:7. The method for processing business circle data according to claim 5, wherein the analyzing the characteristics of characteristic parameters of the order data in the business circle comprises: 求取所述订单数据的特征参数的熵值;Obtain the entropy value of the characteristic parameter of the order data; 根据所述熵值确定所述商圈中的订单数据的所述特征参数的特性。The characteristic of the characteristic parameter of the order data in the business circle is determined according to the entropy value. 8.一种商圈数据的处理装置,其特征在于,包括:8. A processing device for business district data, comprising: 接收模块,用于接收分析请求,所述分析请求携带用户类别和用户所属商圈;a receiving module, configured to receive an analysis request, where the analysis request carries the user category and the business circle to which the user belongs; 第一获取模块,用于根据所述用户类别和所述用户所属商圈获取对应的分析结果;a first obtaining module, configured to obtain corresponding analysis results according to the user category and the business circle to which the user belongs; 发送模块,用于反馈所述分析结果。The sending module is used for feeding back the analysis result. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: 接收分析请求,所述分析请求携带用户类别和用户所属商圈;receiving an analysis request, where the analysis request carries the user category and the business district to which the user belongs; 根据所述用户类别和所述用户所属商圈获取对应的分析结果;Obtain corresponding analysis results according to the user category and the business district to which the user belongs; 反馈所述分析结果。Feedback the analysis results. 10.一种非易失性存储介质,用于存储计算机可读程序,其特征在于,计算机可读程序用于供计算机执行如权利要求1至7中任意一项所述的商圈数据的处理方法。10. A non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute the processing of the business circle data according to any one of claims 1 to 7 method.
CN201811592653.8A 2018-12-25 2018-12-25 Business circle data processing method and device, electronic equipment and storage medium Pending CN109685573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811592653.8A CN109685573A (en) 2018-12-25 2018-12-25 Business circle data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811592653.8A CN109685573A (en) 2018-12-25 2018-12-25 Business circle data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109685573A true CN109685573A (en) 2019-04-26

Family

ID=66189480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811592653.8A Pending CN109685573A (en) 2018-12-25 2018-12-25 Business circle data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109685573A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127161A (en) * 2019-12-25 2020-05-08 青梧桐有限责任公司 Data processing method, system, electronic device and readable storage medium
CN111210269A (en) * 2020-01-02 2020-05-29 平安科技(深圳)有限公司 Object identification method based on big data, electronic device and storage medium
CN111461833A (en) * 2020-03-31 2020-07-28 拉扎斯网络科技(上海)有限公司 Information loading method, system, server, terminal and storage medium
CN111639253A (en) * 2020-05-22 2020-09-08 北京百度网讯科技有限公司 Data duplication judging method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559636A (en) * 2013-11-08 2014-02-05 五八同城信息技术有限公司 Restaurant management system based on cloud computing and intelligent analysis
CN105550890A (en) * 2016-02-15 2016-05-04 重庆昇鑫科技有限公司 Intelligent business district management platform based on internet of things
CN105824929A (en) * 2016-03-17 2016-08-03 上海交通大学 Air ticket personalized recommendation method and system based on social relationship
CN106779808A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 Consumer space's behavior analysis system and method in a kind of commercial circle
CN107093092A (en) * 2016-11-17 2017-08-25 北京小度信息科技有限公司 Data analysing method and device
CN107230130A (en) * 2017-04-28 2017-10-03 杭州集盒网络技术有限公司 A kind of commercial circle data display method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559636A (en) * 2013-11-08 2014-02-05 五八同城信息技术有限公司 Restaurant management system based on cloud computing and intelligent analysis
CN105550890A (en) * 2016-02-15 2016-05-04 重庆昇鑫科技有限公司 Intelligent business district management platform based on internet of things
CN105824929A (en) * 2016-03-17 2016-08-03 上海交通大学 Air ticket personalized recommendation method and system based on social relationship
CN107093092A (en) * 2016-11-17 2017-08-25 北京小度信息科技有限公司 Data analysing method and device
CN106779808A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 Consumer space's behavior analysis system and method in a kind of commercial circle
CN107230130A (en) * 2017-04-28 2017-10-03 杭州集盒网络技术有限公司 A kind of commercial circle data display method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127161A (en) * 2019-12-25 2020-05-08 青梧桐有限责任公司 Data processing method, system, electronic device and readable storage medium
CN111210269A (en) * 2020-01-02 2020-05-29 平安科技(深圳)有限公司 Object identification method based on big data, electronic device and storage medium
CN111461833A (en) * 2020-03-31 2020-07-28 拉扎斯网络科技(上海)有限公司 Information loading method, system, server, terminal and storage medium
CN111639253A (en) * 2020-05-22 2020-09-08 北京百度网讯科技有限公司 Data duplication judging method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10841743B2 (en) Branching mobile-device to system-namespace identifier mappings
CN109359244B (en) Personalized information recommendation method and device
CN112269805B (en) Data processing method, device, equipment and medium
US10504120B2 (en) Determining a temporary transaction limit
CN109685573A (en) Business circle data processing method and device, electronic equipment and storage medium
CN110619553B (en) Commodity information display method and device, electronic equipment and storage medium
US11443237B1 (en) Centralized platform for enhanced automated machine learning using disparate datasets
WO2019072098A1 (en) Method and system for identifying core product words
CN103970850A (en) Website information recommending method and system
CN114297505A (en) Recommendation system and recommendation method, device, and computer-readable medium
TWI705411B (en) Method and device for identifying users with social business characteristics
CN114549125B (en) Item recommendation method and device, electronic device and computer-readable storage medium
US12067634B2 (en) Cross-listed property matching using image descriptor features
US20190156442A1 (en) Generating missing attributes for deduplication process
TW201828200A (en) Data processing method and apparatus increasing the overall display efficiency of the object display environment and decreasing the waste of display resources of each object display environment
CN110796505B (en) Business object recommendation method and device
US20190155917A1 (en) Image-based deduplication process for digital content
CN113327132A (en) Multimedia recommendation method, device, equipment and storage medium
CN110880133A (en) Commodity information pushing method, system, storage medium and electronic equipment
JP6664580B2 (en) Calculation device, calculation method and calculation program
CN110827101A (en) Shop recommendation method and device
CN110348922B (en) Method and apparatus for generating information
JP7177023B2 (en) Specific device, specific method and specific program
CN110738538A (en) Method and device for identifying similar articles
CN112488748B (en) Data identification matching method and device, storage medium and computing equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426