CN109684497B - Image-text matching information sending method and device and electronic equipment - Google Patents

Image-text matching information sending method and device and electronic equipment Download PDF

Info

Publication number
CN109684497B
CN109684497B CN201811560240.1A CN201811560240A CN109684497B CN 109684497 B CN109684497 B CN 109684497B CN 201811560240 A CN201811560240 A CN 201811560240A CN 109684497 B CN109684497 B CN 109684497B
Authority
CN
China
Prior art keywords
picture
user
target
target picture
text information
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.)
Active
Application number
CN201811560240.1A
Other languages
Chinese (zh)
Other versions
CN109684497A (en
Inventor
尚鹏
黄丁本
吴锦江
温搏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201811560240.1A priority Critical patent/CN109684497B/en
Publication of CN109684497A publication Critical patent/CN109684497A/en
Application granted granted Critical
Publication of CN109684497B publication Critical patent/CN109684497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an information sending method and device for image-text matching and electronic equipment, relates to the technical field of computers, and can effectively improve the image-text matching efficiency and effect of instant messages and improve user experience. The method comprises the following steps: acquiring character information input by a user; searching a target picture matched with the input text information in a preset picture library; and providing the target picture for the user so that the target picture is sent together with the text information. The invention can be used in instant message communication.

Description

Image-text matching information sending method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to an information sending method and device for image-text matching and electronic equipment.
Background
With the development of mobile internet technology, instant messaging software is widely applied in the life of people. The user can not only type and chat through the instant messaging software, but also transmit pictures, voice, videos, small programs and the like. When sending the above information, it is often necessary to describe the content of the transmission in general. For example, people send red packets more and more during the course of years and daily life using instant messaging apps. The red envelope will typically show some patterns and blessings, such as happy spring festival, happy afternoon festival, mid-autumn festival, happy wedding, etc.
However, when sending the red envelope, the background map (i.e. the display map shared by the sharers in the group or the personal conversation window) and the opening map (i.e. the display map when opening the red envelope) of the red envelope are not too monotonous to meet the various demands of the users, i.e. too complicated, and the manual selection is very troublesome, so that the situations of non-matching pictures and texts are easy to occur. For example, a red packet of wedding happiness is sent during the spring festival, but a diagram of the spring festival is matched, so that the efficiency and the effect of image-text matching are poor, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide an image-text matching information sending method, apparatus, electronic device, and storage medium, which can effectively improve image-text matching efficiency and effect of an instant message and improve user experience.
In a first aspect, an embodiment of the present invention provides an information sending method for matching graphics and text, including: acquiring character information input by a user; searching a target picture matched with the input text information in a preset picture library; and providing the target picture for the user so that the target picture is sent together with the text information.
Optionally, the acquiring the text information input by the user includes: and acquiring the text information directly input by the user or acquiring the text information selected and input by the user in the alternative.
Optionally, the searching for the target picture matched with the input text information in the preset picture library includes: performing semantic analysis on the input text information, and extracting keywords; comparing the extracted keywords with the labels of all pictures in the preset picture library; and searching a target picture matched with the text information according to the comparison result.
Optionally, the comparing the extracted keyword with the tags of the pictures in the preset picture library includes: scoring the proximity of the keyword to the tags of each picture; the searching for the target picture matched with the text information according to the comparison result comprises: and if the score of the proximity degree of the first label of the first picture and the keyword exceeds a preset threshold value, determining that the first picture is the target picture.
Optionally, the providing the target picture to the user includes: selecting one target picture from the multiple target pictures according to a preset strategy and providing the selected target picture to a user; or simultaneously providing a plurality of target pictures for the user so that the user can select one of the target pictures to send.
Optionally, after providing the target picture to the user, the method further includes: and when the target picture sent by the user is activated, updating the target picture into an activated picture and displaying the activated picture on an instant messaging interface.
Optionally, the target picture includes a red envelope background picture or a first game sharing picture, and the activation picture includes a red envelope unsealing picture or a second game sharing picture.
In a second aspect, an embodiment of the present invention further provides an information sending apparatus for matching pictures and texts, including: the acquiring unit is used for acquiring character information input by a user; the searching unit is used for searching a target picture matched with the input text information in a preset picture library; and the providing unit is used for providing the target picture for the user so that the target picture and the text information are sent together.
Optionally, the obtaining unit is specifically configured to obtain text information directly input by the user, or obtain text information selected and input by the user in the alternative.
Optionally, the searching unit includes: the extraction module is used for carrying out semantic analysis on the input text information and extracting keywords; the comparison module is used for comparing the extracted keywords with the labels of all pictures in the preset picture library; and the searching module is used for searching the target picture matched with the text information according to the comparison result.
Optionally, the comparison module is specifically configured to score the proximity degree of the keyword and the label of each picture; the searching module is specifically configured to determine that the first picture is the target picture if a score of a degree of proximity of a first tag of the first picture to the keyword exceeds a preset threshold.
Optionally, the providing unit is specifically configured to: selecting one target picture from the multiple target pictures according to a preset strategy and providing the selected target picture to a user; or simultaneously providing a plurality of target pictures for the user so that the user can select one of the target pictures to send.
Optionally, the device further includes an updating unit, configured to update the target picture to an active picture to be displayed on an instant messaging interface when the target picture sent by the user is activated after the target picture is provided to the user.
Optionally, the target picture includes a red envelope background picture or a first game sharing picture, and the activation picture includes a red envelope unsealing picture or a second game sharing picture.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any image-text matching information sending method provided by the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement any one of the teletext matching information transmission methods provided in the embodiments of the present invention.
The information sending method and device for matching the pictures and the texts, the electronic equipment and the storage medium provided by the embodiment of the invention can acquire the text information input by the user and automatically match the corresponding target picture according to the text information, so that the user can send the text information and the corresponding picture together, the complicated operation that the user inputs the text information and selects the picture matched with the text information from a large number of pictures on the other side is effectively avoided, the efficiency and the accuracy of picture and text matching are effectively improved, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for sending a text-matching message according to an embodiment of the present invention;
fig. 2 is a detailed flowchart of a method for sending a message by matching graphics and text according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information sending apparatus for matching graphics and text according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, an embodiment of the present invention provides an information sending method for image-text matching, which can effectively improve image-text matching efficiency and effect of an instant message, and improve user experience.
As shown in fig. 1, an information sending method for matching with text provided by an embodiment of the present invention may include:
s11, acquiring character information input by a user;
in this step, the terminal may obtain text information input by the user, such as "teacher happy festival", "hard", and the like.
S12, searching a target picture matched with the input text information in a preset picture library;
after receiving the text information input by the user, the target picture matched with the text information can be searched in the preset picture library, and optionally, the searching work of the target picture can be executed at the terminal side or the server side. If the preset picture library is arranged locally at the terminal, the target picture can be directly searched from the preset picture library, if the picture library is not arranged locally at the terminal, and the preset picture library is arranged at the server, the terminal can send a request to the server, and the server searches the target picture from the preset picture library and returns the target picture to the terminal.
S13, providing the target picture to the user, so that the target picture is sent together with the text message.
After the terminal finds the target picture or receives the target picture sent by the server, the terminal can provide the target picture for the user, for example, the target picture is displayed for the user, so that the picture information matched with the character information input by the user is provided for the user in time, and the user is prevented from searching a large number of pictures difficultly.
The information sending method for matching the image and the text provided by the embodiment of the invention can acquire the text information input by the user and automatically match the corresponding target picture according to the text information, so that the user can send the text information and the corresponding picture together, thereby effectively avoiding the complex operation that the user inputs the text information and selects the picture matched with the text information from a large number of pictures at one side, effectively improving the efficiency and the accuracy of image and text matching and greatly improving the user experience.
The execution subject of the information transmission method provided by the embodiment of the present invention may be a terminal or a server. When the execution subject is the terminal, in step S11, the terminal acquires the text information input by the user. Accordingly, in step S12, the terminal may search in the local preset picture library, and when the picture library is not locally provided or no suitable target picture is found in the local picture library, the terminal may also request the server to search in the preset picture library of the server. The terminal may directly display the found picture to the user in step S13. When the execution subject is the server, the server acquires the text information input by the user by receiving the message of the terminal in step S11. Accordingly, in step S12, the server may search in the preset picture library of the server. In step S13, the server may send the target picture to the terminal, and provide the target picture to the user through the terminal.
Optionally, in step S11, the acquiring of the text information input by the user may include: and acquiring the text information directly input by the user or acquiring the text information selected and input by the user in the alternative. The character information directly input by the user is the character information input by the user through a cursor and a keyboard. Optionally, when the input focus leaves the input box or no input operation is performed for a preset time (for example, several seconds), it may be considered that the user input is completed, and at this time, the text information left in the input box is the finally confirmed text information input by the user. The user selects the entered text information in the alternative, i.e. without the need for the user to type in, but the software provides a plurality of alternatives from which the user selects the entered text information.
After the text information input by the user is obtained, in step S12, a target picture matching the input text information may be searched in a preset picture library. Optionally, in an embodiment of the present invention, a specific process of finding a target picture may include:
performing semantic analysis on input text information, and extracting keywords;
comparing the extracted keywords with the labels of all pictures in a preset picture library;
and searching a target picture matched with the text information according to the comparison result.
For example, in an embodiment of the present invention, if the text information input by the user is "mom, happy birthday", the semantic meaning of the text information "mom, happy birthday" submitted by the user may be analyzed by using an NLP (natural language processing) technique, and keywords such as "mom" and "birthday" in the text information are extracted. The keywords "mom", "birthday" are then compared with the labels of the pictures in the preset picture library. Optionally, a plurality of pictures may be stored in the preset picture library, the content on each picture may be summarized by one or more tag terms, and the corresponding picture may be found by using the tag terms as indexes. If the pictures a1, a2 and A3 are retrieved by comparing the keyword "mom" with the tags of the pictures in the picture library, and the picture a1 is retrieved by comparing the keyword "birthday" with the tags of the pictures in the picture library, the picture a1 retrieved twice can be used as the target picture corresponding to the text information input by the user. In the target picture a1, a pattern about the subjects "mom" and "birthday" may be displayed, matching the contents of the text information input by the user.
In this embodiment, the keywords of the text information input by the user are "mom" and "birthday", but the embodiment of the present invention is not limited thereto. In other embodiments of the present invention, the number of the keywords may be one or more, and the greater the number of the keywords, the more specific the definition of the picture content is, and the fewer the number of the keywords, the greater the number of the pictures that can be retrieved.
Specifically, the purpose of comparing the extracted keywords with the tags of the pictures in the preset picture library is to determine the proximity of the keywords to the tags, wherein if the tags of one picture completely hit the keywords of the text message, the proximity of the keywords and the tags is the highest, if only a part of the tags hit the keywords, the proximity of the keywords and the tags is higher, and if the tags do not hit the text message, the difference between the keywords and the tags is larger. Strategies can be formulated according to different requirements on the docking proximity, and target pictures can be screened out.
In order to represent the proximity degree of the keyword and the tag of each picture, in one embodiment of the present invention, the proximity degree of the keyword and the tag of each picture may be scored, and the higher the score is, the higher the proximity degree is; and if the score of the proximity degree of the first label of the first picture and the keyword exceeds a preset threshold value, determining that the first picture is the target picture. For example, in one embodiment of the present invention, the first picture has 3 first labels "journey", "eyebrow" and "food", and the text information input by the user is "happy with travel of food", and the first labels "food" and "journey" all hit the keyword. Optionally, the scoring rule may be, for example, when one keyword hits, the score is 20, when two keywords are hit, the score is 60, and when three keywords are hit, the score is 90, so that in this embodiment, the score corresponding to the first tag of the first picture is 60. If the preset threshold is 50 minutes, the first picture can be taken as a target picture.
When searching for the target picture, the specific number of the searched target pictures is not limited. That is, the target picture found in the preset picture library in step S12 may be one or more pictures. Accordingly, when the target picture is provided to the user in step S13, one or more target pictures may be provided to the user. For example, in an embodiment of the present invention, the only target picture found may be provided to the user, or one target picture may be selected from multiple target pictures according to a preset policy and provided to the user, or multiple target pictures may be provided to the user at the same time, so that the user may select one target picture to send. Optionally, the preset policy may be, for example, sending a picture with the highest score to the user, or randomly selecting a picture to send to the user, or the like.
In the above embodiment, after the teletext matched message is sent, the message may be displayed on the instant message interfaces of the message sender and the message receiver. In addition, in order to distinguish whether the message receiver has viewed the image-text matching message, the image displayed on the instant message interface of the receiver can be activated by clicking by the user, and the displayed image before and after activation is different. Optionally, when the target picture sent by the user is activated, the target picture can be updated to the activated picture and displayed on the instant messaging interface. Wherein the activation picture may be any picture different from the target picture, so that the user is prompted by the replacement of the picture that the message has been viewed.
Sending the teletext matched message has a variety of application scenarios, for example, when a user needs to send a picture to a chat partner and interpret the picture, or when a small program or link containing the picture is sent to the chat partner and interpreted, etc. In an embodiment of the present invention, the sending of the message with matching graphics and text may be applied to a red envelope sending scenario or a game sharing scenario. The target picture may include a red envelope background picture or a first game sharing picture, and the activation picture may include a red envelope splitting picture or a second game sharing picture.
The following describes in detail an information sending method for matching text and graphics provided by an embodiment of the present invention with a specific embodiment.
As shown in fig. 2, the method for sending information through matching text and text provided by the embodiment of the present invention may include:
s201, the terminal obtains the character information ' teacher ' S joy ' input by the user.
S202, semantic analysis is carried out on the character information to extract a keyword ' teacher ' S festival '.
S203, searching the target picture in the local picture library of the terminal by using the keyword ' teacher ' S festival '.
Specifically, the labels corresponding to the pictures in the picture library can be traversed, the degree of closeness between each label and the keyword 'teacher' is scored, and the scoring score does not exceed a preset threshold value, which indicates that no appropriate target picture is found in the local picture library.
S204, sending a target picture searching request to the server, wherein the request carries a keyword ' teacher ' S festival '.
S205, the server receives the target picture searching request, and searches the target picture corresponding to the keyword 'teacher' in the picture library of the server.
Specifically, the labels corresponding to the pictures in the picture library may be traversed, the degree of proximity between each label and the keyword "teacher section" is scored, for example, the degree of proximity of the label found for 2 pictures exceeds a preset threshold, and the 2 pictures are determined to be the target pictures.
S206, the server sends the 2 target pictures to the terminal.
And S207, the terminal displays the 2 target pictures to the user for the user to select.
S208, the user selects one of the target pictures as a red packet background picture and puts a certain amount of money into the red packet.
S209, the terminal sends a red packet to the server, and the red packet is written with the character information 'teacher happy festival'.
S210, the server receives the red packet sent by the terminal and forwards the red packet to the receiving end.
S211, the receiving end displays the received red packet on the instant message interface.
S212, the receiving end user clicks the red packet collection;
and S213, replacing the red packet background picture with an updated picture corresponding to the target picture selected by the user.
In a second aspect, an embodiment of the present invention further provides an information sending apparatus for matching images and texts, which can effectively improve image and text matching efficiency and effect of an instant message, and improve user experience.
As shown in fig. 3, an information sending apparatus for matching text and text according to an embodiment of the present invention includes:
an acquiring unit 31 for acquiring character information input by a user;
the searching unit 32 is configured to search a preset picture library for a target picture matched with the input text information;
a providing unit 33, configured to provide the target picture to the user, so that the target picture is sent together with the text information.
The information sending device for matching the image and the text provided by the embodiment of the invention can acquire the text information input by the user and automatically match the corresponding target picture according to the text information, so that the user can send the text information and the corresponding picture together, the complicated operation that the user inputs the text information and selects the picture matched with the text information from a large number of pictures on the other side is effectively avoided, the efficiency and the accuracy of image and text matching are effectively improved, and the user experience is greatly improved.
Optionally, the obtaining unit 31 may be specifically configured to obtain text information directly input by the user, or obtain text information that the user selects to input in the alternative.
Optionally, the searching unit 32 may include:
the extraction module is used for carrying out semantic analysis on the input text information and extracting keywords;
the comparison module is used for comparing the extracted keywords with the labels of all pictures in the preset picture library;
and the searching module is used for searching the target picture matched with the text information according to the comparison result.
Optionally, the comparison module is specifically configured to score the proximity degree of the keyword and the label of each picture; the searching module is specifically configured to determine that the first picture is the target picture if a score of a degree of proximity of a first tag of the first picture to the keyword exceeds a preset threshold.
Optionally, the providing unit 33 may be specifically configured to:
selecting one target picture from the multiple target pictures according to a preset strategy and providing the selected target picture to a user; or
And simultaneously providing a plurality of target pictures for the user so that the user can select one of the target pictures to send.
Further, the information sending apparatus for matching with pictures and texts provided by the embodiment of the present invention may further include an updating unit, configured to update the target picture to an active picture to be displayed on an instant messaging interface when the target picture sent by the user is activated after the target picture is provided to the user.
Optionally, the target picture includes a red envelope background picture or a first game sharing picture, and the activation picture includes a red envelope unsealing picture or a second game sharing picture.
In a third aspect, embodiments of the present invention provide an electronic device, which can effectively improve the image-text matching efficiency and effect of an instant message, and improve user experience.
As shown in fig. 4, an electronic device provided by an embodiment of the present invention may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 reads the executable program code stored in the memory 43 to run a program corresponding to the executable program code, so as to execute the teletext matching information transmission method according to any one of the preceding embodiments.
For specific execution processes of the above steps by the processor 42 and further steps executed by the processor 42 by running the executable program code, reference may be made to the description of the foregoing embodiments, which are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement any one of the image-text matching information sending methods provided in the foregoing embodiments, so that corresponding technical effects can also be achieved, which has been described in detail above and is not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An information sending method for matching pictures and texts is characterized by comprising the following steps:
acquiring character information input by a user;
searching a target picture matched with the input text information in a preset picture library; the searching of the target picture matched with the input text information in the preset picture library comprises the following steps: performing semantic analysis on the input text information, and extracting keywords; comparing the extracted keywords with the labels of all pictures in the preset picture library; searching a target picture matched with the text information according to a comparison result; wherein the comparing the extracted keyword with the tags of the pictures in the preset picture library comprises: scoring the proximity of the keyword to the tags of each picture; the searching for the target picture matched with the text information according to the comparison result comprises: if the score of the proximity degree of the first label of the first picture and the keyword exceeds a preset threshold value, determining that the first picture is the target picture;
providing the target picture to a user so that the target picture is sent together with the text information;
when the target picture sent by the user is activated, updating the target picture into an activated picture and displaying the activated picture on an instant messaging interface; the activation picture is any picture different from the target picture.
2. The method of claim 1, wherein the obtaining text information input by a user comprises:
and acquiring the text information directly input by the user or acquiring the text information selected and input by the user in the alternative.
3. The method of any of claims 1-2, wherein the providing the target picture to the user comprises:
selecting one target picture from the multiple target pictures according to a preset strategy and providing the selected target picture to a user; or
And simultaneously providing a plurality of target pictures for the user so that the user can select one of the target pictures to send.
4. The method of claim 1, wherein the target picture comprises a red envelope background picture or a first game sharing picture, and the activation picture comprises a red envelope unsealing picture or a second game sharing picture.
5. An information transmitting apparatus for matching pictures and texts, comprising:
the acquiring unit is used for acquiring character information input by a user;
the searching unit is used for searching a target picture matched with the input text information in a preset picture library; the search unit includes: the extraction module is used for carrying out semantic analysis on the input text information and extracting keywords; the comparison module is used for comparing the extracted keywords with the labels of all pictures in the preset picture library; the searching module is used for searching a target picture matched with the text information according to the comparison result; the comparison module is specifically used for scoring the proximity degree of the keyword and the label of each picture; the searching module is specifically configured to determine that the first picture is the target picture if a score of a degree of proximity of a first tag of the first picture to the keyword exceeds a preset threshold;
a providing unit, configured to provide the target picture to a user, so that the target picture is sent together with the text information;
the updating unit is used for updating the target picture into an activated picture and displaying the activated picture on an instant messaging interface when the target picture sent by the user is activated after the target picture is provided for the user; the activation picture is any picture different from the target picture.
6. The device according to claim 5, wherein the obtaining unit is specifically configured to obtain the text information directly input by the user, or obtain the text information selected and input by the user in the alternative.
7. The device according to any one of claims 5 to 6, characterized in that the providing unit is specifically configured to:
selecting one target picture from the multiple target pictures according to a preset strategy and providing the selected target picture to a user; or
And simultaneously providing a plurality of target pictures for the user so that the user can select one of the target pictures to send.
8. The apparatus of claim 5, wherein the target picture comprises a red envelope background picture or a first game sharing picture, and the activation picture comprises a red envelope unsealing picture or a second game sharing picture.
9. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the teletext matching information transmission method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the teletext matched information transmission method according to any one of claims 1-4.
CN201811560240.1A 2018-12-19 2018-12-19 Image-text matching information sending method and device and electronic equipment Active CN109684497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811560240.1A CN109684497B (en) 2018-12-19 2018-12-19 Image-text matching information sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811560240.1A CN109684497B (en) 2018-12-19 2018-12-19 Image-text matching information sending method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109684497A CN109684497A (en) 2019-04-26
CN109684497B true CN109684497B (en) 2021-08-24

Family

ID=66186400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811560240.1A Active CN109684497B (en) 2018-12-19 2018-12-19 Image-text matching information sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109684497B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221711A (en) * 2019-05-29 2019-09-10 北京金山安全软件有限公司 Keyboard input method and device, electronic equipment and storage medium
CN113301066A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Virtual resource pushing method, device and system
CN112383666B (en) * 2020-11-09 2022-05-17 维沃移动通信有限公司 Content sending method and device and electronic equipment
CN112764601B (en) * 2020-12-31 2022-07-01 维沃移动通信有限公司 Information display method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662961A (en) * 2012-03-08 2012-09-12 北京百舜华年文化传播有限公司 Method, apparatus and terminal unit for matching semantics with image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033467A (en) * 2015-03-20 2016-10-19 腾讯科技(深圳)有限公司 Image file sharing method and device
CN106789543A (en) * 2015-11-20 2017-05-31 腾讯科技(深圳)有限公司 The method and apparatus that facial expression image sends are realized in session
CN105956008A (en) * 2016-04-21 2016-09-21 深圳市金立通信设备有限公司 Picture management method and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662961A (en) * 2012-03-08 2012-09-12 北京百舜华年文化传播有限公司 Method, apparatus and terminal unit for matching semantics with image

Also Published As

Publication number Publication date
CN109684497A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109684497B (en) Image-text matching information sending method and device and electronic equipment
JP6105094B2 (en) Generate search results with status links to applications
CN106682169B (en) Application label mining method and device, application searching method and server
KR101911999B1 (en) Feature-based candidate selection
CN107368508B (en) Keyword search method and system using communication tool service
US10853716B2 (en) Systems and methods for a mathematical chat bot
CN106682170B (en) Application search method and device
CN110069769B (en) Application label generation method and device and storage device
CN109242537A (en) Advertisement placement method, device, computer equipment and storage medium
CN112087667A (en) Information processing method and device and computer storage medium
CN110096701A (en) Message conversion process method, device, storage medium and electronic equipment
CN107562847B (en) Information processing method and related product
CN107562432B (en) Information processing method and related product
CN112532507B (en) Method and device for presenting an emoticon, and for transmitting an emoticon
KR102586286B1 (en) Contextual digital media processing systems and methods
CN114722292A (en) Book searching method, device, equipment and storage medium
CN111787042B (en) Method and device for pushing information
CN111611369A (en) Interactive method based on artificial intelligence and related device
CN115936016A (en) Emotion theme recognition method, device, equipment and medium based on conversation
CN115080829A (en) Search result display method and device, computer equipment and storage medium
CN115048908A (en) Method and device for generating text directory
CN107194004B (en) Data processing method and electronic equipment
CN112348614A (en) Method and device for pushing information
CN111162994A (en) Information prompting method, electronic equipment and storage medium
CN111507065A (en) Reading information processing method and device and storage medium

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
GR01 Patent grant
GR01 Patent grant