CN115952311A - Text information generation method, device, equipment and storage medium - Google Patents
Text information generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115952311A CN115952311A CN202211566709.9A CN202211566709A CN115952311A CN 115952311 A CN115952311 A CN 115952311A CN 202211566709 A CN202211566709 A CN 202211566709A CN 115952311 A CN115952311 A CN 115952311A
- Authority
- CN
- China
- Prior art keywords
- information
- picture information
- picture
- text
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The application provides a text information generation method, a text information generation device, text information generation equipment and a storage medium, and relates to the technical field of big data. The method comprises the steps of obtaining picture information in a queue list and character information related to the picture information; wherein the picture information comprises a user identifier; determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information; generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information. By adopting the technical scheme, personalized display content can be generated, and further user experience is improved.
Description
Technical Field
The present application relates to the field of big data technologies, and in particular, to a text information generating method, apparatus, device, and storage medium.
Background
At present, when a user queries related text and picture information through an application program, the text and picture information fed back by the application program are in a uniform format. In this case, the content presented is not associated with the user representation, which results in a relatively single result presented when the user queries.
Therefore, a text information generating method is needed to generate personalized display content, so as to improve user experience.
Disclosure of Invention
The application provides a text information generation method, a text information generation device, text information generation equipment and a storage medium, which can generate personalized display contents and further improve user experience.
In a first aspect, the present application provides a text information generating method, including:
acquiring picture information in a queue list and character information associated with the picture information; wherein the picture information comprises a user identifier;
determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information;
generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information.
In an example, if the attribute information indicates that the picture information is static picture information, the determining, according to the attribute information of the picture information, a processing result of the picture information and text information associated with the picture information includes:
acquiring size information of the picture information;
determining the picture information and the generation canvas of the character information related to the picture information according to the size information;
determining the generation canvas as the processing result.
In an example, if the attribute information indicates that the picture information is dynamic picture information, the determining, according to the attribute information of the picture information, a processing result of the picture information and text information associated with the picture information includes:
analyzing the picture information to obtain an analysis result;
determining the sequence and the quantity of the picture information and the time interval value of each picture according to the analysis result;
and determining the sequence and the number of the picture information, the time interval numerical value of each picture and the character information associated with the picture information as the processing result.
In one example, the generating the text information according to the processing result includes:
rendering each piece of picture information and the text information related to the picture information to obtain a rendering result;
and generating the text information according to the rendering result and the time interval numerical value of each picture.
In one example, the method further comprises:
and storing the text information to a preset database.
In one example, the method further comprises:
receiving a data request message of a user, and determining a user identifier according to the data request message of the user;
determining the text information associated with the user identification in the preset database according to the user identification;
and sending the text information to user terminal equipment.
In a second aspect, the present application provides a text information generating apparatus, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring picture information in a queue list and character information related to the picture information; wherein the picture information comprises a user identifier;
the first determining unit is used for determining the processing results of the picture information and the character information related to the picture information according to the attribute information of the picture information;
the generating unit is used for generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information.
In an example, if the attribute information indicates that the picture information is static picture information, the first determining unit includes:
the acquisition module is used for acquiring the size information of the picture information;
the first determining module is used for determining the picture information and the generation canvas of the character information related to the picture information according to the size information;
a second determination module to determine the generation canvas as the processing result.
In an example, if the attribute information indicates that the picture information is dynamic picture information, the first determining unit includes:
the analysis module is used for analyzing the picture information to obtain an analysis result;
the third determining module is used for determining the sequence and the quantity of the picture information and the time interval value of each picture according to the analysis result;
and the fourth determining module is used for determining the sequence and the quantity of the picture information, the time interval numerical value of each picture and the character information related to the picture information as the processing result.
In one example, a generation unit includes:
the rendering module is used for rendering each piece of picture information and the character information related to the picture information to obtain a rendering result;
and the generating module is used for generating the text information according to the rendering result and the time interval numerical value of each picture.
In one example, the apparatus further comprises:
and the storage unit is used for storing the text information to a preset database.
In one example, the apparatus further comprises:
the receiving unit is used for receiving a data request message of a user and determining a user identifier according to the data request message of the user;
a second determining unit, configured to determine, according to the user identifier, the text information associated with the user identifier in the preset database;
and the sending unit is used for sending the text information to the user terminal equipment.
In a third aspect, the present application provides a server, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the method according to the first aspect.
According to the text information generation method, the text information generation device, the text information generation equipment and the storage medium, the picture information in the queue list and the character information related to the picture information are obtained; wherein the picture information comprises a user identifier; determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information; generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information. By adopting the technical scheme, personalized display content can be generated, and further user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a text message generating method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a text information generating method according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a text information generating apparatus according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a text information generating apparatus according to a fourth embodiment of the present application;
FIG. 5 is a block diagram illustrating a server in accordance with an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The text information generation method provided by the application aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a text information generating method according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, acquiring picture information in a queue list and character information related to the picture information; the picture information comprises a user identifier.
In one example, the queue list includes a plurality of picture information and text information associated with each picture information. And deleting the picture information after the processing is finished every time one picture information in the queue list is processed. And if the picture information in the queue list is processed, the server enters a dormant state, so that the consumption of a CPU is saved. Specifically, the text information associated with each piece of picture information may be combined with the picture information, and specifically, the combination manner may be an embedded type, or a surrounding type, and the like. For example, the picture information includes a picture of the background of the beijing city, the picture information includes the user identifier AAA, and the text information associated with the picture information is the names of the schools in the hai-lake district, the schools in the west district, or the schools in the east district.
And S102, determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information.
In this embodiment, the attribute information is used to represent a type of the picture information, specifically, whether the picture information is dynamic picture information or static picture information. Since the motion picture information generally includes a plurality of pieces of still picture information, the processing method is different from that of the still picture information, and specifically, the processing process of the motion picture information is not a simple superposition of the still picture information.
In this embodiment, after determining that the attribute information is static picture information, the picture information and the text information associated with the picture information are processed to obtain a processing result. And after the attribute information is determined to be dynamic picture information, processing the picture information and the character information associated with the picture information to obtain another processing result.
S103, generating text information according to the processing result; the text information comprises picture information and character information related to the picture information.
In this embodiment, the picture information and the text information associated with the picture information are combined according to the processing result, so as to obtain the text information, which is associated with the user identifier and has uniqueness.
According to the text information generation method, the picture information in the queue list and the character information related to the picture information are obtained; the picture information comprises a user identifier; determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information; generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information. By adopting the technical scheme, the picture rendering and the frame rendering of different attribute information can be realized, so that the high-fidelity effect is achieved.
Fig. 2 is a schematic flowchart of an event document information generating method according to a second embodiment of the present application. The second embodiment comprises the following steps:
s201, acquiring picture information in a queue list and character information related to the picture information; the picture information comprises a user identifier.
For example, this step may refer to step S101 described above, and is not described again.
And S202, if the attribute information represents that the picture information is static picture information, acquiring the size information of the picture information.
In this embodiment, the static picture information refers to one piece of picture information, and a specific picture format is not limited. The size information of the picture information is the height of the picture and the width of the picture.
And S203, determining the picture information and the generation canvas of the character information related to the picture information according to the size information.
In this embodiment, the generating Canvas may be a 2D Canvas, where the Canvas is a tag added in HTML5, and may generate an image in real time on a webpage and operate image content. And determining an object of the Canvas according to the size information, and importing the picture information and the character information related to the picture information into the generated Canvas.
And S204, determining the generated canvas as a processing result.
In this embodiment, the canvas is generated as a final processing result.
And S205, if the attribute information represents that the picture information is dynamic picture information, analyzing the picture information to obtain an analysis result.
In this embodiment, if the attribute information represents that the picture information is dynamic picture information, the gify-parse module in node.
And S206, determining the sequence and the quantity of the picture information and the time interval value of each picture according to the analysis result.
In this embodiment, if the motion picture information is motion picture information, the number of the included picture information is at least two pictures, and each picture has a sequence and a time interval value, where the time interval value of each picture may be different. For example, the number of the pictures included in the motion picture information may be 25, the time interval between the first picture and the second picture is 6s, the time interval between the second picture and the third picture is 8s, and the time interval between the third picture and the fourth picture is 12s.
S207, determining the sequence and the number of the picture information, the time interval numerical value of each picture and the character information related to the picture information as a processing result.
In this embodiment, the processing result may be used to generate text information.
S208, generating text information according to the processing result; the text information comprises picture information and character information related to the picture information.
In one example, generating text information according to the processing result includes: rendering each piece of picture information and the text information related to the picture information to obtain a rendering result; and generating text information according to the rendering result and the time interval value of each picture.
In this embodiment, after the order of the picture information is determined, the picture information of the first picture and the text information associated with the picture information are rendered according to the order of the picture information, and then the picture information of the second picture and the text information associated with the picture information are rendered until all pictures in the dynamic picture information are rendered, so as to obtain a rendering result. And if an error occurs in the process of rendering each picture, the dynamic picture information is processed unsuccessfully, and a prompt message is sent to the user side. And if each picture is successfully rendered, generating text information according to the rendering result and the time interval value of each picture.
And S209, storing the text information into a preset database.
In this embodiment, the text information includes user identifiers, each user identifier corresponds to a unique text information, and the preset database can be updated in real time.
In one example, the method further comprises:
receiving a data request message of a user, and determining a user identifier according to the data request message of the user;
determining text information associated with the user identification in a preset database according to the user identification;
and sending the text information to the user terminal equipment.
In this embodiment, the user terminal device sends a data request message of a user to request text information in a preset database, and the server determines a user identifier according to the data request message of the user, searches for text information associated with the user identifier in the preset database, and sends the text information to the user terminal device.
In this embodiment, in the process of executing each step, a corresponding log file is generated, where the log file includes rendering duration, success rate of text information generation, complexity of text information, and the like. The log file is stored in a log database, a user can also send a log access data request to the log database, and the rendering strategy is adjusted by analyzing the log file so as to improve the rendering efficiency. Specifically, a visual log file analysis interface can be established through the ELK + Kibana technology.
According to the text information generation method, different rendering strategies can be adopted according to different attribute information, and corresponding log files can be generated for users to inquire. By adopting the technical scheme, detailed rendering logs can be recorded according to certain rules, such as indexes of picture names, picture sizes, picture types, the number of files, file complexity, rendering time and the like, failure reasons can be conveniently located, a visual log page can be generated, indexes of picture generation time, success rate, picture generation number, picture generation time period distribution and the like can be visually seen, rendering strategies are optimized according to the indexes, and rendering success rate is improved.
Fig. 3 is a schematic structural diagram of a text information generating apparatus according to a third embodiment of the present application. Specifically, the apparatus 30 of the third embodiment includes:
an obtaining unit 301, configured to obtain picture information in the queue list and text information associated with the picture information; the picture information comprises a user identifier.
The first determining unit 302 is configured to determine, according to the attribute information of the picture information, a processing result of the picture information and the text information associated with the picture information.
A generating unit 303 configured to generate text information according to the processing result; the text information comprises picture information and character information related to the picture information.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 4 is a schematic structural diagram of a text information generating apparatus according to a fourth embodiment of the present application. Specifically, the apparatus 40 of the fourth embodiment includes:
an obtaining unit 401, configured to obtain picture information in the queue list and text information associated with the picture information; the picture information comprises a user identifier.
A first determining unit 402, configured to determine, according to the attribute information of the picture information, a processing result of the picture information and the text information associated with the picture information.
A generating unit 403, configured to generate text information according to the processing result; the text information comprises picture information and character information related to the picture information.
In an example, if the attribute information represents that the picture information is still picture information, the first determining unit 402 includes:
the obtaining module 4021 is configured to obtain size information of the picture information.
The first determining module 4022 is configured to determine, according to the size information, the generation canvas of the picture information and the text information associated with the picture information.
A second determining module 4023, configured to determine the generating canvas as a processing result.
In an example, if the attribute information represents that the picture information is moving picture information, the first determining unit 402 includes:
the parsing module 4024 is configured to parse the picture information to obtain a parsing result.
A third determining module 4025, configured to determine the order and number of the picture information and the time interval value of each picture according to the parsing result.
The fourth determining module 4026 is configured to determine the order and number of the picture information, the time interval value of each picture, and the text information associated with the picture information as a processing result.
In one example, the generating unit 403 includes:
the rendering module 4031 is configured to render each piece of picture information and the text information associated with the picture information to obtain a rendering result.
A generating module 4032, configured to generate text information according to the rendering result and the time interval value of each picture.
In one example, the apparatus further comprises:
the storage unit 404 is configured to store the text information in a preset database.
In one example, the apparatus further comprises:
the receiving unit 405 is configured to receive a data request message of a user, and determine a user identifier according to the data request message of the user.
A second determining unit 406, configured to determine, according to the user identifier, text information associated with the user identifier in a preset database.
A sending unit 407, configured to send the text information to the user terminal device.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
FIG. 5 is a block diagram illustrating a server, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like, in accordance with one exemplary embodiment.
The processing component 502 generally controls overall operations of the server 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the server 500. Examples of such data include instructions for any application or method operating on server 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 506 provides power to the various components of the server 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the server 500.
The multimedia component 508 includes a screen that provides an output interface between the server 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. When the server 500 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the server 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 514 includes one or more sensors for providing various aspects of status assessment for the server 500. For example, sensor assembly 514 may detect an open/closed status of server 500, a relative positioning of components, such as a display and keypad of server 500, a change in position of server 500 or a component of server 500, the presence or absence of user contact with server 500, an orientation or acceleration/deceleration of server 500, and a change in temperature of server 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the server 500 and other devices in a wired or wireless manner. The server 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the server 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the server 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a server, enable the server to perform a text information generating method of the server.
The application also discloses a computer program product comprising a computer program which, when executed by a processor, implements the method as described in the embodiments.
Various implementations of the systems and techniques described here above may be realized in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain. It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (10)
1. A text information generating method, characterized in that the method comprises:
acquiring picture information in a queue list and character information associated with the picture information; wherein the picture information comprises a user identifier;
determining the processing result of the picture information and the character information related to the picture information according to the attribute information of the picture information;
generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information.
2. The method according to claim 1, wherein if the attribute information indicates that the picture information is static picture information, the determining, according to the attribute information of the picture information, a processing result of the picture information and text information associated with the picture information comprises:
acquiring size information of the picture information;
determining the picture information and the generation canvas of the character information related to the picture information according to the size information;
determining the generation canvas as the processing result.
3. The method according to claim 1, wherein if the attribute information indicates that the picture information is dynamic picture information, the determining, according to the attribute information of the picture information, a processing result of the picture information and text information associated with the picture information comprises:
analyzing the picture information to obtain an analysis result;
determining the sequence and the quantity of the picture information and the time interval value of each picture according to the analysis result;
and determining the sequence and the number of the picture information, the time interval numerical value of each picture and the character information associated with the picture information as the processing result.
4. The method according to claim 3, wherein the generating the text information according to the processing result comprises:
rendering each piece of picture information and the text information associated with the picture information to obtain a rendering result;
and generating the text information according to the rendering result and the time interval numerical value of each picture.
5. The method according to any one of claims 1-4, further comprising:
and storing the text information to a preset database.
6. The method of claim 5, further comprising:
receiving a data request message of a user, and determining a user identifier according to the data request message of the user;
determining the text information associated with the user identification in the preset database according to the user identification;
and sending the text information to user terminal equipment.
7. A text information generating apparatus, characterized in that the apparatus comprises:
the acquiring unit is used for acquiring the picture information in the queue list and the character information related to the picture information; wherein the picture information comprises a user identifier;
the determining unit is used for determining the processing results of the picture information and the character information related to the picture information according to the attribute information of the picture information;
the generating unit is used for generating the text information according to the processing result; the text information comprises the picture information and character information related to the picture information.
8. A server, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1-6.
9. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1-6.
10. A computer program product comprising a computer program which, when executed by a processor, carries out the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211566709.9A CN115952311A (en) | 2022-12-07 | 2022-12-07 | Text information generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211566709.9A CN115952311A (en) | 2022-12-07 | 2022-12-07 | Text information generation method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115952311A true CN115952311A (en) | 2023-04-11 |
Family
ID=87288562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211566709.9A Pending CN115952311A (en) | 2022-12-07 | 2022-12-07 | Text information generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115952311A (en) |
-
2022
- 2022-12-07 CN CN202211566709.9A patent/CN115952311A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10334282B2 (en) | Methods and devices for live broadcasting based on live broadcasting application | |
CN109302341B (en) | Instant messaging method, instant messaging device, electronic equipment and storage medium | |
CN115687303A (en) | Data information migration method, device, equipment and storage medium | |
CN115278139A (en) | Video processing method and device, electronic equipment and storage medium | |
CN106506808B (en) | Method and device for prompting communication message | |
CN110213062B (en) | Method and device for processing message | |
CN109245992B (en) | Request processing method and device, electronic equipment and storage medium | |
CN114025047B (en) | Message processing method, device, system, electronic equipment and storage medium | |
CN115563156A (en) | Method, device and equipment for checking stream data information and storage medium | |
CN112035246B (en) | Method, device and system for acquiring virtual resources, electronic equipment and storage medium | |
CN115952311A (en) | Text information generation method, device, equipment and storage medium | |
CN111061633B (en) | Webpage first screen time detection method, device, terminal and medium | |
CN114090738A (en) | Method, device and equipment for determining scene data information and storage medium | |
CN114567790A (en) | Information display method and device, electronic equipment and storage medium | |
EP3001660A1 (en) | Method, device and system for telephone interaction | |
CN109120499B (en) | Information processing method and device | |
CN111526084A (en) | Information processing method, device, equipment and storage medium | |
CN111262882B (en) | User type limiting application method, device and storage medium in instant messaging | |
CN106534254B (en) | Method for acquiring metering data | |
CN114756319A (en) | Applet page display method, device and equipment and storage medium | |
CN114721819A (en) | Method, device and equipment for processing to-be-processed service and storage medium | |
CN114240393A (en) | Data processing method, device and equipment based on management system and storage medium | |
CN117520398A (en) | Variable comparison method, device, equipment and storage medium | |
CN117472931A (en) | Method, device, equipment and storage medium for calling database execution statement | |
CN117193901A (en) | Information processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |