Data processing method and device
By calculating and replacing the difference between the wheat position data and historical data in the live broadcast continuous wheat scene, the problem of low data processing efficiency is solved, and more efficient data processing and page refresh are achieved.
Patent Information
- Application Number
- PCT/CN2024/081981
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-15
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-19
AI Technical Summary
In the live broadcast continuous wheat scenario, the existing wheat position data processing efficiency is low, resulting in low processing efficiency.
By obtaining the wheat position data to be processed and the stored historical wheat position data, the difference is calculated. If there is no difference, the new data is discarded. If there is a difference, the historical data is retained and replaced. This reduces the data processing volume of the business processing module and improves data processing efficiency. .
It improves the data processing efficiency in the live broadcast continuous microphone scenario, reduces the data processing volume of the business processing module, avoids repeated processing, and improves the overall client data processing efficiency.
Smart Images

Figure CN2024081981_19092024_PF_FP_ABST
Abstract
Description
Data processing method and device
[0001] This application claims priority to Chinese patent application No. 202310269658.1 filed on March 15, 2023, the entire text of which is incorporated herein by reference as a part of this application. Technical Field
[0002] The present disclosure relates to a data processing method and device. Background Art
[0003] With the development of technology, the emergence of live streaming has enriched user interaction scenarios. In one example, multiple users can interact with each other through live broadcast and microphone connection.
[0004] However, in live broadcast scenarios, the known microphone position data processing solutions have low efficiency. Therefore, a solution is urgently needed to solve the above problem.
[0005] Summary of the Invention
[0006] In order to solve or at least partially solve the above technical problems, the embodiments of the present disclosure provide a data processing method and device.
[0007] In a first aspect, an embodiment of the present disclosure provides a data processing method, the method comprising:
[0008] Get the first microphone position data to be processed;
[0009] performing a difference calculation on the first microphone position data and the stored second microphone position data;
[0010] If it is determined that there is no difference between the first microphone bit data and the second microphone bit data, the first microphone bit data is discarded.
[0011] Optionally, the first microphone position data is current microphone position data to be processed, and the second microphone position data is historical microphone position data corresponding to the first microphone position data.
[0012] Optionally, the method further includes:
[0013] If it is determined that there is a difference between the first microphone position data and the second microphone position data, the first microphone position data is retained.
[0014] Optionally, the method further includes:
[0015] The stored second microphone position data is replaced with the first microphone position data.
[0016] Optionally, obtaining the first microphone position data to be processed includes:
[0017] Receive data sent by multiple different data sources;
[0018] The first microphone position data is obtained according to the data sent by the multiple different data sources.
[0019] Optionally, retaining the first microphone position data includes:
[0020] The data requested by the business processing module in the difference data is sent to the business processing module, where the difference data is the difference data between the first microphone position data and the second microphone position data.
[0021] Optionally, the first microphone position data includes first microphone position basic data and first microphone position additional data, and the second microphone position basic data includes second microphone position basic data and second microphone position additional data;
[0022] Calculating a difference between the first microphone position data and the stored second microphone position data includes:
[0023] A difference calculation is performed between the basic data of the first microphone position and the basic data of the second microphone position; and a difference calculation is performed between the additional data of the first microphone position and the additional data of the second microphone position.
[0024] Optionally, the fact that there is no difference between the first microphone position data and the second microphone position data includes:
[0025] There is no difference between the first microphone position basic data and the second microphone position basic data, and there is no difference between the first microphone position additional data and the second microphone position additional data.
[0026] Optionally, the method further includes:
[0027] determining difference data between the first microphone position data and the second microphone position data;
[0028] Play the audio and video data in the difference data, or refresh the display content of the live broadcast and microphone connection page according to the difference data.
[0029] In a second aspect, an embodiment of the present disclosure provides a data processing device, the device comprising:
[0030] an acquiring unit, configured to acquire first microphone position data to be processed;
[0031] a calculation unit, configured to perform difference calculation between the first microphone position data and the stored second microphone position data;
[0032] The discarding unit is configured to discard the first microphone position data if it is determined that there is no difference between the first microphone position data and the second microphone position data.
[0033] Optionally, the first microphone position data is current microphone position data to be processed, and the second microphone position data is historical microphone position data corresponding to the first microphone position data.
[0034] Optionally, the device further includes:
[0035] A retaining unit is configured to retain the first microphone position data if it is determined that there is a difference between the first microphone position data and the second microphone position data.
[0036] Optionally, the device further includes:
[0037] A replacing unit is configured to replace the stored second microphone position data with the first microphone position data.
[0038] Optionally, the acquiring unit is configured to:
[0039] Receive data sent by multiple different data sources;
[0040] The first microphone position data is obtained according to the data sent by the multiple different data sources.
[0041] Optionally, the retaining unit includes:
[0042] The data requested by the business processing module in the difference data is sent to the business processing module, where the difference data is the difference data between the first microphone position data and the second microphone position data.
[0043] Optionally, the first microphone position data includes first microphone position basic data and first microphone position additional data, and the second microphone position basic data includes second microphone position basic data and second microphone position additional data;
[0044] The computing unit is configured to:
[0045] A difference calculation is performed between the basic data of the first microphone position and the basic data of the second microphone position; and a difference calculation is performed between the additional data of the first microphone position and the additional data of the second microphone position.
[0046] Optionally, the fact that there is no difference between the first microphone position data and the second microphone position data includes:
[0047] There is no difference between the first microphone position basic data and the second microphone position basic data, and there is no difference between the first microphone position additional data and the second microphone position additional data.
[0048] Optionally, the device further includes:
[0049] a determining unit, configured to determine difference data between the first microphone position data and the second microphone position data;
[0050] The processing unit is used to play the audio and video data in the difference data, or refresh the display content of the live broadcast and microphone connection page according to the difference data.
[0051] In a third aspect, an embodiment of the present disclosure provides a device, the device comprising a processor and a memory;
[0052] The processor is configured to execute instructions stored in the memory, so that the device executes the method described in any one of the first aspects above.
[0053] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, comprising instructions, wherein the instructions instruct a device to execute any of the methods described in the first aspect above.
[0054] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0056] FIG1 is a flow chart of a data processing method provided by an embodiment of the present disclosure;
[0057] FIG2 is a schematic diagram of the structure of a client provided by an embodiment of the present disclosure;
[0058] FIG3 is a schematic structural diagram of a data processing device provided by an embodiment of the present disclosure;
[0059] FIG4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0060] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0061] After research, the inventors of the present disclosure found that in the scenario of microphone interaction, in related technologies, the client can process the microphone position data, but usually retains all the microphone position data, resulting in low processing efficiency.
[0062] Furthermore, in related technologies, the client's business processing module can process microphone position data. In this case, the business processing module's data processing logic is relatively complex, resulting in low data processing efficiency. In a specific example, the business module can directly obtain and process microphone position data from the data source. With this approach, if a new data source is added, each business processing module will need to process the data from the new data source, resulting in a large amount of data processing for the entire client and low data processing efficiency.
[0063] In order to solve the above problems, the embodiments of the present disclosure provide a data processing method and apparatus.
[0064] The microphone position data mentioned in the embodiments of the present disclosure may be data related to the microphone interaction.
[0065] Various non-limiting embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0066] Exemplary Methods
[0067] Referring to Figure 1, this figure is a flow chart illustrating a data processing method provided in an embodiment of the present disclosure. In this embodiment, the method can be applied to a client, which can include a data processing module and at least one service processing module. In one example, the method can include the following steps: S101-S103.
[0068] In one example, S101 - S103 may be executed by a data processing module included in the client.
[0069] S101: Acquire first microphone position data to be processed.
[0070] In an embodiment of the present disclosure, the first microphone position data may include microphone position data corresponding to at least one of the multiple objects participating in the live microphone interaction. In one example, the first microphone position data may include first microphone position basic data and first microphone position additional data. The first microphone position additional data may also be understood as business data, or referred to as first microphone position business data.
[0071] In one example, the first microphone position data is the current microphone position data to be processed by the client. After the client obtains the current microphone position data to be processed, it may further perform the subsequent step S102 to determine how to process the microphone position data to be processed.
[0072] In the embodiment of the present disclosure, the first microphone position basic data may be microphone position data unrelated to the business, and the first microphone position basic data includes but is not limited to data such as an avatar of the connected microphone object and a name of the connected microphone object.
[0073] In the embodiment of the present disclosure, business data refers to microphone position data related to the business. The embodiment of the present disclosure does not specifically limit the business data. The business data may be related to a specific business. For example, the business data may include interaction parameters corresponding to objects participating in the live broadcast interaction, etc., which are not listed one by one here.
[0074] In an example, the data processing module may obtain the first microphone position data from a server and / or other modules.
[0075] In another example, the data processing module may obtain the first microphone position data through the following steps A1-A2.
[0076] Step A1: Receive data sent by multiple data sources.
[0077] In the embodiments of the present disclosure, the data source can be understood as the source of data obtained or generated within the client. In the embodiments of the present disclosure, the data source can be divided according to certain rules, so that when new business logic is added, the management of business data can be managed according to the data source. In one example, the data source can be divided according to business functions. In other words, for the multiple data sources, the business functions of each of the multiple data sources are different. The business function in the embodiments of the present disclosure may correspond to a sub-business function in the business function. As an example, the business function corresponding to each business can be determined, and for a certain business function, the data corresponding to each business and the business function all come from the data source corresponding to the business function.
[0078] The embodiments of the present disclosure do not specifically limit the multiple data sources. In one example, the multiple data sources may include one or more of the following:
[0079] The data source corresponding to the basic microphone data, the data source corresponding to the audio and video communication, the data source corresponding to the supplemental enhancement information (SEI), and the data source corresponding to the specific sub-service function.
[0080] Step A2: Obtain the first microphone position data according to the data sent by the multiple different data sources.
[0081] After obtaining the data sent by multiple data sources, the data processing module may integrate the data sent by the multiple data sources to obtain the first microphone position data.
[0082] As mentioned above, the first microphone position data may include first microphone position basic data and first microphone position additional data.
[0083] In a specific example, the microphone position basic data may correspond to a separate data source. In this case, the data processing module may directly extract the first microphone position basic data provided by the data source corresponding to the microphone position basic data. The microphone position additional data may include microphone audio and video data, microphone interaction data, etc.
[0084] Regarding the data processing module integrating the data sent by the multiple data sources to obtain the first microphone position additional data, the following example illustrates the data processing module integrating the data sent by the multiple data sources to obtain business data corresponding to the first business. The data processing module can extract data corresponding to the first business from the multiple data sources and integrate the extracted data corresponding to the first business to obtain business data corresponding to the first business. The business data corresponding to the first business can be any one of the at least one business data.
[0085] S102: Calculate the difference between the first microphone position data and the stored second microphone position data.
[0086] In an embodiment of the present disclosure, the client may cache second microphone data. For example, the second microphone data may be historical microphone data stored by the data processing module. In one example, the second microphone data may be historical microphone data corresponding to the first microphone data. As a specific example, the second microphone data may be the microphone data last cached by the client. The first and second microphone data may be microphone data for the same object. In one example, the second microphone data may be microphone data used by the client's business processing module to perform the most recent related operation. The second microphone data may include second microphone basic data and second microphone additional data.
[0087] After the data processing module obtains the first microphone position data, it can perform a difference calculation on the first microphone position data and the second microphone position data to obtain a calculation result. The embodiments of the present disclosure do not specifically limit the implementation method of performing the difference calculation on the first microphone position data and the second microphone position data. In one example, a difference calculation can be performed on the first microphone position basic data and the second microphone position basic data, and a difference calculation can be performed on the first microphone position additional data and the second microphone position additional data to obtain the calculation result of the difference calculation. For example, the first microphone position basic data and the second microphone position basic data, as well as the first microphone position additional data and the second microphone position additional data, can be compared to obtain the calculation result of the difference calculation. In another example, other algorithms capable of calculating the difference between data can be used to perform the difference calculation on the first microphone position data and the second microphone position data to obtain the calculation result.
[0088] Regarding the calculation results, it should be noted that:
[0089] In one example, the calculation result may indicate that the first microphone position data and the second microphone position data do not differ. The first microphone position data and the second microphone position data do not differ, which may mean that the first microphone position data and the second microphone position data are identical. The first microphone position data and the second microphone position data are identical, which may mean that the first microphone position basic data and the second microphone position basic data are identical, and the first microphone position additional data and the second microphone position additional data are also identical.
[0090] In another example, the calculation result may indicate a difference between the first microphone position data and the second microphone position data. The difference between the first microphone position data and the second microphone position data may be that the first microphone position data and the second microphone position data are different. The difference between the first microphone position data and the second microphone position data may be that the first microphone position basic data and the second microphone position basic data are different, or that the first microphone position additional data and the second microphone position additional data are different.
[0091] In an example, if there is a difference between the first microphone position data and the second microphone position data, the calculation result may include difference data between the first microphone position data and the second microphone position data.
[0092] S103: If it is determined that there is no difference between the first microphone position data and the second microphone position data, discard the first microphone position data.
[0093] In the embodiment of the present disclosure, if the calculation result indicates that there is no difference between the first microphone data and the second microphone data, the data processing module discards the first microphone data. In this way, if there is no difference between the first microphone data and the second microphone data, the service processing module does not need to perceive the first microphone data, thereby reducing the data processing workload of the service processing module and correspondingly improving the data processing efficiency of the service processing module.
[0094] In addition, from the above description, it can be seen that in the embodiment of the present disclosure, a new data processing module is added in the client to perform data processing, instead of the business processing module directly processing the data from the data source. This can avoid multiple business processing modules from repeatedly processing the data from the data source, and accordingly improve the data processing efficiency of the entire client.
[0095] In one example, if the calculation result indicates that there is a difference between the first microphone data and the second microphone data, the data processing module may retain the first microphone data instead of discarding the first microphone data, thereby performing corresponding processing measures based on the first microphone data.
[0096] In one example, when retaining the first microphone position data, for example, the difference data between the first microphone position data and the second microphone position data can be sent to a service processing module to facilitate processing of the difference data by the service processing module. In another example, the data processing module can send the first microphone position data including the difference data to the service processing module, thereby achieving the effect of sending the difference data to the service processing module. In another example, the service processing module can request the data it needs from the data processing module based on its own needs. For example, the first service processing module can request basic microphone position data from the data processing module, and the second service processing module can request data related to audio and video communication from the data processing module. In this case, the data processing module can send the data requested by the service processing module in the difference data to the service processing module, thereby meeting the service model requirements.
[0097] In one example, if there is a difference between the first microphone data and the second microphone data, the data processing module may replace the stored second microphone data with the first microphone data. For example, the data processing module may delete the second microphone data and cache the first microphone data. In another example, the data processing module may replace the corresponding data in the second microphone data with the difference data. After the data processing module replaces the cached second microphone data with the first microphone data, the data stored on the client is the first microphone data. In this way, when the data processing module obtains third microphone data, it can determine how to process the third microphone data based on the first microphone data. For example, if there is a difference between the third microphone data and the first microphone data, the data processing module may retain the third microphone data. In another example, if there is no difference between the third microphone data and the first microphone data, the data processing module may discard the third microphone data.
[0098] In one example, if there is a difference between the first microphone position data and the second microphone position data, the client can also determine the difference data between the first microphone position data and the second microphone position data. Specifically, the data processing module can obtain the difference data based on the result of the aforementioned difference calculation. Furthermore, the client can send the difference data to the service processing module, which processes the difference data. In the embodiment of the present disclosure, the service processing module processes the difference data, for example, by playing and / or displaying the difference data. In one example, when the difference data includes audio and video data, the service processing module processes the difference data, for example, by playing the audio and video data in the difference data. If the difference data involves data displayed on a page, the service processing module processes the difference data, for example, by refreshing the content displayed on the page based on the difference data. In the scenario of live broadcast and microphone interaction, the service processing module can refresh the content displayed on the live broadcast and microphone page based on the difference data. The embodiment of the present disclosure does not specifically limit the content displayed on the live broadcast and microphone page; the content displayed on the live broadcast and microphone page can be determined based on actual circumstances.
[0099] Next, the data processing method provided by the embodiment of the present disclosure is introduced in conjunction with the structure of the client.
[0100] See Figure 2, which is a schematic diagram of the structure of a client provided by an embodiment of the present disclosure. As shown in Figure 2, the client includes a data source module, a data processing module, and multiple business processing modules. The data source module includes modules corresponding to multiple data sources. As shown in Figure 2, the data source module includes data source 1, data source 2, and data source 3, and the multiple business processing modules include business processing module 1, business processing module 2, and business processing module 3.
[0101] The data processing module may obtain data from the data source module and integrate the obtained data to obtain first microphone data. If there is a difference between the first microphone data and the second microphone data, the data processing module may send the difference data to the multiple business processing modules. If there is no difference between the first microphone data and the second microphone data, the data processing module may discard the first microphone data.
[0102] It should be noted that FIG2 is only shown for the convenience of understanding the present solution and does not constitute a limitation on the embodiments of the present disclosure.
[0103] Exemplary devices
[0104] Based on the methods provided in the above embodiments, an embodiment of the present disclosure further provides a device, which is described below in conjunction with the accompanying drawings.
[0105] 3 , which is a schematic diagram of the structure of a data processing device provided by an embodiment of the present disclosure, wherein the device 300 may specifically include: an acquisition unit 301 , a calculation unit 302 , and a discarding unit 303 .
[0106] An acquiring unit 301 is configured to acquire first microphone position data to be processed;
[0107] a calculation unit 302, configured to perform a difference calculation between the first microphone position data and the stored second microphone position data;
[0108] The discarding unit 303 is configured to discard the first microphone position data if it is determined that there is no difference between the first microphone position data and the second microphone position data.
[0109] Optionally, the first microphone position data is current microphone position data to be processed, and the second microphone position data is historical microphone position data corresponding to the first microphone position data.
[0110] Optionally, the device further includes:
[0111] A retaining unit is configured to retain the first microphone position data if it is determined that there is a difference between the first microphone position data and the second microphone position data.
[0112] Optionally, the device further includes:
[0113] A replacing unit is configured to replace the stored second microphone position data with the first microphone position data.
[0114] Optionally, the acquiring unit 301 is configured to:
[0115] Receive data sent by multiple different data sources;
[0116] The first microphone position data is obtained according to the data sent by the multiple different data sources.
[0117] Optionally, the retaining unit includes:
[0118] The data requested by the business processing module in the difference data is sent to the business processing module, where the difference data is the difference data between the first microphone position data and the second microphone position data.
[0119] Optionally, the first microphone position data includes first microphone position basic data and first microphone position additional data, and the second microphone position basic data includes second microphone position basic data and second microphone position additional data;
[0120] The calculation unit 302 is configured to:
[0121] A difference calculation is performed between the basic data of the first microphone position and the basic data of the second microphone position; and a difference calculation is performed between the additional data of the first microphone position and the additional data of the second microphone position.
[0122] Optionally, the fact that there is no difference between the first microphone position data and the second microphone position data includes:
[0123] There is no difference between the first microphone position basic data and the second microphone position basic data, and there is no difference between the first microphone position additional data and the second microphone position additional data.
[0124] Optionally, the device further includes:
[0125] a determining unit, configured to determine difference data between the first microphone position data and the second microphone position data;
[0126] The processing unit is used to play the audio and video data in the difference data, or refresh the display content of the live broadcast and microphone connection page according to the difference data.
[0127] Since the device 300 is a device corresponding to the information display method provided by the above method embodiment, the specific implementation of each unit of the device 300 is based on the same concept as the above method embodiment. Therefore, regarding the specific implementation of each unit of the device 300, you can refer to the relevant description part of the above method embodiment and will not repeat it here.
[0128] The present disclosure also provides a device, comprising a processor and a memory;
[0129] The processor is used to execute instructions stored in the memory, so that the device performs the data processing method described in any one of the above method embodiments.
[0130] Reference is now made to FIG4 , which illustrates a schematic diagram of the structure of an electronic device 400 suitable for implementing an embodiment of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable Android devices), PMPs (Portable Media Players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (TVs) and desktop computers. The electronic device illustrated in FIG4 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0131] As shown in Figure 4, electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. Various programs and data required for the operation of electronic device 400 are also stored in RAM 403. Processing device 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to bus 404.
[0132] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although FIG4 shows the electronic device 400 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0133] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0134] The electronic device provided by the embodiment of the present disclosure and the method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0135] An embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any one of the above embodiments is implemented.
[0136] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. Computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0137] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0138] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0139] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the method.
[0140] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0141] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0142] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit / module does not, in some cases, limit the unit itself.
[0143] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0144] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0145] An embodiment of the present disclosure provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the data processing method described in any one of the above method embodiments.
[0146] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0147] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0148] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A data processing method, comprising: Get the first microphone position data to be processed; performing a difference calculation on the first microphone position data and the stored second microphone position data; If it is determined that there is no difference between the first microphone data and the second microphone data, the first microphone data is discarded.
2. The method according to claim 1, wherein: The first microphone position data is current microphone position data to be processed, and the second microphone position data is historical microphone position data corresponding to the first microphone position data.
3. The method according to claim 1, further comprising: When it is determined that there is a difference between the first microphone position data and the second microphone position data, the first microphone position data is retained.
4. The method according to claim 3, further comprising: The stored second microphone position data is replaced with the first microphone position data.
5. The method according to claim 1, wherein: The step of obtaining the first microphone position data to be processed includes: Receive data sent by multiple different data sources; The first microphone position data is obtained according to the data sent by the multiple different data sources.
6. The method according to claim 3, wherein: The retaining the first microphone position data comprises: The data requested by the business processing module in the difference data is sent to the business processing module, wherein the difference data is the difference data between the first microphone position data and the second microphone position data.
7. The method according to claim 1, wherein: The first microphone position data includes first microphone position basic data and first microphone position additional data, and the second microphone position basic data includes second microphone position basic data and second microphone position additional data; Calculating the difference between the first microphone position data and the stored second microphone position data includes: The difference between the first microphone position basic data and the second microphone position basic data is calculated; and the difference between the first microphone position additional data and the second microphone position additional data is calculated.
8. The method according to claim 7, wherein: The first microphone position data and the second microphone position data having no difference include: There is no difference between the first microphone position basic data and the second microphone position basic data, and there is no difference between the first microphone position additional data and the second microphone position additional data.
9. The method according to claim 3, further comprising: Determine difference data between the first microphone position data and the second microphone position data; Play the audio and video data in the difference data, or refresh the display content of the live broadcast and microphone connection page according to the difference data.
10. A data processing device, comprising: An acquisition unit, used for acquiring first microphone position data to be processed; a calculation unit, configured to perform difference calculation between the first microphone position data and the stored second microphone position data; A discarding unit is configured to discard the first microphone position data when it is determined that there is no difference between the first microphone position data and the second microphone position data.
11. A device comprising a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the device performs the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, wherein: The method comprises instructions for instructing a device to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Data processing method and device
CN118678155A
Network teaching method and system
CN105405325A
Data stream processing method and device, storage medium, and terminal equipment
CN109495762A
Game live broadcast method based on multi-person voice room, medium and computer equipment
CN111385589A
Method for transmitting live video data and live broadcast acceleration system
CN112261418A
