Data processing method, device, equipment and medium based on data burial mode

By judging the installation status of the preset data service program in the TV system, dynamically switching the data buried point working mode, the unified upload of data is achieved, the problem of increasing server pressure is solved, and the system performance is improved.

CN115033448BActive Publication Date: 2025-05-23SHENZHEN COOCAA NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210509603.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-11
Publication Date
2025-05-23
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

Various business applications in the existing TV system collect data centrally and upload it simultaneously, resulting in increased server processing pressure and reduced system performance.

Method used

By determining whether to install the preset data service program, dynamically switch the working mode of the data buried point. If installed, switch to the second data buried point working mode and upload data uniformly through the data service program; if not installed, use the first data buried point working mode and each application uploads data independently.

Benefits of technology

Reduces network request connections and requests, reduces performance losses on TV systems, and reduces server processing pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033448B_ABST
    Figure CN115033448B_ABST
Patent Text Reader

Abstract

The present invention relates to a data processing method, device, equipment and medium based on a data burying point mode. The method comprises: determining whether a preset data service program of an integrated SDK is installed; if it is determined that the preset data service program is installed, then controlling the integrated SDK of each business application to switch to a second data burying point working mode for initialization, and uniformly uploading the data collected by each of the business applications through the data service program; if it is determined that the preset data service program is not installed, then controlling the integrated SDK of each business application to use a first data burying point working mode for initialization, and independently uploading the collected data through each of the business applications. The present invention can uniformly upload the data collected by each business application, greatly reducing the number of network request connections and requests, reducing the performance loss of the television system, and alleviating the processing pressure of the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention is applicable to the field of data processing, and in particular to a data processing method, device, equipment and medium based on a data burial point mode. Background Art

[0002] Each business application in the television system in the prior art needs to perform data collection and reporting services. Usually, each business application adopts a working mode of independently collecting data and independently uploading data. In this working mode, there is a situation where all business applications collect data centrally and upload data at the same time, which will increase the pressure on the server and reduce the working performance of the television system.

[0003] Therefore, a data processing method needs to be proposed to solve the problem that all business applications collect data centrally and upload data at the same time, which increases the processing pressure on the server. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a data processing method, device, equipment and medium based on the data embedding mode to solve the problem that all business applications centrally collect data and upload data at the same time, which increases the processing pressure of the server.

[0005] In a first aspect, a data processing method based on a data embedding mode is provided, the data processing method comprising:

[0006] Determine whether the preset data service program of the integrated SDK is installed;

[0007] If it is determined that the preset data service program is installed, the integrated SDK of each business application is controlled to switch to the second data burying point working mode for initialization, and the data collected by each business application is uniformly uploaded through the data service program;

[0008] If it is determined that the preset data service program is not installed, the integrated SDK that controls each business application is initialized using the first data burial point working mode, and the collected data is uploaded independently through each business application.

[0009] Optionally, in the second data burial working mode, uploading of the collected data through each of the business applications is prohibited.

[0010] Optionally, in the second data burying working mode, each of the business applications inserts the collected data into the data service program through a content provider.

[0011] Optionally, before the data is uploaded uniformly, the following steps are further included:

[0012] Count the number of data items collected by each of the business applications, and determine whether the number of data items reaches a set number threshold; when it is determined that the number of data items reaches the set number threshold, all counted data collected by each of the business applications are uploaded to the big data platform.

[0013] Optionally, the set number threshold is 100.

[0014] Optionally, before the data is uploaded uniformly, the following steps are further included:

[0015] During the process of receiving the data collected by each of the business applications, the receiving time is counted, and when the receiving time is a preset time, the data collected by each of the business applications within the receiving time are uniformly uploaded to the big data platform.

[0016] Optionally, the preset time is 5 minutes.

[0017] In a second aspect, a data processing device based on a data embedding mode is provided, the data processing device comprising:

[0018] A determination module, used to determine whether a preset data service program of the integrated SDK is installed;

[0019] The mode switching module is used to control the integrated SDK of each business application to switch to the second data burying working mode for initialization if it is determined that the preset data service program is installed, and to uniformly upload the data collected by each business application through the data service program; if it is determined that the preset data service program is not installed, control the integrated SDK of each business application to use the first data burying working mode for initialization, and to independently upload the collected data through each business application.

[0020] In a third aspect, an embodiment of the present invention provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data processing method as described in the first aspect when executing the computer program.

[0021] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method as described in the first aspect is implemented.

[0022] The beneficial effects of the above four technical solutions are:

[0023] The data processing method, apparatus, terminal device and medium of the present invention initialize the integrated SDK of each business application by designing a method for dynamically switching between two data embedding working modes, and dynamically switch the first or second data embedding working mode according to whether a preset data service program is installed in the system. When the integrated SDK of each business application is switched to the second data embedding working mode, the data collected by each business application can be uploaded in a unified manner, which greatly reduces the number of network request connections and requests, can reduce the performance loss of the television system, and alleviate the processing pressure on the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0025] Figure 1 It is a schematic diagram of an application environment of a data processing method based on a data burying point mode provided in the first embodiment of the present invention;

[0026] Figure 2 It is a flowchart of a data processing method based on a data embedding mode provided in the first embodiment of the present invention;

[0027] Figure 3 It is a flow chart of a data processing method based on a data embedding mode provided in the second embodiment of the present invention;

[0028] Figure 4 is a structural schematic diagram of a data processing device provided in Embodiment 3 of the present invention;

[0029] Figure 5 It is a structural diagram of a terminal device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0030] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0031] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0032] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0033] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.

[0034] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0035] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0036] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0037] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.

[0038] A data processing method based on a data embedding mode provided in the first embodiment of the present invention can be applied in the following aspects: Figure 1In the application environment, the client communicates with the server. The client includes but is not limited to smart TV, PDA, desktop computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cloud terminal device, personal digital assistant (PDA) and other terminal devices. The server can be implemented by an independent server or a server cluster composed of multiple servers.

[0039] See also Figure 2 , is a flow chart of a data processing method based on a data embedding mode provided in the first embodiment of the present invention. The above data processing method can be applied to Figure 1 The data processing method may include the following steps:

[0040] Step S101, determining whether a preset data service program with an integrated SDK (Software Development Kit) is installed.

[0041] For example, in a certain TV system (such as Coocaa TV system), before initialization, the integrated SDK of each business application determines whether the current TV system has a preset data service program (such as Xiaoku data service program) installed, and then uses the judgment result to dynamically determine the initialization mode of the integrated SDK of each business application in subsequent steps. The initialization mode includes: a first data burying point working mode and a second data burying point working mode.

[0042] Step S102, if it is determined that the preset data service program is installed, the integrated SDK of each business application is controlled to switch to the second data burial point working mode for initialization, and the data collected by each business application is uniformly uploaded through the data service program.

[0043] In this step, before the judgment result of whether the preset data service program is installed appears, the initialization mode of the integrated SDK of each business application defaults to the first data burying working mode. The first data burying working mode is: each business application collects data and reports data separately.

[0044] In this step, in the second data point-burying working mode, it is prohibited to upload the collected data through each of the business applications. In addition, in the second data point-burying working mode, each of the business applications inserts the collected data into the data service program through the content provider, and the data service program performs policy filtering of the point-burying events, uniformly compresses N pieces of data, and then reports them to the big data platform.

[0045] Optionally, before the data is uploaded uniformly, the following steps are further included:

[0046] Count the number of data items collected by each of the business applications, and determine whether the number of data items reaches a set number threshold; when it is determined that the number of data items reaches the set number threshold, all counted data collected by each of the business applications are uploaded to the big data platform.

[0047] For example, the set number threshold is 100, and there are 20 business applications. Each business application collects data separately, and the integrated SDK of each business application inserts the collected data. The Xiaoku data service program (i.e., the preset data service program) accumulates the number of data items starting from the first data item. When the accumulated number of data items reaches 100, these 100 data items are uploaded to the big data platform.

[0048] Step S103, if it is determined that the preset data service program is not installed, the integrated SDK of each business application is controlled to be initialized using the first data burying working mode, and the collected data is uploaded independently through each business application.

[0049] The data processing method of this embodiment initializes the integrated SDK of each business application by designing a method of dynamically switching between two data burying working modes, and dynamically switches to the first or second data burying working mode according to whether a preset data service program is installed in the system. When the integrated SDK of each business application is switched to the second data burying working mode, the data collected by each of the business applications can be uploaded in a unified manner, which greatly reduces network request connections and request times, and can reduce TV performance loss and alleviate server pressure.

[0050] See also Figure 3 , is a flow chart of a data processing method based on a data embedding mode provided in the second embodiment of the present invention. The above data processing method can be applied to Figure 1 The data processing method may include the following steps:

[0051] Step S201, determining whether a preset data service program integrated with the SDK is installed.

[0052] Step S202, if it is determined that the preset data service program is installed, the integrated SDK of each business application is controlled to switch to the second data burial point working mode for initialization, and the data collected by each business application is uniformly uploaded through the data service program.

[0053] Optionally, before the data is uploaded uniformly, the following steps are further included:

[0054] During the process of receiving the data collected by each of the business applications, the statistical data receiving time is counted. When the data receiving time is a preset time, the data collected by each of the business applications within the data receiving time are uniformly uploaded to the big data platform.

[0055] For example, the preset time is 5 minutes, and there are 20 business applications. Each business application collects data separately, and the integrated SDK of each business application inserts the collected data. The Xiaoku data service program starts timing from the first data received, and then continues to receive the next data. When the timing reaches 5 minutes, the several data received within these 5 minutes are uploaded to the big data platform.

[0056] Step S203, if it is determined that the preset data service program is not installed, the integrated SDK of each business application is controlled to be initialized using the first data burying working mode, and the collected data is uploaded independently through each business application.

[0057] Steps S201 and S203 in this embodiment are the same as steps S101 and S103 in the first embodiment. Step S202 in this embodiment is different from step S102 in the first embodiment in the timing of uploading data to the big data platform. That is, in step S102, data is uploaded uniformly when the number of statistical data items meets a certain number, while in step S202, data is uploaded uniformly at every fixed time period.

[0058] Corresponding to the method of the above embodiment, Figure 4 A structural block diagram of a data processing device based on a data embedding mode provided in a third embodiment of the present invention is shown. The data processing device is applied to a terminal device, which may be a smart TV, a smart phone, or other smart mobile terminals.

[0059] See also Figure 4 The data processing device mainly includes: a judgment module 41 and a mode switching module 42, wherein:

[0060] A determination module 41 is used to determine whether a preset data service program integrated with the SDK is installed;

[0061] The mode switching module 42 is used to control the integrated SDK of each business application to switch to the second data burying working mode for initialization if it is determined that the preset data service program is installed, and to uniformly upload the data collected by each business application through the data service program; if it is determined that the preset data service program is not installed, then control the integrated SDK of each business application to use the first data burying working mode for initialization, and to independently upload the collected data through each business application.

[0062] Optionally, the above-mentioned data processing device also includes: a monitoring module, which is used to prohibit the collected data from being uploaded through each of the business applications in the second data burial point working mode.

[0063] Optionally, the above-mentioned data processing device also includes: a content provider, which is used for each of the business applications to insert the collected data into the data service program through the content provider in the second data burying working mode.

[0064] Optionally, the above-mentioned data processing device also includes: a data statistics processing module, which is used to count the number of data collected by each of the business applications before the data is uniformly uploaded, and determine whether the number of data reaches a set threshold; when it is determined that the number of data reaches the set threshold, all the counted data collected by each of the business applications are uniformly uploaded to the big data platform.

[0065] Optionally, the set number threshold is 100.

[0066] Optionally, the above-mentioned data processing device also includes: a time statistics processing module, which is used to count the receiving time during the process of receiving the data collected by each of the business applications before the data is uniformly uploaded; when the receiving time is a preset time, the data collected by each of the business applications within the receiving time is uniformly uploaded to the big data platform.

[0067] Optionally, the preset time is 5 minutes.

[0068] The data processing device of this embodiment initializes the integrated SDK of each business application by designing a method of dynamically switching between two data embedding working modes, and dynamically switches to the first or second data embedding working mode according to whether a preset data service program is installed in the system. When the integrated SDK of each business application is switched to the second data embedding working mode, the data collected by each of the business applications can be uploaded in a unified manner, which greatly reduces network request connections and request times, and can reduce TV performance loss and alleviate server pressure.

[0069] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the embodiments of the methods involved in the present invention. Their specific functions and technical effects can be found in the embodiments of the methods and will not be repeated here.

[0070] Figure 5 This is a schematic diagram of the structure of a terminal device provided in Embodiment 4 of the present invention. Figure 5 As shown, the terminal device of this embodiment includes: at least one processor ( Figure 5Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the steps of the data processing method in the above-mentioned Embodiment 1 / Embodiment 2 are implemented.

[0071] The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 5 It is only an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.

[0072] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0073] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of the terminal device, and the internal memory provides an environment for the operation of the operating system and the computer-readable instructions in the readable storage medium. The readable storage medium may be the hard disk of the terminal device, and in other embodiments, it may also be an external storage device of the terminal device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of a computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0074] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0075] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiment when executing it.

[0076] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0077] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0078] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0080] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. Data processing method based on data embedding mode, It is characterized in that The data processing method comprises: Determine whether a preset data service program of the integrated SDK is installed, and obtain a determination result for dynamically determining an initialization mode of the integrated SDK of each business application, wherein the initialization mode includes a first data burying point working mode and a second data burying point working mode; If it is determined that the preset data service program is installed, the integrated SDK of each business application is controlled to switch to the second data burying point working mode for initialization, and the data collected by each business application is uniformly uploaded through the data service program; in the second data burying point working mode, each business application inserts the collected data into the data service program through the content provider, and the data service program performs policy filtering of burying point events, uniformly compresses N data and reports them to the big data platform; If it is determined that the preset data service program is not installed, the integrated SDK that controls each business application is initialized using the first data burial point working mode, and the collected data is uploaded independently through each business application.

2. The data processing method according to claim 1, It is characterized in that In the second data burial working mode, it is prohibited to upload the collected data through the business applications.

3. The data processing method according to any one of claims 1 to 2, It is characterized in that Before the data is uploaded uniformly, it also includes: Count the number of data items collected by each of the business applications, and determine whether the number of data items reaches a set number threshold; when it is determined that the number of data items reaches the set number threshold, all counted data collected by each of the business applications are uploaded to the big data platform.

4. The data processing method according to claim 3, It is characterized in that The set number threshold is 100.

5. The data processing method according to any one of claims 1 to 2, It is characterized in that Before the data is uploaded uniformly, it also includes: During the process of receiving the data collected by each of the business applications, the receiving time is counted, and when the receiving time is a preset time, the data collected by each of the business applications within the receiving time are uniformly uploaded to the big data platform.

6. The data processing method according to claim 5, It is characterized in that The preset time is 5 minutes.

7. Data processing device based on data embedding mode, It is characterized in that The data processing device comprises: A judgment module, used to judge whether a preset data service program of the integrated SDK is installed, and obtain a judgment result for dynamically determining an initialization mode of the integrated SDK of each business application, wherein the initialization mode includes a first data burying point working mode and a second data burying point working mode; A mode switching module is used to control the integrated SDK of each business application to switch to the second data burying point working mode for initialization if it is determined that the preset data service program is installed, and to uniformly upload the data collected by each of the business applications through the data service program; if it is determined that the preset data service program is not installed, control the integrated SDK of each business application to use the first data burying point working mode for initialization, and to independently upload the collected data through each of the business applications; The content provider is used for, in the second data burying point working mode, each business application inserts the collected data into the data service program through the content provider, and the data service program performs strategy filtering of burying point events, uniformly compresses N data and reports them to the big data platform.

8. A terminal device, It is characterized in that The terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the data processing method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Data reporting method, data reporting device, mobile terminal and computer readable medium

    CN108134838A

  • Device operation method and apparatus, and gateway, electronic device and computer-readable medium

    WO2020228042A1