Data processing method and device
By generating text selection controls in the input box of the live broadcast room and displaying the anchor's voice content item by item, the problem of inefficient communication caused by the time difference between the user's reply text and the anchor's voice content is solved, and more efficient communication in the live broadcast room is achieved.
Patent Information
- Application Number
- CN202510093609.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-21
AI Technical Summary
During the live broadcast, there is a time difference between the user's reply text and the anchor's voice content, which makes it difficult for the anchor to identify the specific voice content targeted by the reply text, reducing the communication efficiency in the live broadcast room.
A data processing method and device are provided, by generating a text selection control at the start position of the input box, converting the voice content of the anchor into text content item by item, and displaying it in the text selection control. Users can select the targeted content of the reply in the text selection control and send the selected text content and reply text to the interactive content display interface of the live broadcast room.
By displaying the first text content in the text selection control and sending it with the reply text, the anchor can easily identify the targeted content of the reply text, avoiding confusion caused by lag in the reply text, and improving the communication efficiency in the live broadcast room.
Smart Images

Figure CN119544685B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a data processing method and device. Background Art
[0002] With the development of Internet technology, online shopping malls have experienced rapid development. At present, the shopping experience of online shopping malls has made great progress, however, it is not completely satisfactory in every aspect, and further improvement of the online shopping experience is expected. Summary of the invention
[0003] To solve the existing problems, the present disclosure provides a data processing method and device, a terminal and a storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] An embodiment of the present disclosure provides a data processing method, which includes: in response to an invoking operation of an input box of a live broadcast room of a shopping mall, obtaining the voice content of the host of the live broadcast room in a preset time period before the current moment; generating a text selection control at the starting position of the input box; converting the voice content into text content one by one, and displaying them one by one in the text selection control; in response to a selection operation on first text content in the text selection control, displaying the first text content in an area of the text selection control; in response to an input and sending operation of a reply text in the input box, sending the first text content and the reply text together to an interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
[0006] Another embodiment of the present disclosure provides a data processing device, which includes: a voice content acquisition module, configured to respond to the invocation operation of the input box of the live broadcast room of the shopping mall, and acquire the voice content of the anchor of the live broadcast room in a preset time period before the current moment; a control generation module, configured to generate a text selection control at the starting position of the input box; a text conversion and display module, configured to convert the voice content into text content one by one, and display them one by one in the text selection control; a text selection module, configured to respond to the selection operation of the first text content in the text selection control, and display the first text content in the area of the text selection control; a sending module, configured to respond to the input and sending operations of the reply text in the input box, and send the first text content and the reply text together to the interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
[0007] In some embodiments, the present disclosure provides a data processing device, including: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above-mentioned data processing method.
[0008] The present disclosure displays a first text content in an area of a text selection control, and sends the first text content and a reply text together to an interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text. In this way, the host of the live broadcast room can easily identify the first text content that the reply text targets, and then can know which voice content of the host the reply text targets, thereby avoiding confusion caused by the lag of the reply text relative to the host's voice content, and thus improving the communication efficiency of the live broadcast room. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0010] Figure 1 is a flow chart of a data processing method according to an embodiment of the present disclosure.
[0011] Figure 2 It is a schematic diagram of a live broadcast page of an embodiment of the present disclosure.
[0012] Figure 3 It is a partial module of the data processing device of another embodiment of the present disclosure.
[0013] Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0015] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0016] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0017] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0018] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.
[0019] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0020] During the live broadcast, the host broadcasts via voice, while the user's reply is usually in text. Due to the time difference between the user's reply and the host's voice, the host can have multiple voice contents within a preset time period. Different voice contents correspond to different questions. After the user replies with text content, sometimes the host cannot understand what question the user is answering, so the host needs to further confirm, which reduces the communication efficiency between the host and the user.
[0021] Figure 1 A flow chart of a data processing method of an embodiment of the present disclosure is provided. The data processing method of the present disclosure may include step S101, in response to a call-up operation of an input box of a live broadcast room of a shopping mall, obtaining the voice content of the anchor of the live broadcast room in a preset time period before the current moment. In some embodiments, the shopping mall is a cross-border e-commerce. In some embodiments, the call-up operation may include an operation of clicking on the input box to prepare for input in the input box. In some embodiments, the preset time period may be in the range of 1-3 minutes, for example, 1 minute, 2 minutes, 3 minutes, etc. For example, when the user is ready to input in the input box, the voice content of the anchor within 1 minute before that is obtained.
[0022] In some embodiments, the method of the present disclosure may further include step S102, such as Figure 2 As shown, a text selection control is generated at the starting position of the input box.
[0023] In some embodiments, the method of the present disclosure may further include step S103, converting the voice content into text content one by one, and displaying the text content one by one in the text selection control. By displaying the text content corresponding to the voice content one by one in the text selection control, the user can select the text content to which he / she responds in the text selection control.
[0024] In some embodiments, the method of the present disclosure may further include step S104, in response to a selection operation for the first text content in the text selection control, displaying the first text content in the area of the text selection control. In some embodiments, only part of the text content is displayed in the text selection control, and the hidden text content can be displayed by sliding the area where the text selection control is located. For example, only 3 text contents are displayed in the text selection control, and there are a total of 5 text contents, and the remaining two text contents can be displayed by sliding the area where the text selection control is located. In some embodiments, when the first text content is displayed in the area of the text selection control, the text selection control is temporarily hidden; when the user clicks on the first text content again, the text selection control can be displayed again for the user to select the text content.
[0025] In some embodiments, the method of the present disclosure may further include step S105, in response to the input and sending operation of the reply text in the input box, sending the first text content and the reply text together to the interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text. Figure 2 As shown, the interactive content display interface is located above the input box.
[0026] The present disclosure displays a first text content in an area of a text selection control, and sends the first text content and a reply text together to an interactive content display interface of a live broadcast room, wherein the first text content is located in front of the reply text. In this way, the host of the live broadcast room can easily identify the first text content that the reply text targets, and then can know which voice content of the host the reply text targets, thereby avoiding confusion caused by the lag of the reply text relative to the host's voice content, and thus improving the communication efficiency of the live broadcast room.
[0027] In some embodiments, in the interactive content display interface, the first text content is highlighted, for example, highlighted or marked with a symbol, for example, the first text content can be enclosed in square brackets for easier identification.
[0028] The embodiment of the present disclosure further provides a data processing device 400 . Figure 3The data processing device 400 according to some embodiments is shown. The data processing device 400 includes a voice content acquisition module 401, a control generation module 402, a text conversion and display module 403, a text selection module 404 and a sending module 405. In some embodiments, the voice content acquisition module 401 is configured to respond to the call-up operation of the input box of the live broadcast room of the shopping mall, and obtain the voice content of the anchor of the live broadcast room from the current moment to the preset time period. In some embodiments, the control generation module 402 is configured to generate a text selection control at the starting position of the input box. In some embodiments, the text conversion and display module 403 is configured to convert the voice content into text content one by one, and display it in the text selection control one by one. In some embodiments, the text selection module 404 is configured to respond to the selection operation for the first text content in the text selection control, and display the first text content in the area of the text selection control. In some embodiments, the sending module 405 is configured to respond to the input and sending operation of the reply text in the input box, and send the first text content and the reply text together to the interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
[0029] It should be understood that the contents described about the data processing method are also applicable to the data processing device 400 herein, and for the sake of simplicity, a detailed description is not given here.
[0030] In some embodiments, the shopping mall is a cross-border e-commerce. In some embodiments, only part of the text content is displayed in the text selection control, and the hidden text content can be displayed by sliding the area where the text selection control is located. In some embodiments, when the first text content is displayed in the area of the text selection control, the text selection control is hidden. In some embodiments, the interactive content display interface is located above the input box. In some embodiments, in the interactive content display interface, the first text content is highlighted. In some embodiments, the evoke operation includes the operation of clicking the input box. In some embodiments, the preset time period is in the range of 1-3 minutes.
[0031] In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above-mentioned data processing method.
[0032] In addition, the present disclosure also provides a computer storage medium, which stores program codes, and the program codes are used to execute the above data processing method.
[0033] The data processing method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
[0034] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 500 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0035] like Figure 4 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0036] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0037] 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 computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0038] 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 above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit 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 appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0039] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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 future developed network.
[0040] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0041] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0042] 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 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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., via the Internet using an Internet service provider).
[0043] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0044] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0045] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0046] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may 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.
[0047] According to one or more embodiments of the present disclosure, there is provided a method for responding to an invocation operation of an input box of a live broadcast room of a shopping mall, obtaining the voice content of the host of the live broadcast room in a preset time period before the current moment; generating a text selection control at the starting position of the input box; converting the voice content into text content one by one, and displaying them one by one in the text selection control; in response to a selection operation on first text content in the text selection control, displaying the first text content in an area of the text selection control; in response to an input and sending operation of a reply text in the input box, sending the first text content together with the reply text to an interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
[0048] According to one or more embodiments of the present disclosure, the shopping mall is a cross-border e-commerce.
[0049] According to one or more embodiments of the present disclosure, the text selection control only displays a portion of the text content, and the hidden text content can be displayed by sliding the area where the text selection control is located.
[0050] According to one or more embodiments of the present disclosure, when the first text content is displayed in the area of the text selection control, the text selection control is hidden.
[0051] According to one or more embodiments of the present disclosure, the interactive content display interface is located above the input box.
[0052] According to one or more embodiments of the present disclosure, in the interactive content display interface, the first text content is highlighted.
[0053] According to one or more embodiments of the present disclosure, the evoked operation includes an operation of clicking the input box.
[0054] According to one or more embodiments of the present disclosure, the preset time period is in the range of 1-3 minutes.
[0055] According to one or more embodiments of the present disclosure, a data processing device is provided, comprising: a voice content acquisition module, configured to respond to an invocation operation of an input box of a live broadcast room of a shopping mall, and acquire the voice content of a host in the live broadcast room for a preset time period from the current moment; a control generation module, configured to generate a text selection control at the starting position of the input box; a text conversion and display module, configured to convert the voice content into text content one by one, and display them one by one in the text selection control; a text selection module, configured to respond to a selection operation on a first text content in the text selection control, and display the first text content in an area of the text selection control; a sending module, configured to respond to an input and sending operation of a reply text in the input box, and send the first text content together with the reply text to an interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
[0056] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0057] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0058] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A data processing method, characterized in that: The data processing method comprises: In response to a user's invoking operation on an input box of a live broadcast room of a shopping mall, obtaining the voice content of the anchor of the live broadcast room in a preset time period before the current moment; Generate a text selection control at the starting position of the input box; Convert the voice content into text content one by one, and display them one by one in the text selection control; In response to a selection operation on a first text content in the text selection control, displaying the first text content in an area of the text selection control; In response to the user's input and sending operation on the reply text in the input box, the first text content and the reply text are sent together to the interactive content display interface of the live broadcast room, wherein the first text content is located in front of the reply text.
2. The data processing method according to claim 1, characterized in that: The shopping mall mentioned is a cross-border e-commerce.
3. The data processing method according to claim 1, characterized in that: The text selection control only displays a portion of the text content, and the hidden text content can be displayed by sliding the area where the text selection control is located.
4. The data processing method according to claim 1, characterized in that: When the first text content is displayed in the area of the text selection control, the text selection control is hidden.
5. The data processing method according to claim 1, characterized in that: The interactive content display interface is located above the input box.
6. The data processing method according to claim 1, characterized in that: In the interactive content display interface, the first text content is highlighted.
7. The data processing method according to claim 1, characterized in that: The evoked operation includes an operation of clicking the input box.
8. The data processing method according to claim 1, characterized in that: The preset time period is in the range of 1-3 minutes.
9. A data processing device, characterized in that: The data processing device comprises: A voice content acquisition module, configured to respond to a user's call-up operation on an input box of a live broadcast room of a shopping mall, and acquire the voice content of the anchor of the live broadcast room in a preset time period from the current moment; A control generation module, configured to generate a text selection control at the starting position of the input box; A text conversion and display module, configured to convert the voice content into text content one by one, and display the text content one by one in the text selection control; a text selection module, configured to display the first text content in an area of the text selection control in response to a selection operation on the first text content in the text selection control; The sending module is configured to send the first text content and the reply text together to the interactive content display interface of the live broadcast room in response to the user's input and sending operations on the reply text in the input box, wherein the first text content is located in front of the reply text.
10. A data processing device, comprising: at least one memory and at least one processor; The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute the data processing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Display method of live broadcast room public screen copywriting, electronic equipment and storage medium
CN114363650A
Method, device and equipment for live broadcast interaction and medium
CN116347179A