WO2021062959A1 - 一种针对业务对象的数据处理方法及装置 - Google Patents

一种针对业务对象的数据处理方法及装置 Download PDF

Info

Publication number
WO2021062959A1
WO2021062959A1 PCT/CN2019/130454 CN2019130454W WO2021062959A1 WO 2021062959 A1 WO2021062959 A1 WO 2021062959A1 CN 2019130454 W CN2019130454 W CN 2019130454W WO 2021062959 A1 WO2021062959 A1 WO 2021062959A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
business object
ranking
real
business
Prior art date
Application number
PCT/CN2019/130454
Other languages
English (en)
French (fr)
Inventor
叶帅
孙会业
问志光
陈峤
张凯瑞
罗劼
Original Assignee
口口相传(北京)网络技术有限公司
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 口口相传(北京)网络技术有限公司 filed Critical 口口相传(北京)网络技术有限公司
Publication of WO2021062959A1 publication Critical patent/WO2021062959A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0282Rating or review of business operators or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Definitions

  • This application relates to the Internet field, and specifically relates to a data processing method, device and system for business objects.
  • This application also relates to a data processing method, device and system for stores.
  • the application also relates to a data display method and device for business objects and a data display method and device for stores.
  • users can quickly obtain information of interest through corresponding applications. For example, by providing catering services-related applications, they can quickly search for information about stores that rank higher in the food rankings, and then Choose to have a meal in a high-ranking store or order takeaway; or, through an application that provides haircutting services, you can quickly search for information about the high-ranking barbershop in the haircut rankings, and go to the relevant barbershop for haircuts, etc.
  • the application needs to provide ranking data of different business objects such as diet, haircut, etc.
  • the corresponding application usually stores the acquired ranking data of different business objects in the application.
  • the application when the application needs to provide the list data to external objects, such as users or other applications, the application receives the corresponding data request message and then obtains it from the engine data stored in its data engine Corresponding list data, and provide the obtained list data to the external object.
  • This application provides a data processing method for business objects to solve the problem that existing applications cannot provide real-time engine data of business objects in real time and efficiently.
  • This application provides a data processing method for business objects, including: obtaining a request message sent by a client for obtaining list data of the business object; obtaining source data related to the business object according to the request message; According to the source data, obtain the ranking data of the business object, and store the ranking data in a data storage device, where the ranking data includes data of at least one ranking category of the business object; acquiring The data change message related to the business object in the data storage device, wherein the data change message includes the ranking data; according to the data change message, real-time engine data of the business object is obtained, wherein The real-time engine data includes the ranking data of the business object; the real-time engine data of the business object is sent to the client.
  • the obtaining source data related to the business object includes: obtaining original data related to the business object including multiple data structures from different data sources; and for the original data Perform data cleaning to obtain source data with the same data structure.
  • the obtaining the list data of the business object according to the source data includes: obtaining the business object identifier of the business object; according to the business object identifier, obtaining data from the source data and The to-be-processed source data associated with the business object; data mining is performed on the to-be-processed source data to obtain the list data of the business object.
  • the performing data mining processing on the source data to be processed to obtain the ranking data of the business object includes: obtaining business data corresponding to the business object from the source data to be processed; According to the business data, the data of at least one ranking category of the business object is acquired; and the data of the ranking of the business object is acquired according to the data of at least one ranking category of the business object.
  • the storing the ranking data in a data storage device includes: obtaining a business object identifier of the business object and a business classification identifier of the business object, where the business classification identifier is used to indicate the The business category to which the business object belongs; obtain the list category identifier of the business object and the data corresponding to the list category identifier from the list data; according to the business object identifier, the business category identifier, and the data corresponding to the list category identifier; The list category identifier and the data corresponding to the list category identifier are obtained to obtain the record to be stored corresponding to the list data; and the record to be stored is stored in the data storage device.
  • the record to be stored includes an identification of whether the record is valid; the data corresponding to the business object identification, the business classification identification, the list category identification, and the list category identification are obtained to obtain all data corresponding to the list category identification.
  • the record to be stored corresponding to the ranking data further includes: data corresponding to the identification of the business object, the identification of the business classification, the identification of whether the record is valid, the identification of the ranking category and the identification of the ranking category, Obtain the record to be stored corresponding to the ranking data.
  • the obtaining the data change message related to the business object in the data storage device includes: obtaining the business object identifier of the business object; setting to monitor the data storage device according to the business object identifier A subscription task for data changes related to the business object in the data storage device; according to the subscription task, a data change message related to the business object in the data storage device is obtained.
  • the obtaining real-time engine data of the business object according to the data change message includes: obtaining an identifier of whether the record is valid from the data change message; if the record is valid or not, the identifier indicates that If the ranking data in the data change message is valid, the content in the single engine data corresponding to the business object is updated according to the data change message to obtain the real-time single engine data of the business object.
  • the single engine data is the engine data of the business object
  • the real-time single engine data is the real-time engine data corresponding to the single engine data
  • the service is obtained according to the real-time single engine data of the business object Real-time engine data of the object.
  • the updating the content in the single engine data corresponding to the business object according to the data change message to obtain the real-time single engine data of the business object includes: from the data change message, Acquiring the ranking category identifier of the business object and the data corresponding to the ranking category identifier;
  • the obtaining the real-time engine data of the business object according to the real-time single engine data of the business object includes: updating the business object in the data engine according to the real-time single engine data of the business object To obtain the real-time engine data of the business object, wherein the data engine is used to store the engine data of the business object.
  • the business data information includes at least one of the following: sales volume data information of the sales business of the business object, comment information for the business object, and popularity information of the business object.
  • the present application also provides a data processing device for business objects, including: a request message obtaining unit for obtaining a request message sent by a client for obtaining list data of a business object; a source data obtaining unit for obtaining a list data of a business object; The request message is used to obtain source data related to the business object; the ranking data storage unit is configured to obtain the ranking data of the business object according to the source data, and store the ranking data in a data storage device , Wherein the ranking data includes data of at least one ranking category of the business object; a data change message acquiring unit is configured to acquire a data change message related to the business object in the data storage device, wherein, The data change message includes the ranking data; a real-time engine data obtaining unit is configured to obtain real-time engine data of the business object according to the data change message, wherein the real-time engine data includes the business object The list data of; The real-time engine data sending unit is used to send the real-time engine data of the business object to the client.
  • This application also provides a data processing system for business objects, including: a client and a server; the client is used to send a request message for obtaining the list data of the business object, and receive the data returned by the server List data of the business object; the server is used to receive the request message sent by the client; and according to the request message, obtain the list data of the business object from the real-time engine data of the business object And sort; and send the ranking data of the business objects to the client; wherein, the real-time engine data of the business objects are obtained by the following steps: obtain source data related to the business objects; Source data, acquiring the ranking data of the business object, and storing the ranking data in a data storage device, wherein the ranking data includes data of at least one ranking category of the business object; acquiring all The data change message related to the business object in the data storage device, wherein the data change message includes the ranking data; according to the data change message, the real-time engine data of the business object is obtained, wherein, The real-time engine data includes ranking data of the business object.
  • the present application also provides a data processing method for stores, including: obtaining a request message sent by a client for obtaining list data of the store; obtaining source data related to the store according to the request message; Data, acquiring ranking data of the store, and storing the ranking data in a data storage device, wherein the ranking data includes data of at least one ranking category of the store; acquiring the data storage A data change message related to the store in the device, wherein the data change message includes the ranking data; according to the data change message, real-time engine data of the store is obtained; and all the information is sent to the client State the real-time engine data of the store.
  • This application also provides a data processing device for a store, including: a request message obtaining unit for obtaining a request message sent by a client for obtaining list data of the store; a store source data obtaining unit for obtaining Request message to obtain source data related to the store; store ranking data storage unit for acquiring ranking data of the store according to the source data, and storing the ranking data in a data storage device, where all
  • the list data includes data of at least one list category of the store;
  • the store data change message changing unit is configured to obtain data change messages related to the store in the data storage device, wherein the data change message
  • the store real-time engine data acquisition unit is used to obtain the real-time engine data of the store according to the data change message; the store real-time engine data sending unit is used to send the client Real-time engine data for business objects.
  • This application also provides a data processing system for stores, including: a client and a server;
  • the client is used to send a request message for obtaining the ranking data of the store, and to receive the ranking data of the store returned by the server;
  • the server is used to receive the request message sent by the client; and According to the request message, obtain the ranking data of the stores from the real-time engine data of the stores and sort them; and send the ranked ranking data of the stores to the client;
  • the The real-time engine data of the store is obtained by the following steps: Obtain the source data related to the store; According to the source data, obtain the ranking data of the store, and store the ranking data in the data storage device, wherein the ranking
  • the list data includes data of at least one list category of the store; the data change message related to the store in the data storage device is acquired, wherein the data change message includes the list data; according to the Data change message to obtain real-time engine data of the store.
  • This application also provides a data display method for business objects, including: obtaining source data related to the business object; obtaining the list data of the business object according to the source data, and storing the list data in In a data storage device, wherein the ranking data includes data of at least one ranking category of the business object; acquiring data change messages related to the business object in the data storage device, wherein the data change The message includes the list data; according to the data change message, the real-time engine data of the business object is obtained, wherein the real-time engine data includes the list data of the business object; the business is displayed on the screen Real-time engine data of the object.
  • the obtaining source data related to the business object includes: obtaining original data related to the business object including multiple data structures from different data sources; performing data cleaning on the original data, Obtain the source data of the same data structure.
  • the obtaining the list data of the business object according to the source data includes: obtaining the business object identifier of the business object; according to the business object identifier, obtaining data from the source data and The to-be-processed source data associated with the business object; data mining is performed on the to-be-processed source data to obtain the list data of the business object.
  • the performing data mining processing on the source data to be processed to obtain the ranking data of the business object includes: obtaining business data corresponding to the business object from the source data to be processed; According to the business data, the data of at least one ranking category of the business object is acquired; and the data of the ranking of the business object is acquired according to the data of at least one ranking category of the business object.
  • the storing the ranking data in a data storage device includes: obtaining a business object identifier of the business object and a business classification identifier of the business object, where the business classification identifier is used to indicate the The business category to which the business object belongs; obtain the list category identifier of the business object and the data corresponding to the list category identifier from the list data; according to the business object identifier, the business category identifier, and the data corresponding to the list category identifier; The list category identifier and the data corresponding to the list category identifier are obtained to obtain the record to be stored corresponding to the list data; and the record to be stored is stored in the data storage device.
  • the record to be stored includes an identification of whether the record is valid; the data corresponding to the business object identification, the business classification identification, the list category identification, and the list category identification are obtained to obtain all data corresponding to the list category identification.
  • the record to be stored corresponding to the ranking data further includes: data corresponding to the identification of the business object, the identification of the business classification, the identification of whether the record is valid, the identification of the ranking category and the identification of the ranking category, Obtain the record to be stored corresponding to the ranking data.
  • the obtaining the data change message related to the business object in the data storage device includes: obtaining the business object identifier of the business object; setting to monitor the data storage device according to the business object identifier A subscription task for data changes related to the business object in the data storage device; according to the subscription task, a data change message related to the business object in the data storage device is obtained.
  • the obtaining real-time engine data of the business object according to the data change message includes: obtaining an identifier of whether the record is valid from the data change message; if the record is valid or not, the identifier indicates that If the ranking data in the data change message is valid, the content in the single engine data corresponding to the business object is updated according to the data change message to obtain the real-time single engine data of the business object.
  • the single engine data is the engine data of the business object
  • the real-time single engine data is the real-time engine data corresponding to the single engine data
  • the service is obtained according to the real-time single engine data of the business object Real-time engine data of the object.
  • the updating the content in the single engine data corresponding to the business object according to the data change message to obtain the real-time single engine data of the business object includes: from the data change message, Acquire the ranking category identifier of the business object and the data corresponding to the ranking category identifier; obtain the single engine data corresponding to the business object according to the ranking category identifier and the data corresponding to the ranking category identifier Record; According to the single engine data record, update the content in the single engine data corresponding to the business object to obtain real-time single engine data of the business object.
  • the obtaining the real-time engine data of the business object according to the real-time single engine data of the business object includes: updating the business object in the data engine according to the real-time single engine data of the business object To obtain the real-time engine data of the business object, wherein the data engine is used to store the engine data of the business object.
  • the business data information includes at least one of the following: sales volume data information of the sales business of the business object, comment information for the business object, and popularity information of the business object.
  • This application also provides a data display device for business objects, including: a source data acquisition unit for acquiring source data related to the business object; a ranking data storage unit for acquiring the business based on the source data And store the ranking data in a data storage device, where the ranking data includes data of at least one ranking category of the business object; a data change message acquiring unit for acquiring The data change message related to the business object in the data storage device, wherein the data change message includes the ranking data; a real-time engine data acquisition unit is configured to obtain the data change message according to the data change message.
  • the real-time engine data of the business object wherein the real-time engine data includes the ranking data of the business object; the real-time engine data display unit is used to display the real-time engine data of the business object on a screen.
  • This application also provides a store-specific data display method, including: obtaining source data related to the store; obtaining ranking data of the store according to the source data, and storing the ranking data in a data storage device , Wherein the list data includes data of at least one list category of the store; acquiring a data change message related to the store in the data storage device, wherein the data change message includes the Ranking data; obtaining real-time engine data of the store according to the data change message, wherein the real-time engine data includes ranking data of the store; displaying the real-time engine data of the store on the screen.
  • This application also provides a data display device for a store, including: a store source data acquisition unit for acquiring source data related to the store; a store ranking data storage unit for acquiring the store according to the source data And store the ranking data in a data storage device, where the ranking data includes data of at least one ranking category of the store; the store data change message obtaining unit is used to obtain all The data change message related to the store in the data storage device, wherein the data change message includes the ranking data; the store real-time engine data acquisition unit is configured to obtain the store according to the data change message The real-time engine data of the store, wherein the real-time engine data includes the ranking data of the store; the store real-time engine data display unit is used to display the real-time engine data of the store on the screen.
  • a data processing method for business objects includes: obtaining source data related to the business object; obtaining the list data of the business object according to the source data, and storing the list data in In a data storage device, wherein the ranking data includes data of at least one ranking category of the business object; acquiring data change messages related to the business object in the data storage device, wherein the data change The message includes the ranking data; according to the data change message, the real-time engine data of the business object is obtained, wherein the real-time engine data includes the ranking data of the business object.
  • the method described in this application adds a data storage device to store the list data of the business object, and obtains the data storage device According to the data change message, the engine data in the data engine is synchronized according to the data change message, so that the real-time engine data of the business object can be obtained in real time and efficiently.
  • FIG. 1 is a schematic diagram of an application scenario of the data processing method for business objects provided by the first embodiment of the present application.
  • Fig. 2 is a flowchart of a data processing method for business objects provided by the first embodiment of the present application.
  • Fig. 3 is a flowchart of a data processing method for a store provided by a second embodiment of the present application.
  • Fig. 4 is a schematic diagram of a data processing device for business objects provided by a third embodiment of the present application.
  • Fig. 5 is a schematic diagram of a data processing device for a store provided by a fifth embodiment of the present application.
  • Fig. 6 is a flowchart of a data display method for business objects provided by a seventh embodiment of the present application.
  • Fig. 7 is a schematic diagram of a data display device for business objects provided by an eighth embodiment of the present application.
  • FIG. 8 is a flowchart of a data display method for a store provided in a ninth embodiment of the present application.
  • Fig. 9 is a schematic diagram of a data display device for a store provided by a tenth embodiment of the present application.
  • FIG. 1 it is a schematic diagram of an application scenario of the data processing method for business objects provided by the first embodiment of this application.
  • this application implements the data processing method for the business object, generally when the user 101 uses the application on the computing device 102 that corresponds to the business object to search for the list data of the business object ,
  • the application program sends a request message for obtaining the ranking data of the business object to the computing device 103.
  • the computing device 103 After the computing device 103 receives the request message sent by the application program, in order to be able to obtain real-time and efficient
  • the real-time engine data of the business object is provided, and the ranking data in the real-time engine data is provided to the application program, and the computing device 103 obtains the source data related to the business object; then, according to the source Data, acquiring the ranking data of the business object, and storing the ranking data in a data storage device, wherein the ranking data includes data of at least one ranking category of the business object; afterwards, acquiring The data change message related to the business object in the data storage device, wherein the data change message includes the list data; and then, according to the data change message, the real-time engine of the business object is obtained Data, wherein the real-time engine data includes list data of the business object.
  • the computing device 103 After the computing device 103 obtains the real-time engine data of the business object, it acquires the real-time ranking data of the business object from the real-time engine data, and sends the ranking data to the application; the application After receiving the ranking data, the program presents the ranking data on a display device carried or connected to the computing device 102 for the user 101 to view.
  • the user 101 triggers the application in the computing device 102 to issue a request message for obtaining the list data of the business object as an example, which explains in detail that the computing device 103 will obtain
  • the real-time engine data of the business object is provided to the user 101 to view the processing flow.
  • other external objects may also be used.
  • other applications send a request message to the computing device 103 to obtain the list data of the business object, and the computing device 103 obtains the After requesting the message, provide the ranking data to the application program.
  • the computing device 102 mainly refers to the mobile terminal device used by the user 101, such as a mobile phone, a tablet computer, etc., of course, it can also be a computer device used by the user 101;
  • the computing device 103 mainly refers to server-side computing Equipment, such as a business server that provides real-time engine data;
  • the business object mainly refers to the abstraction of a series of real-world entity objects with the same business attributes in an application program, which is usually a string of alphanumeric characters.
  • the physical store can be abstracted as a store in the application.
  • the ranking data mainly refers to data of at least one ranking category of the business object.
  • the ranking category mainly refers to the identification of the ranking list divided by a certain business attribute of the business object. For example: according to the online celebrity attribute of the store, you can divide the internet celebrity list; according to whether the store is suitable for couple dating business attributes, you can divide the couple dating rankings; according to whether the store is suitable for weekend fun business attributes, you can divide the weekend fun lists, etc. Wait.
  • the real-time engine data mainly refers to engine data including real-time ranking data of the business object.
  • FIG. 2 is a flowchart of a data processing method for business objects provided by the first embodiment of this application, this embodiment will be described in detail below with reference to FIG. 2.
  • Step S201 Obtain the request message sent by the client for obtaining the list data of the business object.
  • the data processing method for business objects shown in this embodiment is generally that when a user searches for the list data of the business object using an application on the client that corresponds to the business object, the client responds to the user's trigger operation , Obtain the business object identifier used to identify the business object, and then generate a request message including the business object identifier for acquiring the list data of the business object, and then send the request message to the server.
  • Step S202 Obtain source data related to the business object for the request message.
  • the source data related to the business object can be obtained either on the server side corresponding to the application program or on the client side capable of running the application program.
  • the server side corresponding to the application program is used to obtain the service data.
  • the source data related to the object is illustrated as an example, that is, the server computing device corresponding to the application obtains the business data related to the business object.
  • it can be business data such as order data, comment data, or sales data related to the business object. data.
  • the server computing device corresponding to the application program obtains the original data related to the business object including multiple data structures from different data sources; performs data cleaning on the original data to obtain Source data with the same data structure. That is, from the application program or database containing the business object, the original data related to the business object including multiple data structures is obtained, and then the original data is cleaned using a data cleaning algorithm, and the data is extracted from the original data.
  • the data fields related to the business object are described to obtain the source data of the same data structure.
  • the business object as the store to illustrate, in different applications or the same application, it may contain a variety of original data related to the store, such as store order data, review data, sales data or the number of stores, etc.
  • the computing device 103 uses a data cleaning algorithm to clean the foregoing data to obtain source data with the same data structure.
  • step S203 is executed to obtain the list data of the business object according to the source data, and store the list data in a data storage device, where the list The list data includes data of at least one ranking category in the business object.
  • the application In order to synchronize the ranking data to the engine data used by the application in real time, so that the application can provide real-time engine data, in this application, first according to the source related to the business object Data, obtain the ranking data of the business object; after that, after acquiring the ranking data of the business object, first store the ranking data in an intermediate data storage device, and then use data monitoring and
  • the processing platform monitors the data change message related to the business object in the data storage device and includes the list data, and obtains the real-time engine data of the business object according to the data change message.
  • the data storage device may be a mysql database.
  • other data storage devices such as an oracle database, may also be used according to design requirements. There is no special limitation here. .
  • the obtaining the ranking data of the business object according to the source data includes: obtaining the business object identifier of the business object; according to the business object identifier, obtaining the business object from the source data Related to-be-processed source data; perform data mining processing on the to-be-processed source data to obtain the list data of the business object.
  • the business object identifier is usually a unique string of alphanumeric characters used to identify the business object.
  • the business object-store can be identified by "store”.
  • the source data is related to the business object.
  • Related to-be-processed source data that is, from the source data, filter out the source data that is not related to obtaining the list data of the business object, and use the filtered source data as the to-be-processed source data. Calculation processing.
  • the data mining process for the source data to be processed to obtain the list data of the business object mainly refers to the calculation of the list data acquisition model, that is, the algorithm model composed of the algorithm used to obtain the list data.
  • the source data to be processed is subjected to data mining processing to obtain the ranking data of the business object.
  • the ranking data acquisition model may be an algorithm model formed by different algorithms for acquiring ranking data.
  • the algorithm used to obtain the ranking data can be set according to different design requirements, and there is no special limitation here.
  • the performing data mining processing on the source data to be processed to obtain the list data of the business object includes: obtaining business data corresponding to the business object from the source data to be processed; Data, acquiring data of at least one ranking category in the business object; acquiring ranking data of the business object according to data of at least one ranking category in the business object.
  • the business data information includes at least one of the following: sales volume data information of the business object's sales business, comment information for the business object, and popularity information of the business object.
  • the list related to the scene may include the Internet celebrity list, the couple dating list, the weekend fun list, the supper list, or a combination of region + list category, such as XX area hot pot list, XX area barbecue List and so on.
  • the business object is a store
  • the acquired ranking data is taken as an example of the online celebrity list, that is, the ranking category of the acquired ranking data of the store business object is the online celebrity list.
  • Use the ranking data acquisition model for stores to perform data mining processing on the source data to be processed, and calculate the corresponding influencer value for at least one store, that is, the degree of popularity and the degree of liking.
  • the at least one store Marking a label of the online celebrity list, that is, setting the list category of the at least one store.
  • an online celebrity list tag is assigned to the store: onlineCel, and at the same time, its corresponding online celebrity value is stored, such as the online celebrity value—score is 200 .
  • the storing the ranking data in a data storage device includes: obtaining the business object identifier of the business object and the business classification identifier of the business object, the business classification identifier being used to indicate the business object to which the business object belongs Business category; from the list data, obtain the list category identification of the business object and the data corresponding to the list category identification; according to the business object identification, the business classification identification, and the list category Identify the data corresponding to the list category identifier, obtain the record to be stored corresponding to the list data; store the record to be stored in the data storage device.
  • the business object is still a store
  • the data storage device is a mysql database for illustration.
  • the business object identifier of the store can be obtained by querying the corresponding corresponding relationship as "201993203920392”, and its corresponding business classification identifier, that is, its business classification is store-SHOP.
  • the list category is the online celebrity list, that is, onlineCel
  • the data in the corresponding list category that is, the online celebrity value is 200.
  • the "XX Chinese restaurant” can be obtained.
  • the record to be stored includes an identification of whether the record is valid; the list is obtained according to the business object identification, the business classification identification, the list category identification, and the data corresponding to the list category identification.
  • the record to be stored corresponding to the single data further includes: obtaining the data corresponding to the business object identifier, the business category identifier, whether the record is valid or not, the list category identifier, and the list category identifier.
  • the record to be stored corresponding to the list data includes an identification of whether the record is valid; the list is obtained according to the business object identification, the business classification identification, the list category identification, and the data corresponding to the list category identification.
  • the validity flag is generally assigned directly during the above data cleaning process, and its content can be 0 or 1, or or no, etc.; here, the content is 0 or 1 as an example, that is, when its value is 0 , It means that the ranking data is valid and can be acquired in real-time engine data. When its value is 1, it means that the ranking data is invalid and will not be acquired in real-time engine data.
  • object_id”: "201993203920392”, "object_type”: “SHOP”, “label_val”: “onlineCel”, “score”: 200, “delete_tag”, 0 ⁇ .
  • the record to be stored may also include other fields, such as a field used to indicate a business channel or other reserved fields, and will not be described here as examples.
  • Step S204 Obtain a data change message related to the business object in the data storage device, where the data change message includes the ranking data.
  • the obtaining the data change message related to the business object in the data storage device includes:
  • the business object identifier of the business object can be used in the A subscription task for monitoring data changes related to the business object in the data storage device is set on the platform; at the same time, according to the subscription task, information related to the business object and including all data storage devices can be obtained from the data storage device. Information about the data change of the list data.
  • Step S205 Obtain real-time engine data of the business object according to the data change message, where the real-time engine data includes ranking data of the business object.
  • the real-time engine data of the business object can be obtained according to the data change message, where:
  • the real-time engine data includes ranking data of the business object.
  • said obtaining real-time engine data of said business object according to said data change message includes: obtaining from said data change message, whether said record is valid or not; if said record is valid or not, said data If the ranking data in the change message is valid, the content in the single engine data corresponding to the business object is updated according to the data change message, and the real-time single engine data of the business object is obtained.
  • the engine data is the engine data of the business object
  • the real-time single engine data is the real-time engine data corresponding to the single engine data; according to the real-time single engine data of the business object, the information of the business object is obtained Real-time engine data.
  • the updating the content in the single engine data corresponding to the business object according to the data change message to obtain the real-time single engine data of the business object includes: obtaining the business from the data change message The list category identification of the object and the data corresponding to the list category identification; according to the list category identification and the data corresponding to the list category identification, the single engine data record corresponding to the business object is obtained; The single engine data record updates the content in the single engine data corresponding to the business object, and obtains the real-time single engine data of the business object.
  • the obtaining the real-time engine data of the business object according to the real-time single engine data of the business object includes: updating the engine data of the business object in the data engine according to the real-time single engine data of the business object, Obtain real-time engine data of the business object, where the data engine is used to store the engine data of the business object.
  • the data monitoring and processing platform obtains the real-time single engine data of the business object, it sends a real-time message to the data engine unit of the server computing device, and the data engine unit obtains the real-time message from the real-time message.
  • the data engine unit obtains the real-time message from the real-time message.
  • the data engine is used to store engine data of the business object and provide engine data of the business object to the application program.
  • the business object is the store
  • the ranking category of the ranking data of the store is the online celebrity list as an example to describe in detail the data processing method for the business object described in this application.
  • the method described can also be applied to other business objects, or other list data of the list category, such as the business object is commodities, dishes, the list category is the best-selling list, the delicious list and other list data, No more examples here.
  • step S206 is executed to send the real-time engine data of the business object to the client.
  • the real-time engine data can be provided to the client.
  • the real-time engine data of the business object can be displayed on the screen.
  • the list data of different list categories of the business object can be automatically obtained, and the acquired list data
  • the list data is stored in the intermediate data storage device, and then the data change message of the data storage device is monitored through the data monitoring and processing platform, and the data change message is automatically triggered to update the engine data for storage
  • the field of the list data and then obtain the real-time engine data of the business object, so that the application can provide the real-time engine data of the business object in real time and efficiently.
  • this application also provides a store-specific data processing method.
  • FIG. 3 is the flow of a store-specific data processing method provided by the second embodiment of the application.
  • Figure since its detailed processing has been described in detail in the above embodiment, the description here is relatively simple, and the relevant parts can refer to the part of the description provided in the above embodiment.
  • FIG. 3 is a flowchart of a data processing method for stores provided by the second embodiment of the application, this embodiment will be described in detail below with reference to FIG. 3.
  • Step S301 Obtain the request message sent by the client for obtaining the ranking data of the store.
  • Step S302 Obtain source data related to the store in response to the request message.
  • Step S303 Obtain ranking data of the store according to the source data, and store the ranking data in a data storage device, where the ranking data includes at least one ranking category of the store data.
  • Step S304 Obtain a data change message related to the store in the data storage device, wherein the data change message includes the list data.
  • Step S305 Obtain real-time engine data of the store according to the data change message.
  • Step S306 Send real-time engine data of the store to the client.
  • the real-time engine data can be provided to the client.
  • the real-time engine data of the store can be displayed on the screen.
  • the store-specific data processing method described in this application can automatically obtain the list data of different list categories of the store by performing data mining processing on the source data related to the store, and combine the obtained list
  • the single data is stored in an intermediate data storage device, such as a mysql database, and then the data change message of the data storage device is monitored through the data monitoring and processing platform, and the data change message is automatically triggered to update the engine data.
  • this application also provides a data processing device for business objects.
  • FIG. 4 is a schematic diagram of the data processing device for business objects provided by the third embodiment of the application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For related parts, please refer to the part of the description provided in the foregoing embodiment.
  • the device embodiment described below is only illustrative.
  • the data processing device for business objects provided in this application includes the following parts.
  • the request message obtaining unit 401 is configured to obtain a request message sent by the client for obtaining the list data of the business object.
  • the source data obtaining unit 402 is configured to obtain source data related to the business object.
  • the list data storage unit 403 is configured to obtain list data of the business object according to the source data, and store the list data in a data storage device, where the list data includes the business Data of at least one list category of the object.
  • the data change message obtaining unit 404 is configured to obtain a data change message related to the business object in the data storage device, wherein the data change message includes the list data.
  • the real-time engine data acquisition unit 405 is configured to acquire real-time engine data of the business object according to the data change message, where the real-time engine data includes list data of the business object.
  • the real-time engine data sending unit 406 is configured to send the real-time engine data of the business object to the client.
  • the source data obtaining unit includes: an original data obtaining subunit for obtaining original data related to the business object including multiple data structures from different data sources; a source data obtaining subunit , Used to perform data cleaning on the original data to obtain source data with the same data structure.
  • the ranking data storage unit includes: a business object identification obtaining subunit, configured to obtain the business object identification of the business object; and a source data obtaining subunit to be processed, based on the business object identification, From the source data, obtain to-be-processed source data associated with the business object; the list data acquisition subunit is used to perform data mining processing on the to-be-processed source data to obtain the list of the business object data.
  • the performing data mining processing on the source data to be processed to obtain the ranking data of the business object includes: obtaining business data corresponding to the business object from the source data to be processed; According to the business data, the data of at least one list category in the business object is acquired; and the data of the list of the business object is acquired according to the data of at least one list category in the business object.
  • the ranking data storage unit further includes: a business object identification acquiring subunit, configured to acquire the business object identification of the business object and the business classification identification of the business object, and the business classification identification is used for Represents the business category to which the business object belongs; the ranking category identification obtaining subunit is used to obtain the ranking category identification of the business object and the data corresponding to the ranking category identification from the ranking data; The storage record obtaining subunit is configured to obtain the record to be stored corresponding to the ranking data according to the business object identification, the business classification identification, the ranking category identification, and the data corresponding to the ranking category identification; The storage subunit is used to store the to-be-stored record in the data storage device.
  • a business object identification acquiring subunit configured to acquire the business object identification of the business object and the business classification identification of the business object, and the business classification identification is used for Represents the business category to which the business object belongs
  • the ranking category identification obtaining subunit is used to obtain the ranking category identification of the business object and the data corresponding to the ranking category identification from the ranking
  • the record to be stored includes an identification of whether the record is valid; the data corresponding to the business object identification, the business classification identification, the list category identification, and the list category identification are obtained to obtain all data corresponding to the list category identification.
  • the record to be stored corresponding to the ranking data further includes: data corresponding to the identification of the business object, the identification of the business classification, the identification of whether the record is valid, the identification of the ranking category and the identification of the ranking category, Obtain the record to be stored corresponding to the ranking data.
  • the data change message acquiring unit includes: an identification acquiring subunit, configured to acquire the business object identification of the business object; and a subscription task acquiring subunit, configured to monitor the business object according to the business object identification.
  • the obtaining real-time engine data of the business object according to the data change message includes: obtaining an identifier of whether the record is valid from the data change message; if the record is valid or not, the identifier indicates that If the ranking data in the data change message is valid, the content in the single engine data corresponding to the business object is updated according to the data change message to obtain the real-time single engine data of the business object.
  • the single engine data is the engine data of the business object
  • the real-time single engine data is the real-time engine data corresponding to the single engine data
  • the service is obtained according to the real-time single engine data of the business object Real-time engine data of the object.
  • the updating the content in the single engine data corresponding to the business object according to the data change message to obtain the real-time single engine data of the business object includes: from the data change message, Acquire the ranking category identifier of the business object and the data corresponding to the ranking category identifier; obtain the single engine data corresponding to the business object according to the ranking category identifier and the data corresponding to the ranking category identifier Record; According to the single engine data record, update the content in the single engine data corresponding to the business object to obtain the real-time single engine data of the business object.
  • the obtaining the real-time engine data of the business object according to the real-time single engine data of the business object includes: updating the business object in the data engine according to the real-time single engine data of the business object To obtain the real-time engine data of the business object, wherein the data engine is used to store the engine data of the business object.
  • the business data information includes at least one of the following: sales volume data information of the sales business of the business object, comment information for the business object, and popularity information of the business object.
  • a data processing system for business objects includes:
  • the client is used to send a request message for obtaining the list data of a business object, and receive the list data of the business object returned by the server;
  • the server is used to receive the request message sent by the client; and according to the request message, obtain and sort the list data of the business object from the real-time engine data of the business object;
  • the client sends the ranking data of the business objects after sorting;
  • the real-time engine data of the business object is obtained through the following steps:
  • Obtain source data related to a business object obtain list data of the business object according to the source data, and store the list data in a data storage device, where the list data includes the business Data of at least one entity information of the object in at least one ranking category; acquiring data change messages related to the business object in the data storage device, wherein the data change message includes the ranking data; according to The data change message obtains real-time engine data of the business object, where the real-time engine data includes ranking data of the business object.
  • this application also provides a data processing device for stores.
  • FIG. 5 is a schematic diagram of the data processing device for stores provided by the fifth embodiment of the application.
  • the embodiment is basically similar to the method embodiment, so the description is relatively simple.
  • For related parts please refer to the part of the description provided in the above embodiment.
  • the device embodiment described below is only illustrative.
  • the data processing device for stores provided in this application includes the following parts.
  • the request message obtaining unit 501 is configured to obtain a request message sent by the client for obtaining the ranking data of the store.
  • the store source data obtaining unit 502 is configured to obtain source data related to the store in response to the request message;
  • the store list data storage unit 503 is configured to obtain list data of the store according to the source data, and store the list data in a data storage device, where the list data includes at least Data of a list category;
  • a store data change message change unit 504 configured to obtain a data change message related to the store in the data storage device, wherein the data change message includes the list data;
  • the store real-time engine data obtaining unit 505 is configured to obtain real-time engine data of the store according to the data change message.
  • the store real-time engine data sending unit 506 is configured to send the real-time engine data of the business object to the client.
  • the store source data acquisition unit includes: a store original data acquisition subunit for acquiring original data related to the store including multiple data structures from different data sources; store source data acquisition The sub-unit is used to perform data cleaning on the original data and obtain source data with the same data structure.
  • the ranking data storage unit includes: a store identification acquisition subunit, used to acquire the store identification of the store; a pending source data acquisition subunit, used to obtain information from the source according to the store identification In the data, the source data to be processed associated with the store is obtained; the ranking data obtaining subunit is used to perform data mining processing on the source data to be processed to obtain the ranking data of the store.
  • the performing data mining processing on the source data to be processed to obtain the ranking data of the store includes: obtaining business data corresponding to the store from the source data to be processed; According to the business data, the data of at least one list category in the store is acquired; and the list data of the store is acquired according to the data of at least one list category of the store.
  • the ranking data storage unit further includes: a store identifier obtaining subunit, configured to obtain the store identifier of the store and the business category identifier of the store, and the business category identifier is used to indicate the store The business category to which it belongs; the store ranking category identifier obtaining subunit, which is used to obtain the ranking category identifier of the store and the data corresponding to the ranking category identifier from the ranking data; the obtaining subunit of the record to be stored , Used to obtain the record to be stored corresponding to the ranking data according to the store identification, the business classification identification, the ranking category identification, and the data corresponding to the ranking category identification; a storage subunit for Storing the record to be stored in the data storage device.
  • a store identifier obtaining subunit configured to obtain the store identifier of the store and the business category identifier of the store, and the business category identifier is used to indicate the store The business category to which it belongs
  • the store ranking category identifier obtaining subunit which is used to obtain the ranking category
  • the record to be stored includes an identifier of whether the record is valid; the data corresponding to the store identifier, the business classification identifier, the list category identifier, and the list category identifier are obtained to obtain the
  • the record to be stored corresponding to the list data further includes: obtaining all data corresponding to the store identifier, the business classification identifier, whether the record is valid, the list category identifier, and the list category identifier.
  • the record to be stored corresponding to the list data includes an identifier of whether the record is valid; the data corresponding to the store identifier, the business classification identifier, the list category identifier, and the list category identifier are obtained to obtain the
  • the record to be stored corresponding to the list data further includes: obtaining all data corresponding to the store identifier, the business classification identifier, whether the record is valid, the list category identifier, and the list category identifier.
  • the store data change message acquisition unit includes: a store identification acquisition subunit for acquiring the store identifier of the store; and a store subscription task acquisition subunit for setting to monitor the store identifier according to the store identifier.
  • a subscription task for data change related to the store in the data storage device a store data change message obtaining subunit, configured to obtain a data change message related to the store in the data storage device according to the subscription task.
  • the obtaining real-time engine data of the store according to the data change message includes: obtaining an identifier of whether the record is valid from the data change message; if the record is valid or not, the identifier indicates that the If the ranking data in the data change message is valid, the content in the individual engine data corresponding to the store is updated according to the data change message to obtain the real-time individual engine data of the store, wherein the individual engine The data is engine data of the store, and the real-time single engine data is real-time engine data corresponding to the single engine data; the real-time engine data of the store is obtained according to the real-time single engine data of the store.
  • the updating the content in the individual engine data corresponding to the store according to the data change message to obtain the real-time individual engine data of the store includes: obtaining all the data from the data change message.
  • the single engine data record updates the content in the single engine data corresponding to the store to obtain real-time single engine data of the store.
  • the obtaining the real-time engine data of the store according to the real-time single engine data of the store includes: updating the engine data of the store in the data engine according to the real-time single engine data of the store, Obtain real-time engine data of the store, where the data engine is used to store engine data of the business object.
  • the business data information includes at least one of the following: sales volume data information of the store's sales business, review information for the store, and popularity information of the store.
  • the sixth embodiment of the present application also provides a data processing system for stores. Since the system embodiment is basically similar to the method embodiment, the description is relatively simple. For related details, please refer to the above Part of the description provided in the embodiment is sufficient, and the system embodiment described below is only illustrative.
  • the data processing system for stores provided by this application includes:
  • the client is used to send a request message for obtaining the ranking data of the store, and to receive the ranking data of the store returned by the server;
  • the server is used to receive the request message sent by the client; and according to the request message, obtain and sort the ranking data of the store from the real-time engine data of the store; and send it to the customer
  • the terminal sends the ranking data of the store after sorting
  • the real-time engine data of the store is obtained through the following steps:
  • this application also provides a data display method for business objects.
  • FIG. 6, is a data display method for business objects provided by the seventh embodiment of this application. Since the detailed processing of the flow chart has been described in detail in the above-mentioned embodiment, the description here is relatively simple, and for related parts, please refer to the part of the description provided in the above-mentioned embodiment.
  • Step S601 Obtain source data related to the business object.
  • Step S602 Acquire ranking data of the business object according to the source data, and store the ranking data in a data storage device, where the ranking data includes at least one ranking of the business object Categories of data.
  • Step S603 Obtain a data change message related to the business object in the data storage device, where the data change message includes the list data.
  • Step S604 Obtain real-time engine data of the business object according to the data change message, where the real-time engine data includes list data of the business object.
  • Step S605 Display the real-time engine data of the business object on the screen.
  • the obtaining source data related to the business object includes: obtaining original data related to the business object including multiple data structures from different data sources; performing data cleaning on the original data, Obtain the source data of the same data structure.
  • the obtaining the list data of the business object according to the source data includes: obtaining the business object identifier of the business object; according to the business object identifier, obtaining data from the source data and The to-be-processed source data associated with the business object; data mining is performed on the to-be-processed source data to obtain the list data of the business object.
  • the performing data mining processing on the source data to be processed to obtain the ranking data of the business object includes: obtaining business data corresponding to the business object from the source data to be processed; According to the business data, the data of at least one ranking category of the business object is acquired; and the data of the ranking of the business object is acquired according to the data of at least one ranking category of the business object.
  • the storing the ranking data in a data storage device includes: obtaining a business object identifier of the business object and a business classification identifier of the business object, where the business classification identifier is used to indicate the The business category to which the business object belongs; obtain the list category identifier of the business object and the data corresponding to the list category identifier from the list data; according to the business object identifier, the business category identifier, and the data corresponding to the list category identifier; The list category identifier and the data corresponding to the list category identifier are obtained to obtain the record to be stored corresponding to the list data; and the record to be stored is stored in the data storage device.
  • the record to be stored includes an identification of whether the record is valid; the data corresponding to the business object identification, the business classification identification, the list category identification, and the list category identification are obtained to obtain all data corresponding to the list category identification.
  • the record to be stored corresponding to the ranking data further includes: data corresponding to the identification of the business object, the identification of the business classification, the identification of whether the record is valid, the identification of the ranking category and the identification of the ranking category, Obtain the record to be stored corresponding to the ranking data.
  • the obtaining the data change message related to the business object in the data storage device includes: obtaining the business object identifier of the business object; setting to monitor the data storage device according to the business object identifier A subscription task for data changes related to the business object in the data storage device; according to the subscription task, a data change message related to the business object in the data storage device is obtained.
  • the obtaining real-time engine data of the business object according to the data change message includes: obtaining an identifier of whether the record is valid from the data change message; if the record is valid or not, the identifier indicates that If the ranking data in the data change message is valid, the content in the single engine data corresponding to the business object is updated according to the data change message to obtain the real-time single engine data of the business object.
  • the single engine data is the engine data of the business object
  • the real-time single engine data is the real-time engine data corresponding to the single engine data
  • the service is obtained according to the real-time single engine data of the business object Real-time engine data of the object.
  • the updating the content in the single engine data corresponding to the business object according to the data change message to obtain the real-time single engine data of the business object includes: from the data change message, Acquire the ranking category identifier of the business object and the data corresponding to the ranking category identifier; obtain the single engine data corresponding to the business object according to the ranking category identifier and the data corresponding to the ranking category identifier Record; According to the single engine data record, update the content in the single engine data corresponding to the business object to obtain the real-time single engine data of the business object.
  • the obtaining the real-time engine data of the business object according to the real-time single engine data of the business object includes: updating the business object in the data engine according to the real-time single engine data of the business object To obtain the real-time engine data of the business object, wherein the data engine is used to store the engine data of the business object.
  • the business data information includes at least one of the following: sales volume data information of the sales business of the business object, comment information for the business object, and popularity information of the business object.
  • this application also provides a data display device for business objects.
  • FIG. 7, is a schematic diagram of the data display device for business objects provided by the eighth embodiment of the application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For related parts, please refer to the part of the description provided in the foregoing embodiment.
  • the device embodiment described below is only illustrative.
  • the data display device for business objects provided by this application includes the following parts.
  • the source data obtaining unit 701 is configured to obtain source data related to the business object
  • the list data storage unit 702 is configured to obtain list data of the business object according to the source data, and store the list data in a data storage device, where the list data includes the business Data of at least one list category of the object;
  • the real-time engine data acquisition unit 704 is configured to acquire real-time engine data of the business object according to the data change message, where the real-time engine data includes list data of the business object;
  • the real-time engine data display unit 705 is configured to display the real-time engine data of the business object on the screen.
  • this application also provides a store-specific data display method.
  • FIG. 8 is a flowchart of a store-specific data display method provided by the ninth embodiment of the application. Since the detailed processing has been described in detail in the above-mentioned embodiment, the description here is relatively simple, and for related parts, please refer to the part of the description provided in the above-mentioned embodiment.
  • Step S801 Obtain source data related to the store.
  • Step S802 Obtain ranking data of the store according to the source data, and store the ranking data in a data storage device, where the ranking data includes at least one ranking category of the store data.
  • Step S803 Obtain a data change message related to the store in the data storage device, where the data change message includes the list data.
  • Step S804 Obtain real-time engine data of the store according to the data change message, where the real-time engine data includes ranking data of the store.
  • step S805 the real-time engine data of the store is displayed on the screen.
  • this application also provides a store-specific data display device.
  • FIG. 9 is a schematic diagram of the store-specific data display device provided by the tenth embodiment of the application.
  • the embodiment is basically similar to the method embodiment, so the description is relatively simple.
  • the device embodiment described below is only illustrative.
  • the data display device for stores provided by this application includes the following parts.
  • the store source data acquisition unit 901 is used to acquire source data related to the store.
  • the store list data storage unit 902 is configured to obtain list data of the store according to the source data, and store the list data in a data storage device, where the list data includes the store Data for at least one list category.
  • the store data change message obtaining unit 903 is configured to obtain a data change message related to the store in the data storage device, wherein the data change message includes the list data.
  • the store real-time engine data acquisition unit 904 is configured to obtain real-time engine data of the store according to the data change message, wherein the real-time engine data includes the ranking data of the store.
  • the store real-time engine data display unit 905 is configured to display real-time engine data of the store on the screen.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • this application can be provided as a method, a system, or a computer program product. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种针对业务对象的数据处理方法,通过获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中;之后,获取所述数据存储设备中与所述业务对象相关的数据变更消息;根据所述数据变更消息,获得所述业务对象的实时引擎数据。相较于现有技术中在获取实时引擎数据时需要额外进行开发工作的方式,本申请所述方法通过增加数据存储设备来存储所述业务对象的榜单数据,并通过获取所述数据存储设备的数据变更消息,再根据所述数据变更消息同步数据引擎中的引擎数据,可以实时、高效的获取所述业务对象的实时引擎数据。

Description

一种针对业务对象的数据处理方法及装置 技术领域
本申请涉及互联网领域,具体涉及一种针对业务对象的数据处理方法、装置及系统。本申请另外涉及一种针对门店的数据处理方法、装置及系统。本申请还涉及一种针对业务对象的数据展示方法、装置以及一种针对门店的数据展示方法、装置。
背景技术
近年来,随着互联网技术的发展,应用程序的使用遍布人们生活的方方面面,为人们生活带来了极大的便利。
在日常生活中,用户通过相应的应用程序可以快速的获取到感兴趣的资讯,例如,通过提供饮食服务相关的应用程序可以快速的搜索到饮食排行榜中排名较高的门店的信息,进而可以选择到排名高的门店就餐或点选外卖;或者,通过提供理发服务的应用程序可以快速的搜索到理发排行榜中排名较高的理发店的信息,并到相关的理发店进行理发等等。在应用程序需要提供类似饮食、理发等不同分类的业务对象的榜单数据时,通常是由相对应的应用程序将获取到的不同分类的业务对象的榜单数据存储到该应用程序所使用的数据引擎中,在该应用程序需要向外部对象,如向用户或其它应用程序提供该榜单数据时,该应用程序通过接收相应的数据请求消息,之后到其数据引擎存储的引擎数据中去获取相应的榜单数据,并将获取到的榜单数据提供给该外部对象。
如上所述,虽然目前的应用程序可以向外部对象提供不同分类的业务对象的榜单数据,但是,在现实中,同一业务对象往往可以有多个不同的榜单数据,,而当为同一业务对象新增一个榜单数据时,其应用程序所使用的数据引擎,如Hbase数据库在接入该新增的榜单数据时往往需要大量的开发工作,其数据迭代效率慢;并且还存在不能实时接入该新增榜单数据的问题。其直接导致的后果就是该应用程序不能实时、高效的提供该业务对象的实时引擎数据。
发明内容
本申请提供一种针对业务对象的数据处理方法,以解决现有的应用程序不能实时、高效的提供业务对象的实时引擎数据的问题。
本申请提供一种针对业务对象的数据处理方法,包括:获取客户端发出的用于获取业务对象的榜单数据的请求消息;针对所述请求消息,获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;向所述客户端发送所述业务对象的实时引擎数据。
可选的,其特征在于,所述获取与业务对象相关的源数据,包括:从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
可选的,所述根据所述源数据,获取所述业务对象的榜单数据,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
可选的,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:从所述待处理源数据中,获取与所述业务对象对应的业务数据;根据所述业务数据,获取所述业务对象的至少一个榜单类别的数据;根据所述业务对象的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
可选的,所述将所述榜单数据存储到数据存储设备中,包括:获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;将所述待存储记录存储到所述数据存储设备中。
可选的,所述待存储记录中包括记录是否有效标识;所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
可选的,所述获取所述数据存储设备中与所述业务对象相关的数据变更消 息,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
可选的,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
可选的,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;
根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
可选的,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
可选的,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
本申请还提供一种针对业务对象的数据处理装置,包括:请求消息获取单元,用于获取客户端发出的用于获取业务对象的榜单数据的请求消息;源数据获取单元,用于针对所述请求消息,获取与业务对象相关的源数据;榜单数据存储单元,用于根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;数据变更消息获取单元,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;实时引擎数据获取单元,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据; 实时引擎数据发送单元,用于向所述客户端发送所述业务对象的实时引擎数据。
本申请还提供一种针对业务对象的数据处理系统,包括:客户端,服务端;所述客户端用于发出用于获取业务对象的榜单数据的请求消息,以及接收服务端返回的所述业务对象的榜单数据;所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述业务对象的实时引擎数据中,获取所述业务对象的榜单数据并进行排序;并向所述客户端发送排序后的所述业务对象的榜单数据;其中,所述业务对象的实时引擎数据通过以下步骤获取:获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
本申请还提供一种针对门店的数据处理方法,包括:获取客户端发出的用于获取门店的榜单数据的请求消息;针对所述请求消息,获取与门店相关的源数据;根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述门店的实时引擎数据;向所述客户端发送所述门店的实时引擎数据。
本申请还提供一种针对门店的数据处理装置,包括:请求消息获取单元,用于获取客户端发出的用于获取门店的榜单数据的请求消息;门店源数据获取单元,用于针对所述请求消息,获取与门店相关的源数据;门店榜单数据存储单元,用于根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;门店数据变更消息变更单元,用于获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;门店实时引擎数据获得单元,用于根据所述数据变更消息,获得所述门店的实时引擎数据;门店实时引擎数据发送单元,用于向所述客户端发送所述业务对象的实时引擎数据。
本申请还提供一种针对门店的数据处理系统,包括:客户端,服务端;
所述客户端用于发出用于获取门店的榜单数据的请求消息,以及接收服务端返回的所述门店的榜单数据;所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述门店的实时引擎数据中,获取所述门店的榜单数据并进行排序;并向所述客户端发送排序后的所述门店的榜单数据;其中,所述门店的实时引擎数据通过以下步骤获取:获取与门店相关的源数据;根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述门店的实时引擎数据。
本申请还提供一种针对业务对象的数据展示方法,包括:获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;在屏幕上展示所述业务对象的实时引擎数据。
可选的,所述获取与业务对象相关的源数据,包括:从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
可选的,所述根据所述源数据,获取所述业务对象的榜单数据,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
可选的,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:从所述待处理源数据中,获取与所述业务对象对应的业务数据;根据所述业务数据,获取所述业务对象的至少一个榜单类别的数据;根据所述业务对象的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
可选的,所述将所述榜单数据存储到数据存储设备中,包括:获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述业务对象标识、所述 业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;将所述待存储记录存储到所述数据存储设备中。
可选的,所述待存储记录中包括记录是否有效标识;所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
可选的,所述获取所述数据存储设备中与所述业务对象相关的数据变更消息,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
可选的,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
可选的,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
可选的,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
可选的,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
本申请还提供一种针对业务对象的数据展示装置,包括:源数据获取单元, 用于获取与业务对象相关的源数据;榜单数据存储单元,用于根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;数据变更消息获取单元,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;实时引擎数据获取单元,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;实时引擎数据展示单元,用于在屏幕上展示所述业务对象的实时引擎数据。
本申请还提供一种针对门店的数据展示方法,包括:获取与门店相关的源数据;根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述门店的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据;在屏幕上展示所述门店的实时引擎数据。
本申请还提供一种针对门店的数据展示装置,包括:门店源数据获取单元,用于获取与门店相关的源数据;门店榜单数据存储单元,用于根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;门店数据变更消息获取单元,用于获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;门店实时引擎数据获取单元,用于根据所述数据变更消息,获得所述门店的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据;门店实时引擎数据展示单元,用于在屏幕上展示所述门店的实时引擎数据。
与现有技术相比,本申请具有以下优点:
本申请提供的一种针对业务对象的数据处理方法,包括:获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业 务对象的榜单数据。相较于现有技术中在获取实时引擎数据时需要额外进行开发工作的方式,本申请所述方法通过增加数据存储设备来存储所述业务对象的榜单数据,并通过获取所述数据存储设备的数据变更消息,再根据所述数据变更消息同步数据引擎中的引擎数据,可以实时、高效的获取所述业务对象的实时引擎数据。
附图说明
图1是本申请第一实施例提供的针对业务对象的数据处理方法的应用场景示意图。
图2是本申请第一实施例提供的针对业务对象的数据处理方法的流程图。
图3是本申请第二实施例提供的针对门店的数据处理方法的流程图。
图4是本申请第三实施例提供的针对业务对象的数据处理装置的示意图。
图5是本申请第五实施例提供的针对门店的数据处理装置的示意图。
图6是本申请第七实施例提供的针对业务对象的数据展示方法的流程图。
图7是本申请第八实施例提供的针对业务对象的数据展示装置的示意图。
图8是本申请第九实施例提供的针对门店的数据展示方法的流程图。
图9是本申请第十实施例提供的针对门店的数据展示装置的示意图。
具体实施方式
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。
首先,为了使本领域的技术人员更好的理解本申请方案,下面基于本申请提供的一种针对业务对象的数据处理方法,对其实施例的具体应用场景进行详细描述。如图1所示,其为本申请第一实施例提供的针对业务对象的数据处理方法的应用场景示意图。
在具体实施过程中,本申请实施所述针对业务对象的数据处理方法,一般是在用户101使用计算设备102上的、与所述业务对象对应的应用程序搜索所述业务对象的榜单数据时,由所述应用程序向计算设备103发送用于获取所述业务对象的榜单数据的请求消息,计算设备103接收所述应用程序发送的所述请求消息之后,为了能够实时、高效的获取所述业务对象的实时引擎数据,并将所述实时引擎数据中的所述榜单数据提供给所述应用程序,由计算设备103 获取与所述业务对象相关的源数据;之后,根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;之后,获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;再之后,根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。在计算设备103获得所述业务对象的实时引擎数据之后,从所述实时引擎数据中获取所述业务对象的实时榜单数据,并将所述榜单数据发送给所述应用程序;所述应用程序接收所述榜单数据之后,将所述榜单数据在计算设备102携带或连接的显示设备上呈现出来供用户101查看。
其中,需要说明的是,在上述描述中,以用户101触发所述计算设备102中的应用程序发出获取所述业务对象的榜单数据的请求消息进行举例,详细说明了计算设备103将获取到的所述业务对象的实时引擎数据提供给用户101查看的处理流程。在实际处理时,也可以是由其它外部对象,如其它应用程序基于某种业务处理需求,向计算设备103发送获取所述业务对象的榜单数据的请求消息,在计算设备103获取到所述请求消息之后,向所述应用程序提供所述榜单数据。
另外,在本实施例中,计算设备102主要是指用户101使用的移动终端设备,如手机、平板电脑等,当然,也可以是用户101使用的计算机设备;计算设备103主要是指服务端计算设备,如提供实时引擎数据的业务服务器;
所述业务对象(Business Object),主要是指在应用程序中,对现实世界的一系列具有相同业务属性的实体对象的抽象,其通常为由英数字构成的一串字符串。例如,针对现实世界中的实体门店,可在应用程序中将所述实体门店抽象为门店,另外,针对实体门店中的不同业务分类,如提供餐饮服务的门店、提供理发服务的门店,还可在应用程序中将其抽象为一个个细化的业务对象,如餐饮门店、理发门店等。
所述榜单数据,主要是指所述业务对象的至少一个榜单类别的数据。
所述榜单类别,主要是指针对所述业务对象的某一业务属性所划分的排行榜的标识。例如:针对门店的网红属性,可划分出网红榜;针对门店是否适合情侣约会的业务属性,可划分出情侣约会排行榜;针对门店是否适合周末玩乐的业务属性,可划分出周末玩乐榜等等。
所述实时引擎数据,主要是指包含所述业务对象的实时榜单数据的引擎数据。
如图2所述,其为本申请第一实施例提供的一种针对业务对象的数据处理方法的流程图,以下结合图2对该实施例予以详细说明。
步骤S201,获取客户端发出的用于获取业务对象的榜单数据的请求消息。
本实施例所示针对业务对象的数据处理方法,一般是用户在使用客户端上的、与所述业务对象对应的应用程序搜索所述业务对象的榜单数据时,客户端响应用户的触发操作,获取用于标识所述业务对象的业务对象标识,之后,生成包括业务对象标识的用于获取业务对象的榜单数据的请求消息,之后,将该请求消息发送给服务端。
步骤S202,针对所述请求消息,获取与业务对象相关的源数据。
所述获取与业务对象相关的源数据,既可以在应用程序对应的服务端进行,也可以在能够运行应用程序的客户端进行,在本实施例中,以应用程序对应的服务端获取与业务对象相关的源数据进行举例说明,即应用程序对应的服务端计算设备获取与所述业务对象相关的业务数据,例如,可以是与所述业务对象相关的订单数据、评论数据或销量数据等业务数据。
一种优选的方案是所述应用程序对应的服务端计算设备从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;针对所述原始数据进行数据清洗,获取相同数据结构的源数据。即,从包含所述业务对象的应用程序中或数据库中,获取包括多种数据结构的与所述业务对象相关的原始数据,然后使用数据清洗算法对所述原始数据进行清洗,提取其中与所述业务对象相关的数据字段,以获取相同数据结构的源数据。
例如,以所述业务对象为门店进行说明,在不同的应用程序中或同一应用程序中,可能包含与门店相关的多种原始数据,如门店的订单数据、评论数据、销量数据或门店数量等原始数据,计算设备103获取上述包括各种不同数据结构的原始数据后,使用数据清洗算法对上述数据进行清洗,获取相同数据结构的源数据。
请继续参看图2,在步骤S202之后,执行步骤S203,根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象中的至少一个榜单类别的数据。
为了将所述榜单数据实时的同步到所述应用程序所使用的引擎数据中,以 使所述应用程序可以提供实时的引擎数据,在本申请中,先根据与所述业务对象相关的源数据,获取所述业务对象的榜单数据;之后,在获取到所述业务对象的榜单数据之后,先将所述榜单数据存储到一个中间数据存储设备中,之后,再通过数据监听及处理平台,监听所述数据存储设备中与所述业务对象相关的、包含所述榜单数据的数据变更消息,并根据所述数据变更消息,获得所述业务对象的实时引擎数据。以下,针对如何将所述业务对象的数据存储到所述中间数据存储设备中进行详细描述,有关存储之后获得所述业务对象的实施引擎数据的详细处理过程将在后续步骤进行描述。此外,需要说明的是,在本实施例中,所述数据存储设备可以为mysql数据库,在具体实施时,也可根据设计需求,使用其它数据存储设备,如oracle数据库,此处不做特殊限定。
首先根据与所述业务对象相关的源数据,获取所述业务对象的榜单数据。
所述根据所述源数据,获取所述业务对象的榜单数据,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
所述业务对象标识,通常是用来标识所述业务对象的一串由英数字构成的具有唯一性的字符串。例如,业务对象-门店,可以用“门店”来标识。
在从与业务对象相关联源数据中,获取所述业务对象的榜单数据时,为了减少计算量,先所述根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据,即,从所述源数据中,过滤掉与获取所述业务对象的榜单数据不相关的源数据,并将过滤后的源数据作为待处理源数据去进行之后的计算处理。
所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,主要是指通过榜单数据获取模型,即用于获取榜单数据的算法构成的算法模型对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,其中,所述榜单数据获取模型,可以是通过不同的用于获取榜单数据的算法构成的算法模型,对于其中所使用的获取榜单数据的算法可以根据设计需求的不同,设置不同的算法,此处不做特殊限定。
所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:从所述待处理源数据中,获取与所述业务对象对应的业务数据;根据所述业务数据,获取所述业务对象中的至少一个榜单类别的数据;根据所 述业务对象中的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
其中,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
此处,针对同一业务对象,通过不同的榜单数据获取模型,可能获取到不同榜单类别的榜单数据。例如,针对业务对象-门店,与场景相关的榜单可能有网红榜、情侣约会榜、周末玩乐榜、夜宵榜,或是由区域+榜单类别的组合,如XX区火锅榜、XX区烧烤榜等。
在本申请中,以所述业务对象为门店、以获取的榜单数据为网红榜进行举例说明,即获取到的所述门店业务对象的榜单数据的榜单类别为网红榜。使用针对门店的榜单数据获取模型对所述待处理源数据进行数据挖掘处理,对至少一个门店计算出相应的网红值,即受欢迎程度、受喜爱程度,同时,对所述至少一个门店标记一个网红榜的标签,即设置所述至少一个门店的榜单类别。例如,被计算到网红榜中的门店的标识为“XX中餐店”,则为所述门店打一个网红榜标签:onlineCel,同时,存储其对应的网红值,如网红值—score为200。
在获取到所述业务对象的榜单数据之后,将获取到的所述业务对象的榜单数据存储到数据存储设备中。
所述将所述榜单数据存储到数据存储设备中,包括:获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;将所述待存储记录存储到所述数据存储设备中。
此处仍然以所述业务对象为门店,所述数据存储设备为mysql数据库进行举例说明。例如,针对业务对象“XX中餐店”,可通过相应的对应关系,查询获得所述门店的业务对象标识为“201993203920392”,其对应的业务分类标识,即其业务分类为门店—SHOP,同时,在上述描述中,获取到其榜单类别为网红榜,即onlineCel,其对应的榜单类别中的数据,即网红值为200,根据上述内容,即可获得所述“XX中餐店”的榜单数据的待存储记录{“object_id”:“201993203920392”,“object_type”:“SHOP”,“label_val”:“onlineCel”,“score”:200},其中,object_id表示业务对象表示,object_type表示业务分类标识,label_val表示所述业务对象对应的榜单类别标识,score表示所述业务对 象在所述榜单类别标识对应的榜单类别中的分值。
其中,所述待存储记录中包括记录是否有效标识;所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。所述是否有效标识一般在上述数据清洗处理时直接进行赋值,其内容可以为0或1,或是或否等;此处,以其内容为0或1为例说明,即当其值为0时,表示所述榜单数据有效,可被获取到实时引擎数据中,当其值为1时,表示所述榜单数据无效,不会被获取到实时引擎数据中。例如,{“object_id”:“201993203920392”,“object_type”:“SHOP”,“label_val”:“onlineCel”,“score”:200,“delete_tag”,0}。
当然,所述待存储记录中还可以包含其它字段,如用于表示业务渠道的字段或其它预留字段等,此处不再一一举例说明。
步骤S204,获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
所述获取所述数据存储设备中与所述业务对象相关的数据变更消息,包括:
获取所述业务对象的业务对象标识;根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
具体来讲,首先在数据监听及处理平台,即一种用于监听所述数据存储设备的数据变更以及进行其它后续数据处理的平台上,通过所述业务对象的业务对象标识,可在所述平台上设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;同时,根据所述订阅任务,可从所述数据存储设备中获取与所述业务对象相关的、包含所述榜单数据的数据变更消息。
步骤S205,根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
当在所述数据监听及处理平台上,通过设置的订阅任务,获取到所述业务对象的数据变更消息之后,即可根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
其中,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是 否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
例如,在获取到包含上述榜单数据{“object_id”:“201993203920392”,“object_type”:“SHOP”,“label_val”:“onlineCel”,“score”:200,“delete_tag”,0}的数据变更消息之后,首先获取所述记录是否有效标识,即delete_tag的数值;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述榜单数据,获取榜单类别标识为onlineCel,榜单类别标识对应的数据为200,并根据所述榜单类别标识,所述榜单类别标识对应的数据,获取所述门店对应的单体引擎数据记录{“shop_id”:“201993203920392”,“top_tags”:“onlineCel”,“score”:200},并根据所述单体引擎数据记录更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
即在所述数据监听及处理平台获得所述业务对象的实时单体引擎数据之后,通过发送实时消息到所述服务端计算设备的数据引擎单元,并由所述数据引擎单元从所述实时消息中获取所述业务对象的实时单体引擎数据,并根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
所述数据引擎,用于存储所述业务对象的引擎数据,以及向所述应用程序提供所述业务对象的引擎数据。
另外,需要说明的是,在本申请中,以所述业务对象为门店,以门店的榜单数据的榜单类别为网红榜为例详细描述了本申请所述针对业务对象的数据处理方法,在具体实施时,所述方法当然也可以应用于其它业务对象,或其它榜单类别的榜单数据中,如业务对象为商品、菜品,榜单类别为畅销榜、美味榜等榜单数据,此处不再一一举例说明。
在步骤S205之后,执行步骤S206,向所述客户端发送所述业务对象的实时引擎数据。
在服务端获取业务对象的实时引擎数据之后,即可将所述实时引擎数据提供给客户端,客户端获取该实时引擎数据之后,即可在屏幕上展示所述业务对象的实时引擎数据。
通过上述描述可知,在本申请中,通过对与所述业务对象相关的源数据进行数据挖掘处理,可以自动获得所述业务对象的不同榜单类别的榜单数据,并将获取到的所述榜单数据存储到中间数据存储设备中,再通过所述数据监听及处理平台监听所述数据存储设备的数据变更消息,并根据所述数据变更消息,来自动触发更新引擎数据中的用于存储榜单数据的字段,进而获得所述业务对象的实时引擎数据,可以使应用程序实时、高效的提供业务对象的实时引擎数据。
与上述针对业务对象的数据处理方法相对应,本申请还提供一种针对门店的数据处理方法,请参看图3,其为本申请第二实施例提供的一种针对门店的数据处理方法的流程图,由于其详细处理在上述实施例中已经详细描述,所以此处描述的比较简单,相关之处参见上述实施例中提供的部分说明即可。
如图3所述,其为本申请第二实施例提供的一种针对门店的数据处理方法的流程图,以下结合图3对该实施例予以详细说明。
步骤S301,获取客户端发出的用于获取门店的榜单数据的请求消息。
步骤S302,针对所述请求消息,获取与门店相关的源数据。
步骤S303,根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据。
步骤S304,获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
步骤S305,根据所述数据变更消息,获得所述门店的实时引擎数据。
步骤S306,向所述客户端发送所述门店的实时引擎数据。
在服务端获取门店的实时引擎数据之后,即可将所述实时引擎数据提供给客户端,客户端获取该实时引擎数据之后,即可在屏幕上展示所述门店的实时引擎数据。
本申请所述针对门店的数据处理方法,通过对与所述门店相关的源数据进行数据挖掘处理,可以自动获得所述门店的不同榜单类别的榜单数据,并将获取到的所述榜单数据存储到中间数据存储设备,如mysql数据库中,再通过所述数据监听及处理平台监听所述数据存储设备的数据变更消息,并根据所述数据变更消息,来自动触发更新引擎数据中的用于存储榜单数据的字段,进而获得所述门店的实时引擎数据,可以使应用程序实时、高效的提供所述门店的实时引擎数据。
与上述针对业务对象的数据处理方法相对应,本申请还提供一种针对业务对象的数据处理装置,请参看图4,其为本申请第三实施例提供的针对业务对象的数据处理装置的示意图,由于装置实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的装置实施例仅仅是示意性的。本申请提供的一种针对业务对象的数据处理装置,包括如下部分。
请求消息获取单元401,用于获取客户端发出的用于获取业务对象的榜单数据的请求消息。
源数据获取单元402,用于获取与业务对象相关的源数据。
榜单数据存储单元403,用于根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据。
数据变更消息获取单元404,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
实时引擎数据获取单元405,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
实时引擎数据发送单元406,用于向所述客户端发送所述业务对象的实时引擎数据。
可选的,所述源数据获取单元,包括:原始数据获取子单元,用于从不同 的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;源数据获取子单元,用于针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
可选的,所述榜单数据存储单元,包括:业务对象标识获取子单元,用于获取所述业务对象的业务对象标识;待处理源数据获取子单元,用于根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;榜单数据获取子单元,用于针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
可选的,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:从所述待处理源数据中,获取与所述业务对象对应的业务数据;根据所述业务数据,获取所述业务对象中的至少一个榜单类别的数据;根据所述业务对象中的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
可选的,所述榜单数据存储单元,还包括:业务对象标识获取子单元,用于获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;榜单类别标识获取子单元,用于从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;待存储记录获得子单元,用于根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;存储子单元,用于将所述待存储记录存储到所述数据存储设备中。
可选的,所述待存储记录中包括记录是否有效标识;所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
可选的,所述数据变更消息获取单元,包括:标识获取子单元,用于获取所述业务对象的业务对象标识;订阅任务获取子单元,用于根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;数据变更消息获取子单元,用于根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
可选的,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
可选的,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
可选的,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
可选的,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
与上述针对业务对象的数据处理方法相对应,本申请第四实施例还提供一种针对业务对象的数据处理系统,由于系统实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的系统实施例仅仅是示意性的。本申请提供的一种针对业务对象的数据处理系统,包括:
客户端,服务端;
所述客户端用于发出用于获取业务对象的榜单数据的请求消息,以及接收服务端返回的所述业务对象的榜单数据;
所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述业务对象的实时引擎数据中,获取所述业务对象的榜单数据并进行排序;并向所述客户端发送排序后的所述业务对象的榜单数据;
其中,所述业务对象的实时引擎数据通过以下步骤获取:
获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个实体信息在至少一个榜单类别中的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
与上述针对门店的数据处理方法相对应,本申请还提供一种针对门店的数据处理装置,请参看图5,其为本申请第五实施例提供的针对门店的数据处理装置的示意图,由于装置实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的装置实施例仅仅是示意性的。本申请提供的一种针对门店的数据处理装置,包括如下部分。
请求消息获取单元501,用于获取客户端发出的用于获取门店的榜单数据的请求消息。
门店源数据获取单元502,用于针对所述请求消息,获取与门店相关的源数据;
门店榜单数据存储单元503,用于根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;
门店数据变更消息变更单元504,用于获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
门店实时引擎数据获得单元505,用于根据所述数据变更消息,获得所述门店的实时引擎数据。
门店实时引擎数据发送单元506,用于向所述客户端发送所述业务对象的实时引擎数据。
可选的,所述门店源数据获取单元,包括:门店原始数据获取子单元,用于从不同的数据源中,获取包括多种数据结构的与所述门店相关的原始数据;门店源数据获取子单元,用于针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
可选的,所述榜单数据存储单元,包括:门店标识获取子单元,用于获取所述门店的门店标识;待处理源数据获取子单元,用于根据所述门店标识,从所述源数据中,获取与所述门店相关联的待处理源数据;榜单数据获取子单元, 用于针对所述待处理源数据进行数据挖掘处理,获取所述门店的榜单数据。
可选的,所述针对所述待处理源数据进行数据挖掘处理,获取所述门店的榜单数据,包括:从所述待处理源数据中,获取与所述门店对应的业务数据;根据所述业务数据,获取所述门店中的至少一个榜单类别的数据;根据所述门店的至少一个榜单类别的数据,获取所述门店的榜单数据。
可选的,所述榜单数据存储单元,还包括:门店标识获取子单元,用于获取所述门店的门店标识和所述门店的业务分类标识,所述业务分类标识用于表示所述门店所属的业务类别;门店榜单类别标识获取子单元,用于从所述榜单数据中,获取所述门店的榜单类别标识和所述榜单类别标识对应的数据;待存储记录获得子单元,用于根据所述门店标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;存储子单元,用于将所述待存储记录存储到所述数据存储设备中。
可选的,所述待存储记录中包括记录是否有效标识;所述根据所述门店标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述门店标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
可选的,所述门店数据变更消息获取单元,包括:门店标识获取子单元,用于获取所述门店的门店标识;门店订阅任务获取子单元,用于根据所述门店标识,设置监听所述数据存储设备中与所述门店相关的数据变更的订阅任务;门店数据变更消息获取子单元,用于根据所述订阅任务,获取所述数据存储设备中与所述门店相关的数据变更消息。
可选的,所述根据所述数据变更消息,获得所述门店的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述门店对应的单体引擎数据中的内容,获得所述门店的实时单体引擎数据,其中,所述单体引擎数据为所述门店的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述门店的实时单体引擎数据,获得所述门店的实时引擎数据。
可选的,所述根据所述数据变更消息,更新所述门店对应的单体引擎数据中的内容,获得所述门店的实时单体引擎数据,包括:从所述数据变更消息中, 获取所述门店的榜单类别标识和所述榜单类别标识对应的数据;根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述门店对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述门店对应的单体引擎数据中的内容,获得所述门店的实时单体引擎数据。
可选的,所述根据所述门店的实时单体引擎数据,获得所述门店的实时引擎数据,包括:根据所述门店的实时单体引擎数据,更新数据引擎中所述门店的引擎数据,获得所述门店的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
可选的,所述业务数据信息,包括以下至少一项:所述门店销售业务的销量数据信息、针对所述门店的评论信息、所述门店的人气信息。
与上述针对门店的数据处理方法相对应,本申请第六实施例还提供一种针对门店的数据处理系统,由于系统实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的系统实施例仅仅是示意性的。本申请提供的一种针对门店的数据处理系统,包括:
客户端,服务端;
所述客户端用于发出获取门店的榜单数据的请求消息,以及接收服务端返回的所述门店的榜单数据;
所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述门店的实时引擎数据中,获取所述门店的榜单数据并进行排序;并向所述客户端发送排序后的所述门店的榜单数据;
其中,所述门店的实时引擎数据通过以下步骤获取:
获取与门店相关的源数据;根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店对应的至少一个实体门店信息在至少一个榜单类别中的数据;获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述门店的实时引擎数据。
与上述针对业务对象的数据处理方法相对应,本申请还提供一种针对业务对象的数据展示方法,请参看图6,其为本申请第七实施例提供的一种针对业务对象的数据展示方法的流程图,由于其详细处理在上述实施例中已经详细描述,所以此处描述的比较简单,相关之处参见上述实施例中提供的部分说明即可。
步骤S601,获取与业务对象相关的源数据。
步骤S602,根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据。
步骤S603,获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
步骤S604,根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
步骤S605,在屏幕上展示所述业务对象的实时引擎数据。
可选的,所述获取与业务对象相关的源数据,包括:从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
可选的,所述根据所述源数据,获取所述业务对象的榜单数据,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
可选的,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:从所述待处理源数据中,获取与所述业务对象对应的业务数据;根据所述业务数据,获取所述业务对象的至少一个榜单类别的数据;根据所述业务对象的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
可选的,所述将所述榜单数据存储到数据存储设备中,包括:获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;将所述待存储记录存储到所述数据存储设备中。
可选的,所述待存储记录中包括记录是否有效标识;所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
可选的,所述获取所述数据存储设备中与所述业务对象相关的数据变更消息,包括:获取所述业务对象的业务对象标识;根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
可选的,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:从所述数据变更消息中,获取所述记录是否有效标识;如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
可选的,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
可选的,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
可选的,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
与上述针对业务对象的数据展示方法相对应,本申请还提供一种针对业务对象的数据展示装置,请参看图7,其为本申请第八实施例提供的针对业务对象的数据展示装置的示意图,由于装置实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的装置实施例仅仅是示意性的。本申请提供的一种针对业务对象的数据展示装置,包括如下部分。
源数据获取单元701,用于获取与业务对象相关的源数据;
榜单数据存储单元702,用于根据所述源数据,获取所述业务对象的榜单数 据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;
数据变更消息获取单元703,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
实时引擎数据获取单元704,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;
实时引擎数据展示单元705,用于在屏幕上展示所述业务对象的实时引擎数据。
与上述针对门店的数据处理方法相对应,本申请还提供一种针对门店的数据展示方法,请参看图8,其为本申请第九实施例提供的一种针对门店的数据展示方法的流程图,由于其详细处理在上述实施例中已经详细描述,所以此处描述的比较简单,相关之处参见上述实施例中提供的部分说明即可。
步骤S801,获取与门店相关的源数据。
步骤S802,根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据。
步骤S803,获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
步骤S804,根据所述数据变更消息,获得所述门店的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据。
步骤S805,在屏幕上展示所述门店的实时引擎数据。
与上述针对门店的数据展示方法相对应,本申请还提供一种针对门店的数据展示装置,请参看图9,其为本申请第十实施例提供的针对门店的数据展示装置的示意图,由于装置实施例基本相似于方法实施例,所以描述的比较简单,相关之处参见上述实施例中提供的部分说明即可,下述描述的装置实施例仅仅是示意性的。本申请提供的一种针对门店的数据展示装置,包括如下部分。
门店源数据获取单元901,用于获取与门店相关的源数据。
门店榜单数据存储单元902,用于根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据。
门店数据变更消息获取单元903,用于获取所述数据存储设备中与所述门店 相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据。
门店实时引擎数据获取单元904,用于根据所述数据变更消息,获得所述门店的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据。
门店实时引擎数据展示单元905,用于在屏幕上展示所述门店的实时引擎数据。
本申请虽然以较佳实施例公开如上,但其并不是用来限定本申请,任何本领域技术人员在不脱离本申请的精神和范围内,都可以做出可能的变动和修改,因此本申请的保护范围应当以本申请权利要求所界定的范围为准。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。

Claims (30)

  1. 一种针对业务对象的数据处理方法,其特征在于,包括:
    获取客户端发出的用于获取业务对象的榜单数据的请求消息;
    针对所述请求消息,获取与业务对象相关的源数据;
    根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;
    获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;
    向所述客户端发送所述业务对象的实时引擎数据。
  2. 根据权利要求1所述的针对业务对象的数据处理方法,其特征在于,所述获取与业务对象相关的源数据,包括:
    从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始数据;
    针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
  3. 根据权利要求1所述的针对业务对象的数据处理方法,其特征在于,所述根据所述源数据,获取所述业务对象的榜单数据,包括:
    获取所述业务对象的业务对象标识;
    根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;
    针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
  4. 根据权利要求3所述的针对业务对象的数据处理方法,其特征在于,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:
    从所述待处理源数据中,获取与所述业务对象对应的业务数据;
    根据所述业务数据,获取所述业务对象的至少一个榜单类别的数据;
    根据所述业务对象的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
  5. 根据权利要求1所述的针对业务对象的数据处理方法,其特征在于,所 述将所述榜单数据存储到数据存储设备中,包括:
    获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;
    从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;
    根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;
    将所述待存储记录存储到所述数据存储设备中。
  6. 根据权利要求5所述的针对业务对象的数据处理方法,其特征在于,所述待存储记录中包括记录是否有效标识;
    所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:
    根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
  7. 根据权利要求1所述的针对业务对象的数据处理方法,其特征在于,所述获取所述数据存储设备中与所述业务对象相关的数据变更消息,包括:
    获取所述业务对象的业务对象标识;
    根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;
    根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
  8. 根据权利要求6所述的针对业务对象的数据处理方法,其特征在于,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:
    从所述数据变更消息中,获取所述记录是否有效标识;
    如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;
    根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数 据。
  9. 根据权利要求8所述的针对业务对象的数据处理方法,其特征在于,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:
    从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;
    根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;
    根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
  10. 根据权利要求8所述的针对业务对象的数据处理方法,其特征在于,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:
    根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储所述业务对象的引擎数据。
  11. 根据权利要求4所述的针对业务对象的数据处理方法,其特征在于,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
  12. 一种针对业务对象的数据处理装置,其特征在于,包括:
    请求消息获取单元,用于获取客户端发出的用于获取业务对象的榜单数据的请求消息;
    源数据获取单元,用于针对所述请求消息,获取与业务对象相关的源数据;
    榜单数据存储单元,用于根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;
    数据变更消息获取单元,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    实时引擎数据获取单元,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;
    实时引擎数据发送单元,用于向所述客户端发送所述业务对象的实时引擎 数据。
  13. 一种针对业务对象的数据处理系统,其特征在于,包括:客户端,服务端;
    所述客户端用于发出用于获取业务对象的榜单数据的请求消息,以及接收服务端返回的所述业务对象的榜单数据;
    所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述业务对象的实时引擎数据中,获取所述业务对象的榜单数据并进行排序;并向所述客户端发送排序后的所述业务对象的榜单数据;
    其中,所述业务对象的实时引擎数据通过以下步骤获取:
    获取与业务对象相关的源数据;根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据。
  14. 一种针对门店的数据处理方法,其特征在于,包括:
    获取客户端发出的用于获取门店的榜单数据的请求消息;针对所述请求消息,获取与门店相关的源数据;
    根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;
    获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    根据所述数据变更消息,获得所述门店的实时引擎数据;
    向所述客户端发送所述门店的实时引擎数据。
  15. 一种针对门店的数据处理装置,其特征在于,包括:
    请求消息获取单元,用于获取客户端发出的用于获取门店的榜单数据的请求消息;
    门店源数据获取单元,用于针对所述请求消息,获取与门店相关的源数据;
    门店榜单数据存储单元,用于根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;
    门店数据变更消息变更单元,用于获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    门店实时引擎数据获得单元,用于根据所述数据变更消息,获得所述门店的实时引擎数据;
    门店实时引擎数据发送单元,用于向所述客户端发送所述业务对象的实时引擎数据。
  16. 一种针对门店的数据处理系统,其特征在于,包括:客户端,服务端;
    所述客户端用于发出用于获取门店的榜单数据的请求消息,以及接收服务端返回的所述门店的榜单数据;
    所述服务端用于接收客户端发送的所述请求消息;以及根据所述请求消息,从所述门店的实时引擎数据中,获取所述门店的榜单数据并进行排序;并向所述客户端发送排序后的所述门店的榜单数据;
    其中,所述门店的实时引擎数据通过以下步骤获取:
    获取与门店相关的源数据;根据所述源数据,获取门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;根据所述数据变更消息,获得所述门店的实时引擎数据。
  17. 一种针对业务对象的数据展示方法,其特征在于,包括:
    获取与业务对象相关的源数据;
    根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;
    获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;
    在屏幕上展示所述业务对象的实时引擎数据。
  18. 根据权利要求17所述的针对业务对象的数据展示方法,其特征在于,所述获取与业务对象相关的源数据,包括:
    从不同的数据源中,获取包括多种数据结构的与所述业务对象相关的原始 数据;
    针对所述原始数据进行数据清洗,获取相同数据结构的源数据。
  19. 根据权利要求17所述的针对业务对象的数据展示方法,其特征在于,所述根据所述源数据,获取所述业务对象的榜单数据,包括:
    获取所述业务对象的业务对象标识;
    根据所述业务对象标识,从所述源数据中,获取与所述业务对象相关联的待处理源数据;
    针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据。
  20. 根据权利要求19所述的针对业务对象的数据展示方法,其特征在于,所述针对所述待处理源数据进行数据挖掘处理,获取所述业务对象的榜单数据,包括:
    从所述待处理源数据中,获取与所述业务对象对应的业务数据;
    根据所述业务数据,获取所述业务对象的至少一个榜单类别的数据;
    根据所述业务对象的至少一个榜单类别的数据,获取所述业务对象的榜单数据。
  21. 根据权利要求17所述的针对业务对象的数据展示方法,其特征在于,所述将所述榜单数据存储到数据存储设备中,包括:
    获取所述业务对象的业务对象标识和所述业务对象的业务分类标识,所述业务分类标识用于表示所述业务对象所属的业务类别;
    从所述榜单数据中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;
    根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录;
    将所述待存储记录存储到所述数据存储设备中。
  22. 根据权利要求21所述的针对业针对业务对象的数据展示方法,其特征在于,所述待存储记录中包括记录是否有效标识;
    所述根据所述业务对象标识、所述业务分类标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录,还包括:
    根据所述业务对象标识、所述业务分类标识、所述记录是否有效标识、所述榜单类别标识和所述榜单类别标识对应的数据,获得所述榜单数据对应的待存储记录。
  23. 根据权利要求17所述的针对业务对象的数据处理方法,其特征在于,所述获取所述数据存储设备中与所述业务对象相关的数据变更消息,包括:
    获取所述业务对象的业务对象标识;
    根据所述业务对象标识,设置监听所述数据存储设备中与所述业务对象相关的数据变更的订阅任务;
    根据所述订阅任务,获取所述数据存储设备中与所述业务对象相关的数据变更消息。
  24. 根据权利要求22所述的针对业务对象的数据处理方法,其特征在于,所述根据所述数据变更消息,获得所述业务对象的实时引擎数据,包括:
    从所述数据变更消息中,获取所述记录是否有效标识;
    如果所述记录是否有效标识表示所述数据变更消息中的榜单数据有效,则根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,其中,所述单体引擎数据为所述业务对象的引擎数据,所述实时单体引擎数据为与所述单体引擎数据对应的实时引擎数据;
    根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据。
  25. 根据权利要求24所述的针对业务对象的数据处理方法,其特征在于,所述根据所述数据变更消息,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据,包括:
    从所述数据变更消息中,获取所述业务对象的榜单类别标识和所述榜单类别标识对应的数据;
    根据所述榜单类别标识和所述榜单类别标识对应的数据,获取所述业务对象对应的单体引擎数据记录;
    根据所述单体引擎数据记录,更新所述业务对象对应的单体引擎数据中的内容,获得所述业务对象的实时单体引擎数据。
  26. 根据权利要求24所述的针对业务对象的数据处理方法,其特征在于,所述根据所述业务对象的实时单体引擎数据,获得所述业务对象的实时引擎数据,包括:
    根据所述业务对象的实时单体引擎数据,更新数据引擎中所述业务对象的引擎数据,获得所述业务对象的实时引擎数据,其中,所述数据引擎用于存储 所述业务对象的引擎数据。
  27. 根据权利要求20所述的针对业务对象的数据处理方法,其特征在于,所述业务数据信息,包括以下至少一项:所述业务对象销售业务的销量数据信息、针对所述业务对象的评论信息、所述业务对象的人气信息。
  28. 一种针对业务对象的数据展示装置,其特征在于,包括:
    源数据获取单元,用于获取与业务对象相关的源数据;
    榜单数据存储单元,用于根据所述源数据,获取所述业务对象的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述业务对象的至少一个榜单类别的数据;
    数据变更消息获取单元,用于获取所述数据存储设备中与所述业务对象相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    实时引擎数据获取单元,用于根据所述数据变更消息,获得所述业务对象的实时引擎数据,其中,所述实时引擎数据包括所述业务对象的榜单数据;
    实时引擎数据展示单元,用于在屏幕上展示所述业务对象的实时引擎数据。
  29. 一种针对门店的数据展示方法,其特征在于,包括:
    获取与门店相关的源数据;
    根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;
    获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    根据所述数据变更消息,获得所述门店的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据;
    在屏幕上展示所述门店的实时引擎数据。
  30. 一种针对门店的数据展示装置,其特征在于,包括:
    门店源数据获取单元,用于获取与门店相关的源数据;
    门店榜单数据存储单元,用于根据所述源数据,获取所述门店的榜单数据,并将所述榜单数据存储到数据存储设备中,其中,所述榜单数据包括所述门店的至少一个榜单类别的数据;
    门店数据变更消息获取单元,用于获取所述数据存储设备中与所述门店相关的数据变更消息,其中,所述数据变更消息中包括所述榜单数据;
    门店实时引擎数据获取单元,用于根据所述数据变更消息,获得所述门店 的实时引擎数据,其中,所述实时引擎数据包括所述门店的榜单数据;
    门店实时引擎数据展示单元,用于在屏幕上展示所述门店的实时引擎数据。
PCT/CN2019/130454 2019-09-30 2019-12-31 一种针对业务对象的数据处理方法及装置 WO2021062959A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910942056.1 2019-09-30
CN201910942056.1A CN110852778B (zh) 2019-09-30 2019-09-30 一种针对业务对象的数据处理方法及装置

Publications (1)

Publication Number Publication Date
WO2021062959A1 true WO2021062959A1 (zh) 2021-04-08

Family

ID=69596147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/130454 WO2021062959A1 (zh) 2019-09-30 2019-12-31 一种针对业务对象的数据处理方法及装置

Country Status (2)

Country Link
CN (1) CN110852778B (zh)
WO (1) WO2021062959A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742581A (zh) * 2021-08-23 2021-12-03 北京百度网讯科技有限公司 榜单的生成方法、装置、电子设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017263A1 (en) * 2006-05-15 2010-01-21 E-Glue Software Technologies Ltd. Call center analytical system having real time capabilities
CN106202225A (zh) * 2016-06-29 2016-12-07 泰康保险集团股份有限公司 排名方法和装置
CN106302829A (zh) * 2016-10-26 2017-01-04 腾讯音乐娱乐(深圳)有限公司 一种信息访问方法、装置及服务器
CN106980643A (zh) * 2017-02-14 2017-07-25 阿里巴巴集团控股有限公司 变更消息的发送方法、装置及电子设备
CN107376356A (zh) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 为在线应用实现榜单服务、在线应用榜单实现方法和装置
US10417593B1 (en) * 2014-12-31 2019-09-17 VCE IP Holding Company LLC System and method for comparing computing resource offerings

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100837295B1 (ko) * 2000-11-29 2008-06-12 강민수 전자지도 기반 게임랭킹정보 제공방법 및 게임랭킹정보 제공시스템
CN100594498C (zh) * 2008-09-02 2010-03-17 北京开拓天际信息技术有限公司 海量数据实时处理架构及用于该架构的实时随需处理平台
US20100185489A1 (en) * 2009-01-21 2010-07-22 Satyavolu Ramakrishna V Method for determining a personalized true cost of service offerings
CN102880619B (zh) * 2011-07-15 2016-06-08 深圳市金蝶友商电子商务服务有限公司 异构系统之间的数据同步方法、数据交换引擎
US20150248685A1 (en) * 2013-03-14 2015-09-03 Bookigee, Inc. Automated identification of sales opportunities based on stored market data
CN105323594B (zh) * 2015-10-26 2019-05-07 广州华多网络科技有限公司 在线直播榜单生成方法及装置
CN106682799A (zh) * 2015-11-07 2017-05-17 上海海典软件股份有限公司 一种通过手机App实现药房门店排名的方法
CN105808736B (zh) * 2016-03-10 2019-09-03 微梦创科网络科技(中国)有限公司 一种榜单数据更新方法、装置及系统
CN107633416B (zh) * 2016-07-18 2021-07-09 阿里巴巴集团控股有限公司 一种业务对象的推荐方法、装置和系统
CN107783975B (zh) * 2016-08-24 2021-02-26 北京京东尚科信息技术有限公司 分布式数据库同步处理的方法和装置
CN106339493B (zh) * 2016-08-31 2018-09-07 腾讯科技(深圳)有限公司 一种数据处理方法及相关装置
CN106326469A (zh) * 2016-08-31 2017-01-11 无锡雅座在线科技发展有限公司 数据的同步方法和装置
CN108121737B (zh) * 2016-11-29 2022-04-26 阿里巴巴集团控股有限公司 一种业务对象属性标识的生成方法、装置和系统
CN108985817B (zh) * 2016-12-02 2021-03-23 口碑(上海)信息技术有限公司 关联业务处理方法及装置、店铺推荐方法及装置
CN107180116A (zh) * 2017-06-28 2017-09-19 努比亚技术有限公司 一种数据同步处理方法、移动终端以及计算机可读存储介质
CN108710675A (zh) * 2018-05-17 2018-10-26 平安科技(深圳)有限公司 一种消息推送方法及装置、电子设备、存储介质
CN108932674B (zh) * 2018-06-19 2020-01-17 福建细活信息科技有限公司 一种餐饮数据的处理方法及终端
CN109493109B (zh) * 2018-09-27 2023-08-18 广州光晨信息科技有限公司 基于小程序的营销管理方法、装置及存储介质
CN109739929B (zh) * 2018-12-18 2021-03-16 中国人民财产保险股份有限公司 数据同步方法、装置及系统
CN109784715A (zh) * 2019-01-11 2019-05-21 北京志广富庶农产品有限公司 门店管理系统
CN110163647B (zh) * 2019-03-14 2023-06-27 腾讯科技(深圳)有限公司 一种数据处理方法及装置
CN110209720A (zh) * 2019-05-23 2019-09-06 上海易点时空网络有限公司 榜单数据的管理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017263A1 (en) * 2006-05-15 2010-01-21 E-Glue Software Technologies Ltd. Call center analytical system having real time capabilities
US10417593B1 (en) * 2014-12-31 2019-09-17 VCE IP Holding Company LLC System and method for comparing computing resource offerings
CN106202225A (zh) * 2016-06-29 2016-12-07 泰康保险集团股份有限公司 排名方法和装置
CN106302829A (zh) * 2016-10-26 2017-01-04 腾讯音乐娱乐(深圳)有限公司 一种信息访问方法、装置及服务器
CN106980643A (zh) * 2017-02-14 2017-07-25 阿里巴巴集团控股有限公司 变更消息的发送方法、装置及电子设备
CN107376356A (zh) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 为在线应用实现榜单服务、在线应用榜单实现方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742581A (zh) * 2021-08-23 2021-12-03 北京百度网讯科技有限公司 榜单的生成方法、装置、电子设备及可读存储介质
CN113742581B (zh) * 2021-08-23 2023-09-12 北京百度网讯科技有限公司 榜单的生成方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
CN110852778B (zh) 2021-03-26
CN110852778A (zh) 2020-02-28

Similar Documents

Publication Publication Date Title
US10726063B2 (en) Topic profile query creation
US10360623B2 (en) Visually generated consumer product presentation
WO2019056661A1 (zh) 一种搜索词推送方法、装置及终端
TWI752303B (zh) 營銷資訊投放平台建立方法及裝置
WO2016004815A1 (zh) 商品对象信息提供方法及装置
WO2018223672A1 (zh) 数据处理方法及装置
TWI790990B (zh) 業務處理方法、資料處理方法及裝置
US11966963B2 (en) Systems and methods for recommendation generation
CN114663186A (zh) 一种应用于私域和电商平台的商品推荐方法、系统和存储介质
US20170116314A1 (en) Integrating real-time news with historic events
TWI398821B (zh) A provider, a provider, a provider, and a computer-readable recording medium that memorizes its program
WO2021062959A1 (zh) 一种针对业务对象的数据处理方法及装置
JP2020107269A (ja) 情報処理装置、情報処理方法および情報処理プログラム
CN116739836A (zh) 一种基于知识图谱的餐饮数据分析方法及系统
WO2020098163A1 (zh) 产品数据推送方法及装置、计算机非易失性可读存储介质
JP6356774B2 (ja) 選択装置、選択方法および選択プログラム
US20150200903A1 (en) Automatic email address input process
CN110928895B (zh) 一种数据查询、数据表建立方法、装置及设备
JP6527257B1 (ja) 提供装置、提供方法および提供プログラム
JP6731069B2 (ja) 検索推薦情報を提供するための方法及び装置
JP2016081156A (ja) 顔写真表示装置
JP7179630B2 (ja) 決定装置、決定方法及び決定プログラム
CN111966891B (zh) 一种信息处理方法、装置以及电子设备
CN111698143B (zh) 信息处理方法、信息显示方法及装置
KR102041399B1 (ko) 화장품 가격 비교 장치 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19947544

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19947544

Country of ref document: EP

Kind code of ref document: A1