WO2023050680A1 - Data processing method and apparatus - Google Patents

Data processing method and apparatus Download PDF

Info

Publication number
WO2023050680A1
WO2023050680A1 PCT/CN2022/075899 CN2022075899W WO2023050680A1 WO 2023050680 A1 WO2023050680 A1 WO 2023050680A1 CN 2022075899 W CN2022075899 W CN 2022075899W WO 2023050680 A1 WO2023050680 A1 WO 2023050680A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
incremental
virtual space
target
displayed
Prior art date
Application number
PCT/CN2022/075899
Other languages
French (fr)
Chinese (zh)
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
Priority claimed from CN202111166455.7A external-priority patent/CN113923500B/en
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2023050680A1 publication Critical patent/WO2023050680A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • G06Q30/0637Approvals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker

Definitions

  • the present disclosure relates to the field of live broadcast technology, and in particular to a data processing method, device, server and storage medium.
  • the disclosure provides a data processing method, device, server and storage medium.
  • a data processing method including:
  • the incremental interaction data When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
  • the target terminal Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
  • the data processing method further includes:
  • generating the data to be displayed of the at least one object according to the incremental interactive data includes:
  • the target virtual space includes a target object that is interacting
  • the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold
  • generating the to-be-displayed information of the at least one object data also including:
  • the target virtual space does not include a target object that is interacting
  • the maximum incremental data in the interactive incremental data of the at least one object is greater than or equal to the corresponding incremental threshold, based on the maximum incremental Quantitative data determines the data to be displayed.
  • the data processing method further includes:
  • the incremental interaction data of the first object is not updated, and the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, based on the second object
  • the incremental data of interaction determines the data to be displayed.
  • the data processing method further includes:
  • the start time of the second preset time period is the same as the start time of the first preset time period, and the duration is longer than the first preset time period a time period of the duration of a predetermined time period;
  • the data processing method further includes:
  • the real-time acquisition of incremental interaction data of at least one object in the target virtual space includes:
  • generating the to-be-displayed information of the at least one object data including:
  • a data processing device including:
  • a data acquisition unit configured to acquire interactive incremental data of at least one object in the target virtual space in real time
  • the data identification unit is configured to generate the data to be displayed of the at least one object according to the interactive incremental data in response to the interactive incremental data being greater than or equal to the incremental threshold of the target virtual space; the incremental The volume threshold is determined according to the number of current target accounts entering the target virtual space;
  • a data sending unit configured to send the data to be displayed to a target terminal, so that the data to be displayed can be dynamically displayed in the interface of the target virtual space running on the target terminal; the target terminal is the The terminal corresponding to the target account in the target virtual space.
  • the data processing device further includes:
  • a judging unit configured to judge whether the target virtual space includes a target object being interacted with
  • the data identification unit is further configured to, in the case that the target virtual space includes a target object that is interacting, and the interaction increment data of the target object is greater than or equal to a corresponding increment threshold, based on the Data to be displayed is determined for each incremental update of the target object until the first end condition is met.
  • the data identification unit is further configured to exclude target objects that are interacting in the target virtual space, and the maximum increment in the interaction increment data of the at least one object When the data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the maximum incremental data.
  • the data identification unit is further configured to, if the incremental data of interaction of the first object corresponding to the maximum incremental data is updated within the first preset time period, based on the Each incremental update data of the first object within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated and exists When the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the incremental interaction data of the second object.
  • the data identification unit is further configured such that within a first preset time period, the interaction increment data of the first object is not updated, and there is no interaction increment of the second object
  • the data is greater than or equal to the corresponding incremental threshold, it is determined whether the incremental interaction data of the first object is updated within a second preset time period; the second preset time period is the start time and the The start time of the first preset time period is the same, and the duration is longer than the time period of the first preset time period; within the second preset time period, the interaction incremental data of the first object is updated
  • the data to be displayed is determined based on each incremental data update of the first object within the second preset time period until a second end condition is reached.
  • the data processing device further includes:
  • the data storage unit is configured to obtain the initial interactive incremental data of the object in real time; filter the initial interactive incremental data of the object to obtain the interactive incremental data of the object in the virtual space, and store the The interactive incremental data of the object is stored in the default database;
  • the data acquisition unit is further configured to query the preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
  • the data identifying unit is further configured to acquire the object corresponding to the interaction incremental data when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space
  • the object attribute information combining the object attribute information and the interactive incremental data to obtain the data to be displayed.
  • a server including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the following: The data processing method described in any one embodiment of the first aspect.
  • a non-volatile computer-readable storage medium including: when instructions in the computer-readable storage medium are executed by a processor of the server, enabling the server to execute The data processing method described in any one embodiment of the first aspect.
  • a non-volatile computer program product includes instructions, and when the instructions are executed by a processor of the server, the server can execute the first aspect The data processing method described in any one of the embodiments.
  • the interactive incremental data of at least one object in the target virtual space in real time; when the interactive incremental data is greater than or equal to the incremental threshold of the target virtual space, generating the data to be displayed of at least one object according to the interactive incremental data ;
  • the incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space; the target terminal is the target virtual The terminal corresponding to the target account in the space; in this way, the purpose of real-time identification and transmission of the data to be displayed is realized, and there is no need to trigger the timing task to identify the interactive incremental data, and to display the data to be displayed without triggering the signal , thereby reducing the display delay of interactive incremental data; in addition, determining the incremental threshold according to the number of current target accounts in the target virtual space can flexibly and accurately display the best-selling situation of the object, avoiding major interference to the target account, and at the same time Improve the interaction effect
  • Fig. 1 is an application environment diagram of a data processing method according to an exemplary embodiment.
  • Fig. 2 is a flowchart showing a data processing method according to an exemplary embodiment.
  • Fig. 3 is a flowchart showing screening processing steps according to an exemplary embodiment.
  • Fig. 4 is a flowchart showing the steps of generating data to be displayed of at least one object according to the data to be displayed according to an exemplary embodiment.
  • Fig. 5 is a flowchart showing a data processing method according to another exemplary embodiment.
  • Fig. 6 is a block diagram of a data processing device according to an exemplary embodiment.
  • Fig. 7 is a block diagram of a server according to an exemplary embodiment.
  • user information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data for display, data for analysis, etc.
  • the sales data of all commodities in the live broadcast room are generally extracted through scheduled tasks, and then the hot sale value is calculated, and the hot sale signal is sent to the client for the products that reach the hot sale value, and the client sends a query based on the received hot sale signal Request to the server, and receive and display the sales data of the corresponding best-selling products returned by the server according to the query request; however, the best-selling value of the product can only be calculated when the scheduled task is executed, and the sales of the best-selling products need to be displayed through signal triggering Data, the process is relatively cumbersome, resulting in a large delay in the display of sales data, and the interaction effect is not good.
  • the data processing method provided in the present disclosure can be applied to the application environment shown in FIG. 1 .
  • the target terminal 110 such as the audience terminal 110a, the audience terminal 110b...the audience terminal 110n
  • the server 120 acquires the incremental interaction data of at least one object in the target virtual space in real time; amount of data to generate at least one object to be displayed; the incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal 110, so that the target virtual space running on the target terminal 110
  • the data to be displayed is dynamically displayed on the interface; the target terminal 110 is a terminal corresponding to the target account in the target virtual space.
  • the target terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 120 may be realized by an independent server or a server cluster composed of multiple servers.
  • Fig. 2 is a flow chart of a data processing method shown according to an exemplary embodiment.
  • the data processing method is used in the server shown in Fig. 1, including: step S210, obtaining the target virtual space in real time Interaction incremental data of at least one object in; step S220, in the case that the interactive incremental data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to display data according to the interactive incremental data; incremental The threshold is determined according to the number of current target accounts in the target virtual space; step S230, the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space; the target terminal is the target virtual space The terminal corresponding to the target account in .
  • step S210 interactive incremental data of at least one object in the target virtual space is acquired in real time.
  • the virtual space includes the live broadcast room where the anchor account is currently live broadcasting.
  • the anchor account refers to the current live broadcast anchor, which is equivalent to the host, and can control various functions of the live broadcast room, such as listing products and removing products.
  • the target virtual space refers to the live broadcast room that needs to be analyzed currently.
  • the object includes at least one of commodities listed in the target virtual space and virtual objects, such as clothing, accessories, cosmetics, electronic products, etc.; the virtual objects may include, for example, gifts, red flowers, props, etc.
  • Interaction incremental data includes the increased number of objects in the target virtual space. As an example only, the sales data of products on the shelves, such as sales volume; or the increased number of virtual objects (such as gifts, red flowers, props, etc.) received by the anchor quantity.
  • the server queries the database storing the incremental interaction data of objects in the virtual space in real time to obtain the incremental interaction data of at least one object in the target virtual space, avoiding Acquiring interactive incremental data of objects in the virtual space at regular intervals leads to the defect of poor real-time performance.
  • the server stores the sales data of the products in the same live room in the redis (Remote Dictionary Server, remote data service) database, and according to the ID information of the target live room, real-time data is retrieved from the redis database. Obtain the sales data of the products in the target live broadcast room.
  • redis Remote Dictionary Server, remote data service
  • step S220 if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object’s data to be displayed according to the incremental interactive data; the incremental threshold is based on the current target account of the target virtual space The quantity is determined.
  • the incremental threshold refers to a series of sales thresholds determined according to the number of current online viewer accounts in the target virtual space, which may refer to the best-selling value, which is used to measure whether the products in the live broadcast room are hot.
  • the sales thresholds are different for virtual spaces with different numbers of current target accounts; for example, in the live broadcast room of a large anchor with many audience accounts, the sales threshold is generally larger; in the live broadcast room of a small anchor with fewer audience accounts, the sales threshold The threshold is generally small.
  • the target account refers to the audience account for watching the live broadcast.
  • the number of viewer accounts in each live broadcast room is different, and the best-selling value of a product cannot be simply judged as reaching a certain number. It is relatively fast. For the live broadcast rooms of small anchors, the sales of products increase slowly. In the case of a unified sales threshold, the live broadcast rooms of big anchors will frequently display hot sales data, and the audience will be greatly disturbed. The live broadcast room of small anchors It is difficult to display the best-selling data, and it is impossible to present the best-selling situation of the product to the audience; therefore, the sales threshold is determined according to the number of audience accounts in the virtual space to be processed, which can flexibly and accurately display the best-selling situation of the product, and avoid causing great disturbance to the audience , while improving the interaction effect.
  • the data to be displayed refers to the sales data that needs to be sent to the audience terminal for display, such as the sales data of the best-selling product, product attribute information, etc., so as to present the best-selling situation of the product to the audience , which shows the sense of urgency for the sale of the product, which is conducive to enhancing the interactive atmosphere in the live broadcast room.
  • the server determines the type of virtual space to be processed according to the number of current target accounts in the target virtual space, such as the live room of the big anchor and the live room of the small anchor; according to the type of the target virtual space, query the type of The corresponding relationship between the number of target accounts and the incremental threshold, to obtain the incremental threshold of the target virtual space; compare the interactive incremental data of at least one object with the incremental threshold, and if the interactive incremental data is greater than or equal to the corresponding incremental threshold In the case of the volume threshold, the interactive incremental data is added to the data template to be displayed to generate the data to be displayed. In this way, the purpose of judging whether the interactive incremental data is the data to be displayed in real time is realized, so that the subsequent data to be displayed can be sent to the target terminal in real time for display.
  • step S230 the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the running interface of the target virtual space; the target terminal is a terminal corresponding to the target account in the target virtual space.
  • the server sends the data to be displayed to the target terminal corresponding to the target account in the target virtual space in real time; when the target terminal receives the data to be displayed sent by the server, it will display the data in the interface of the target virtual space running on the target terminal , dynamically display the data to be displayed through a preset dynamic effect display method, for example, display the sales data of a hot commodity in the form of a bubble.
  • the incremental interaction data of at least one object in the target virtual space is obtained in real time; when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, according to the incremental interaction data, at least The data to be displayed of an object; the incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space ; The target terminal is the terminal corresponding to the target account in the target virtual space.
  • the purpose of real-time identification and transmission of the data to be displayed is realized, and the interactive incremental data does not need to be triggered by a scheduled task to identify the interactive incremental data, nor does it need to be triggered by a signal to display the data to be displayed, thereby reducing the interactive incremental data.
  • Display delay; in addition, determining the incremental threshold based on the number of current target accounts in the target virtual space can flexibly and accurately display the best-selling situation of the object, avoiding major interference to the target account, and at the same time improve the interaction effect and increase user stickiness.
  • step S220 if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, before generating the data to be displayed of at least one object according to the incremental interaction data, the data processing is further performed. Including: judging whether the target virtual space includes the interacting target object.
  • step S220 when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to be displayed data according to the incremental interaction data, including:
  • the data to be displayed is determined based on each incremental update data of the target object until reaching The first end condition: when the target virtual space does not include the target object being interacted with, and the maximum increment data in the interaction increment data of at least one object is greater than or equal to the corresponding increment threshold, based on the maximum increment The data determines the data to be displayed.
  • whether the target object is being interacted with in the target virtual space may refer to whether there is currently a highlighted object in the target virtual space. In some embodiments, it refers to the current Is there any product that the anchor will highlight.
  • Each incremental update data refers to each update value of the sales data, such as 1000, 1001, 1003, etc.
  • the first end condition includes but is not limited to that the anchor account in the target virtual space ends the introduction of the interacting target object, or the sales volume of the interacting target object is no longer updated.
  • the server determines whether the target virtual space includes the interacting target object in the target virtual space through, for example, speech recognition technology or image recognition technology; Incremental data is compared with the corresponding incremental threshold, and when the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on each incremental update data of the target object until reaching The first end condition; in response to the fact that the target virtual space does not include the target object that is interacting, then obtain the maximum incremental data in the interactive incremental data of at least one object, and compare the maximum incremental data with the corresponding incremental threshold In comparison, if the maximum incremental data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the maximum incremental data.
  • the process of determining the sales data as the data to be displayed in addition to judging whether the sales data is greater than or equal to the corresponding sales threshold, it is also combined with the products currently highlighted by the host.
  • the sales volume of the products that should be highlighted should be changed, so as to avoid the inconsistency between the best-selling products and the products that are highlighted, making it difficult for the audience to choose, and disrupting the rhythm of the anchor.
  • the continuous change in sales will be pushed to the client as a hot sale value until the host ends the introduction of the product, or the sales of the product no longer change.
  • the best-selling products in the entire live broadcast room will be recalculated; if there is no product highlighted in the live broadcast room, the product with the highest sales volume in the current live broadcast room will be obtained to determine whether the sales of the product have reached the current best-selling value.
  • the process of generating the data to be displayed based on the interactive incremental data comprehensively consider whether the target virtual space includes the target object that is interacting and the number of current target accounts in the target virtual space.
  • the determined incremental threshold is conducive to improving the determination accuracy of the data to be displayed, and at the same time realizes the continuous display of the interactive incremental data of the interacting target object.
  • the data processing method disclosed in the present application further includes the following content: within the first preset time period, when the incremental data of interaction of the first object corresponding to the maximum incremental data is updated, based on Each incremental update data of the first object within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated, and there is interaction of the second object When the incremental data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the interactive incremental data of the second object.
  • the first preset time period refers to the dynamic effect protection time period of the object whose interactive incremental data reaches the corresponding incremental threshold, such as 10 seconds, 15 seconds, etc., which can be adjusted according to the actual situation.
  • the first object corresponding to the maximum incremental data may refer to the object that reached the incremental threshold last time, and in some embodiments, refers to the commodity that reached the hot sale value last time.
  • the server judges in real time whether the interactive incremental data of the first object corresponding to the maximum incremental data is updated within the first preset time period; In the case of updating the interactive incremental data of the first object, the data to be displayed is determined based on each incremental update data of the first object within the first preset time period; within the first preset time period, the first object If the incremental interaction data of the target virtual space is not updated, it is judged whether the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold in the incremental interaction data of at least one object in the target virtual space; If the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the incremental interaction data of the second object.
  • the best-selling value at t1+5s is 20 pieces.
  • product b should have reached the best-selling value, but because the display time of product a has not yet reached the first preset time period (for example, 10s ), to prevent the dynamic effect of product a from being replaced.
  • the sales of 12 items of product a will continue to be pushed to the client as the best-selling value, instead of the sales of product b as the best-selling value.
  • the first preset time period for example, 10s
  • the sales volume of product a is 22, and the sales volume of product b is 32.
  • the best-selling value at t1+10s is 30, which means It should be when product b has reached the best-selling value. At this time, the sales volume of 32 items of product b will be pushed to the client as the best-selling value to replace the best-selling animation effect of product a.
  • the sales volume of commodity a is still 10 pieces, and the sales volume of commodity b has increased to 20 pieces.
  • the best-selling value at t1+5s is 20 pieces.
  • product b should reach the hot-selling value.
  • the sales of 20 pieces of product b will be pushed to the client as the best-selling value to replace product a. best seller animation.
  • the time protection for displaying it avoids that the next product will soon trigger a hot sale and replace the current product. Repeatedly, different products will be quickly replaced with each other, causing interference to the audience. Phenomenon.
  • the technical solution provided by the embodiments of the present disclosure ensures the dynamic effect protection time of the incremental interactive data of objects reaching the incremental threshold, and avoids the defect that the incremental interactive data of objects reaching the incremental threshold is quickly replaced.
  • the data processing method disclosed in the present application further includes the following content: within the first preset time period, the interaction increment data of the first object is not updated, and there is no interaction increment data of the second object If the volume data is greater than or equal to the corresponding incremental threshold, it is judged whether the interactive incremental data of the first object is updated within the second preset time period; the second preset time period is the start time and the first preset time The start time of the period is the same, and the duration is longer than the first preset time period; in the second preset time period, if the incremental interaction data of the first object is updated, based on the first object at the The data to be displayed is determined for each incremental data update within the two preset time periods, until the second end condition is met.
  • the second preset time period refers to a time period whose start time is the same as that of the first preset time period and whose end time is later than the end time of the first preset time period, which is used to represent the interaction increment
  • the longest display time for objects whose data reaches the corresponding incremental threshold for example, the first preset time period is 0-10s, and the second preset time period is 0-30s, which can be adjusted according to the actual situation.
  • the second end condition includes, but is not limited to, that the continuous display time of the first object whose interaction increment data reaches a corresponding increment threshold exceeds a second preset time period.
  • each change in sales of the product should be continuously issued as a hot sale value.
  • the display of its best-selling sales will end, and in the case of subsequent products that reach hot sales again, continue to display new hot-selling products.
  • there are currently two products in the live broadcast room namely product a and product b.
  • 10 items are determined as the best-selling value in t1 seconds. At t1 second, product a generates 10 sales, and product b generates 2 sales.
  • the best-selling value at t1+20s is 20 pieces.
  • the technical solutions provided by the embodiments of the present disclosure ensure the continuous display time of the incremental interactive data of the objects reaching the incremental threshold, which is conducive to real-time display of the incremental interactive data update of the objects reaching the incremental threshold, so as to present the audience with the interactive incremental data.
  • the best-selling situation of the object shows the sense of urgency for the sale of the object, which is conducive to enhancing the interactive atmosphere in the live broadcast room.
  • step S210 before acquiring the incremental interaction data of at least one object in the target virtual space in real time, further includes: acquiring the initial interactive incremental data of the object in real time; The data is screened to obtain the incremental interaction data of the objects in the virtual space, and the incremental interaction data of the objects in the virtual space is stored in a preset database.
  • the initial interaction incremental data refers to the sales data initially determined according to the object's order message, and in some embodiments, refers to the initial sales data of the commodity.
  • screening processing includes but not limited to filtering processing and deduplication processing; filtering processing refers to the processing of invalid data such as interactive incremental data that is not associated with the target virtual space and order messages that do not belong to incremental incremental data in the initial interactive incremental data. Filtering; deduplication processing refers to deduplication of order messages sent repeatedly in the initial interaction incremental data.
  • the server receives the order message of the object; parses the order message of the object to obtain the initial interaction incremental data of the object; according to the filtering processing instruction, filters the initial interaction incremental data of the object to filter out In the initial interactive incremental data, the interactive incremental data that does not belong to the virtual space association and the order message that does not belong to the incremental increase obtain the filtered incremental data; according to the deduplication processing instruction, the filtered incremental data is processed Deduplication processing to delete the repeated order messages in the filtered incremental data to obtain the interactive incremental data of the objects in the virtual space; the interactive incremental data of the objects in each virtual space, according to the The virtual space identifiers are classified and stored in a preset database.
  • the transaction system After the user successfully places an order for the product, the transaction system generates the sales data of the product and sends a message about the sales of the product to the outside.
  • the sales information of the third-party products will be generated after unified docking and processing through the open platform.
  • the sales statistics and storage module in the server deploy consumers to consume these sales data, filter useless data such as non-live room sales and non-sales increase order messages, and deduplicate the repeated order messages, Store the sales data of the same live broadcast room in the redis database.
  • step S210 of obtaining the incremental interaction data of at least one object in the target virtual space in real time includes: querying a preset database in real time to obtain the incremental interaction data of at least one object in the target virtual space.
  • the server acquires the virtual space identifier of the target virtual space, queries a preset database in real time according to the virtual space identifier of the target virtual space, and obtains interactive incremental data of at least one object in the target virtual space.
  • the technical solution provided by the embodiments of the present disclosure helps to improve the accuracy of the incremental interaction data of objects in the virtual space stored in the preset database by filtering and processing the initial incremental data of the interaction of the objects and then storing them in the preset database. Accuracy; at the same time, by querying the preset database in real time, it is beneficial to improve the accuracy of the query-obtained incremental data of the interaction of objects in the target virtual space.
  • step S230 if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to be displayed according to the incremental interactive data.
  • data including: step S410, when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, obtain the object attribute information of the object corresponding to the interactive incremental data; step S420, combine the object attribute information and the interactive incremental data Combine them to get the data to be displayed.
  • step S410 if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, acquire the object attribute information of the object corresponding to the incremental interaction data.
  • the object attribute information may include the basic information of the object, such as the basic information of the product such as the product title, the product price, and the product picture, and the basic information of the virtual object such as the name of the item and the picture of the item.
  • the server queries the preset object attribute information of multiple objects according to the object identification of the object corresponding to the incremental interaction data.
  • the database obtains the object attribute information of the object corresponding to the interactive incremental data.
  • the server queries the redis database according to the product ID of the product corresponding to the sales data, obtains the basic information of the product corresponding to the sales data, and obtains the interactive incremental data Object attribute information of the corresponding object.
  • step S420 the object attribute information and the incremental interaction data are combined to obtain the data to be displayed.
  • the data to be displayed refers to the overview data of the object, including but not limited to object attribute information and interactive incremental data.
  • the server combines the object attribute information and the interactive incremental data according to a preset combination mode to obtain the data to be displayed.
  • the ID of the hot-selling product is sent to the hot-selling product sending module in the server.
  • This module is responsible for querying the basic information of the product, such as title, price, picture, etc.
  • the sales data of the current best-selling products it is assembled into the overview data of the products, and these overview data are pushed to the client, and the dynamic effect of the hot sale of the product is displayed through the client combined with these overview data, so as to finally present the hot sale of the product in front of the audience .
  • the object attribute information of the object corresponding to the interactive incremental data is combined with the interactive incremental data of the object, Obtaining the data to be displayed is conducive to sending the data to be displayed to the audience terminal for display in the future.
  • the data to be displayed does not need to be triggered by a signal, thereby reducing the display delay of sales data and enhancing the interactive effect.
  • a flow chart of another data processing method is provided, which is applied to a server.
  • the server includes a sales statistics and storage module, a sales value calculation and decision-making module, and a sales delivery module. These three modules solve business statistics and display the real-time sales of products, and the sales volume meets various requirements. When making decisions about the conditions, distribute the best-selling data of the products to enhance the interactive atmosphere in the live broadcast room.
  • the hot sale value calculation and decision-making module calculate whether a sales value of a product meets the sales value limited by the current live broadcast room, and decide whether to send the sales value of the product to the audience for display; after calculation and Decision-making, and finally get whether there is a product in the live broadcast room that can be delivered if it reaches the hot sale value, store the generated data such as the time and value of the new hot sale value in redis, and pass the hot sale product id to the product hot sale sending module, and the product will be sent by hot sale
  • the module performs data supplementation and distribution.
  • the sending module of hot products is responsible for querying the basic information of the products according to the received id of the hot products, combining the current sales volume, assembling the overview data of the products, and pushing these data to the client, and the client displays the dynamic effect of the hot products , so as to finally show the hot sale of goods in front of the audience.
  • the data processing method (1) improves the real-time calculation and distribution of the best-selling value of the live e-commerce commodity, and can distribute the best-selling value of the commodity in real time, avoiding delays that cause trouble to the anchor and the audience; (2) Realize the continuous issuance of best-selling value.
  • Existing schemes are executed regularly through scheduled tasks, which cannot realize the continuous distribution of hot-selling value in a live broadcast room, and cannot show the best-selling products to the audience.
  • This disclosure provides a continuous The ability to deliver; (3) Reduced the actual cost of hot-selling products in the live broadcast room.
  • three modules of services are deployed, and two storage methods, redis and mysql, are required at the same time.
  • This disclosure disperses the process of commodity sales statistics, calculation and decision-making of best-selling value, and distribution of hot-selling commodity structure to each consumer. It only needs to deploy each consumer service, and the data storage only needs to It is necessary to use redis to store sales and best-selling data, without the need for mysql, which greatly reduces the cost of servers and storage; (4) In terms of business, it presents the best-selling situation of the product to the audience, showing the urgency of selling the product, which is beneficial to To enhance the interactive atmosphere in the live broadcast room, this disclosure has certain decision-making rules for the calculation and delivery of the best-selling products. The limit thresholds for hot sales in the live broadcast room are different for different numbers of people.
  • the products and time to be released at one time decide whether there is an explanation, whether the maximum display time has been reached, etc., decide whether to distribute the hot sales value of the products calculated this time, which not only avoids frequent sending and product switching to interfere with the audience, but also timely Calculate and decide the best-selling products, and at the same time improve the interactive effect of the live broadcast room, thereby increasing user stickiness.
  • FIGS. 2-5 may include multiple steps or stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. These steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of steps or stages in other steps.
  • Fig. 6 is a block diagram of a data processing device according to an exemplary embodiment.
  • the device includes a data acquiring unit 610 , a data identifying unit 620 and a data sending unit 630 .
  • the data acquisition unit 610 is configured to acquire interaction incremental data of at least one object in the target virtual space in real time.
  • the data identification unit 620 is configured to generate the data to be displayed of at least one object according to the interaction incremental data in response to the interaction incremental data being greater than or equal to the incremental threshold of the target virtual space; the incremental threshold is based on the current The number of target accounts is determined.
  • the data sending unit 630 is configured to send the data to be displayed to the target terminal, so that the data to be displayed can be dynamically displayed in the interface of the target virtual space running on the target terminal; the target terminal is a terminal corresponding to the target account in the target virtual space.
  • the data processing device further includes: a judging unit configured to judge whether the target virtual space includes a target object being interacted with;
  • the data identification unit 620 is further configured to, when the target virtual space includes a target object that is interacting, and the interaction increment data of the target object is greater than or equal to the corresponding increment threshold, based on each increment of the target object Updating the data determines the data to be displayed until the first end condition is met.
  • the data identifying unit 620 is further configured to exclude target objects that are interacting in the target virtual space, and the maximum incremental data in the interactive incremental data of at least one object is greater than or equal to the corresponding In the case of an incremental threshold of , the data to be displayed is determined based on the largest incremental data.
  • the data identification unit 620 is further configured to, within the first preset time period, when the incremental data of the first object corresponding to the maximum incremental data is updated, based on the first object's Each incremental update data within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated, and the interactive incremental data of the second object is greater than Or if it is equal to the corresponding incremental threshold, the data to be displayed is determined based on the interactive incremental data of the second object.
  • the data identification unit 620 is further configured such that within the first preset time period, the incremental interaction data of the first object is not updated, and there is no incremental interaction data of the second object greater than or If it is equal to the corresponding incremental threshold, determine whether the incremental data of the first object’s interaction is updated within the second preset time period; the second preset time period is the start time and the start of the first preset time period The time period is the same and the duration is longer than the first preset time period; in the second preset time period, if the incremental data of the first object’s interaction is updated, based on the first object’s time at the second preset time The data to be displayed is determined for each incremental update data in the segment until the second end condition is met.
  • the data processing device further includes: a data storage unit configured to acquire the incremental data of the initial interaction of the object in real time; perform screening on the incremental data of the initial interaction of the object to obtain the incremental data of the object in the virtual space interactive incremental data, and store the interactive incremental data of objects in the virtual space into a preset database;
  • the data acquisition unit 610 is further configured to query a preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
  • the data identification unit 620 is further configured to acquire the object attribute information of the object corresponding to the interaction increment data when the interaction increment data is greater than or equal to the increment threshold of the target virtual space; The attribute information and the interactive incremental data are combined to obtain the data to be displayed.
  • Fig. 7 is a block diagram showing a device 700 for executing a data processing method according to an exemplary embodiment.
  • device 700 may be a server.
  • device 700 includes processing component 720 , which further includes one or more processors, and a memory resource represented by memory 722 for storing instructions executable by processing component 720 , such as application programs.
  • the application program stored in memory 722 may include one or more modules each corresponding to a set of instructions.
  • the processing component 720 is configured to execute instructions to perform the above method.
  • Device 700 may also include a power component 724 configured to perform power management of device 700 , a wired or wireless network interface 726 configured to connect device 700 to a network, and input-output (I/O) interface 728 .
  • Device 700 may operate based on an operating system stored in memory 722, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD or the like.
  • a computer-readable storage medium including instructions, such as the memory 722 including instructions, which can be executed by a processor of the device 700 to complete the above method.
  • the storage medium may be a computer readable storage medium such as ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, for example.
  • a computer program product is further provided, the computer program product includes instructions, and the above instructions can be executed by a processor of the device 700 to complete the above method.

Abstract

The present disclosure relates to a data processing method and apparatus, a server, and a storage medium, and relates to the technical field of live broadcasting. The data processing method comprises: acquiring in real time interactive incremental data of at least one object in a target virtual space; when the interactive incremental data is greater than or equal to an incremental threshold of the target virtual space, generating, according to the interactive incremental data, data to be displayed of the at least one object, the incremental threshold being determined according to the number of current target accounts entering the target virtual space; and sending the data to be displayed to a target terminal, so that the data to be displayed is dynamically displayed in an interface of the target virtual space running on the target terminal, the target terminal being a terminal corresponding to a target account in the target virtual space.

Description

数据处理方法及装置Data processing method and device
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111166455.7、申请日为2021年09月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111166455.7 and a filing date of September 30, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本公开涉及直播技术领域,尤其涉及一种数据处理方法、装置、服务器及存储介质。The present disclosure relates to the field of live broadcast technology, and in particular to a data processing method, device, server and storage medium.
背景技术Background technique
随着互联网技术的发展,越来越多的主播在直播过程中上架、售卖商品,以直播导购的方式为用户宣导商品的功能和特点,并在商品销量达到热卖值的情况下,通过特殊方式对相应的商品进行提醒,引导用户关注商品和购买商品。With the development of Internet technology, more and more anchors are putting on shelves and selling products during the live broadcast, and promoting the functions and characteristics of the products to users in the form of live shopping guides. The method reminds the corresponding product, guides the user to pay attention to the product and purchase the product.
发明内容Contents of the invention
本公开提供一种数据处理方法、装置、服务器及存储介质。The disclosure provides a data processing method, device, server and storage medium.
根据本公开实施例的第一方面,提供一种数据处理方法,包括:According to a first aspect of an embodiment of the present disclosure, a data processing method is provided, including:
实时获取目标虚拟空间中的至少一个对象的互动增量数据;Acquiring interactive incremental data of at least one object in the target virtual space in real time;
在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
在一示例性实施例中,所述数据处理方法还包括:In an exemplary embodiment, the data processing method further includes:
判断所述目标虚拟空间中是否包括正在进行互动的目标对象;judging whether the target virtual space includes a target object that is interacting;
所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,包括:In the case where the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generating the data to be displayed of the at least one object according to the incremental interactive data includes:
在所述目标虚拟空间中包括正在进行互动的目标对象,且所述目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件。In the case that the target virtual space includes a target object that is interacting, and the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold, determine based on each incremental update data of the target object Data is to be displayed until the first end condition is met.
在一示例性实施例中,所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,还包括:In an exemplary embodiment, in the case that the interaction increment data is greater than or equal to the increment threshold of the target virtual space, according to the interaction increment data, generating the to-be-displayed information of the at least one object data, also including:
在所述目标虚拟空间中不包括正在进行互动的目标对象,且所述至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于所述最大增 量数据确定待展示数据。In the case that the target virtual space does not include a target object that is interacting, and the maximum incremental data in the interactive incremental data of the at least one object is greater than or equal to the corresponding incremental threshold, based on the maximum incremental Quantitative data determines the data to be displayed.
在一示例性实施例中,所述数据处理方法还包括:In an exemplary embodiment, the data processing method further includes:
在第一预设时间段内,所述最大增量数据对应的第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第一预设时间段内的每次增量更新数据确定待展示数据;In the first preset time period, when the interaction incremental data of the first object corresponding to the maximum incremental data is updated, based on each increment of the first object within the first preset time period Quantitative update data to determine the data to be displayed;
在第一预设时间段内,所述第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述第二对象的互动增量数据确定待展示数据。In the first preset period of time, the incremental interaction data of the first object is not updated, and the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, based on the second object The incremental data of interaction determines the data to be displayed.
在一示例性实施例中,所述数据处理方法还包括:In an exemplary embodiment, the data processing method further includes:
在第一预设时间段内,所述第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,所述第一对象的互动增量数据是否更新;所述第二预设时间段为起始时间与所述第一预设时间段的起始时间相同,且时长大于所述第一预设时间段的时长的时间段;In the first preset time period, if the incremental interaction data of the first object is not updated, and there is no incremental interaction data of the second object greater than or equal to the corresponding incremental threshold, determine the second preset Whether the incremental interaction data of the first object is updated within the time period; the start time of the second preset time period is the same as the start time of the first preset time period, and the duration is longer than the first preset time period a time period of the duration of a predetermined time period;
在第二预设时间段内,所述第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。In the second preset time period, when the incremental data of the interaction of the first object is updated, based on each incremental update data of the first object within the second preset time period, it is determined to be displayed data until the second end condition is reached.
在一示例性实施例中,所述数据处理方法还包括:In an exemplary embodiment, the data processing method further includes:
实时获取对象的初始互动增量数据;Obtain the initial interactive incremental data of the object in real time;
对所述对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将所述虚拟空间中的对象的互动增量数据存储至预设数据库中;Screening the initial incremental data of interaction of the objects to obtain the incremental data of interaction of the objects in the virtual space, and storing the incremental data of interaction of the objects in the virtual space into a preset database;
所述实时获取目标虚拟空间中的至少一个对象的互动增量数据,包括:The real-time acquisition of incremental interaction data of at least one object in the target virtual space includes:
实时查询所述预设数据库,得到所述目标虚拟空间中的至少一个对象的互动增量数据。Querying the preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
在一示例性实施例中,所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,包括:In an exemplary embodiment, in the case that the interaction increment data is greater than or equal to the increment threshold of the target virtual space, according to the interaction increment data, generating the to-be-displayed information of the at least one object data, including:
在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,获取所述互动增量数据对应对象的对象属性信息;If the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, acquire object attribute information of an object corresponding to the incremental interaction data;
将所述对象属性信息和所述互动增量数据进行组合,得到待展示数据。Combining the object attribute information and the interactive incremental data to obtain the data to be displayed.
根据本公开实施例的第二方面,提供一种数据处理装置,包括:According to a second aspect of an embodiment of the present disclosure, a data processing device is provided, including:
数据获取单元,被配置为实时获取目标虚拟空间中的至少一个对象的互动增量数据;A data acquisition unit configured to acquire interactive incremental data of at least one object in the target virtual space in real time;
数据识别单元,被配置为响应于所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;The data identification unit is configured to generate the data to be displayed of the at least one object according to the interactive incremental data in response to the interactive incremental data being greater than or equal to the incremental threshold of the target virtual space; the incremental The volume threshold is determined according to the number of current target accounts entering the target virtual space;
数据发送单元,被配置为将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。A data sending unit configured to send the data to be displayed to a target terminal, so that the data to be displayed can be dynamically displayed in the interface of the target virtual space running on the target terminal; the target terminal is the The terminal corresponding to the target account in the target virtual space.
在一示例性实施例中,所述数据处理装置还包括:In an exemplary embodiment, the data processing device further includes:
判断单元,被配置为判断所述目标虚拟空间中是否包括正在进行互动的目标对象;A judging unit configured to judge whether the target virtual space includes a target object being interacted with;
所述数据识别单元,还被配置为在所述目标虚拟空间中包括正在进行互动的目标对象,且所述目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件。The data identification unit is further configured to, in the case that the target virtual space includes a target object that is interacting, and the interaction increment data of the target object is greater than or equal to a corresponding increment threshold, based on the Data to be displayed is determined for each incremental update of the target object until the first end condition is met.
在一示例性实施例中,所述数据识别单元,还被配置为在所述目标虚拟空间中不包括正在进行互动的目标对象,且所述至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于所述最大增量数据确定待展示数据。In an exemplary embodiment, the data identification unit is further configured to exclude target objects that are interacting in the target virtual space, and the maximum increment in the interaction increment data of the at least one object When the data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the maximum incremental data.
在一示例性实施例中,所述数据识别单元,还被配置为在第一预设时间段内,所述最大增量数据对应的第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第一预设时间段内的每次增量更新数据确定待展示数据;在第一预设时间段内,所述第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述第二对象的互动增量数据确定待展示数据。In an exemplary embodiment, the data identification unit is further configured to, if the incremental data of interaction of the first object corresponding to the maximum incremental data is updated within the first preset time period, based on the Each incremental update data of the first object within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated and exists When the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the incremental interaction data of the second object.
在一示例性实施例中,所述数据识别单元,还被配置为在第一预设时间段内,所述第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,所述第一对象的互动增量数据是否更新;所述第二预设时间段为起始时间与所述第一预设时间段的起始时间相同,且时长大于所述第一预设时间段的时长的时间段;在第二预设时间段内,所述第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。In an exemplary embodiment, the data identification unit is further configured such that within a first preset time period, the interaction increment data of the first object is not updated, and there is no interaction increment of the second object When the data is greater than or equal to the corresponding incremental threshold, it is determined whether the incremental interaction data of the first object is updated within a second preset time period; the second preset time period is the start time and the The start time of the first preset time period is the same, and the duration is longer than the time period of the first preset time period; within the second preset time period, the interaction incremental data of the first object is updated In some cases, the data to be displayed is determined based on each incremental data update of the first object within the second preset time period until a second end condition is reached.
在一示例性实施例中,所述数据处理装置还包括:In an exemplary embodiment, the data processing device further includes:
数据存储单元,被配置为实时获取对象的初始互动增量数据;对所述对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将所述虚拟空间中的对象的互动增量数据存储至预设数据库中;The data storage unit is configured to obtain the initial interactive incremental data of the object in real time; filter the initial interactive incremental data of the object to obtain the interactive incremental data of the object in the virtual space, and store the The interactive incremental data of the object is stored in the default database;
所述数据获取单元,还被配置为实时查询所述预设数据库,得到所述目标虚拟空间中的至少一个对象的互动增量数据。The data acquisition unit is further configured to query the preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
在一示例性实施例中,所述数据识别单元,还被配置为在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,获取所述互动增量数据对应对象的对象属性信息;将所述对象属性信息和所述互动增量数据进行组合,得到待展示数据。In an exemplary embodiment, the data identifying unit is further configured to acquire the object corresponding to the interaction incremental data when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space The object attribute information; combining the object attribute information and the interactive incremental data to obtain the data to be displayed.
根据本公开实施例的第三方面,提供一种服务器,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如第一方面的任一项实施例中所述的数据处理方法。According to a third aspect of the embodiments of the present disclosure, there is provided a server, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the following: The data processing method described in any one embodiment of the first aspect.
根据本公开实施例的第四方面,提供一种非易失性计算机可读存储介质,包括:当 所述计算机可读存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行第一方面的任一项实施例中所述的数据处理方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-volatile computer-readable storage medium, including: when instructions in the computer-readable storage medium are executed by a processor of the server, enabling the server to execute The data processing method described in any one embodiment of the first aspect.
根据本公开实施例的第五方面,提供一种非易失性计算机程序产品,所述计算机程序产品中包括指令,所述指令被服务器的处理器执行时,使得所述服务器能够执行第一方面的任一项实施例中所述的数据处理方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a non-volatile computer program product, the computer program product includes instructions, and when the instructions are executed by a processor of the server, the server can execute the first aspect The data processing method described in any one of the embodiments.
通过实时获取目标虚拟空间中的至少一个对象的互动增量数据;在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据进入目标虚拟空间的当前目标帐户的数量确定;将待展示数据发送至目标终端,以使目标终端在运行的目标虚拟空间的界面中动态展示待展示数据;目标终端为目标虚拟空间中的目标帐户对应的终端;这样,实现了对待展示数据的实时识别和发送的目的,无需通过定时任务触发才对互动增量数据进行识别,也无需通过信号触发的方式才展示待展示数据,从而降低了互动增量数据的展示延迟;此外,根据目标虚拟空间的当前目标帐户的数量确定增量阈值,可以灵活准确地展示对象的畅销情况,避免对目标帐户造成较大的干扰,同时提高互动效果以及提升用户粘度。Obtaining the interactive incremental data of at least one object in the target virtual space in real time; when the interactive incremental data is greater than or equal to the incremental threshold of the target virtual space, generating the data to be displayed of at least one object according to the interactive incremental data ;The incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space; the target terminal is the target virtual The terminal corresponding to the target account in the space; in this way, the purpose of real-time identification and transmission of the data to be displayed is realized, and there is no need to trigger the timing task to identify the interactive incremental data, and to display the data to be displayed without triggering the signal , thereby reducing the display delay of interactive incremental data; in addition, determining the incremental threshold according to the number of current target accounts in the target virtual space can flexibly and accurately display the best-selling situation of the object, avoiding major interference to the target account, and at the same time Improve the interaction effect and increase user stickiness.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings here are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the disclosure, and are used together with the description to explain the principle of the disclosure, and do not constitute an improper limitation of the disclosure.
图1是根据一示例性实施例示出的一种数据处理方法的应用环境图。Fig. 1 is an application environment diagram of a data processing method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种数据处理方法的流程图。Fig. 2 is a flowchart showing a data processing method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种筛选处理步骤的流程图。Fig. 3 is a flowchart showing screening processing steps according to an exemplary embodiment.
图4是根据一示例性实施例示出的根据待展示数据,生成至少一个对象的待展示数据的步骤的流程图。Fig. 4 is a flowchart showing the steps of generating data to be displayed of at least one object according to the data to be displayed according to an exemplary embodiment.
图5是根据另一示例性实施例示出的一种数据处理方法的流程图。Fig. 5 is a flowchart showing a data processing method according to another exemplary embodiment.
图6是根据一示例性实施例示出的一种数据处理装置的框图。Fig. 6 is a block diagram of a data processing device according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种服务器的框图。Fig. 7 is a block diagram of a server according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表 与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
还需要说明的是,本公开所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should also be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) Authorized or fully authorized information and data by the parties.
相关技术中,一般是通过定时任务将直播间的所有商品销量数据提取出来后进行热卖值计算,对达到热卖值的商品下发热卖信号至客户端,客户端根据接收到的热卖信号,发送查询请求至服务端,并接收和展示服务端根据查询请求返回的相应热卖商品销量数据;但是,只有当定时任务执行时才能计算商品的热卖值,且需要通过信号触发的方式才能展示热卖的商品销量数据,过程比较繁琐,导致销量数据的展示存在较大延迟,以及互动效果不佳。In related technologies, the sales data of all commodities in the live broadcast room are generally extracted through scheduled tasks, and then the hot sale value is calculated, and the hot sale signal is sent to the client for the products that reach the hot sale value, and the client sends a query based on the received hot sale signal Request to the server, and receive and display the sales data of the corresponding best-selling products returned by the server according to the query request; however, the best-selling value of the product can only be calculated when the scheduled task is executed, and the sales of the best-selling products need to be displayed through signal triggering Data, the process is relatively cumbersome, resulting in a large delay in the display of sales data, and the interaction effect is not good.
本公开所提供的数据处理方法,可以应用于如图1所示的应用环境中。其中,目标终端110(比如观众终端110a、观众终端110b……观众终端110n)通过网络与服务器120进行交互。在一些实施例中,参考图1,服务器120实时获取目标虚拟空间中的至少一个对象的互动增量数据;在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据进入目标虚拟空间的当前目标帐户的数量确定;将待展示数据发送至目标终端110,以使在目标终端110运行的目标虚拟空间的界面中动态展示待展示数据;目标终端110为目标虚拟空间中的目标帐户对应的终端。其中,目标终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The data processing method provided in the present disclosure can be applied to the application environment shown in FIG. 1 . Wherein, the target terminal 110 (such as the audience terminal 110a, the audience terminal 110b...the audience terminal 110n) interacts with the server 120 through the network. In some embodiments, referring to FIG. 1, the server 120 acquires the incremental interaction data of at least one object in the target virtual space in real time; amount of data to generate at least one object to be displayed; the incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal 110, so that the target virtual space running on the target terminal 110 The data to be displayed is dynamically displayed on the interface; the target terminal 110 is a terminal corresponding to the target account in the target virtual space. Wherein, the target terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 120 may be realized by an independent server or a server cluster composed of multiple servers.
图2是根据一示例性实施例示出的一种数据处理方法的流程图,如图2所示,数据处理方法用于如图1所示的服务器中,包括:步骤S210,实时获取目标虚拟空间中的至少一个对象的互动增量数据;步骤S220,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据目标虚拟空间的当前目标帐户的数量确定;步骤S230,将待展示数据发送至目标终端,以使目标终端在运行的目标虚拟空间的界面中动态展示待展示数据;目标终端为目标虚拟空间中的目标帐户对应的终端。Fig. 2 is a flow chart of a data processing method shown according to an exemplary embodiment. As shown in Fig. 2, the data processing method is used in the server shown in Fig. 1, including: step S210, obtaining the target virtual space in real time Interaction incremental data of at least one object in; step S220, in the case that the interactive incremental data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to display data according to the interactive incremental data; incremental The threshold is determined according to the number of current target accounts in the target virtual space; step S230, the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space; the target terminal is the target virtual space The terminal corresponding to the target account in .
在步骤S210中,实时获取目标虚拟空间中的至少一个对象的互动增量数据。In step S210, interactive incremental data of at least one object in the target virtual space is acquired in real time.
其中,虚拟空间包括主播帐户当前正在直播的直播间,主播帐户是指当前正在直播的主播,相当于主持人,可以控制直播间的各类功能,比如上架商品、下架商品等。目标虚拟空间,是指当前需要分析的直播间。Among them, the virtual space includes the live broadcast room where the anchor account is currently live broadcasting. The anchor account refers to the current live broadcast anchor, which is equivalent to the host, and can control various functions of the live broadcast room, such as listing products and removing products. The target virtual space refers to the live broadcast room that needs to be analyzed currently.
其中,对象包括目标虚拟空间中上架的商品和虚拟对象中至少一种,该商品包括比如服装、饰品、化妆品、电子产品等;该虚拟对象可以包括比如礼物、红花、道具等。互动增量数据包括目标虚拟空间中对象所增加的数量,仅作为示例,上架的商品的销量数据,比如销售量;或者主播收到的虚拟对象(例如礼物、红花、道具等)所增加的数 量。Wherein, the object includes at least one of commodities listed in the target virtual space and virtual objects, such as clothing, accessories, cosmetics, electronic products, etc.; the virtual objects may include, for example, gifts, red flowers, props, etc. Interaction incremental data includes the increased number of objects in the target virtual space. As an example only, the sales data of products on the shelves, such as sales volume; or the increased number of virtual objects (such as gifts, red flowers, props, etc.) received by the anchor quantity.
在一些实施例中,服务器根据目标虚拟空间的标识信息,实时查询存储有虚拟空间中的对象的互动增量数据的数据库,得到目标虚拟空间中的至少一个对象的互动增量数据,避免了通过定时获取虚拟空间中的对象的互动增量数据,导致实时性较差的缺陷。In some embodiments, according to the identification information of the target virtual space, the server queries the database storing the incremental interaction data of objects in the virtual space in real time to obtain the incremental interaction data of at least one object in the target virtual space, avoiding Acquiring interactive incremental data of objects in the virtual space at regular intervals leads to the defect of poor real-time performance.
举例说明,以上架商品为例,服务器将同一个直播间中的商品的销量数据存储到redis(Remote Dictionary Server,远程数据服务)数据库中,并根据目标直播间的ID信息,实时从redis数据库中获取该目标直播间中的商品的销量数据。For example, take the above-listed products as an example. The server stores the sales data of the products in the same live room in the redis (Remote Dictionary Server, remote data service) database, and according to the ID information of the target live room, real-time data is retrieved from the redis database. Obtain the sales data of the products in the target live broadcast room.
在步骤S220中,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据目标虚拟空间的当前目标帐户的数量确定。In step S220, if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object’s data to be displayed according to the incremental interactive data; the incremental threshold is based on the current target account of the target virtual space The quantity is determined.
其中,以对象为上架商品为例,增量阈值是指根据目标虚拟空间的当前在线观众帐户的数量所确定的一系列销量阈值,可以指热卖值,用于衡量直播间的商品是否达到热卖。当前目标帐户的数量不同的虚拟空间所对应的销量阈值不一样;例如,在观众帐户较多的大主播的直播间,销量阈值一般较大;在观众帐户较少的小主播的直播间,销量阈值一般较小。需要说明的是,目标帐户是指观看直播的观众帐户。Wherein, taking the object as a product on the shelf as an example, the incremental threshold refers to a series of sales thresholds determined according to the number of current online viewer accounts in the target virtual space, which may refer to the best-selling value, which is used to measure whether the products in the live broadcast room are hot. The sales thresholds are different for virtual spaces with different numbers of current target accounts; for example, in the live broadcast room of a large anchor with many audience accounts, the sales threshold is generally larger; in the live broadcast room of a small anchor with fewer audience accounts, the sales threshold The threshold is generally small. It should be noted that the target account refers to the audience account for watching the live broadcast.
需要说明的是,每个直播间的观众帐户数量不一样,商品的热卖值不能简单的判断达到一定的数量就算热卖,对于大主播的直播间的观众帐户数量较多,商品的销量增加也会比较快,对于小主播的直播间,商品的销量增加则较慢,在统一销量阈值的情况下,大主播的直播间会频繁展示热卖数据,观众会受到较大的干扰,小主播的直播间则难以展示热卖数据,无法给观众呈现出该商品的畅销情况;因此,根据待处理虚拟空间的观众帐户数量确定销量阈值,可以灵活准确地展示商品的畅销情况,避免对观众造成较大的干扰,同时提高互动效果。It should be noted that the number of viewer accounts in each live broadcast room is different, and the best-selling value of a product cannot be simply judged as reaching a certain number. It is relatively fast. For the live broadcast rooms of small anchors, the sales of products increase slowly. In the case of a unified sales threshold, the live broadcast rooms of big anchors will frequently display hot sales data, and the audience will be greatly disturbed. The live broadcast room of small anchors It is difficult to display the best-selling data, and it is impossible to present the best-selling situation of the product to the audience; therefore, the sales threshold is determined according to the number of audience accounts in the virtual space to be processed, which can flexibly and accurately display the best-selling situation of the product, and avoid causing great disturbance to the audience , while improving the interaction effect.
其中,以对象为上架商品为例,待展示数据是指需要发送给观众终端进行展示的销量数据,比如达到热卖的商品的销量数据、商品属性信息等,以给观众呈现出该商品的畅销情况,显示出该商品售卖的紧迫感,从而有利于增强直播间的互动氛围。Among them, taking the object as the product on the shelf as an example, the data to be displayed refers to the sales data that needs to be sent to the audience terminal for display, such as the sales data of the best-selling product, product attribute information, etc., so as to present the best-selling situation of the product to the audience , which shows the sense of urgency for the sale of the product, which is conducive to enhancing the interactive atmosphere in the live broadcast room.
需要说明的是,在将互动增量数据识别为待展示数据的过程中,还可以考虑其他因素,比如上一次下发的商品和时间、是否有商品正在讲解、是否达到最大的展示时间等,以实现动态决策;关于此部分的内容在本公开的其他实施例中会进行具体说明。It should be noted that in the process of identifying interactive incremental data as data to be displayed, other factors can also be considered, such as the last delivered product and time, whether there is a product being explained, whether the maximum display time has been reached, etc. In order to realize dynamic decision-making; the content of this part will be specifically described in other embodiments of the present disclosure.
在一些实施例中,服务器根据目标虚拟空间的当前目标帐户的数量,确定待处理虚拟空间的类型,比如大主播的直播间、小主播的直播间;根据目标虚拟空间的类型,查询该类型下的目标帐户数量与增量阈值的对应关系,得到目标虚拟空间的增量阈值;将至少一个对象的互动增量数据与增量阈值进行对比,在互该互动增量数据大于或者等于对应的增量阈值的情况下,将互动增量数据添加到待展示数据模板中,生成待展示数据。这样,实现了实时判断互动增量数据是否为待展示数据的目的,便于后续将待展示数据实时发送至目标终端进行展示。In some embodiments, the server determines the type of virtual space to be processed according to the number of current target accounts in the target virtual space, such as the live room of the big anchor and the live room of the small anchor; according to the type of the target virtual space, query the type of The corresponding relationship between the number of target accounts and the incremental threshold, to obtain the incremental threshold of the target virtual space; compare the interactive incremental data of at least one object with the incremental threshold, and if the interactive incremental data is greater than or equal to the corresponding incremental threshold In the case of the volume threshold, the interactive incremental data is added to the data template to be displayed to generate the data to be displayed. In this way, the purpose of judging whether the interactive incremental data is the data to be displayed in real time is realized, so that the subsequent data to be displayed can be sent to the target terminal in real time for display.
举例说明,以对象为上架商品为例,当前直播间有两个商品,分别是商品a和商品 b,根据直播间的在线人数,确定10件为热卖值;在t1秒的时候,商品a产生销量10件,商品b产生销量5件,这时候按照直播间的在线人数,判断到商品a达到了该热卖值,则推送商品a的热卖数据(比如商品基本信息、商品销售量等)至观众终端。For example, take the object as a product on the shelf as an example. There are currently two products in the live broadcast room, namely product a and product b. According to the number of people online in the live broadcast room, 10 items are determined to be the best-selling value; at t1 seconds, product a is generated The sales volume is 10 pieces, and the sales volume of product b is 5 pieces. At this time, according to the number of online users in the live broadcast room, it is judged that product a has reached the hot selling value, and the hot selling data of product a (such as product basic information, product sales volume, etc.) will be pushed to the audience terminal.
在步骤S230中,将待展示数据发送至目标终端,以使目标终端在运行的目标虚拟空间的界面中动态展示待展示数据;目标终端为目标虚拟空间中的目标帐户对应的终端。In step S230, the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the running interface of the target virtual space; the target terminal is a terminal corresponding to the target account in the target virtual space.
在一些实施例中,服务器将待展示数据实时发送至目标虚拟空间中的目标帐户对应的目标终端;目标终端接收到服务器发送的待展示数据,则在该目标终端运行的目标虚拟空间的界面中,通过预先设定的动态效果展示方式,动态展示该待展示数据,例如通过气泡等形式展示达到热卖的商品的销量数据。In some embodiments, the server sends the data to be displayed to the target terminal corresponding to the target account in the target virtual space in real time; when the target terminal receives the data to be displayed sent by the server, it will display the data in the interface of the target virtual space running on the target terminal , dynamically display the data to be displayed through a preset dynamic effect display method, for example, display the sales data of a hot commodity in the form of a bubble.
上述数据处理方法中,通过实时获取目标虚拟空间中的至少一个对象的互动增量数据;在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据进入目标虚拟空间的当前目标帐户的数量确定;将待展示数据发送至目标终端,以使目标终端在运行的目标虚拟空间的界面中动态展示待展示数据;目标终端为目标虚拟空间中的目标帐户对应的终端。这样,实现了对待展示数据的实时识别和发送的目的,无需通过定时任务触发才对互动增量数据进行识别,也无需通过信号触发的方式才展示待展示数据,从而降低了互动增量数据的展示延迟;此外,根据目标虚拟空间的当前目标帐户的数量确定增量阈值,可以灵活准确地展示对象的畅销情况,避免对目标帐户造成较大的干扰,同时提高互动效果以及提升用户粘度。In the above data processing method, the incremental interaction data of at least one object in the target virtual space is obtained in real time; when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, according to the incremental interaction data, at least The data to be displayed of an object; the incremental threshold is determined according to the number of current target accounts entering the target virtual space; the data to be displayed is sent to the target terminal, so that the target terminal dynamically displays the data to be displayed in the interface of the running target virtual space ; The target terminal is the terminal corresponding to the target account in the target virtual space. In this way, the purpose of real-time identification and transmission of the data to be displayed is realized, and the interactive incremental data does not need to be triggered by a scheduled task to identify the interactive incremental data, nor does it need to be triggered by a signal to display the data to be displayed, thereby reducing the interactive incremental data. Display delay; in addition, determining the incremental threshold based on the number of current target accounts in the target virtual space can flexibly and accurately display the best-selling situation of the object, avoiding major interference to the target account, and at the same time improve the interaction effect and increase user stickiness.
在一示例性实施例中,上述步骤S220,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据之前,数据处理还包括:判断目标虚拟空间中是否包括正在进行互动的目标对象。In an exemplary embodiment, in the above step S220, if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, before generating the data to be displayed of at least one object according to the incremental interaction data, the data processing is further performed. Including: judging whether the target virtual space includes the interacting target object.
此时,上述步骤S220,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据,包括:At this time, in the above step S220, when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to be displayed data according to the incremental interaction data, including:
在目标虚拟空间中包括正在进行互动的目标对象,且目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件;在目标虚拟空间中不包括正在进行互动的目标对象,且至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于最大增量数据确定待展示数据。In the case that the target virtual space includes a target object that is interacting, and the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold value, the data to be displayed is determined based on each incremental update data of the target object until reaching The first end condition: when the target virtual space does not include the target object being interacted with, and the maximum increment data in the interaction increment data of at least one object is greater than or equal to the corresponding increment threshold, based on the maximum increment The data determines the data to be displayed.
其中,以对象为上架商品为例,目标虚拟空间中是否正在进行互动的目标对象,可以是指目标虚拟空间中当前是否有重点介绍的对象,在一些实施例中,是指目标直播间中当前是否有主播重点介绍的商品。每次增量更新数据,是指销量数据的每一次更新数值,比如1000、1001、1003等。第一结束条件包括但不限于目标虚拟空间中的主播帐户结束正在进行互动的目标对象的介绍,或者正在进行互动的目标对象的销量数量不再 更新。Wherein, taking the object as an example of a product on the shelf, whether the target object is being interacted with in the target virtual space may refer to whether there is currently a highlighted object in the target virtual space. In some embodiments, it refers to the current Is there any product that the anchor will highlight. Each incremental update data refers to each update value of the sales data, such as 1000, 1001, 1003, etc. The first end condition includes but is not limited to that the anchor account in the target virtual space ends the introduction of the interacting target object, or the sales volume of the interacting target object is no longer updated.
仅作为示例,服务器通过例如语音识别技术或图像识别技术,判断目标虚拟空间中是否包括正在进行互动的目标对象;响应于目标虚拟空间中包括正在进行互动的目标,将正在进行互动的目标的互动增量数据与对应的增量阈值进行比较,在目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,则基于目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件;响应于目标虚拟空间中不包括正在进行互动的目标对象,则获取至少一个对象的互动增量数据中的最大增量数据,将该最大增量数据与对应的增量阈值进行比较,在该最大增量数据大于或者等于对应的增量阈值的情况下,则基于该最大增量数据确定待展示数据。As an example only, the server determines whether the target virtual space includes the interacting target object in the target virtual space through, for example, speech recognition technology or image recognition technology; Incremental data is compared with the corresponding incremental threshold, and when the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on each incremental update data of the target object until reaching The first end condition; in response to the fact that the target virtual space does not include the target object that is interacting, then obtain the maximum incremental data in the interactive incremental data of at least one object, and compare the maximum incremental data with the corresponding incremental threshold In comparison, if the maximum incremental data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the maximum incremental data.
举例说明,以对象为上架商品为例,在将销量数据确定为待展示数据的过程中,除了判断销量数据是否大于或者等于对应的销量阈值,还通过结合主播当前重点介绍的商品,优先下发该重点介绍的商品的销量变化,如此避免导致热卖和重点讲解的商品不一致,增加观众的选择困难,扰乱主播节奏。在直播间当前有重点介绍的商品的情况下,在销量超过初始门槛之后,销量的持续变化都会作为热卖值推送给客户端,直到主播结束该商品的介绍,或者该商品的销量不再变化,会重新计算整个直播间的热卖商品;在直播间当前没有重点介绍的商品的情况下,则获取当前直播间销量最高的商品,判断该商品的销量是否达到了当前时刻的热卖值。For example, taking the object as the product on the shelf as an example, in the process of determining the sales data as the data to be displayed, in addition to judging whether the sales data is greater than or equal to the corresponding sales threshold, it is also combined with the products currently highlighted by the host. The sales volume of the products that should be highlighted should be changed, so as to avoid the inconsistency between the best-selling products and the products that are highlighted, making it difficult for the audience to choose, and disrupting the rhythm of the anchor. In the case of a product that is currently highlighted in the live broadcast room, after the sales volume exceeds the initial threshold, the continuous change in sales will be pushed to the client as a hot sale value until the host ends the introduction of the product, or the sales of the product no longer change. The best-selling products in the entire live broadcast room will be recalculated; if there is no product highlighted in the live broadcast room, the product with the highest sales volume in the current live broadcast room will be obtained to determine whether the sales of the product have reached the current best-selling value.
本公开实施例提供的技术方案,在根据互动增量数据,生成待展示数据的过程中,综合考虑目标虚拟空间中是否包括正在进行互动的目标对象以及由目标虚拟空间的当前目标帐户的数量所确定的增量阈值,有利于提高待展示数据的确定准确率,同时实现了对正在进行互动的目标对象的互动增量数据的持续展示。In the technical solution provided by the embodiments of the present disclosure, in the process of generating the data to be displayed based on the interactive incremental data, comprehensively consider whether the target virtual space includes the target object that is interacting and the number of current target accounts in the target virtual space. The determined incremental threshold is conducive to improving the determination accuracy of the data to be displayed, and at the same time realizes the continuous display of the interactive incremental data of the interacting target object.
在一示例性实施例中,本申请公开的数据处理方法,还包括如下内容:在第一预设时间段内,最大增量数据对应的第一对象的互动增量数据更新的情况下,基于第一对象在第一预设时间段内的每次增量更新数据确定待展示数据;在第一预设时间段内,第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于第二对象的互动增量数据确定待展示数据。In an exemplary embodiment, the data processing method disclosed in the present application further includes the following content: within the first preset time period, when the incremental data of interaction of the first object corresponding to the maximum incremental data is updated, based on Each incremental update data of the first object within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated, and there is interaction of the second object When the incremental data is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the interactive incremental data of the second object.
其中,第一预设时间段是指互动增量数据达到对应的增量阈值的对象的动态效果保护时间段,比如10秒、15秒等,可以根据实际情况进行调整。最大增量数据对应的第一对象,可以指上一次达到增量阈值的对象,在一些实施例中,是指上一次达到热卖值的商品。Wherein, the first preset time period refers to the dynamic effect protection time period of the object whose interactive incremental data reaches the corresponding incremental threshold, such as 10 seconds, 15 seconds, etc., which can be adjusted according to the actual situation. The first object corresponding to the maximum incremental data may refer to the object that reached the incremental threshold last time, and in some embodiments, refers to the commodity that reached the hot sale value last time.
在一些实施例中,服务器实时判断在第一预设时间段内,最大增量数据对应的第一对象的互动增量数据是否更新;在第一预设时间段内,最大增量数据对应的第一对象的互动增量数据更新的情况下,则基于第一对象在第一预设时间段内的每次增量更新数据确定待展示数据;在第一预设时间段内,第一对象的互动增量数据未更新的情况下,则判断目标虚拟空间中的至少一个对象的互动增量数据中,是否存在第二对象的互动增量 数据大于或者等于对应的增量阈值;在存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,则基于第二对象的互动增量数据确定待展示数据。In some embodiments, the server judges in real time whether the interactive incremental data of the first object corresponding to the maximum incremental data is updated within the first preset time period; In the case of updating the interactive incremental data of the first object, the data to be displayed is determined based on each incremental update data of the first object within the first preset time period; within the first preset time period, the first object If the incremental interaction data of the target virtual space is not updated, it is judged whether the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold in the incremental interaction data of at least one object in the target virtual space; If the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the incremental interaction data of the second object.
举例说明,以对象为上架商品为例,对于大主播的直播间,会有多款商品畅销的情况;比如,当前直播间有两个商品,分别是商品a和商品b,预先根据直播间的不同在线人数,在t1秒将10件确定为热卖值。在t1秒的时候商品a产生销量10件,商品b产生销量5件,这时候按照直播间人数计算商品a达到了热卖值,推送商品a的热卖数据。在t1+5s之后,商品a销量增加到了12件,商品b销量增加到了20件。此时,按照直播间人数计算,在t1+5s的热卖值为20件,这时候应该是商品b达到了热卖值,但是因为商品a展示的时间还没到第一预设时间段(例如10s),避免商品a的动效被顶替,这时候会继续以12件商品a的销量作为热卖值推送给客户端,而不是推送商品b的销量作为热卖。在持续展示商品a的第一预设时间段(例如10s)之后,商品a销量为22件,b销量为32件,而按照直播间人数计算,在t1+10s的热卖值为30件,这时候应该是商品b达到了热卖值,这时候会以32件商品b的销量作为热卖值推送给客户端,以替换商品a的热卖动效。For example, taking the object as a product on the shelf as an example, for the live broadcast room of a big anchor, there will be a situation where multiple products sell well; for example, there are two products in the current live broadcast room, namely product a and product b. Depending on the number of people online, 10 items are determined as the hot sale value at t1 second. At t1 seconds, product a generates 10 sales, and product b generates 5 sales. At this time, product a has reached the best-selling value based on the number of people in the live broadcast room, and the best-selling data of product a is pushed. After t1+5s, the sales of commodity a increased to 12, and the sales of commodity b increased to 20. At this time, calculated according to the number of people in the live broadcast room, the best-selling value at t1+5s is 20 pieces. At this time, product b should have reached the best-selling value, but because the display time of product a has not yet reached the first preset time period (for example, 10s ), to prevent the dynamic effect of product a from being replaced. At this time, the sales of 12 items of product a will continue to be pushed to the client as the best-selling value, instead of the sales of product b as the best-selling value. After the first preset time period (for example, 10s) of continuously displaying product a, the sales volume of product a is 22, and the sales volume of product b is 32. According to the calculation of the number of people in the live broadcast room, the best-selling value at t1+10s is 30, which means It should be when product b has reached the best-selling value. At this time, the sales volume of 32 items of product b will be pushed to the client as the best-selling value to replace the best-selling animation effect of product a.
在t1+5s之后,商品a销量还是10件,商品b销量增加到了20件。按照直播间人数计算,在t1+5s的热卖值为20件,这时候应该是商品b达到了热卖值,这时候会以20件商品b的销量作为热卖值推送给客户端,以替换商品a的热卖动效。这样,在一个商品触发热卖之后,对其进行展示的时间保护,避免了很快有下一款商品触发热卖将当前商品顶替,如此反复,会产生不同商品互相快速替换,给观众带来干扰的现象。After t1+5s, the sales volume of commodity a is still 10 pieces, and the sales volume of commodity b has increased to 20 pieces. According to the calculation of the number of people in the live broadcast room, the best-selling value at t1+5s is 20 pieces. At this time, product b should reach the hot-selling value. At this time, the sales of 20 pieces of product b will be pushed to the client as the best-selling value to replace product a. best seller animation. In this way, after a product triggers a hot sale, the time protection for displaying it avoids that the next product will soon trigger a hot sale and replace the current product. Repeatedly, different products will be quickly replaced with each other, causing interference to the audience. Phenomenon.
本公开实施例提供的技术方案,保证了达到增量阈值的对象的互动增量数据的动态效果保护时间,避免了达到增量阈值的对象的互动增量数据很快被替换的缺陷。The technical solution provided by the embodiments of the present disclosure ensures the dynamic effect protection time of the incremental interactive data of objects reaching the incremental threshold, and avoids the defect that the incremental interactive data of objects reaching the incremental threshold is quickly replaced.
在一示例性实施例中,本申请公开的数据处理方法,还包括如下内容:在第一预设时间段内,第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,第一对象的互动增量数据是否更新;第二预设时间段为起始时间与第一预设时间段的起始时间相同,且时长大于第一预设时间段的时长的时间段;在第二预设时间段内,第一对象的互动增量数据更新的情况下,基于第一对象在第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。In an exemplary embodiment, the data processing method disclosed in the present application further includes the following content: within the first preset time period, the interaction increment data of the first object is not updated, and there is no interaction increment data of the second object If the volume data is greater than or equal to the corresponding incremental threshold, it is judged whether the interactive incremental data of the first object is updated within the second preset time period; the second preset time period is the start time and the first preset time The start time of the period is the same, and the duration is longer than the first preset time period; in the second preset time period, if the incremental interaction data of the first object is updated, based on the first object at the The data to be displayed is determined for each incremental data update within the two preset time periods, until the second end condition is met.
其中,第二预设时间段是指起始时间与第一预设时间段的起始时间相同,且结束时间晚于第一预设时间段的结束时间的时间段,用于表示互动增量数据达到对应的增量阈值的对象的最长展示时间,比如第一预设时间段为0-10S,第二预设时间段为0-30S,可以根据实际情况进行调整。第二结束条件包括但不限于互动增量数据达到对应的增量阈值的第一对象的持续展示时间超过第二预设时间段。Wherein, the second preset time period refers to a time period whose start time is the same as that of the first preset time period and whose end time is later than the end time of the first preset time period, which is used to represent the interaction increment The longest display time for objects whose data reaches the corresponding incremental threshold, for example, the first preset time period is 0-10s, and the second preset time period is 0-30s, which can be adjusted according to the actual situation. The second end condition includes, but is not limited to, that the continuous display time of the first object whose interaction increment data reaches a corresponding increment threshold exceeds a second preset time period.
举例说明,以对象为上架商品为例,当直播间只有单款商品热销,并且持续产生销量,对于这种情况,则应该将该商品的每次销量变化都当作热卖值持续下发,在该商品 持续展示时间超过30s之后结束对其热卖销量的展示,在后续有商品再次达到热卖的情况下,继续展示新的热卖商品。例如,当前直播间有两个商品,分别是商品a和商品b,预先根据直播间的不同在线人数,在t1秒将10件确定为热卖值。在t1秒的时候,商品a产生销量10件,商品b产生销量2件,这时候按照直播间人数计算商品a达到了热卖,则推送商品a的热卖数据给客户端。在第一预设时间段(比如t1+10s)之后,商品a和商品b的销量均没有变化;在t1+20s之后,商品a的销量增加到了15件,商品b的销量增加到了5件。此时,按照直播间人数计算,在t1+20s的热卖值为20件,这时候商品a和商品b都没有达到该热卖值,但是因为商品a在t1秒的时候达到了热卖值,并且还没超过第二预设时间段(比如30s),则将商品a的15件销量作为热卖值推送给客户端。For example, taking the target product as an example, when only a single product is selling well in the live broadcast room, and sales continue to be generated, in this case, each change in sales of the product should be continuously issued as a hot sale value. After the product has been displayed for more than 30 seconds, the display of its best-selling sales will end, and in the case of subsequent products that reach hot sales again, continue to display new hot-selling products. For example, there are currently two products in the live broadcast room, namely product a and product b. According to the number of online users in the live broadcast room in advance, 10 items are determined as the best-selling value in t1 seconds. At t1 second, product a generates 10 sales, and product b generates 2 sales. At this time, according to the number of people in the live broadcast room, product a reaches the best sale, and the best sale data of product a is pushed to the client. After the first preset time period (such as t1+10s), the sales of commodity a and commodity b remain unchanged; after t1+20s, the sales of commodity a increase to 15, and the sales of commodity b increase to 5. At this time, calculated according to the number of people in the live broadcast room, the best-selling value at t1+20s is 20 pieces. At this time, neither product a nor product b has reached the hot-selling value, but because product a reached the hot-selling value at t1 seconds, and there is still If the second preset time period (for example, 30s) is not exceeded, the sales volume of 15 pieces of commodity a is pushed to the client as the hot selling value.
本公开实施例提供的技术方案,保证了达到增量阈值的对象的互动增量数据的持续展示时间,有利于实时展示达到增量阈值的对象的互动增量数据更新,以给观众呈现出该对象的畅销情况,显示出该对象售卖的紧迫感,从而有利于增强直播间的互动氛围。The technical solutions provided by the embodiments of the present disclosure ensure the continuous display time of the incremental interactive data of the objects reaching the incremental threshold, which is conducive to real-time display of the incremental interactive data update of the objects reaching the incremental threshold, so as to present the audience with the interactive incremental data. The best-selling situation of the object shows the sense of urgency for the sale of the object, which is conducive to enhancing the interactive atmosphere in the live broadcast room.
在一示例性实施例中,上述步骤S210,在实时获取目标虚拟空间中的至少一个对象的互动增量数据之前,还包括:实时获取对象的初始互动增量数据;对对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将虚拟空间中的对象的互动增量数据存储至预设数据库中。In an exemplary embodiment, the above step S210, before acquiring the incremental interaction data of at least one object in the target virtual space in real time, further includes: acquiring the initial interactive incremental data of the object in real time; The data is screened to obtain the incremental interaction data of the objects in the virtual space, and the incremental interaction data of the objects in the virtual space is stored in a preset database.
其中,初始互动增量数据是指根据对象的订单消息初步确定的销量数据,在一些实施例中,是指商品的初始销量数据。Wherein, the initial interaction incremental data refers to the sales data initially determined according to the object's order message, and in some embodiments, refers to the initial sales data of the commodity.
其中,筛选处理包括但不限于过滤处理和去重处理;过滤处理是指对初始互动增量数据中不属于目标虚拟空间关联的互动增量数据、不属于增量增加的订单消息等无效数据进行过滤;去重处理是指对初始互动增量数据中重复发送的订单消息进行去重。Among them, screening processing includes but not limited to filtering processing and deduplication processing; filtering processing refers to the processing of invalid data such as interactive incremental data that is not associated with the target virtual space and order messages that do not belong to incremental incremental data in the initial interactive incremental data. Filtering; deduplication processing refers to deduplication of order messages sent repeatedly in the initial interaction incremental data.
在一些实施例中,服务器接收对象的订单消息;对对象的订单消息进行解析,得到对象的初始互动增量数据;根据过滤处理指令,对对象的初始互动增量数据进行过滤处理,以过滤掉初始互动增量数据中不属于虚拟空间关联的互动增量数据、不属于增量增加的订单消息,得到过滤处理后的增量数据;根据去重处理指令,对过滤处理后的增量数据进行去重处理,以删除过滤处理后的增量数据中重复发送的订单消息,得到虚拟空间中的对象的互动增量数据;将各个虚拟空间中的对象的互动增量数据,按照各个虚拟空间的虚拟空间标识分类存储至预设数据库中。In some embodiments, the server receives the order message of the object; parses the order message of the object to obtain the initial interaction incremental data of the object; according to the filtering processing instruction, filters the initial interaction incremental data of the object to filter out In the initial interactive incremental data, the interactive incremental data that does not belong to the virtual space association and the order message that does not belong to the incremental increase obtain the filtered incremental data; according to the deduplication processing instruction, the filtered incremental data is processed Deduplication processing to delete the repeated order messages in the filtered incremental data to obtain the interactive incremental data of the objects in the virtual space; the interactive incremental data of the objects in each virtual space, according to the The virtual space identifiers are classified and stored in a preset database.
举例说明,以对象为上架商品为例,参考图3,用户对商品购买下单成功之后,交易系统产生商品的销量数据,并对外发送商品销量的消息。同时,对于第三方平台的商品,通过开放平台统一对接处理后,产生第三方商品的销量消息。服务器中的销量统计和存储模块部署消费者对这些销量数据进行消费,将其中非直播间销量、非销量增加的订单消息等无用的数据进行过滤,并且对重复发送的订单消息进行去重之后,将同一个直播间的销量数据存储到redis数据库中。For example, taking the object as an example of a product on the shelf, refer to Figure 3. After the user successfully places an order for the product, the transaction system generates the sales data of the product and sends a message about the sales of the product to the outside. At the same time, for the products of the third-party platform, the sales information of the third-party products will be generated after unified docking and processing through the open platform. The sales statistics and storage module in the server deploy consumers to consume these sales data, filter useless data such as non-live room sales and non-sales increase order messages, and deduplicate the repeated order messages, Store the sales data of the same live broadcast room in the redis database.
进一步地,上述步骤S210,实时获取目标虚拟空间中的至少一个对象的互动增量数据,包括:实时查询预设数据库,得到目标虚拟空间中的至少一个对象的互动增量数据。Further, the above-mentioned step S210 of obtaining the incremental interaction data of at least one object in the target virtual space in real time includes: querying a preset database in real time to obtain the incremental interaction data of at least one object in the target virtual space.
在一些实施例中,服务器获取目标虚拟空间的虚拟空间标识,根据目标虚拟空间的虚拟空间标识实时查询预设数据库,得到目标虚拟空间中的至少一个对象的互动增量数据。In some embodiments, the server acquires the virtual space identifier of the target virtual space, queries a preset database in real time according to the virtual space identifier of the target virtual space, and obtains interactive incremental data of at least one object in the target virtual space.
本公开实施例提供的技术方案,通过对对象的初始互动增量数据进行筛选处理后再存储至预设数据库中,有利于提高预设数据库中存储的虚拟空间中的对象的互动增量数据的准确率;同时,通过实时查询预设数据库,有利于提高查询得到的目标虚拟空间中的对象的互动增量数据的准确率。The technical solution provided by the embodiments of the present disclosure helps to improve the accuracy of the incremental interaction data of objects in the virtual space stored in the preset database by filtering and processing the initial incremental data of the interaction of the objects and then storing them in the preset database. Accuracy; at the same time, by querying the preset database in real time, it is beneficial to improve the accuracy of the query-obtained incremental data of the interaction of objects in the target virtual space.
在一示例性实施例中,如图4所示,上述步骤S230,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,根据互动增量数据,生成至少一个对象的待展示数据,包括:步骤S410,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,获取互动增量数据对应对象的对象属性信息;步骤S420,将对象属性信息和互动增量数据进行组合,得到待展示数据。In an exemplary embodiment, as shown in FIG. 4 , in the above step S230, if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate at least one object to be displayed according to the incremental interactive data. data, including: step S410, when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, obtain the object attribute information of the object corresponding to the interactive incremental data; step S420, combine the object attribute information and the interactive incremental data Combine them to get the data to be displayed.
在步骤S410中,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,获取互动增量数据对应对象的对象属性信息。In step S410, if the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, acquire the object attribute information of the object corresponding to the incremental interaction data.
其中,对象属性信息可以包括对象的基本信息,比如商品标题、商品价格、商品图片等商品基本信息,又比如道具名称、道具图片等虚拟对象基本信息。Wherein, the object attribute information may include the basic information of the object, such as the basic information of the product such as the product title, the product price, and the product picture, and the basic information of the virtual object such as the name of the item and the picture of the item.
在一些实施例中,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,服务器根据互动增量数据对应对象的对象标识,查询存储有多个对象的对象属性信息的预设数据库,得到互动增量数据对应对象的对象属性信息。In some embodiments, when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, the server queries the preset object attribute information of multiple objects according to the object identification of the object corresponding to the incremental interaction data. The database obtains the object attribute information of the object corresponding to the interactive incremental data.
举例说明,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,服务器根据销量数据对应商品的商品ID,查询redis数据库,得到销量数据对应商品的基本信息,获取互动增量数据对应对象的对象属性信息。For example, when the interactive incremental data is greater than or equal to the incremental threshold of the target virtual space, the server queries the redis database according to the product ID of the product corresponding to the sales data, obtains the basic information of the product corresponding to the sales data, and obtains the interactive incremental data Object attribute information of the corresponding object.
在步骤S420中,将对象属性信息和互动增量数据进行组合,得到待展示数据。In step S420, the object attribute information and the incremental interaction data are combined to obtain the data to be displayed.
其中,待展示数据是指对象的概览数据,包括但不限于对象属性信息和互动增量数据。Wherein, the data to be displayed refers to the overview data of the object, including but not limited to object attribute information and interactive incremental data.
在一些实施例中,服务器按照预设组合方式,将对象属性信息和互动增量数据进行组合,得到待展示数据。In some embodiments, the server combines the object attribute information and the interactive incremental data according to a preset combination mode to obtain the data to be displayed.
举例说明,在计算出一个直播间当前的热卖值之后,将产生热卖的商品ID传递到服务器中的商品热卖发送模块,该模块负责查询该商品的商品基本信息,比如标题、价格、图片等,并结合当前热卖的商品销量数据,组装成商品的概览数据,给客户端推送这些概览数据,通过客户端结合这些概览数据,展示该商品热卖的动效,从而最终在观众面前呈现出商品的热卖。For example, after calculating the current best-selling value of a live broadcast room, the ID of the hot-selling product is sent to the hot-selling product sending module in the server. This module is responsible for querying the basic information of the product, such as title, price, picture, etc. Combined with the sales data of the current best-selling products, it is assembled into the overview data of the products, and these overview data are pushed to the client, and the dynamic effect of the hot sale of the product is displayed through the client combined with these overview data, so as to finally present the hot sale of the product in front of the audience .
本公开实施例提供的技术方案,在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,将互动增量数据对应对象的对象属性信息和该对象的互动增量数据进行组合,得到待展示数据,有利于后续将待展示数据发送至观众终端进行展示,无需通过信号触发的方式才展示待展示数据,从而降低了销量数据的展示延迟,同时增强了互动效果。In the technical solution provided by the embodiments of the present disclosure, when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, the object attribute information of the object corresponding to the interactive incremental data is combined with the interactive incremental data of the object, Obtaining the data to be displayed is conducive to sending the data to be displayed to the audience terminal for display in the future. The data to be displayed does not need to be triggered by a signal, thereby reducing the display delay of sales data and enhancing the interactive effect.
在一示例性实施例中,如图5所示,提供了另一种数据处理方法的流程图,应用于服务器。以对象为上架商品为例,该服务器包括销量统计和存储模块、热卖值计算和决策模块、商品热卖发送模块,通过这三个模块解决业务上统计和展示商品的实时销量,在销量满足各种决策条件的时候,下发商品的热卖数据,提升直播间的互动氛围。In an exemplary embodiment, as shown in FIG. 5 , a flow chart of another data processing method is provided, which is applied to a server. Taking products on the shelves as an example, the server includes a sales statistics and storage module, a sales value calculation and decision-making module, and a sales delivery module. These three modules solve business statistics and display the real-time sales of products, and the sales volume meets various requirements. When making decisions about the conditions, distribute the best-selling data of the products to enhance the interactive atmosphere in the live broadcast room.
继续参考图3,通过销量统计和存储模块,对商品的订单消息进行消费,将其中非直播间销量、非销量增加的订单消息等无用的数据进行过滤,并且对重复发送的订单消息进行去重之后,将同一个直播间的销量数据存储到redis中。接着,继续参考图5,通过热卖值计算和决策模块,计算商品的一个销量值是否满足当前直播间限制的销量值,并且决策是否将该商品的销量值下发给观众进行展示;经过计算和决策,最终得到一个直播间是否有商品达到热卖值可以下发,将产生的新的热卖值时间和数值等数据存储在redis之后,将热卖商品id传递给商品热卖发送模块,由该商品热卖发送模块进行数据补充和下发。最后,商品热卖发送模块负责根据接收到的热卖商品id,查询该商品的商品基本信息,结合当前的销量,组装成商品的概览数据,给客户端推送这些数据,客户端展示商品热卖的动效,从而最终在观众面前呈现出商品的热卖。Continuing to refer to Figure 3, use the sales statistics and storage module to consume the order messages of the products, filter the useless data such as non-live room sales and non-sales increase order messages, and deduplicate the repeated order messages After that, store the sales data of the same live broadcast room in redis. Next, continue to refer to Figure 5, through the hot sale value calculation and decision-making module, calculate whether a sales value of a product meets the sales value limited by the current live broadcast room, and decide whether to send the sales value of the product to the audience for display; after calculation and Decision-making, and finally get whether there is a product in the live broadcast room that can be delivered if it reaches the hot sale value, store the generated data such as the time and value of the new hot sale value in redis, and pass the hot sale product id to the product hot sale sending module, and the product will be sent by hot sale The module performs data supplementation and distribution. Finally, the sending module of hot products is responsible for querying the basic information of the products according to the received id of the hot products, combining the current sales volume, assembling the overview data of the products, and pushing these data to the client, and the client displays the dynamic effect of the hot products , so as to finally show the hot sale of goods in front of the audience.
根据本申请实施例的数据处理方法(1)提高了直播电商商品热卖值计算和下发的实时性,能够实时下发商品的热卖值,避免延迟给主播和观众带来困扰;(2)实现了热卖值的持续下发,现有方案通过定时任务的方式定时执行,无法实现一个直播间热卖值的持续下发,无法给观众展示商品的畅销,本公开提供了直播间商品热卖值持续下发的能力;(3)降低了直播间热卖商品的现实成本,现有方案中部署了三个模块的服务,同时需要使用redis和mysql两种存储方式,整个热卖计算、下发和展示的链路较长,成本较高,本公开将商品销量统计、热卖值计算决策、热卖商品构造下发的过程都分散到各个消费者中,只需要部署各个消费者服务即可,并且数据存储只需要使用redis存储销量和热卖数据,无需mysql,大大的减少了服务器和存储的成本;(4)在业务上,给观众呈现出商品的畅销情况,显示出该商品售卖的紧迫感,从而有利于增强直播间互动的氛围,本公开对商品的热卖计算和下发有一定的决策规则,不同的人数的直播间热卖的限制阈值不一样,对于计算满足条件后的商品热卖值,也会根据上一次下发的商品和时间、是否有正在讲解、是否达到最大的展示时间等,决策此次计算得到的商品销量热卖值是否下发,既避免了频繁的发送和商品切换干扰观众,又能及时计算决策出热卖的商品,同时提高直播间互动效果,进而提升用户粘度。The data processing method according to the embodiment of the present application (1) improves the real-time calculation and distribution of the best-selling value of the live e-commerce commodity, and can distribute the best-selling value of the commodity in real time, avoiding delays that cause trouble to the anchor and the audience; (2) Realize the continuous issuance of best-selling value. Existing schemes are executed regularly through scheduled tasks, which cannot realize the continuous distribution of hot-selling value in a live broadcast room, and cannot show the best-selling products to the audience. This disclosure provides a continuous The ability to deliver; (3) Reduced the actual cost of hot-selling products in the live broadcast room. In the existing solution, three modules of services are deployed, and two storage methods, redis and mysql, are required at the same time. The entire hot-selling calculation, distribution and display The link is long and the cost is high. This disclosure disperses the process of commodity sales statistics, calculation and decision-making of best-selling value, and distribution of hot-selling commodity structure to each consumer. It only needs to deploy each consumer service, and the data storage only needs to It is necessary to use redis to store sales and best-selling data, without the need for mysql, which greatly reduces the cost of servers and storage; (4) In terms of business, it presents the best-selling situation of the product to the audience, showing the urgency of selling the product, which is beneficial to To enhance the interactive atmosphere in the live broadcast room, this disclosure has certain decision-making rules for the calculation and delivery of the best-selling products. The limit thresholds for hot sales in the live broadcast room are different for different numbers of people. The products and time to be released at one time, whether there is an explanation, whether the maximum display time has been reached, etc., decide whether to distribute the hot sales value of the products calculated this time, which not only avoids frequent sending and product switching to interfere with the audience, but also timely Calculate and decide the best-selling products, and at the same time improve the interactive effect of the live broadcast room, thereby increasing user stickiness.
应该理解的是,虽然图2-图5的流程图中的各个步骤按照箭头的指示依次显示,但 是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-图5中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow charts in Figs. 2-5 are shown sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 2-5 may include multiple steps or stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. These steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of steps or stages in other steps.
可以理解的是,本说明书中上述方法的各个实施例之间相同/相似的部分可互相参见,每个实施例重点说明的是与其他实施例的不同之处,相关之处参见其他方法实施例的说明即可。It can be understood that the same/similar parts between the various embodiments of the above-mentioned methods in this specification can be referred to each other, and each embodiment focuses on the differences from other embodiments, and for relevant parts, refer to other method embodiments description of the .
图6是根据一示例性实施例示出的一种数据处理装置的框图。参照图6,该装置包括数据获取单元610,数据识别单元620和数据发送单元630。Fig. 6 is a block diagram of a data processing device according to an exemplary embodiment. Referring to FIG. 6 , the device includes a data acquiring unit 610 , a data identifying unit 620 and a data sending unit 630 .
数据获取单元610,被配置为实时获取目标虚拟空间中的至少一个对象的互动增量数据。The data acquisition unit 610 is configured to acquire interaction incremental data of at least one object in the target virtual space in real time.
数据识别单元620,被配置为响应于互动增量数据大于或者等于目标虚拟空间的增量阈值,根据互动增量数据,生成至少一个对象的待展示数据;增量阈值根据进入目标虚拟空间的当前目标帐户的数量确定。The data identification unit 620 is configured to generate the data to be displayed of at least one object according to the interaction incremental data in response to the interaction incremental data being greater than or equal to the incremental threshold of the target virtual space; the incremental threshold is based on the current The number of target accounts is determined.
数据发送单元630,被配置为将待展示数据发送至目标终端,以使在目标终端运行的目标虚拟空间的界面中动态展示待展示数据;目标终端为目标虚拟空间中的目标帐户对应的终端。The data sending unit 630 is configured to send the data to be displayed to the target terminal, so that the data to be displayed can be dynamically displayed in the interface of the target virtual space running on the target terminal; the target terminal is a terminal corresponding to the target account in the target virtual space.
在一示例性实施例中,数据处理装置还包括:判断单元,被配置为判断目标虚拟空间中是否包括正在进行互动的目标对象;In an exemplary embodiment, the data processing device further includes: a judging unit configured to judge whether the target virtual space includes a target object being interacted with;
数据识别单元620,还被配置为在目标虚拟空间中包括正在进行互动的目标对象,且目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件。The data identification unit 620 is further configured to, when the target virtual space includes a target object that is interacting, and the interaction increment data of the target object is greater than or equal to the corresponding increment threshold, based on each increment of the target object Updating the data determines the data to be displayed until the first end condition is met.
在一示例性实施例中,数据识别单元620,还被配置为在目标虚拟空间中不包括正在进行互动的目标对象,且至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于最大增量数据确定待展示数据。In an exemplary embodiment, the data identifying unit 620 is further configured to exclude target objects that are interacting in the target virtual space, and the maximum incremental data in the interactive incremental data of at least one object is greater than or equal to the corresponding In the case of an incremental threshold of , the data to be displayed is determined based on the largest incremental data.
在一示例性实施例中,数据识别单元620,还被配置为在第一预设时间段内,最大增量数据对应的第一对象的互动增量数据更新的情况下,基于第一对象在第一预设时间段内的每次增量更新数据确定待展示数据;在第一预设时间段内,第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于第二对象的互动增量数据确定待展示数据。In an exemplary embodiment, the data identification unit 620 is further configured to, within the first preset time period, when the incremental data of the first object corresponding to the maximum incremental data is updated, based on the first object's Each incremental update data within the first preset time period determines the data to be displayed; within the first preset time period, the interactive incremental data of the first object is not updated, and the interactive incremental data of the second object is greater than Or if it is equal to the corresponding incremental threshold, the data to be displayed is determined based on the interactive incremental data of the second object.
在一示例性实施例中,数据识别单元620,还被配置为在第一预设时间段内,第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,第一对象的互动增量数据是否更新;第二预 设时间段为起始时间与第一预设时间段的起始时间相同,且时长大于第一预设时间段的时长的时间段;在第二预设时间段内,第一对象的互动增量数据更新的情况下,基于第一对象在第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。In an exemplary embodiment, the data identification unit 620 is further configured such that within the first preset time period, the incremental interaction data of the first object is not updated, and there is no incremental interaction data of the second object greater than or If it is equal to the corresponding incremental threshold, determine whether the incremental data of the first object’s interaction is updated within the second preset time period; the second preset time period is the start time and the start of the first preset time period The time period is the same and the duration is longer than the first preset time period; in the second preset time period, if the incremental data of the first object’s interaction is updated, based on the first object’s time at the second preset time The data to be displayed is determined for each incremental update data in the segment until the second end condition is met.
在一示例性实施例中,数据处理装置还包括:数据存储单元,被配置为实时获取对象的初始互动增量数据;对对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将虚拟空间中的对象的互动增量数据存储至预设数据库中;In an exemplary embodiment, the data processing device further includes: a data storage unit configured to acquire the incremental data of the initial interaction of the object in real time; perform screening on the incremental data of the initial interaction of the object to obtain the incremental data of the object in the virtual space interactive incremental data, and store the interactive incremental data of objects in the virtual space into a preset database;
数据获取单元610,还被配置为实时查询预设数据库,得到目标虚拟空间中的至少一个对象的互动增量数据。The data acquisition unit 610 is further configured to query a preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
在一示例性实施例中,数据识别单元620,还被配置为在互动增量数据大于或者等于目标虚拟空间的增量阈值的情况下,获取互动增量数据对应对象的对象属性信息;将对象属性信息和互动增量数据进行组合,得到待展示数据。In an exemplary embodiment, the data identification unit 620 is further configured to acquire the object attribute information of the object corresponding to the interaction increment data when the interaction increment data is greater than or equal to the increment threshold of the target virtual space; The attribute information and the interactive incremental data are combined to obtain the data to be displayed.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图7是根据一示例性实施例示出的一种用于执行数据处理方法的设备700的框图。例如,设备700可以为服务器。参照图7,设备700包括处理组件720,其进一步包括一个或多个处理器,以及由存储器722所代表的存储器资源,用于存储可由处理组件720的执行的指令,例如应用程序。存储器722中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件720被配置为执行指令,以执行上述方法。Fig. 7 is a block diagram showing a device 700 for executing a data processing method according to an exemplary embodiment. For example, device 700 may be a server. Referring to FIG. 7 , device 700 includes processing component 720 , which further includes one or more processors, and a memory resource represented by memory 722 for storing instructions executable by processing component 720 , such as application programs. The application program stored in memory 722 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 720 is configured to execute instructions to perform the above method.
设备700还可以包括:电源组件724被配置为执行设备700的电源管理,有线或无线网络接口726被配置为将设备700连接到网络,和输入输出(I/O)接口728。设备700可以操作基于存储在存储器722的操作系统,例如Windows Server,Mac OS X,Unix,Linux,FreeBSD或类似。 Device 700 may also include a power component 724 configured to perform power management of device 700 , a wired or wireless network interface 726 configured to connect device 700 to a network, and input-output (I/O) interface 728 . Device 700 may operate based on an operating system stored in memory 722, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD or the like.
在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器722,上述指令可由设备700的处理器执行以完成上述方法。存储介质可以是计算机可读存储介质,例如,所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as the memory 722 including instructions, which can be executed by a processor of the device 700 to complete the above method. The storage medium may be a computer readable storage medium such as ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, for example.
在示例性实施例中,还提供一种计算机程序产品,所述计算机程序产品中包括指令,上述指令可由设备700的处理器执行以完成上述方法。In an exemplary embodiment, a computer program product is further provided, the computer program product includes instructions, and the above instructions can be executed by a processor of the device 700 to complete the above method.
需要说明的,上述的装置、设备、计算机可读存储介质、计算机程序产品等根据方法实施例的描述还可以包括其他的实施方式,具体的实现方式可以参照相关方法实施例的描述,在此不作一一赘述。It should be noted that the above-mentioned devices, devices, computer-readable storage media, computer program products, etc. may also include other implementations according to the descriptions of the method embodiments. For specific implementation methods, please refer to the descriptions of related method embodiments, which are not described here. Let me repeat them one by one.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the scope of protection required by the present disclosure.

Claims (17)

  1. 一种数据处理方法,包括:A data processing method, comprising:
    实时获取目标虚拟空间中的至少一个对象的互动增量数据;Acquiring interactive incremental data of at least one object in the target virtual space in real time;
    在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
    将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
  2. 根据权利要求1所述的数据处理方法,还包括:The data processing method according to claim 1, further comprising:
    判断所述目标虚拟空间中是否包括正在进行互动的目标对象;judging whether the target virtual space includes a target object that is interacting;
    所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,包括:In the case where the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generating the data to be displayed of the at least one object according to the incremental interactive data includes:
    在所述目标虚拟空间中包括正在进行互动的目标对象,且所述目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件。In the case that the target virtual space includes a target object that is interacting, and the interactive incremental data of the target object is greater than or equal to the corresponding incremental threshold, determine based on each incremental update data of the target object Data is to be displayed until the first end condition is met.
  3. 根据权利要求2所述的数据处理方法,其中所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,还包括:The data processing method according to claim 2, wherein when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, according to the incremental interaction data, generating the at least one The data to be displayed of the object also includes:
    在所述目标虚拟空间中不包括正在进行互动的目标对象,且所述至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于所述最大增量数据确定待展示数据。In the case that the target virtual space does not include a target object that is interacting, and the maximum incremental data in the interactive incremental data of the at least one object is greater than or equal to the corresponding incremental threshold, based on the maximum incremental Quantitative data determines the data to be displayed.
  4. 根据权利要求3所述的数据处理方法,还包括:The data processing method according to claim 3, further comprising:
    在第一预设时间段内,所述最大增量数据对应的第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第一预设时间段内的每次增量更新数据确定待展示数据;In the first preset time period, when the interaction incremental data of the first object corresponding to the maximum incremental data is updated, based on each increment of the first object within the first preset time period Quantitative update data to determine the data to be displayed;
    在第一预设时间段内,所述第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述第二对象的互动增量数据确定待展示数据。In the first preset period of time, the incremental interaction data of the first object is not updated, and the incremental interaction data of the second object is greater than or equal to the corresponding incremental threshold, based on the second object The incremental data of interaction determines the data to be displayed.
  5. 根据权利要求4所述的数据处理方法,还包括:The data processing method according to claim 4, further comprising:
    在第一预设时间段内,所述第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,所述第一对象的互动增量数据是否更新;所述第二预设时间段为起始时间与所述第一预设时间段的起始时间相同,且时长大于所述第一预设时间段的时长的时间段;In the first preset time period, if the incremental interaction data of the first object is not updated, and there is no incremental interaction data of the second object greater than or equal to the corresponding incremental threshold, determine the second preset Whether the incremental interaction data of the first object is updated within the time period; the start time of the second preset time period is the same as the start time of the first preset time period, and the duration is longer than the first preset time period a time period of the duration of a predetermined time period;
    在第二预设时间段内,所述第一对象的互动增量数据更新的情况下,基于所述第一 对象在所述第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。In the second preset time period, when the incremental data of the interaction of the first object is updated, based on each incremental update data of the first object within the second preset time period, it is determined to be displayed data until the second end condition is reached.
  6. 根据权利要求1至5任一项所述的数据处理方法,还包括:The data processing method according to any one of claims 1 to 5, further comprising:
    实时获取对象的初始互动增量数据;Obtain the initial interactive incremental data of the object in real time;
    对所述对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将所述虚拟空间中的对象的互动增量数据存储至预设数据库中;Screening the initial incremental data of interaction of the objects to obtain the incremental data of interaction of the objects in the virtual space, and storing the incremental data of interaction of the objects in the virtual space into a preset database;
    所述实时获取目标虚拟空间中的至少一个对象的互动增量数据,包括:The real-time acquisition of incremental interaction data of at least one object in the target virtual space includes:
    实时查询所述预设数据库,得到所述目标虚拟空间中的至少一个对象的互动增量数据。Querying the preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
  7. 根据权利要求6所述的数据处理方法,其中所述在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据,包括:The data processing method according to claim 6, wherein when the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, according to the incremental interaction data, generating the at least one The data to be displayed of the object, including:
    在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,获取所述互动增量数据对应对象的对象属性信息;If the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, acquire object attribute information of an object corresponding to the incremental interaction data;
    将所述对象属性信息和所述互动增量数据进行组合,得到待展示数据。Combining the object attribute information and the interactive incremental data to obtain the data to be displayed.
  8. 一种数据处理装置,包括:A data processing device, comprising:
    数据获取单元,被配置为实时获取目标虚拟空间中的至少一个对象的互动增量数据;A data acquisition unit configured to acquire interactive incremental data of at least one object in the target virtual space in real time;
    数据识别单元,被配置为响应于所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;The data identification unit is configured to generate the data to be displayed of the at least one object according to the interactive incremental data in response to the interactive incremental data being greater than or equal to the incremental threshold of the target virtual space; the incremental The volume threshold is determined according to the number of current target accounts entering the target virtual space;
    数据发送单元,被配置为将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。A data sending unit configured to send the data to be displayed to a target terminal, so that the data to be displayed can be dynamically displayed in the interface of the target virtual space running on the target terminal; the target terminal is the The terminal corresponding to the target account in the target virtual space.
  9. 根据权利要求8所述的数据处理装置,还包括:The data processing device according to claim 8, further comprising:
    判断单元,被配置为判断所述目标虚拟空间中是否包括正在进行互动的目标对象;A judging unit configured to judge whether the target virtual space includes a target object being interacted with;
    所述数据识别单元,还被配置为在所述目标虚拟空间中包括正在进行互动的目标对象,且所述目标对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述目标对象的每次增量更新数据确定待展示数据,直到达到第一结束条件。The data identification unit is further configured to, in the case that the target virtual space includes a target object that is interacting, and the interaction increment data of the target object is greater than or equal to a corresponding increment threshold, based on the Data to be displayed is determined for each incremental update of the target object until the first end condition is met.
  10. 根据权利要求9所述的数据处理装置,其中所述数据识别单元,还被配置为在所述目标虚拟空间中不包括正在进行互动的目标对象,且所述至少一个对象的互动增量数据中的最大增量数据大于或者等于对应的增量阈值的情况下,基于所述最大增量数据确定待展示数据。The data processing device according to claim 9, wherein the data identification unit is further configured to exclude target objects that are interacting in the target virtual space, and the interaction incremental data of the at least one object If the maximum incremental data of is greater than or equal to the corresponding incremental threshold, the data to be displayed is determined based on the maximum incremental data.
  11. 根据权利要求10所述的数据处理装置,其中所述数据识别单元,还被配置为在第一预设时间段内,所述最大增量数据对应的第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第一预设时间段内的每次增量更新数据确定待展示数据;在第 一预设时间段内,所述第一对象的互动增量数据未更新,且存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,基于所述第二对象的互动增量数据确定待展示数据。The data processing device according to claim 10, wherein the data identification unit is further configured to, within a first preset time period, the update of the interaction incremental data of the first object corresponding to the maximum incremental data Next, the data to be displayed is determined based on each incremental update data of the first object within the first preset time period; within the first preset time period, the interactive incremental data of the first object has not update, and if there is a case that the interaction increment data of the second object is greater than or equal to the corresponding increment threshold, the data to be displayed is determined based on the interaction increment data of the second object.
  12. 根据权利要求11所述的数据处理装置,其中所述数据识别单元,还被配置为在第一预设时间段内,所述第一对象的互动增量数据未更新,且不存在第二对象的互动增量数据大于或者等于对应的增量阈值的情况下,判断第二预设时间段内,所述第一对象的互动增量数据是否更新;所述第二预设时间段为起始时间与所述第一预设时间段的起始时间相同,且时长大于所述第一预设时间段的时长的时间段;在第二预设时间段内,所述第一对象的互动增量数据更新的情况下,基于所述第一对象在所述第二预设时间段内的每次增量更新数据确定待展示数据,直到达到第二结束条件。The data processing device according to claim 11, wherein the data identification unit is further configured such that within a first preset time period, the incremental interaction data of the first object is not updated, and there is no second object When the incremental interaction data of the first object is greater than or equal to the corresponding incremental threshold, it is judged whether the incremental interaction data of the first object is updated within the second preset time period; the second preset time period is the start The time is the same as the start time of the first preset time period, and the duration is longer than the time period of the first preset time period; during the second preset time period, the interaction of the first object increases In the case of quantitative data update, the data to be displayed is determined based on each incremental data update of the first object within the second preset time period until a second end condition is met.
  13. 根据权利要求8至12任一项所述的数据处理装置,还包括:The data processing device according to any one of claims 8 to 12, further comprising:
    数据存储单元,被配置为实时获取对象的初始互动增量数据;对所述对象的初始互动增量数据进行筛选处理,得到虚拟空间中的对象的互动增量数据,并将所述虚拟空间中的对象的互动增量数据存储至预设数据库中;The data storage unit is configured to obtain the initial interactive incremental data of the object in real time; filter the initial interactive incremental data of the object to obtain the interactive incremental data of the object in the virtual space, and store the The interactive incremental data of the object is stored in the default database;
    所述数据获取单元,还被配置为实时查询所述预设数据库,得到所述目标虚拟空间中的至少一个对象的互动增量数据。The data acquisition unit is further configured to query the preset database in real time to obtain interactive incremental data of at least one object in the target virtual space.
  14. 根据权利要求13所述的数据处理装置,其中所述数据识别单元,还被配置为在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,获取所述互动增量数据对应对象的对象属性信息;将所述对象属性信息和所述互动增量数据进行组合,得到待展示数据。The data processing device according to claim 13, wherein the data identification unit is further configured to obtain the interaction increment data when the interaction increment data is greater than or equal to the increment threshold value of the target virtual space. The object attribute information of the object corresponding to the quantity data; the object attribute information and the interactive incremental data are combined to obtain the data to be displayed.
  15. 一种服务器,包括:A server comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;memory for storing said processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:Wherein, the processor is configured to execute the instructions to achieve the following steps:
    实时获取目标虚拟空间中的至少一个对象的互动增量数据;Acquiring interactive incremental data of at least one object in the target virtual space in real time;
    在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
    将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
  16. 一种非易失性计算机可读存储介质,其中,当所述计算机可读存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行以下步骤:A non-volatile computer-readable storage medium, wherein, when the instructions in the computer-readable storage medium are executed by a processor of the server, the server is enabled to perform the following steps:
    实时获取目标虚拟空间中的至少一个对象的互动增量数据;Acquiring interactive incremental data of at least one object in the target virtual space in real time;
    在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目 标虚拟空间的当前目标帐户的数量确定;When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
    将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
  17. 一种计算机程序产品,所述计算机程序产品中包括指令,其中,所述指令被服务器的处理器执行时,使得所述服务器能够执行以下步骤:A computer program product comprising instructions, wherein, when executed by a processor of a server, the instructions enable the server to perform the following steps:
    实时获取目标虚拟空间中的至少一个对象的互动增量数据;Acquiring interactive incremental data of at least one object in the target virtual space in real time;
    在所述互动增量数据大于或者等于所述目标虚拟空间的增量阈值的情况下,根据所述互动增量数据,生成所述至少一个对象的待展示数据;所述增量阈值根据进入所述目标虚拟空间的当前目标帐户的数量确定;When the incremental interaction data is greater than or equal to the incremental threshold of the target virtual space, generate the data to be displayed of the at least one object according to the incremental interactive data; determining the number of current target accounts in the target virtual space;
    将所述待展示数据发送至目标终端,以使在所述目标终端运行的所述目标虚拟空间的界面中动态展示所述待展示数据;所述目标终端为所述目标虚拟空间中的目标帐户对应的终端。Sending the data to be displayed to the target terminal, so that the data to be displayed is dynamically displayed in the interface of the target virtual space run by the target terminal; the target terminal is a target account in the target virtual space the corresponding terminal.
PCT/CN2022/075899 2021-09-30 2022-02-10 Data processing method and apparatus WO2023050680A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111166455.7A CN113923500B (en) 2021-09-30 Data processing method, device, server and storage medium
CN202111166455.7 2021-09-30

Publications (1)

Publication Number Publication Date
WO2023050680A1 true WO2023050680A1 (en) 2023-04-06

Family

ID=79238032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/075899 WO2023050680A1 (en) 2021-09-30 2022-02-10 Data processing method and apparatus

Country Status (1)

Country Link
WO (1) WO2023050680A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886998A (en) * 2023-07-19 2023-10-13 中教畅享(北京)科技有限公司 Interactive processing method for simulating live broadcast environment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017219916A (en) * 2016-06-03 2017-12-14 大日本印刷株式会社 Display system, aggregation device, server device, and program
CN108320171A (en) * 2017-01-17 2018-07-24 北京京东尚科信息技术有限公司 Hot item prediction technique, system and device
CN108710635A (en) * 2018-04-08 2018-10-26 达而观信息科技(上海)有限公司 A kind of content recommendation method and device
CN109816495A (en) * 2019-02-13 2019-05-28 北京达佳互联信息技术有限公司 Merchandise news method for pushing, system and server and storage medium
CN111582984A (en) * 2020-05-08 2020-08-25 广州探途网络技术有限公司 Commodity recommendation method and device and computing equipment
CN111932343A (en) * 2020-08-14 2020-11-13 深圳市泽汇科技有限公司 Automatic product shelf loading management method, device, equipment and storage medium
CN112399200A (en) * 2019-08-13 2021-02-23 腾讯科技(深圳)有限公司 Method, device and storage medium for recommending information in live broadcast
CN113242442A (en) * 2021-05-23 2021-08-10 图林科技(深圳)有限公司 E-commerce platform shopping method and system for realizing shopping cart commodity information display
CN113923500A (en) * 2021-09-30 2022-01-11 北京达佳互联信息技术有限公司 Data processing method, device, server and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017219916A (en) * 2016-06-03 2017-12-14 大日本印刷株式会社 Display system, aggregation device, server device, and program
CN108320171A (en) * 2017-01-17 2018-07-24 北京京东尚科信息技术有限公司 Hot item prediction technique, system and device
CN108710635A (en) * 2018-04-08 2018-10-26 达而观信息科技(上海)有限公司 A kind of content recommendation method and device
CN109816495A (en) * 2019-02-13 2019-05-28 北京达佳互联信息技术有限公司 Merchandise news method for pushing, system and server and storage medium
CN112399200A (en) * 2019-08-13 2021-02-23 腾讯科技(深圳)有限公司 Method, device and storage medium for recommending information in live broadcast
CN111582984A (en) * 2020-05-08 2020-08-25 广州探途网络技术有限公司 Commodity recommendation method and device and computing equipment
CN111932343A (en) * 2020-08-14 2020-11-13 深圳市泽汇科技有限公司 Automatic product shelf loading management method, device, equipment and storage medium
CN113242442A (en) * 2021-05-23 2021-08-10 图林科技(深圳)有限公司 E-commerce platform shopping method and system for realizing shopping cart commodity information display
CN113923500A (en) * 2021-09-30 2022-01-11 北京达佳互联信息技术有限公司 Data processing method, device, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886998A (en) * 2023-07-19 2023-10-13 中教畅享(北京)科技有限公司 Interactive processing method for simulating live broadcast environment
CN116886998B (en) * 2023-07-19 2023-12-22 中教畅享(北京)科技有限公司 Interactive processing method for simulating live broadcast environment

Also Published As

Publication number Publication date
CN113923500A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
US9811851B2 (en) Automatic product groupings for merchandising
US20220182709A1 (en) Online live video sales management system
US20150271282A1 (en) Methods and systems for activity-based recommendations
CN111177563B (en) Information recommendation method and device, electronic equipment and storage medium
US20110076663A1 (en) Systems and methods for selecting survey questions and available responses
US11127032B2 (en) Optimizing and predicting campaign attributes
US10163117B2 (en) System, method, and computer program product for model-based data analysis
CN111506849A (en) Page generation method and device
US9594540B1 (en) Techniques for providing item information by expanding item facets
US20160203183A1 (en) Information processing system, terminal, server, information processing method, recording medium, and program
US9633386B1 (en) Display of items from search
US9015591B2 (en) Dynamic visualization generation and implementation
WO2023207770A1 (en) Information processing method, live streaming system and electronic device
WO2023050680A1 (en) Data processing method and apparatus
CN113793081A (en) Storage monitoring method and device, computer readable medium and electronic equipment
US20210166104A1 (en) Recommendation system based on neural network models to improve efficiencies in interacting with e-commerce platforms
CN112905898A (en) Information recommendation method and device and electronic equipment
US20180210804A1 (en) System and method for dynamic scaling of concurrent processing threads
CN113763004A (en) Information matching method and device
US20230021581A1 (en) Method, non-transitory computer-readable storage media, and system for presentation of digital media assets based on assessed value
CN113923500B (en) Data processing method, device, server and storage medium
CN113327134B (en) Commodity information recommendation method and device, electronic equipment and medium
CN113312513B (en) Object recommendation method and device, electronic equipment and storage medium
CN110838019A (en) Method and device for determining trial supply distribution crowd
US20120203668A1 (en) Method and system for allowing a user to interact with the inventory of a retail location

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: 22874083

Country of ref document: EP

Kind code of ref document: A1