CN111654717A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111654717A
CN111654717A CN202010694115.0A CN202010694115A CN111654717A CN 111654717 A CN111654717 A CN 111654717A CN 202010694115 A CN202010694115 A CN 202010694115A CN 111654717 A CN111654717 A CN 111654717A
Authority
CN
China
Prior art keywords
data
live broadcast
broadcast room
virtual live
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010694115.0A
Other languages
Chinese (zh)
Other versions
CN111654717B (en
Inventor
潘信伍
秦江
徐敏
彭莉君
钟媛
袁慧颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010694115.0A priority Critical patent/CN111654717B/en
Publication of CN111654717A publication Critical patent/CN111654717A/en
Application granted granted Critical
Publication of CN111654717B publication Critical patent/CN111654717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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
    • H04N21/47815Electronic shopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Abstract

The application discloses a data processing method, a data processing device, data processing equipment and a storage medium. The method is applied to a terminal, the terminal is provided with a host program for providing a running environment for a target embedded program, and the target embedded program is integrated with a data processing control, and the method comprises the following steps: acquiring a virtual live broadcast room identifier through a data processing control; acquiring at least one piece of behavior data of a target object; obtaining at least one piece of reported data of a target object through a data processing control based on the virtual live broadcast room identifier and the at least one piece of behavior data; and reporting at least one piece of reported data to a data processing server through the data processing control. In the process, the automatic acquisition of the virtual live broadcast room identifier and the automatic acquisition of the reported data including the virtual live broadcast room identifier can be realized through the data processing control, additional development is not needed, the development cost is low, the acquisition efficiency of the virtual live broadcast room identifier and the acquisition efficiency of the reported data are high, and the data processing effect is good.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, a device, and a storage medium.
Background
With the development of computer technology, more and more live broadcast forms are derived, such as client live broadcast, embedded program live broadcast and the like. The embedded program live broadcast is a novel live broadcast mode. For embedded program live broadcast, if conversion processing of behavior data generated by watching live broadcast in a virtual live broadcast room is to be realized, reporting data including virtual live broadcast room identification needs to be acquired and reported to a server.
In the related art, a terminal acquires a virtual live broadcast room identifier based on a mode developed by a service party, acquires reported data including the virtual live broadcast room identifier, and reports the reported data to a server. In the data processing process, a service party needing an embedded program develops a mode of acquiring the virtual live broadcast room identifier and obtaining the reported data comprising the virtual live broadcast room identifier, the development cost is high, the efficiency of acquiring the virtual live broadcast room identifier and the efficiency of obtaining the reported data are low, and the data processing effect is poor.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a storage medium, which can be used for improving the data processing effect. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a data processing method, where the method is applied to a terminal, where the terminal is installed with a host program for providing a running environment for a target embedded program, and the target embedded program is integrated with a data processing control, and the method includes:
acquiring a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters through the data processing control, wherein the virtual live broadcast room is provided by the target embedded program;
acquiring at least one piece of behavior data of the target object, wherein the at least one piece of behavior data comprises data generated by the target object aiming at the virtual live broadcast room;
obtaining at least one piece of reported data of the target object through the data processing control based on the virtual live broadcast room identification and the at least one piece of behavior data of the target object;
and reporting at least one piece of reported data of the target object to a data processing server through the data processing control.
There is also provided a data processing method, the method being applied to a data processing server, the method comprising:
receiving at least one piece of target reported data reported by at least one terminal through a data processing control, wherein the at least one piece of target reported data comprises a virtual live broadcast room identifier;
and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data.
In another aspect, there is provided a data processing apparatus, which is applied to a terminal installed with a host program for providing a running environment for a target embedded program integrated with data processing controls, the apparatus including:
a first obtaining unit, configured to obtain, through the data processing control, a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters, where the virtual live broadcast room is provided by the target embedded program;
a second obtaining unit, configured to obtain at least one piece of behavior data of the target object, where the at least one piece of behavior data includes data generated by the target object for the virtual live broadcast room;
a third obtaining unit, configured to obtain, by the data processing control, at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object;
and the reporting unit is used for reporting at least one piece of reported data of the target object to a data processing server through the data processing control.
In a possible implementation manner, the third obtaining unit is configured to obtain first attribute information of the target object; processing the first attribute information of the target object through the data processing control based on the virtual live broadcast room identification to obtain second attribute information of the target object; and obtaining at least one piece of reported data of the target object by the data processing control based on the second attribute information of the target object and the at least one piece of behavior data of the target object.
In a possible implementation manner, the third obtaining unit is further configured to add, by the data processing control, the virtual live broadcast room identifier to the first attribute information of the target object in response to that the first attribute information of the target object does not include an existing virtual live broadcast room identifier, so as to obtain second attribute information of the target object; and in response to that the first attribute information of the target object comprises an existing virtual live broadcast room identifier and that the virtual live broadcast room identifier is different from the existing virtual live broadcast room identifier, replacing the existing virtual live broadcast room identifier in the first attribute information of the target object with the virtual live broadcast room identifier through the data processing control, and obtaining second attribute information of the target object.
In a possible implementation manner, the first obtaining unit is configured to obtain, through the data processing control, a target display page of the target embedded program, and parse a virtual live broadcast room identifier from an address of the target display page, where the target display page is a display page associated with the virtual live broadcast room.
In one possible implementation, the at least one piece of behavior data of the target object includes at least one of commodity viewing data, commodity purchase data, commodity settlement data, and order submission data.
There is also provided a data processing apparatus, the apparatus being applied to a data processing server, the apparatus comprising:
the receiving unit is used for receiving at least one piece of target reported data reported by at least one terminal through the data processing control, wherein the at least one piece of target reported data comprises a virtual live broadcast room identifier;
and the obtaining unit is used for obtaining a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data.
In a possible implementation manner, the obtaining unit is configured to receive at least one piece of standard order data corresponding to the virtual live broadcast room identifier sent by a target embedded program server, where the target embedded program server is a server of a target embedded program, and the target embedded program is configured to provide a virtual live broadcast room corresponding to the virtual live broadcast room identifier; performing validity verification on the at least one piece of target reported data based on the at least one piece of standard order data, and taking the at least one piece of target reported data passing the validity verification as valid reported data; and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of effective reported data.
In a possible implementation manner, the obtaining unit is further configured to perform integration processing on the at least one piece of standard order data and the at least one piece of effective reporting data to obtain at least one piece of integration data; and converting the at least one piece of integrated data to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
In one possible implementation, the apparatus further includes:
and the sending unit is used for sending the data conversion result corresponding to the virtual live broadcast room identifier to a target viewing terminal, and the target viewing terminal is used for displaying the data conversion result corresponding to the virtual live broadcast room identifier.
In another aspect, a computer device is provided, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement any of the above data processing methods.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned data processing methods.
In another aspect, a computer program product or a computer program is also provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the computer device executes the data processing method.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the target embedded program is integrated with a data processing control, and the terminal acquires a virtual live broadcast room identifier of a virtual live broadcast room provided by the target embedded program and acquires reported data comprising the virtual live broadcast room identifier through the data processing control. In the process, the automatic acquisition of the virtual live broadcast room identifier and the automatic acquisition of the reported data including the virtual live broadcast room identifier can be realized through the data processing control, additional development is not needed, the development cost is low, the acquisition efficiency of the virtual live broadcast room identifier and the acquisition efficiency of the reported data are high, and the data processing effect is good.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a data processing method provided in an embodiment of the present application;
fig. 2 is a flowchart of a data processing method provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a target object purchasing an item by watching a live broadcast in a virtual live broadcast room according to an embodiment of the present application;
fig. 4 is a schematic diagram of a virtual live broadcast room provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a virtual live broadcast room provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a join shopping cart details page provided by an embodiment of the present application;
FIG. 7 is a schematic illustration of a shopping cart display page provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of an order confirmation page provided by an embodiment of the present application;
fig. 9 is a schematic diagram of a payment confirmation page provided in an embodiment of the present application;
fig. 10 is a flowchart of a data processing method provided in an embodiment of the present application;
fig. 11 is a schematic process diagram of obtaining a data conversion result corresponding to a virtual live broadcast room identifier according to an embodiment of the present application;
FIG. 12 is a diagram illustrating a data processing process according to an embodiment of the present application;
fig. 13 is a schematic diagram of a display page of a data conversion result corresponding to a virtual live broadcast room identifier according to an embodiment of the present application;
fig. 14 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 15 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 16 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 18 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
For convenience of understanding, terms referred to in the embodiments of the present application are explained below.
An embedded program: the embedded program is an application program which is developed based on a programming language and runs depending on a host program. Only the host program needs to be installed on the terminal, the embedded program does not need to be downloaded and installed, and the embedded program can be operated only by being dynamically loaded in the host program. The user can find the embedded program needed by the user through searching, scanning and other modes, the embedded program can be applied by clicking on the embedded program, the embedded program cannot occupy the memory of the terminal after being closed after being used up, and the embedded program is very convenient.
Host program: in a computer environment, a software environment in which software (such as an embedded program in the present application) depends is called a host environment, and the host environment is a running environment (i.e., a host program). The hosting environment (hosting program) may be an operating system, a server program, an application program, or the like.
SDK (Software Development Kit, Software tool Development Kit): is a collection of development tools for building application software. Typically, a software vendor encapsulates some basic program functions and provides an API (Application Programming Interface) to the outside through the SDK.
Referring to fig. 1, a schematic diagram of an implementation environment of the data processing method provided in the embodiment of the present application is shown. The implementation environment may include: a terminal 11 and a data processing server 12.
The terminal 11 is installed with a host program, the host program is used for providing a running environment for the target embedded program, and a data processing control is integrated in the target embedded program. The target embedded program has a live broadcast function, and the terminal 11 can report data generated by the target object aiming at a virtual live broadcast room provided by the target embedded program to the data processing server 12 through the data processing control. The data processing server 12 can receive the reported data reported by the terminal 11, and further analyze and process the received reported data.
In one possible implementation, as shown in fig. 1, the implementation environment of the data processing method further includes an embedded program server 13. The embedded program server 13 is a background server of the embedded program, and the embedded program server 13 is used for providing data support for the embedded program. The embedded program server 13 can obtain standard order data generated in the live broadcast process of the embedded program, wherein the standard order data refers to real order data obtained after successful payment. The embedded program server 13 can send the standard order data to the data processing server 12 for the data processing server 12 to perform a more precise data processing process.
In one possible implementation manner, the terminal 11 may be any electronic product capable of performing human-Computer interaction with a user through one or more manners of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or a handwriting device, for example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a pocket PC (pocket PC), a tablet Computer, a smart car machine, a smart television, a smart sound box, and the like. The data processing server 12 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The embedded program server 13 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The terminal 11 and the data processing server 12 establish communication connection through a wired or wireless network; the terminal 11 and the embedded program server 13 establish communication connection through a wired or wireless network; the data processing server 12 and the embedded program server 13 establish communication connection through a wired or wireless network.
It should be understood by those skilled in the art that the above-mentioned terminal 11, data processing server 12 and embedded program server 13 are only examples, and other existing or future terminals, data processing servers and embedded program servers may be applicable to the present application and are included in the scope of the present application and are incorporated herein by reference.
Based on the implementation environment shown in fig. 1, the embodiment of the present application provides a data processing method, which is applied to the terminal 11 as an example. The terminal is provided with a host program used for providing a running environment for the target embedded program, and the target embedded program is integrated with a data processing control. As shown in fig. 2, the method provided in the embodiment of the present application includes the following steps:
in step 201, a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters is obtained through a data processing control, and the virtual live broadcast room is provided by a target embedded program.
The target object refers to any user who enters a virtual live broadcast room currently provided by the target embedded program to watch live broadcast. The terminal in the embodiment of the present application refers to a terminal of a target object, and the terminal of the target object refers to a terminal belonging to the target object, and exemplarily, the terminal of the target object is a mobile phone of the target object. The target object is capable of logging in a host program installed in the terminal. When a target object logs in a host program installed in a terminal, the host program records related information of the target object, such as a login account of the target object, a nickname of the target object, and the like. In the embodiment of the present application, the type of the host program installed in the terminal is not limited as long as the host program can provide a running environment for the target embedded program and support the running of the target embedded program. Illustratively, the terminal-installed host is a social application.
The host program installed in the terminal provides an operating environment for the embedded program, the embedded program has a live broadcast function, and illustratively, the embedded program can realize the live broadcast function by using a live broadcast plug-in provided by a service party of the host program. The embedded program providing the virtual live broadcast room into which the target object currently enters is called a target embedded program in the embodiment of the application. It should be noted that the target object can enter the virtual live broadcast rooms provided by different embedded programs at different times, and can also enter different virtual live broadcast rooms provided by the same embedded program, which is not limited in the embodiment of the present application.
The business side of the target embedded program may be the same as or different from the business side of the host program. The business side of the target embedded program refers to a side that implements business using the target embedded program, for example, the business side of the target embedded program is a merchant that implements sales business of goods using the target embedded program. In the process of developing the target embedded program by a business party, the data processing control can be integrated in the target embedded program. When the business party integrates the data processing control into the target embedded program and releases the target embedded program, any terminal accessing the target embedded program can realize related business through the data processing control integrated by the target embedded program. Illustratively, the data processing control integrated in the target embedded program is a data processing SDK (Software Development Kit).
The data processing controls are used to track, monitor and statistically analyze data generated in the embedded program. The data processing control is a third-party analysis control, the data processing control reports the acquired data to the data processing server, and the data processing server refers to a third-party server. The third-party server is a server independent from the embedded program server, but does not necessarily mean that the third-party server and the embedded program server belong to different owners, and the third-party server and the embedded program server may also belong to different servers of the same owner. The data processing control is applied to the embedded program live scene.
It should be noted that, since different embedded programs may have different business parties and different business requirements, some embedded programs may not have data processing controls integrated therein. The target embedded program in the embodiment of the present application refers to an embedded program integrated with a data processing control.
The virtual live broadcast room in the embodiment of the application refers to a virtual live broadcast room where a target object currently enters. The target object can enter the virtual live broadcast room in various ways, which is not limited in the embodiment of the present application. Illustratively, the target object enters the virtual live room by directly scanning the target embedded program live code. The target embedded program live code is a two-dimensional code used for directly accessing a virtual live broadcast room provided by the target embedded program. The target embedded program live code is generated by encoding an access address of the virtual live room provided by the target embedded program. In another exemplary embodiment, the target object first enters the target embedded program, and then selects a virtual live room from the target embedded program and enters the virtual live room. A live broadcast watching entrance is displayed in the target embedded program, and a target object can be selected and enter the virtual live broadcast room by triggering the live broadcast watching entrance. The target object can be positioned to the target embedded program in various modes such as two-dimensional codes, friend recommendation, public number association, direct search, nearby positioning and the like, and then enters the target embedded program.
After the target object enters the virtual live broadcast room, the target object may generate one or more behaviors by watching live broadcasts in the virtual live broadcast room, and each behavior may generate corresponding behavior data. For example, in the case that the live broadcast type of the virtual live broadcast room is a commodity sales type, the target object may generate actions such as triggering a certain commodity, browsing a detailed page of the certain commodity, adding the certain commodity into a shopping cart, settling the certain commodity, submitting an order generated by the certain commodity, and the like, and each action has corresponding action data. For the same virtual live broadcast room, by analyzing behavior data of each object generated aiming at the virtual live broadcast room, a live broadcast master or a business party can obtain live broadcast effects of the virtual live broadcast room, for example, the commodity sales effects of the virtual live broadcast room are obtained. In the embodiment of the application, any terminal (a target object terminal) is taken as an example to explain how to acquire and report the report data generated for the virtual live broadcast room, so as to implement the subsequent data processing process.
Since the reported data generated by different virtual live broadcast rooms are processed separately, carrying the virtual live broadcast room identifier in the behavior data is the basis for realizing the data processing process subsequently. Therefore, before reporting data, a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters needs to be obtained, and the virtual live broadcast room identifier is used for identifying a unique virtual live broadcast room. It should be noted that, unless otherwise specified, the virtual live broadcast room identifier (or the virtual live broadcast room identifier) in the embodiment of the present application refers to a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters.
In the embodiment of the application, the data processing control has a function of acquiring the virtual live broadcast room identifier. And the terminal acquires the virtual live broadcast room identification of the virtual live broadcast room into which the target object enters based on the data processing control. The type of the virtual live broadcast room identifier is not limited in the embodiment of the present application, and the virtual live broadcast room identifier is, for example, an ID (denoted as "room _ ID") of the virtual live broadcast room. The ID of the virtual live broadcast room may be preset by a business party of the target embedded type program and displayed in the virtual live broadcast room.
In a possible implementation manner, the process of the terminal acquiring the virtual live broadcast room identifier through the data processing control is as follows: and acquiring a target display page of the target embedded program through the data processing control, and analyzing the virtual live broadcast room identifier from the address of the target display page. And the target display page is a display page associated with the virtual live broadcast room. The display page associated with the virtual live broadcast room may refer to a display page to which the virtual live broadcast room directly jumps or a display page to which the virtual live broadcast room indirectly jumps, which is not limited in the embodiment of the present application. The display page indirectly jumped to from the virtual live broadcast room is the display page obtained after at least two jumps from the virtual live broadcast room. Illustratively, for the clarity that the live type of the virtual live broadcast room is a commodity sales type, the target display page includes at least one of a commodity detail page, a shopping cart display page, an order confirmation page, and a payment confirmation page.
In one possible implementation manner, an interception function is built in the data processing control, and the interception function is used for acquiring a target display page of the target embedded program by intercepting a page display life cycle of the target embedded program. The target embedded program has multiple lifecycles, e.g., a page load lifecycle, a page display lifecycle, a page hide lifecycle, etc. Different life cycles correspond to different states of the target embedded program. The page display life cycle corresponds to the page display state of the target embedded program. By intercepting the page display lifecycle of the target embedded program, the target display page of the target embedded program can be intercepted. The number of the intercepted target display pages may be one or more, and the intercepted target display pages include at least one address of the display page and carry the virtual live broadcast room identifier. Illustratively, when jumping from the virtual live broadcast to the first display page, the address of the first display page carries the virtual live broadcast identification since the first display page jumps directly from the virtual live broadcast.
The intercept function may refer to a developer-customized hook function of the data processing control, which may be denoted wrapHooks. Logic for acquiring the virtual live broadcast room identifier can be set in the hook function, so that the task of automatically acquiring the virtual live broadcast room identifier is realized. The hook function can be regarded as a package of the onShow lifecycle of the target embedded program, and after intercepting the onShow lifecycle of the target embedded program, the hook function can execute the business logic set in the hook function when the target embedded program runs to the display page.
The logic for obtaining the virtual live broadcast room identifier is used for analyzing the virtual live broadcast room identifier (such as a room _ id) from the address of the intercepted target display page. Illustratively, the logic instruction for acquiring the virtual live broadcast room identifier calls a page parameter acquisition method to acquire the virtual live broadcast room identifier carried in the address of the page. For example, the page parameter acquisition method is the getCurrentPages method.
Illustratively, the code implementing the logic to obtain the virtual live room identification is as follows:
Figure BDA0002590325910000101
it should be noted that the setChan logic in the code will be introduced in step 203, and will not be described herein again.
Based on the above content, the data processing control has the functions of acquiring the target display page of the target embedded program and analyzing the virtual live broadcast room identifier from the address of the target display page, so that the terminal can acquire the target display page of the target embedded program through the data processing control and analyze the virtual live broadcast room identifier from the address of the target display page. Therefore, the virtual live broadcast room identification of the virtual live broadcast room entered by the target object is obtained.
In an exemplary embodiment, the hook function may further include a page-embedding logic, in addition to the logic for acquiring the virtual live broadcast room identifier, where the page-embedding logic is used for a service side of the embedded program to implement page embedding. The page embedding refers to reporting data generated in a page. Illustratively, the page-landed logic is defined by the track method available for invocation.
Illustratively, the implementation code for the page-dotted logic is as follows:
Figure BDA0002590325910000111
it should be noted that, in the hook function, different business logics support asynchronous writing methods, and the execution sequence may be changed as required. And intercepting each display page of the target embedded program according to a hook function in the data processing control to judge whether a new virtual live broadcast room identifier is acquired.
It should be further noted that, in the embodiment of the present application, an example is given only that a target object enters a virtual live broadcast room currently provided by a target embedded program to watch live broadcast, so in the embodiment of the present application, only one kind of virtual live broadcast room identifier is obtained. With the extension of time, the target object can also watch live broadcast in other virtual live broadcast rooms provided by the target embedded program, and the terminal can also obtain the identification of other virtual live broadcast rooms through the data processing control.
In step 202, at least one piece of behavior data of the target object is obtained, wherein the at least one piece of behavior data comprises data generated by the target object aiming at the virtual live broadcast room.
The at least one piece of behavior data of the target object includes data generated by the target object for the virtual live broadcast. Data generated for a virtual live broadcast room refers to data generated directly or indirectly from the virtual live broadcast room. Data directly generated from the virtual live broadcast room refers to data directly generated by the target object in the process of watching the live broadcast in the virtual live broadcast room, and data indirectly generated from the virtual live broadcast room refers to data generated by the target object in a display page associated with the virtual live broadcast room.
According to the difference of the live broadcast types of the virtual live broadcast rooms, the types of behavior data that can be generated by the target object are also different, and the embodiment of the present application does not limit this. Illustratively, when the live type of the virtual live broadcast room is a commodity sales type, the target object can generate at least one type of behavior data among commodity viewing data, commodity purchase data, commodity settlement data, and order submission data. That is, the at least one piece of behavior data of the target object includes at least one of commodity viewing data, commodity purchase data, commodity settlement data, and order submission data. It should be noted that, for any type, there may be one or more pieces of behavior data corresponding to at least one piece of behavior data of the target object. For example, when the target object views two different commodities, at least one piece of behavior data of the target object has behavior data of two commodity viewing data types.
In one possible implementation, the manner of obtaining the at least one piece of behavior data of the target object includes one or more of the following:
mode 1, behavior data of a specified type of a target object is automatically acquired through a data processing control.
The specified type of behavior data refers to data corresponding to behaviors that can be recognized by the data processing control. The behavior that the data processing control can recognize is set according to experience, and can also be flexibly adjusted according to application requirements, which is not limited in the embodiment of the present application. For example, behaviors that the data processing control can recognize include, but are not limited to, page browsing behaviors, page hiding behaviors, user sharing behaviors, user leaving behaviors, and the like.
And 2, acquiring behavior data of the target object through the buried point logic developed manually by the service party.
Data corresponding to behaviors which cannot be directly recognized by the data processing control can be acquired by the method 2. In one possible implementation, the manner in which the business side manually develops the buried point logic is: and the business party calls the data processing control to manually develop the embedded point logic. The hook function of the data processing control is provided with page embedded point logic, and the data processing control provides an interface for calling the page embedded point logic for a service party to call. The service side can customize the position of the point to be embedded by calling the interface of the page embedded point logic, and the page embedded point logic is set at the customized position to acquire the behavior data generated by the target object at the customized position. The self-defined position is not limited in the embodiment of the application, and the self-defined position is the position where the control piece is added into the shopping cart.
In step 203, at least one piece of reported data of the target object is obtained through the data processing control based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object.
The virtual live broadcast room identification can identify a source virtual live broadcast room of the behavior data generated by the target object, and at least one piece of reported data of the target object comprises the virtual live broadcast room identification, so that the conversion processing of the reported data can be realized according to the included virtual live broadcast room identification. It should be noted that the at least one piece of reported data of the target object refers to reported data generated for a virtual live broadcast room into which the target object currently enters, and the at least one piece of reported data of the target object can be attributed to analysis data of the virtual live broadcast room.
The data processing control has a function of automatically acquiring the virtual live broadcast room identifier, and also has a function of automatically acquiring at least one piece of reported data of the target object based on the virtual live broadcast room identifier and at least one piece of behavior data of the target object. Therefore, the terminal can obtain at least one piece of reported data of the target object through the data processing control based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object.
In one possible implementation manner, the implementation manner of obtaining at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object by the data processing control includes, but is not limited to, the following two types:
the first method is as follows: and adding the virtual live broadcast room identifier to at least one piece of behavior data of the target object through the data processing control to obtain at least one piece of reported data of the target object.
The second method comprises the following steps: and carrying the virtual live broadcast room identification to at least one piece of behavior data of the target object through the data processing control to obtain at least one piece of reported data of the target object.
In one possible implementation manner, a prescribed format of the reported data is set in the data processing control, and the prescribed format indicates that the reported data must include behavior data and a virtual live broadcast room identifier. Under the specified format, at least one piece of reported data including the virtual live broadcast room and the behavior data needs to be obtained through the data processing control. It should be noted that the number of the behavior data of the target object is at least one, and each behavior data is obtained, a corresponding piece of reported data is obtained based on the virtual live broadcast room identifier and the behavior data. In this way, each piece of reported data includes the virtual live broadcast room identifier of the virtual live broadcast room into which the target object currently enters.
It should be noted that the at least one piece of behavior data of the target object in the embodiment of the present application includes data generated by the target object for the virtual live broadcast room. Even if the terminal acquires a plurality of target display pages through the data processing control, the virtual live broadcast room identifications can be acquired in the addresses of the target display pages, and the acquired virtual live broadcast room identifications are the same virtual live broadcast room identifications due to the fact that the same virtual live broadcast room is aimed at, so that the same virtual live broadcast room identifications are included in at least one piece of reported data of the target object. However, as time goes on, if the target object enters a new virtual live broadcast room provided by the target embedded program, the terminal can acquire the new virtual live broadcast room identifier through the data processing control, and after that, the behavior data of the target object is added or carried with the new virtual live broadcast room identifier. That is to say, before acquiring a new virtual live broadcast room identifier, it is considered that the behavior data of the target object are all generated for the currently entered virtual live broadcast room, and the behavior data of the target object are all added or carry the virtual live broadcast room identifier of the currently entered virtual live broadcast room.
In a possible implementation manner, the process of obtaining at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object by the data processing control includes the following three steps:
step 1: first attribute information of a target object is acquired.
The first attribute information of the target object refers to attribute information of the target object before processing based on the acquired virtual live broadcast room identification. The attribute information of the target object is used for indicating data which needs to be included in the reported data of the target object. The first attribute information of the target object is stored in the terminal, and the terminal directly extracts the first attribute information of the target object from the local.
Step 2: and processing the first attribute information of the target object based on the virtual live broadcast room identification through the data processing control to obtain second attribute information of the target object.
Before the first attribute information of the target object is processed through the data processing control based on the virtual live broadcast room identification, the first attribute information of the target object may already include the virtual live broadcast room identification, may also include other virtual live broadcast room identifications, and may not include any virtual live broadcast room identification. And processing the first attribute information of the target object by the data processing control based on the virtual live broadcast room identification to obtain second attribute information of the target object, wherein the second attribute information of the target object comprises the virtual live broadcast room identification.
Corresponding to different situations of data included in the first attribute information of the target object before processing, the modes of processing the first attribute information of the target object based on the virtual live broadcast room identifier through the data processing control include, but are not limited to, the following three modes:
mode 1: and responding to the situation that the first attribute information of the target object does not comprise the existing virtual live broadcast room identification, and adding the virtual live broadcast room identification to the first attribute information of the target object through the data processing control to obtain second attribute information of the target object.
The existing virtual live broadcast room identifier is the identifier of the virtual live broadcast room provided by the embedded program acquired last time by the terminal. When the first attribute information of the target object does not include the existing virtual live broadcast room identification, the target object does not enter the virtual live broadcast room provided by the embedded program to watch live broadcast, or the virtual live broadcast room identification of the virtual live broadcast room which is entered by the target object before is not acquired and added to the first attribute information of the target object.
When the first attribute information of the target object does not include the existing virtual live broadcast room identification, in order to obtain the second attribute information of the target object including the virtual live broadcast room identification, the terminal adds the virtual live broadcast room identification to the first attribute information of the target object through the data processing control. Thereby, second attribute information of the target object including the virtual live room identification is obtained.
Mode 2: and in response to that the first attribute information of the target object comprises the identification of the existing virtual live broadcast room, and the identification of the virtual live broadcast room is different from the identification of the existing virtual live broadcast room, replacing the identification of the existing virtual live broadcast room in the first attribute information of the target object with the identification of the virtual live broadcast room through the data processing control, and obtaining second attribute information of the target object.
When the first attribute information of the target object comprises the identification of the existing virtual live broadcast room and the identification of the virtual live broadcast room is different from the identification of the existing live broadcast room, the terminal obtains the identification of the existing virtual live broadcast room before obtaining the identification of the virtual live broadcast room. It should be noted that, when the existing virtual live broadcast room identifier is different from the virtual live broadcast room identifier, the virtual live broadcast room corresponding to the existing virtual live broadcast room identifier is a virtual live broadcast room into which the target object has historically entered, and the virtual live broadcast room into which the target object has historically entered may be a virtual live broadcast room provided by the target embedded program or a virtual live broadcast room provided by another embedded program.
And when the first attribute information of the target object comprises the identification of the existing virtual live broadcast room and the newly acquired identification of the virtual live broadcast room is different from the identification of the existing virtual live broadcast room, the terminal replaces the existing virtual live broadcast room in the first attribute information of the target object with the identification of the virtual live broadcast room through the data processing control, so that second attribute information of the target object comprising the identification of the virtual live broadcast room is obtained.
Mode 3: and responding to the fact that the attribute information of the target object comprises the existing virtual live broadcast room identification, the virtual live broadcast room identification is the same as the virtual live broadcast room identification, keeping the first attribute information of the target object unchanged through the data processing control, and taking the first attribute information which is kept unchanged as the second attribute information of the target object.
When the first attribute information of the target object comprises the existing virtual live broadcast room identification and the virtual live broadcast room identification is the same as the existing virtual live broadcast room identification, the identification of the virtual live broadcast room provided by the embedded program acquired last time by the target object is the existing virtual live broadcast room identification. This case also illustrates that after the identifier of the virtual live broadcast room provided by the embedded program is obtained last time, the terminal does not obtain a new virtual live broadcast room identifier.
When the first attribute information of the target object comprises the identification of the existing virtual live broadcast room and the identification of the virtual live broadcast room is the same as the identification of the existing virtual live broadcast room, the first attribute information of the target object already comprises the identification of the virtual live broadcast room, so that the terminal keeps the first attribute information of the target object unchanged through the data processing control, and the first attribute information which is kept unchanged is used as the second attribute information of the target object, thereby achieving the purpose of obtaining the second attribute information of the target object comprising the identification of the virtual live broadcast room.
Because the virtual live broadcast room identifier included in the attribute information needs to be carried in the behavior data of the target object, the virtual live broadcast room identifier included in the attribute information should be the latest virtual live broadcast room identifier currently acquired, so that the phenomenon that the behavior data included in the reported data is not matched with the virtual live broadcast room identifier is avoided.
In any case, the terminal can process the first attribute information of the target object based on the virtual live broadcast room identifier through the data control to obtain the second attribute information of the target object including the virtual live broadcast room identifier.
In one possible implementation manner, a property information setting function is built in the data control, and the property information setting function is used for setting required data into property information. Illustratively, the attribute information setting function is a setChan function. The actual effect of the setChan function is to set the required data (here, virtual _ live _ room _ id) into the attribute information of the target object managed by the data processing control. The process that the terminal processes the first attribute information through the data processing control based on the virtual live broadcast room identifier is the process that the terminal calls a setChan function in the data processing control to set (set) the virtual live broadcast room identifier to the first attribute information of the target object. It should be noted that the service logic (setChan logic) in the setChan function can implement various processing procedures in the above-described modes 1 to 3.
The above process only introduces the processing process of the data of the virtual live broadcast room identifier type in the first attribute information of the target object, and the setChan logic may further instruct that after the processing process of the data of the virtual live broadcast room identifier type in the first attribute information of the target object is completed, the original data of other types in the first attribute information of the target object is merged with the newly set virtual live broadcast room identifier, so as to obtain the second attribute information including the virtual live broadcast room identifier. The processing method can enable the second attribute information of the target object to inherit the original data of other types and set a new virtual live broadcast room identifier at the same time, so that all the subsequent reported data can be conveniently and automatically carried with the second attribute information of the target object.
Illustratively, the implementation code for calling setChan function to set the virtual live room identification (room _ id) to the first attribute information of the target object is as follows:
Figure BDA0002590325910000161
Figure BDA0002590325910000171
note that the attribute information (the first attribute information or the second attribute information) of the target object includes data related to the target object. The second attribute information of the target object may include one or more other types of data besides the virtual live broadcast room identifier, for example, an account number of the target object logging in the host program, an identity of the target object in the target embedded program, and the like.
And step 3: and obtaining at least one piece of reported data of the target object through the data processing control based on the second attribute information of the target object and the at least one piece of behavior data of the target object.
After the step 1 and the step 2, the second attribute information of the target object already includes the virtual live broadcast room identifier, and then the terminal obtains at least one piece of reporting data corresponding to the target object and needing to be reported to the data processing server through the data processing control based on the second attribute information and the at least one piece of behavior data of the target object.
In a possible implementation manner, the manner in which the terminal obtains the at least one piece of reported data of the target object based on the second attribute information and the at least one piece of behavior data of the target object through the data processing control is as follows: the terminal adds the second attribute information to at least one piece of behavior data of the target object through the data processing control to obtain at least one piece of reported data of the target object; or the terminal carries the second attribute information to the at least one piece of behavior data of the target object through the data processing control to obtain at least one piece of reported data of the target object.
After the steps 1 to 3, at least one piece of reported data of the target object comprises the virtual live broadcast room identifier. For the situation that the second attribute information of the target object includes other types of data besides the virtual live broadcast room identifier, the reported data of the target object also includes other types of data, so that the reported data can be more finely processed by the data processing server after being reported to the data processing server.
In step 204, at least one piece of reported data of the target object is reported to the data processing server through the data processing control.
After the at least one piece of reported data of the target object is obtained, the terminal reports the at least one piece of reported data of the target object to the data processing server through the data processing control so that the data processing server can perform a subsequent data processing process. The data processing server is a background server of the data processing control and can analyze and process data reported by the data processing control.
The at least one piece of reported data of the target object refers to all the reported data corresponding to all the behavior data generated by the target object aiming at the virtual live broadcast room, the quantity of the reported data of the target object depends on the quantity of the behavior data generated by the target object aiming at the virtual live broadcast, and each piece of behavior data forms one piece of reported data including the identification of the virtual live broadcast room. The embodiment of the present application does not limit the manner in which the at least one piece of report data of the target object is reported to the data processing server through the data processing control.
For example, each time the terminal acquires a piece of reported data, the terminal reports the piece of reported data to the data processing server through the data processing control until at least one piece of reported data is reported to the data processing server. Illustratively, each reference time interval of the terminal reports the acquired reporting data to the data processing server through the data processing control in sequence until at least one piece of reporting data is reported to the data processing server. The reference time interval is set empirically, for example, the parameter time interval is 10 minutes.
The description will be given by taking as an example that the live broadcast type of the virtual live broadcast room is the commodity sales type, and the target object purchases a commodity by watching the live broadcast in the virtual live broadcast room. When the live broadcast host sells commodities in the virtual live broadcast room provided by the target embedded program, the commodities can be carried to the virtual live broadcast room to be exposed and displayed. The target object clicks the commodity to jump to the commodity detail page in the live broadcast watching process, and the target object may add the commodity into a shopping cart or directly place an order to purchase the commodity on the commodity detail page. On the link, a series of behaviors such as clicking on a commodity, adding the commodity into a shopping cart, settling the commodity, submitting an order and the like are generated, and each behavior generates behavior data, namely behavior data of the types such as commodity viewing data, commodity purchase adding data, commodity settlement data, order submitting data and the like. The process of obtaining and reporting the reported data based on the virtual live broadcast room identification and each behavior data is a data point burying process. Therefore, a series of buried points such as a product detail page exposure buried point, an addition shopping cart buried point, a product settlement buried point, and a product placement buried point are generated on the link for purchasing a product in the virtual live broadcast room. These burial points can be set either automatically for the data processing control or manually for the business side of the target embedded program.
For example, a flow chart for a target object purchasing a piece of merchandise by viewing a live broadcast in a virtual live broadcast room is shown in fig. 3. The target object enters a live virtual live broadcast room provided by a target embedded program to watch live broadcast main sales commodities; and the target object clicks a certain commodity in the virtual live broadcast room, jumps to the commodity detail page, triggers the exposure and embedding of the commodity detail page, and reports the commodity viewing data carrying the virtual live broadcast room identification to the data processing server. When the target object clicks the control of adding the shopping cart on the commodity detail page, the point of adding the shopping cart is triggered, and the process of reporting the commodity purchasing data carrying the virtual live broadcast room identifier to the data processing server is realized.
After the commodities are added into the shopping cart, the target object clicks the settlement removing control to trigger the commodity settlement buried point, and the process of reporting the commodity settlement data carrying the virtual live broadcast room identification to the data processing server is realized. And after the target object clicks the settlement removing control, displaying an order page, clicking the order submitting control by the target object, triggering an order submitting buried point, and reporting order submitting data carrying the virtual live broadcast room identifier to a data processing server. After the order is submitted and the payment is successful, the complete process of the target object for purchasing a commodity is completed. The reported data reported by the target object in the process is used for the data processing server to perform attribution transformation processing.
Next, the process of the target object purchasing a commodity by watching the live broadcast in the virtual live broadcast room will be further described by specific examples.
For example, the target object enters a virtual live room in the target embedded program to view live host sales items, assuming the virtual live room identification is 888. Virtual live broadcast room as shown in fig. 4, a "football" commodity is being shown in the virtual live broadcast room shown in fig. 4. When a target object is watching a live broadcast in the virtual live broadcast room, if a certain commodity sold in the virtual live broadcast room is interested, the target object can click the certain commodity in a commodity list in the virtual live broadcast room so as to jump to a detailed page of the commodity from the virtual live broadcast room. As shown in fig. 5, the target object clicks on "football" items in the item list in the virtual live broadcast room, and then jumps from the virtual live broadcast room to the item detail page for the "football" items.
And displaying a control for adding the shopping cart on the commodity detail page, and clicking the control for adding the shopping cart by the target object if the target object wants to add the commodity into the shopping cart after checking the details of the commodity. After the target object is detected to click the control of adding the shopping cart, the terminal displays a detail page of adding the shopping cart so that the target object can determine commodity information (such as commodity name, commodity quantity and the like) of adding the shopping cart. The add shopping cart details page is shown in FIG. 6. When the target object clicks the join shopping cart confirmation control 601 in FIG. 6, 1 "football" is successfully added to the shopping cart. When the commodities are added into the shopping cart, the data processing control calls a track method to be added into a shopping cart burying point, so that the commodity purchase adding data is added into the virtual live broadcast room identification to generate reported data. In an exemplary embodiment, after jumping out of the virtual live room, the virtual live room is displayed in a floating window in a certain page or pages, as shown at 602 in fig. 6, and the virtual live room is displayed in a floating window in a join shopping cart details page.
After the goods are added to the shopping cart, the target object can view the goods in the shopping cart for further settlement. The shopping cart display page displays information on each item entered into the shopping cart, as shown in fig. 7. Also displayed on the shopping cart display page shown in fig. 7 is a settlement entry 701 for the target object to settle the merchandise in the shopping cart. When the target object clicks the settlement entry 701, an order confirmation page is displayed as shown in fig. 8. An order submission control 801 is also displayed in the order confirmation page shown in fig. 8, and when the target object triggers the order submission control 801, order submission data is generated, and the order submission data carrying the virtual live broadcast room identifier is reported to the data processing server. After the order is submitted, the target object makes payment for the order. The payment confirmation page is shown in fig. 9. And when the target object payment is completed, the live sale link of the commodity is ended. The reported data are all used for attributing commodity sales data of a virtual live broadcast room or live broadcast master with the virtual live broadcast room identification 888.
In the embodiment of the application, the data processing control acquires a virtual live broadcast room identifier carried in an address (such as a Uniform Resource Locator, URL, Uniform Resource Locator) of a target display page in onShow by intercepting the onShow life cycle of a target embedded program, and then the virtual live broadcast room identifier is automatically carried in attribute information of a target object by an internal method setChan of the data processing control, and then all subsequent data is reported, such as commodity purchase data, order submission data, and the like. Each piece of data reported by the method carries the virtual live broadcast room identifier, so that data conversion can be quickly realized in the data processing server, for example, commodity sales attribution is realized, and live broadcast drainage UV, the number of orders, the amount of orders, the conversion rate of deals, the amount of deals and the like are obtained. The automatic acquisition of the virtual live broadcast room identification can be realized through the data processing control, the manual development of a business side is not needed, and the automatic recording of the embedded program live broadcast related data can be realized through zero development.
In the embodiment of the application, a data processing control is integrated in the target embedded program, and the terminal obtains the virtual live broadcast room identifier of the virtual live broadcast room provided by the target embedded program and obtains the reported data including the virtual live broadcast room identifier through the data processing control. In the process, the automatic acquisition of the virtual live broadcast room identifier and the automatic acquisition of the reported data including the virtual live broadcast room identifier can be realized through the data processing control, additional development is not needed, the development cost is low, the acquisition efficiency of the virtual live broadcast room identifier and the acquisition efficiency of the reported data are high, and the data processing effect is good.
Based on the implementation environment shown in fig. 1, the embodiment of the present application provides a data processing method, which is applied to the data processing server 12 as an example. As shown in fig. 10, the method provided in the embodiment of the present application includes the following steps:
in step 1001, at least one piece of target reported data reported by at least one terminal through a data processing control is received, where the at least one piece of target reported data includes a virtual live broadcast room identifier.
In the embodiment shown in fig. 2, a process is described in which any terminal (a terminal of a target object) reports at least one piece of report data of the target object, which includes a virtual live broadcast room identifier of an incoming virtual live broadcast room, to a data processing server through a data processing control. Besides interacting with the terminal of the target object, the data processing server can also interact with other terminals to receive reported data which are reported by other terminals through the data processing control and comprise the same virtual live broadcast room identifier. That is, through interaction with at least one terminal, the data processing server can receive the reported data including the virtual live broadcast room identifier reported by the at least one terminal through the data processing control. In this embodiment of the present application, the report data including a certain determined virtual live broadcast room identifier is referred to as target report data, that is, the data processing server can receive at least one piece of target report data reported by at least one terminal through the data processing control, and the live broadcast room identifiers included in the report data of each entry mark are the same certain determined live broadcast room identifier.
Illustratively, the data processing control is a data processing SDK (Software Development Kit).
Here, the at least one piece of target reporting data refers to reporting data including a virtual live broadcast room identifier in all reporting data received by the data processing server within a reference time range. The reference time range is set according to the live time range of the virtual live broadcast room corresponding to the virtual live broadcast room identifier, which is not limited in the embodiment of the present application. For example, the reference time range is a time range from a start time to an end time, the start time is a live broadcast start time of the virtual live broadcast room, and the end time is a time that is a reference time length from a live broadcast end time of the virtual live broadcast room. The mode of defining the termination time is to ensure that enough time is reserved for the interactive object to complete the behavior data link related to the virtual live broadcast room after the live broadcast in the virtual live broadcast room is finished. The reference duration may be set empirically, or may be flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application. For example, the reference time period is 1 hour.
It should be noted that, in the reference time range, the data processing server may receive the reported data including the identifier of another virtual live broadcast room in addition to the reported data including the identifier of a certain virtual live broadcast room, and in the process of receiving at least one piece of target reported data, the data processing server screens the reported data received in the reference time range by using the identifier of the virtual live broadcast room, and uses the reported data including the identifier of the virtual live broadcast room as the target reported data.
It should be noted that at least one piece of target report data may be originated from at least one interactive object, and the number of target report data originated from each interactive object may be one or more, which is not limited in this embodiment of the application.
In step 1002, a data conversion result corresponding to the virtual live broadcast room identifier is obtained based on at least one piece of target reported data.
Because at least one piece of target reporting data comprises the virtual live broadcast room identifier, that is, at least one piece of target reporting data is the reporting data corresponding to the virtual live broadcast room identifier. Therefore, after the data processing server obtains at least one piece of target reported data, the data processing server obtains a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data.
And the data conversion result corresponding to the virtual live broadcast room identification is used for indicating the live broadcast effect of the virtual live broadcast room. The data conversion result corresponding to the virtual live broadcast room identifier may include one or more types of sub-results, which are related to the live broadcast type of the virtual live broadcast room corresponding to the virtual live broadcast room identifier, and this is not limited in this embodiment of the application. Illustratively, when the live broadcast type of the virtual live broadcast room corresponding to the virtual live broadcast room identifier is a commodity sales type, the data conversion result corresponding to the virtual live broadcast room identifier is used for indicating a commodity sales effect, and the data conversion result corresponding to the virtual live broadcast room identifier includes but is not limited to sub-results of live broadcast drainage UV (uniform visitors), the number of orders placed, the number of orders committed, the conversion rate of deals, the amount of deals, the unit price of customers, and the like. The sub-results are obtained by the data processing server based on at least one piece of target reported data. Under the application scene that the live broadcast type is the commodity sales type, the process of obtaining the data conversion result corresponding to the virtual live broadcast room identification is the process of attributing the commodity sales, and the data conversion result corresponding to the virtual live broadcast room identification is the commodity sales attribution result.
It should be noted that for other live broadcast types of virtual live broadcast rooms, the data conversion result may also include other types of sub-results. For example, in the case that the live type is live singing, the data conversion result may further include sub-results such as live View PV (access times), sharing times, and the like.
In one possible implementation, the corresponding relationship between the sub-result type and the live type is preset. Before acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of target reported data, a data processing server firstly determines the live broadcast type of the virtual live broadcast room corresponding to the virtual live broadcast room identifier, then queries the corresponding sub-result type in the corresponding relation between the sub-result type and the live broadcast type, and takes the queried sub-result type as a reference type. Based on the above, the process of the data processing server acquiring the data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target report data is a process of acquiring the sub-result of the reference type corresponding to the virtual live broadcast room identifier based on the at least one piece of target report data.
In a possible implementation manner, a computing manner corresponding to each type of sub-result is stored in the data processing server, and the data processing server obtains the sub-result of the reference type corresponding to the virtual live broadcast room identifier according to the computing manner corresponding to the sub-result of the reference type. It should be noted that different types of sub-results correspond to different calculation manners, and for example, the calculation manner of the live broadcast drainage UV is: and counting the total number of people watching the live broadcast. The calculation mode of the amount of the deal orders is as follows: and counting the total amount of orders successfully paid.
In one possible implementation manner, the manner of obtaining the data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of target reported data includes the following two manners:
the first method is as follows: and directly acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of target reported data.
In the first mode, the data processing server directly analyzes and summarizes all the received target reported data, and after the sub-results of each reference type are obtained, the data conversion result corresponding to the virtual live broadcast room identifier is obtained. And determining the obtaining mode of the sub-result of each reference type according to the calculating mode corresponding to the sub-result of each reference type. Illustratively, the acquisition mode of the live broadcast drainage UV corresponding to the virtual live broadcast room identifier is as follows: and identifying user identifications carried in each target report data, wherein different user identifications are used for identifying different users, and the number of all users identified by the user identifications carried in at least one piece of target report data is used as the live broadcast drainage UV corresponding to the virtual live broadcast room identification. Illustratively, the acquisition mode of the amount of the deal orders corresponding to the virtual live broadcast room identifier is as follows: and identifying order payment success data from at least one piece of target reported data, and taking the number of the order payment success data as a deal amount corresponding to the virtual live broadcast room identifier.
The second method comprises the following steps: screening at least one effective reported data from at least one piece of target reported data; and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of effective reported data.
In the second way, the data conversion result corresponding to the virtual live broadcast room identifier is obtained only based on the effective reported data screened from the at least one piece of target reported data. By the method, the effectiveness of the data conversion result corresponding to the obtained virtual live broadcast room identifier can be improved.
In one possible implementation, the process of screening at least one valid report from at least one target report includes the following two steps:
step 1, receiving at least one piece of standard order data corresponding to a virtual live broadcast room identifier sent by a target embedded program server.
The target embedded program server is a server of a target embedded program, and the target embedded program is used for providing a virtual live broadcast room corresponding to the virtual live broadcast room identification. The standard order data refers to data corresponding to the real orders which are successfully paid and correspond to the virtual live broadcast room identification, and each real order which is successfully paid corresponds to one piece of standard order data. The at least one piece of standard order data corresponding to the virtual live broadcast room identifier refers to all pieces of standard order data corresponding to the virtual live broadcast room identifier. And when the order payment corresponding to each virtual live broadcast room identifier is successful, the target embedded program server acquires a piece of standard order data. And the target embedded program server sends all standard order data corresponding to the virtual live broadcast room identification to the data processing server so as to provide data support for the data processing process of the data processing server.
The embodiment of the present application does not limit the manner in which the target embedded program server sends the at least one piece of standard order data to the data processing server. For example, each time the target embedded program server acquires one piece of standard order data, the target embedded program server sends the piece of standard order data to the data processing server until all pieces of standard order data are sent to the data processing server. Or the target embedded program server sends the standard order data to the data processing server once at specified time intervals until all the standard order data are sent to the data processing server.
And 2, performing validity verification on at least one piece of target reported data based on at least one piece of standard order data, and taking at least one piece of target reported data passing the validity verification as valid reported data.
The target reported data is generated based on the behavior data, the behavior data can be falsified in the generation process, and the standard order data is real data, so that the validity of at least one piece of target reported data can be verified based on at least one piece of standard order data. It should be noted that each standard order data may correspond to one or more target report data in the generation process, for example, a generation process of one standard order data corresponds to one commodity viewing data, one commodity purchase data, and one commodity settlement data. The commodity viewing data, the commodity purchase adding data and the commodity settlement data are target reporting data comprising virtual live broadcast room identification.
In one possible implementation manner, the process of verifying the validity of at least one piece of target report data based on at least one piece of standard order data is as follows: for any item label reporting data, searching standard order data matched with the any item label reporting data in at least one piece of standard order data; if the standard order data matched with the reported data of any item label is found, the validity verification of the reported data of any item label is passed; if the standard order data matched with the reported data of any item label is not found, the validity verification of the reported data of any item label is not passed. The matching of a piece of standard order data and a piece of target reported data means that all data in the item of target reported data can be directly or indirectly obtained from the piece of standard order data.
Illustratively, the process of validating the at least one piece of target reporting data based on the at least one piece of standard order data may be performed by a data cleansing layer in the data processing server.
In one possible implementation manner, the manner of obtaining the data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of effective reported data includes the following two manners:
mode 1: and directly converting at least one piece of effective reported data to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
In the method 1, the data processing server directly analyzes and summarizes all the effective reported data, and after the sub-results of each reference type are obtained, the data conversion result corresponding to the virtual live broadcast room identifier is obtained. In this way, the efficiency of acquiring the virtual live broadcast room identifier is high.
Mode 2: integrating at least one piece of standard order data and at least one piece of effective reported data to obtain at least one piece of integrated data; and converting at least one piece of integrated data to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
The method has the advantages that the at least one piece of standard order data and the at least one piece of effective reported data are integrated, so that the at least one piece of effective reported data can be subjected to omission checking and filling, the obtained at least one piece of integrated data is more comprehensive data corresponding to the virtual live broadcast room identifier, and accuracy of a data conversion result corresponding to the virtual live broadcast room identifier obtained after the at least one piece of integrated data is converted is improved.
In a possible implementation manner, after obtaining at least one piece of integrated data, the at least one piece of integrated data may be stored, and then when a data conversion result corresponding to the virtual live broadcast room identifier needs to be obtained, the at least one piece of integrated data is extracted from the stored data, and then the at least one piece of integrated data is converted to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
In one possible implementation, the process of storing the at least one consolidated data is performed by a data storage layer in the data processing server.
In a possible implementation manner, after obtaining a data conversion result corresponding to the virtual live broadcast room identifier, the method further includes: and sending the data conversion result corresponding to the virtual live broadcast room identifier to a target viewing terminal, wherein the target viewing terminal is used for displaying the data conversion result corresponding to the virtual live broadcast room identifier.
The target viewing terminal is a terminal used for viewing a data conversion result corresponding to the virtual live broadcast room identifier. Illustratively, the target viewing terminal refers to a business side terminal providing a target embedded program of a virtual live broadcast room corresponding to the virtual live broadcast room identifier. The data conversion method comprises the steps that an application program used for viewing data conversion results provided by a data processing server can be installed on a target viewing terminal, a data viewing inlet is displayed on the application program, and after a using object of the target viewing terminal triggers the data viewing inlet and confirms a virtual live broadcast room identifier corresponding to the data conversion results to be viewed, the data conversion results corresponding to the virtual live broadcast room identifier are displayed in a display page of the application program.
In a possible implementation manner, the cases that the data processing server sends the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal include, but are not limited to, the following three cases:
case 1: and after the data conversion result corresponding to the virtual live broadcast room identifier is obtained, the data processing server immediately sends the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal.
This case 1 occurs on the premise that the data processing server stores the correspondence between the virtual live broadcast room identifier and the viewing terminal in advance. And after the data conversion result corresponding to the virtual live broadcast room identifier is obtained, immediately sending the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal corresponding to the virtual live broadcast room identifier.
Case 2: and responding to the arrival of the appointed time node, and sending a data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal by the data processing server.
This case 2 also occurs on the premise that the data processing server stores the correspondence between the virtual live broadcast room identifier and the viewing terminal in advance. And responding to the arrival of the appointed time node, and sending the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal corresponding to the virtual live broadcast room identifier by the data processing server. The designated time node is set according to experience or flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application, and exemplarily, the designated time node is 24:00 of a virtual live broadcast time on the live broadcast day.
Case 3: and sending the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal based on the data conversion result viewing request sent by the target viewing terminal, wherein the data conversion result viewing request comprises the virtual live broadcast room identifier.
And after detecting a triggering instruction of the object to the data viewing entrance and a confirmation instruction of the virtual live broadcast room identification, the target viewing terminal sends a data conversion processing result viewing request to the data processing server so that the data processing server returns a data conversion result corresponding to the virtual live broadcast room identification.
Illustratively, the process of obtaining the data conversion result corresponding to the virtual live broadcast room identifier is shown in fig. 11. A plurality of interactive objects (user a, user B, user C, user D, etc.) enter the virtual live room provided by the target embedded program. For each interactive object, ordering can be performed by watching a live broadcast in the virtual live broadcast room. And the terminal of the interactive object carries the behavior data generated on the downlink with the virtual live broadcast room identification through the data processing control and then reports the behavior data to the data processing server. The data processing server performs data cleaning on the received target reported data including the virtual live broadcast room identifier in a data cleaning layer (performs validity verification on the target reported data); and the data processing server stores the effective reporting data passing the validity verification in a database. And the data processing server performs attribution conversion calculation on the effective reported data corresponding to the virtual live broadcast room identifier stored in the database to obtain a data conversion result (live broadcast drainage UV, the number of orders, the amount of orders, the conversion rate of deals, the amount of deals, the unit price of passengers and the like) corresponding to the virtual live broadcast room identifier.
Exemplarily, as shown in fig. 12, user a, user B, user C, and user D all enter a virtual live broadcast room to watch live broadcast. And the terminal (the terminal of the user A, the terminal of the user B, the terminal of the user C and the terminal of the user D) reports target report data which are generated by the user A, the user B, the user C and the user D aiming at the virtual live broadcast room and comprise the virtual live broadcast room identification to a data processing server through a data processing control. The object-embedded program server transmits the standard order data to the data processing server. The data cleaning layer of the data processing server carries out validity verification on the target reported data based on the standard order data; and integrating the effective reported data and the standard order data, and sending the integrated data to a data storage layer for storage. And the data storage layer of the data processing server stores the integrated data. When a data conversion result corresponding to the virtual live broadcast room identifier needs to be obtained, the data processing server converts the stored integrated data to obtain the data conversion corresponding to the virtual live broadcast room identifier, so that display data are provided for the live broadcast watching board.
Illustratively, the presentation page of the data conversion result corresponding to the virtual live broadcast room identifier refers to a page in an application program installed in the terminal and used for viewing the data conversion result provided by the data processing server. A display page of the data conversion result corresponding to the virtual live broadcast room identifier is shown in fig. 13. In fig. 13, the display page of the data conversion result corresponding to the virtual live broadcast room identifier is displayed in the live broadcast billboard under the operation analysis option, the display page of the data conversion result corresponding to the virtual live broadcast room identifier displays the data conversion result (transaction condition) corresponding to the virtual live broadcast room identifier, and the data conversion result includes sub-results such as live broadcast drainage UV, number of orders placed, amount of orders committed, conversion rate committed, amount of money committed, and unit price of guest. And the transaction detail is also displayed on the display page of the data conversion result corresponding to the virtual live broadcast room identifier, and the summary data and the total summary data of various types of users (historical singleton users, new access users, old access users and the like) are displayed in the transaction detail. And displaying a data conversion result corresponding to the virtual live broadcast room identification through a live broadcast billboard of the application program, so that a business side of the target embedded program can quickly check the live broadcast effect of the virtual live broadcast room.
In the embodiment of the application, after the target reported data including the virtual live broadcast room identification is cleaned in the cleaning layer, stored in the storage layer and applied in the calculation layer, the live broadcast billboard function can be realized, so that the commodity sales attribution is well realized for a merchant, and the merchant can clearly analyze the effect of conversion of the live broadcast commodity attribution.
In the embodiment of the application, the data processing server can receive at least one piece of target reported data including the virtual live broadcast room identifier, which is reported by at least one terminal through the data processing control, and further obtain a data conversion result corresponding to the virtual live broadcast room identifier according to the target reported data. Based on the process, the data conversion result corresponding to the virtual live broadcast room identification can be automatically obtained, and the data processing effect is good.
Referring to fig. 14, an embodiment of the present application provides a data processing apparatus, which is applied to a terminal, where the terminal is installed with a host program for providing a running environment for a target embedded program, and the target embedded program is integrated with a data processing control, and the apparatus includes:
a first obtaining unit 1401, configured to obtain, through a data processing control, a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters, where the virtual live broadcast room is provided by a target embedded program;
a second obtaining unit 1402, configured to obtain at least one piece of behavior data of the target object, where the at least one piece of behavior data includes data that is generated by the target object for the virtual live broadcast room;
a third obtaining unit 1403, configured to obtain at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object through the data processing control;
a reporting unit 1404, configured to report at least one piece of reported data of the target object to the data processing server through the data processing control.
In a possible implementation manner, the third obtaining unit 1403 is configured to obtain the first attribute information of the target object; processing the first attribute information of the target object based on the virtual live broadcast room identification through the data processing control to obtain second attribute information of the target object; and obtaining at least one piece of reported data of the target object through the data processing control based on the second attribute information of the target object and the at least one piece of behavior data of the target object.
In a possible implementation manner, the third obtaining unit 1403 is further configured to, in response to that the first attribute information of the target object does not include the existing virtual live broadcast room identifier, add the virtual live broadcast room identifier to the first attribute information of the target object through the data processing control, and obtain second attribute information of the target object; and in response to that the first attribute information of the target object comprises the identification of the existing virtual live broadcast room, and the identification of the virtual live broadcast room is different from the identification of the existing virtual live broadcast room, replacing the identification of the existing virtual live broadcast room in the first attribute information of the target object with the identification of the virtual live broadcast room through the data processing control, and obtaining second attribute information of the target object.
In a possible implementation manner, the first obtaining unit 1401 is configured to obtain, through the data processing control, a target display page of the target embedded type program, and parse a virtual live broadcast room identifier from an address of the target display page, where the target display page is a display page associated with a virtual live broadcast room.
In one possible implementation, the at least one piece of behavior data of the target object includes at least one of commodity viewing data, commodity purchase data, commodity settlement data, and order submission data.
In the embodiment of the application, a data processing control is integrated in the target embedded program, and the terminal obtains the virtual live broadcast room identifier of the virtual live broadcast room provided by the target embedded program and obtains the reported data including the virtual live broadcast room identifier through the data processing control. In the process, the automatic acquisition of the virtual live broadcast room identifier and the automatic acquisition of the reported data including the virtual live broadcast room identifier can be realized through the data processing control, additional development is not needed, the development cost is low, the acquisition efficiency of the virtual live broadcast room identifier and the acquisition efficiency of the reported data are high, and the data processing effect is good.
Referring to fig. 15, an embodiment of the present application provides a data processing method and apparatus, where the apparatus is applied to a data processing server, and the apparatus includes:
a receiving unit 1501, configured to receive at least one piece of target reported data reported by at least one terminal through a data processing control, where the at least one piece of target reported data includes a virtual live broadcast room identifier;
an obtaining unit 1502 is configured to obtain a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of target reported data.
In a possible implementation manner, the obtaining unit 1502 is configured to receive at least one piece of standard order data corresponding to a virtual live broadcast room identifier sent by a target embedded program server, where the target embedded program server is a server of a target embedded program, and the target embedded program is configured to provide a virtual live broadcast room corresponding to the virtual live broadcast room identifier; performing validity verification on at least one piece of target reported data based on at least one piece of standard order data, and taking at least one piece of target reported data passing the validity verification as valid reported data; and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of effective reported data.
In a possible implementation manner, the obtaining unit 1502 is further configured to perform integration processing on at least one piece of standard order data and at least one piece of effective reported data to obtain at least one piece of integrated data; and converting at least one piece of integrated data to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
In one possible implementation, referring to fig. 16, the apparatus further includes:
the sending unit 1503 is configured to send the data conversion result corresponding to the virtual live broadcast room identifier to the target viewing terminal, where the target viewing terminal is configured to display the data conversion result corresponding to the virtual live broadcast room identifier.
In the embodiment of the application, the data processing server can receive at least one piece of target reported data including the virtual live broadcast room identifier, which is reported by at least one terminal through the data processing control, and further obtain a data conversion result corresponding to the virtual live broadcast room identifier according to the target reported data. Based on the process, the data conversion result corresponding to the virtual live broadcast room identification can be automatically obtained, and the data processing effect is good.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 17 is a schematic structural diagram of a server according to an embodiment of the present disclosure, where the server may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 1701 and one or more memories 1702, where the one or more memories 1702 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1701 to implement the data Processing method according to the embodiment of the present disclosure. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
Fig. 18 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal may be: a smartphone, a tablet, a laptop, or a desktop computer. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 1801 and a memory 1802.
The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 1801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1802 is used to store at least one instruction for execution by processor 1801 to implement a data processing method provided by method embodiments herein.
In some embodiments, the terminal may further include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, touch screen display 1805, camera assembly 1806, audio circuitry 1807, positioning component 1808, and power supply 1809.
The peripheral interface 1803 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, memory 1802, and peripheral interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuitry 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1804 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1805 is a touch display screen, the display screen 1805 also has the ability to capture touch signals on or over the surface of the display screen 1805. The touch signal may be input to the processor 1801 as a control signal for processing. At this point, the display 1805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1805 may be one, and is disposed on a front panel of the terminal; in other embodiments, the number of the display screens 1805 may be at least two, and the two display screens are respectively disposed on different surfaces of the terminal or are in a folding design; in still other embodiments, the display 1805 may be a flexible display disposed on a curved surface or on a folded surface of the terminal. Even more, the display 1805 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display 1805 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1806 is used to capture images or video. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1801 for processing or inputting the electric signals to the radio frequency circuit 1804 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the terminal respectively. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuitry 1804 to sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1807 may also include a headphone jack.
The positioning component 1808 is used for positioning the current geographic Location of the terminal to implement navigation or LBS (Location based service). The positioning component 1808 may be a positioning component based on a Global Positioning System (GPS) in the united states, a beidou system in china, a greiner system in russia, or a galileo system in the european union.
The power supply 1809 is used to supply power to various components in the terminal. The power supply 1809 may be ac, dc, disposable or rechargeable. When the power supply 1809 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 1810. The one or more sensors 1810 include, but are not limited to: acceleration sensor 1811, gyro sensor 1812, pressure sensor 1813, fingerprint sensor 1814, optical sensor 1815, and proximity sensor 1816.
The acceleration sensor 1811 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 1811 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1801 may control the touch display 1805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1811. The acceleration sensor 1811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1812 may detect a body direction and a rotation angle of the terminal, and the gyro sensor 1812 may cooperate with the acceleration sensor 1811 to collect a 3D motion of the user on the terminal. The processor 1801 may implement the following functions according to the data collected by the gyro sensor 1812: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 1813 may be disposed on a side frame of the terminal and/or an underlying layer of the touch display 1805. When the pressure sensor 1813 is disposed on the side frame of the terminal, a holding signal of the user to the terminal can be detected, and the processor 1801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1813. When the pressure sensor 1813 is disposed at the lower layer of the touch display screen 1805, the processor 1801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1814 is used to collect the fingerprint of the user, and the processor 1801 identifies the user according to the fingerprint collected by the fingerprint sensor 1814, or the fingerprint sensor 1814 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1801 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1814 may be disposed at the front, rear, or side of the terminal. When a physical key or a vendor Logo is provided on the terminal, the fingerprint sensor 1814 may be integrated with the physical key or the vendor Logo.
The optical sensor 1815 is used to collect the ambient light intensity. In one embodiment, the processor 1801 may control the display brightness of the touch display 1805 based on the ambient light intensity collected by the optical sensor 1815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the touch display 1805 is turned down. In another embodiment, the processor 1801 may also dynamically adjust the shooting parameters of the camera assembly 1806 according to the intensity of the ambient light collected by the optical sensor 1815.
A proximity sensor 1816, also known as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 1816 is used to collect a distance between the user and the front surface of the terminal. In one embodiment, when the proximity sensor 1816 detects that the distance between the user and the front surface of the terminal gradually decreases, the processor 1801 controls the touch display 1805 to switch from the bright screen state to the dark screen state; when the proximity sensor 1816 detects that the distance between the user and the front surface of the terminal is gradually increased, the processor 1801 controls the touch display 1505 to switch from a breath screen state to a bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer device is also provided that includes a processor and a memory having at least one program code stored therein. The at least one program code is loaded into and executed by one or more processors to implement any of the data processing methods described above.
In an exemplary embodiment, there is also provided a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor of a computer device to implement any of the data processing methods described above.
In one possible implementation, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any one of the data processing methods.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A data processing method is applied to a terminal, the terminal is provided with a host program for providing a running environment for a target embedded program, the target embedded program is integrated with a data processing control, and the method comprises the following steps:
acquiring a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters through the data processing control, wherein the virtual live broadcast room is provided by the target embedded program;
acquiring at least one piece of behavior data of the target object, wherein the at least one piece of behavior data comprises data generated by the target object aiming at the virtual live broadcast room;
obtaining at least one piece of reported data of the target object through the data processing control based on the virtual live broadcast room identification and the at least one piece of behavior data of the target object;
and reporting at least one piece of reported data of the target object to a data processing server through the data processing control.
2. The method of claim 1, wherein obtaining, by the data processing control, at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object comprises:
acquiring first attribute information of the target object;
processing the first attribute information of the target object through the data processing control based on the virtual live broadcast room identification to obtain second attribute information of the target object;
and obtaining at least one piece of reported data of the target object by the data processing control based on the second attribute information of the target object and the at least one piece of behavior data of the target object.
3. The method of claim 2, wherein the processing, by the data processing control, the first attribute information of the target object based on the virtual live broadcast room identifier to obtain the second attribute information of the target object comprises:
responding to the fact that the first attribute information of the target object does not include the existing virtual live broadcast room identification, and adding the virtual live broadcast room identification to the first attribute information of the target object through the data processing control to obtain second attribute information of the target object;
and in response to that the first attribute information of the target object comprises an existing virtual live broadcast room identifier and that the virtual live broadcast room identifier is different from the existing virtual live broadcast room identifier, replacing the existing virtual live broadcast room identifier in the first attribute information of the target object with the virtual live broadcast room identifier through the data processing control, and obtaining second attribute information of the target object.
4. The method according to any one of claims 1 to 3, wherein the obtaining, by the data processing control, the virtual live broadcast room identifier of the virtual live broadcast room into which the target object enters comprises:
and acquiring a target display page of the target embedded program through the data processing control, and analyzing a virtual live broadcast room identifier from an address of the target display page, wherein the target display page is a display page associated with the virtual live broadcast room.
5. The method according to any one of claims 1 to 3, wherein the at least one piece of behavior data of the target object comprises at least one of commodity viewing data, commodity purchase data, commodity settlement data, and order submission data.
6. A data processing method is applied to a data processing server, and the method comprises the following steps:
receiving at least one piece of target reported data reported by at least one terminal through a data processing control, wherein the at least one piece of target reported data comprises a virtual live broadcast room identifier;
and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data.
7. The method of claim 6, wherein the obtaining a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data comprises:
receiving at least one piece of standard order data corresponding to the virtual live broadcast room identifier sent by a target embedded program server, wherein the target embedded program server is a server of a target embedded program, and the target embedded program is used for providing a virtual live broadcast room corresponding to the virtual live broadcast room identifier;
performing validity verification on the at least one piece of target reported data based on the at least one piece of standard order data, and taking the at least one piece of target reported data passing the validity verification as valid reported data;
and acquiring a data conversion result corresponding to the virtual live broadcast room identifier based on at least one piece of effective reported data.
8. The method of claim 7, wherein obtaining the data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of valid reported data comprises:
integrating the at least one piece of standard order data and the at least one piece of effective reported data to obtain at least one piece of integrated data;
and converting the at least one piece of integrated data to obtain a data conversion result corresponding to the virtual live broadcast room identifier.
9. The method according to any one of claims 6-8, wherein after obtaining the data conversion result corresponding to the virtual live broadcast room identifier, the method further comprises:
and sending the data conversion result corresponding to the virtual live broadcast room identification to a target viewing terminal, wherein the target viewing terminal is used for displaying the data conversion result corresponding to the virtual live broadcast room identification.
10. A data processing apparatus, wherein the apparatus is applied to a terminal, the terminal is installed with a host program for providing a running environment for a target embedded program, the target embedded program is integrated with a data processing control, and the apparatus comprises:
a first obtaining unit, configured to obtain, through the data processing control, a virtual live broadcast room identifier of a virtual live broadcast room into which a target object enters, where the virtual live broadcast room is provided by the target embedded program;
a second obtaining unit, configured to obtain at least one piece of behavior data of the target object, where the at least one piece of behavior data includes data generated by the target object for the virtual live broadcast room;
a third obtaining unit, configured to obtain, by the data processing control, at least one piece of reported data of the target object based on the virtual live broadcast room identifier and the at least one piece of behavior data of the target object;
and the reporting unit is used for reporting at least one piece of reported data of the target object to a data processing server through the data processing control.
11. A data processing apparatus, wherein the apparatus is applied to a data processing server, the apparatus comprising:
the receiving unit is used for receiving at least one piece of target reported data reported by at least one terminal through the data processing control, wherein the at least one piece of target reported data comprises a virtual live broadcast room identifier;
and the obtaining unit is used for obtaining a data conversion result corresponding to the virtual live broadcast room identifier based on the at least one piece of target reported data.
12. A computer device comprising a processor and a memory, the memory having stored therein at least one program code, the at least one program code being loaded and executed by the processor to implement a data processing method according to any one of claims 1 to 5 or a data processing method according to any one of claims 6 to 9.
13. A computer-readable storage medium, having stored therein at least one program code, which is loaded and executed by a processor, to implement the data processing method of any of claims 1 to 5 or the data processing method of any of claims 6 to 9.
CN202010694115.0A 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium Active CN111654717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010694115.0A CN111654717B (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010694115.0A CN111654717B (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111654717A true CN111654717A (en) 2020-09-11
CN111654717B CN111654717B (en) 2023-11-03

Family

ID=72352048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010694115.0A Active CN111654717B (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111654717B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134613A (en) * 2021-03-29 2022-09-30 武汉斗鱼网络科技有限公司 Method and related device for acquiring information of live broadcast room

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488297A (en) * 2016-10-21 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of display image data
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
WO2018108035A1 (en) * 2016-12-13 2018-06-21 腾讯科技(深圳)有限公司 Information processing and virtual resource exchange method, apparatus, and device
CN108540515A (en) * 2017-03-06 2018-09-14 腾讯科技(深圳)有限公司 A kind of data processing method and server
CN109309842A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Live data treating method and apparatus, computer equipment and storage medium
CN109688480A (en) * 2019-01-14 2019-04-26 广州虎牙信息科技有限公司 A kind of live broadcasting method, terminal device and storage medium
US20190200047A1 (en) * 2016-12-06 2019-06-27 Tencent Technology (Shenzhen) Company Limited Data processing method, apparatus, and system for live streaming page
CN109982148A (en) * 2019-04-03 2019-07-05 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, computer equipment and storage medium
CN110213522A (en) * 2019-05-27 2019-09-06 腾讯科技(深圳)有限公司 A kind of video data handling procedure, device and relevant device
CN110536144A (en) * 2019-07-31 2019-12-03 腾讯科技(深圳)有限公司 A kind of live streaming processing method, device and storage medium
CN110545452A (en) * 2018-05-28 2019-12-06 阿里巴巴集团控股有限公司 Network live broadcast method, device, terminal and server
CN110866147A (en) * 2019-10-14 2020-03-06 北京达佳互联信息技术有限公司 Method, apparatus and storage medium for classifying live broadcast application
CN111182320A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 Information processing method, device, terminal, server and storage medium
CN111385663A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Live broadcast interaction method, device, equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488297A (en) * 2016-10-21 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of display image data
US20190200047A1 (en) * 2016-12-06 2019-06-27 Tencent Technology (Shenzhen) Company Limited Data processing method, apparatus, and system for live streaming page
WO2018108035A1 (en) * 2016-12-13 2018-06-21 腾讯科技(深圳)有限公司 Information processing and virtual resource exchange method, apparatus, and device
CN108540515A (en) * 2017-03-06 2018-09-14 腾讯科技(深圳)有限公司 A kind of data processing method and server
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
CN109309842A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Live data treating method and apparatus, computer equipment and storage medium
CN110545452A (en) * 2018-05-28 2019-12-06 阿里巴巴集团控股有限公司 Network live broadcast method, device, terminal and server
CN111385663A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Live broadcast interaction method, device, equipment and storage medium
CN109688480A (en) * 2019-01-14 2019-04-26 广州虎牙信息科技有限公司 A kind of live broadcasting method, terminal device and storage medium
CN109982148A (en) * 2019-04-03 2019-07-05 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, computer equipment and storage medium
CN110213522A (en) * 2019-05-27 2019-09-06 腾讯科技(深圳)有限公司 A kind of video data handling procedure, device and relevant device
CN110536144A (en) * 2019-07-31 2019-12-03 腾讯科技(深圳)有限公司 A kind of live streaming processing method, device and storage medium
CN110866147A (en) * 2019-10-14 2020-03-06 北京达佳互联信息技术有限公司 Method, apparatus and storage medium for classifying live broadcast application
CN111182320A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 Information processing method, device, terminal, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134613A (en) * 2021-03-29 2022-09-30 武汉斗鱼网络科技有限公司 Method and related device for acquiring information of live broadcast room

Also Published As

Publication number Publication date
CN111654717B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110705983B (en) Method, device, equipment and storage medium for code scanning payment processing
CN110751539B (en) Article information processing method, article information processing device, article information processing terminal, article information processing server, and storage medium
CN113518265B (en) Live broadcast data processing method and device, computer equipment and medium
CN110457571B (en) Method, device and equipment for acquiring interest point information and storage medium
CN113055724B (en) Live broadcast data processing method, device, server, terminal, medium and product
CN114125477B (en) Data processing method, data processing device, computer equipment and medium
CN113259702A (en) Data display method and device, computer equipment and medium
CN111078521A (en) Abnormal event analysis method, device, equipment, system and storage medium
CN112533015B (en) Live interaction method, device, equipment and storage medium
CN113034226A (en) Live broadcast data processing method and device, electronic equipment, medium and product
CN111352687A (en) Invoice filling method, invoice filling device, invoice filling terminal and storage medium
CN111459466A (en) Code generation method, device, equipment and storage medium
CN110909264A (en) Information processing method, device, equipment and storage medium
CN111338933A (en) Buried point verification method, device, equipment and storage medium
CN113891166A (en) Data processing method, data processing device, computer equipment and medium
CN113506086A (en) Task issuing method and device, computer equipment and medium
CN111028071B (en) Bill processing method and device, electronic equipment and storage medium
CN111654717B (en) Data processing method, device, equipment and storage medium
CN111754272A (en) Advertisement recommendation method, recommended advertisement display method, device and equipment
CN110366044B (en) Method, device and system for acquiring target object
CN112235609A (en) Content item data playing method and device, computer equipment and storage medium
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN112702375B (en) Information pushing method and device, computer equipment and storage medium
CN115878134A (en) Program function triggering method, device, equipment, system, medium and program product
CN113051494A (en) Information display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028951

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant