CN108363781B - Picture sending method, terminal and computer readable storage medium - Google Patents

Picture sending method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108363781B
CN108363781B CN201810141106.1A CN201810141106A CN108363781B CN 108363781 B CN108363781 B CN 108363781B CN 201810141106 A CN201810141106 A CN 201810141106A CN 108363781 B CN108363781 B CN 108363781B
Authority
CN
China
Prior art keywords
sent
picture
pictures
content
semantics
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
CN201810141106.1A
Other languages
Chinese (zh)
Other versions
CN108363781A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810141106.1A priority Critical patent/CN108363781B/en
Publication of CN108363781A publication Critical patent/CN108363781A/en
Application granted granted Critical
Publication of CN108363781B publication Critical patent/CN108363781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5846Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a picture sending method, a terminal and a computer readable storage medium, wherein the picture sending method comprises the following steps: when a plurality of pictures to be sent are detected, identifying the text content included in each picture to be sent; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; and sending the plurality of pictures to be sent according to the sorted sequence. The picture sending method and the picture sending device can send the pictures in sequence according to the intention of the sender, meanwhile, the understanding of the receiver is facilitated, user experience is improved, and the problem that the use experience of a user is reduced when a plurality of pictures are sent in the picture sending method in the prior art is well solved.

Description

Picture sending method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a picture sending method, a terminal, and a computer-readable storage medium.
Background
With the development of science and technology, instant messaging software can support the sending of pictures at present. However, in the prior art, when a plurality of pictures are sent, the pictures are sent according to the sequence of the pictures in the album, and the latest shot pictures in the album are arranged in front, so that the pictures sent in this way can influence the understanding of the receiver, reduce the use feeling and increase the understanding cost.
Disclosure of Invention
The invention aims to provide a picture sending method, a terminal and a computer readable storage medium, which aim to solve the problem that the use experience of a user is reduced when a plurality of pictures are sent in a picture sending scheme in the prior art.
In order to solve the technical problem, the invention is realized as follows: a picture sending method comprises the following steps:
when a plurality of pictures to be sent are detected, identifying the text content included in each picture to be sent;
sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous;
and sending the plurality of pictures to be sent according to the sorted sequence.
In a first aspect, an embodiment of the present invention further provides a terminal, including:
the first identification module is used for identifying the text content included in each picture to be sent when a plurality of pictures to be sent are detected;
the first sequencing module is used for sequencing the multiple pictures to be sent according to the semantics of the text contents, so that the text contents semantics of the sequenced multiple pictures to be sent are continuous;
and the first sending module is used for sending the plurality of pictures to be sent according to the sorted sequence.
In a second aspect, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned picture sending method.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned picture sending method are implemented.
In the embodiment of the invention, when a plurality of pictures to be sent are detected, the text content included in each picture to be sent is identified; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; sending the plurality of pictures to be sent according to the sorted sequence; the picture sending method and the picture sending device can achieve orderly picture sending according to the intention of the sender, are convenient for the receiver to understand, improve user experience, and well solve the problem that in the prior art, when a picture sending scheme sends a plurality of pictures, the use experience of a user is reduced.
Drawings
Fig. 1 is a schematic flow chart of a method for sending a picture according to an embodiment of the present invention;
fig. 2 is a schematic view of a specific application flow of a picture transmission method according to an embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
The invention provides a picture sending method aiming at the problem that the order of sending a plurality of character screenshots does not meet the requirements of users in the prior art due to a picture sending scheme, as shown in figure 1, the picture sending method comprises the following steps:
step 11: when a plurality of pictures to be sent are detected, the text content included in each picture to be sent is identified.
Namely, when a plurality of pictures are selected and to be sent, the selected pictures are analyzed and identified, and characters in the pictures are obtained.
Step 12: and sequencing the multiple pictures to be sent according to the semantics of the text content, so that the sequenced text content semantics of the multiple pictures to be sent are continuous.
The method can specifically be used for sequencing a plurality of pictures to be sent according to the semantics and syntax of the text content, so that the content semantics presented by the sequenced pictures are continuous, the syntax is correct, and a user receiving the pictures can conveniently understand the meaning of the text content in the pictures.
Step 13: and sending the plurality of pictures to be sent according to the sorted sequence.
Namely, the plurality of pictures to be sent are sent according to the sequence which is in line with the viewing and understanding of the user.
The picture sending method provided by the embodiment of the invention identifies the text content included in each picture to be sent when a plurality of pictures to be sent are detected; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; sending the plurality of pictures to be sent according to the sorted sequence; the picture sending method and the picture sending device can achieve orderly picture sending according to the intention of the sender, are convenient for the receiver to understand, improve user experience, and well solve the problem that in the prior art, when a picture sending scheme sends a plurality of pictures, the use experience of a user is reduced.
Wherein, the step of identifying the text content included in each picture to be sent comprises: identifying each character included in each picture to be sent; and obtaining the text content included in each picture to be sent according to each text in each picture to be sent.
The text content in each picture to be sent is identified, and then the text content included in each picture to be sent is obtained according to the obtained text, where the text content may refer to all the text contents in the picture to be sent, or may be part of the text contents, such as a first segment of content and a tail end content, but not limited thereto.
Aiming at the condition that the acquired text contents in the pictures to be sent are a first section of contents and a tail end contents, sequencing the pictures to be sent according to the semantics of the text contents, and enabling the sequenced text contents of the pictures to be sent to have continuous semantics, the method comprises the following steps: acquiring the first segment content and the tail end content of the text content included in each picture to be sent; and sequencing the plurality of pictures to be sent according to the semantics of the first segment content and the tail end content of the character content included in each picture to be sent, so that the semantics of the first segment content of the picture to be sent and the semantics of the tail segment content of the picture to be sent arranged at the previous position are continuous, and the semantics of the tail segment content of the picture to be sent and the semantics of the first segment content of the picture to be sent arranged at the next position are continuous.
Therefore, the processing amount of the information can be reduced, and the accuracy of the sequencing is ensured to a certain extent.
Specifically, the step of sorting the multiple pictures to be sent according to the semantics of the first segment content and the tail end content of the text content included in each picture to be sent includes: setting each picture to be sent as a reference picture in sequence; and performing semantic analysis on the first segment content of the characters contained in each reference picture and the last segment content of the characters contained in other pictures to be sent, performing semantic analysis on the last segment content of the characters contained in each reference picture and the first segment content of the characters contained in other pictures to be sent, and determining a sorting sequence.
Such as: the pictures to be sent comprise a picture 1, a picture 2 and a picture 3, wherein the first segment content of the picture 1 is A, the tail end content of the picture 1 is B, the first segment content of the picture 2 is C, the tail end content of the picture is D, the first segment content of the picture 3 is E, and the tail end content of the picture is F;
taking the picture 1 as a reference picture, combining and connecting A and D, F respectively to perform semantic analysis, and combining and connecting B and C, E respectively to perform semantic analysis; setting the picture 2 as a reference picture, combining and connecting C and B, F respectively, performing semantic analysis, and combining and connecting D and A, E respectively, and performing semantic analysis; taking the picture 3 as a reference picture, combining and connecting E and B, D respectively, performing semantic analysis, and combining and connecting F and A, C respectively, and performing semantic analysis; and finally, selecting an order with the most smooth semantics according to the result of semantic analysis, and further determining the sequence of the picture 1, the picture 2 and the picture 3.
In order to simplify the processing flow, if there is a combination with smooth semantics in the process of semantic analysis of the picture 1, the corresponding picture order may be determined, for example: if the semantics after the A and the F are combined and connected are smooth, determining that the picture 3 is in front of the picture 1; then, the remaining pictures to be sent are sorted on the basis of the pictures to be sent with the determined order, that is, the picture 2 is arranged before the picture 3 or after the picture 1 (the semantic continuity between C and B and the semantic continuity between D and E are analyzed to determine), and finally, the order of the picture 1, the picture 2 and the picture 3 is determined.
In this embodiment, the step of sequencing the multiple pictures to be sent according to the semantics of the text content to make the text content semantics of the sequenced multiple pictures to be sent continuous includes: and sequencing the multiple pictures to be sent according to the semantics and the syntax of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous and the syntax is correct.
Therefore, the accuracy of the sequencing can be further ensured, and the content presented by the sequenced pictures to be sent can better meet the intention of a sender.
The picture sending method provided by the embodiment of the invention is further explained below.
In view of the above technical problems, an embodiment of the present invention provides a method for sending pictures, so as to solve the problem that pictures cannot be sent in order according to the intention of a sender in the prior art. The scheme provided by the embodiment of the invention mainly comprises the following steps: after a user selects a plurality of pictures to be sent, the text content in the pictures is identified, possible rules are found through algorithms such as semantic identification and semantic analysis, and the pictures are sent according to the regular sequence.
Specifically, as shown in fig. 2, the method includes the following steps:
step 21: acquiring a plurality of pictures to be sent which are selected by a user;
in the step, after detecting that a user clicks several pictures to be sent in the instant messaging software, clicking a sending button; and acquiring the selected pictures to be sent.
Step 22: analyzing and processing the selected pictures to be sent, and sequencing the pictures;
specifically, each picture can be sequentially analyzed for processing the selected picture resource as follows:
(1) firstly, the character information of the picture is extracted by using a character recognition technology. Then, N (N >10) characters at the front end and the rear end of the characters in the picture are extracted. The first and end contents may be preferred.
(2) And identifying the front and back sections of character information of each picture. The function is to mark the corresponding relation between the characters and the pictures.
Such as: there are three pictures, the first segment content of the first picture is marked as A, and the tail end content of the first picture is marked as B. The first segment of the second picture is C, and the end of the second picture is D. The first content of the third picture is E, and the end content of the third picture is F.
(3) The terminal content of one picture to be sent and the first segment content of the other picture to be sent are combined and connected (for example, D and A are connected or B and C are connected), and whether the connected content is a complete segment or not can be obtained through algorithms such as semantic recognition, syntactic analysis and the like.
The two pictures that can be joined into a complete piece of speech are ordered (e.g., D and a can be joined into a single speech, then picture two is placed in front of picture one).
And taking a picture III to be compared, combining the content (E) of the first section of the picture with the content (B) of the tail end of the next picture in the two pictures with the determined sequence, wherein the combination sequence is B and E, and judging whether a complete section of speech can be formed or not through semantic recognition and syntactic analysis.
If yes, the picture is sequenced to the back, if not, the end content (F) of the picture to be compared is used for connecting the first content (C) of the picture which is ranked in the front in the two pictures with determined sequencing. And judging whether a complete section can be formed or not. If possible, to the front.
Finally, through the above process, the sequence of each picture can be arranged in turn.
Step 23: and sending the selected pictures to be sent according to the arranged sequence.
That is, the ordered pictures are sent in order.
Therefore, the scheme provided by the embodiment of the invention can realize that the pictures containing the character association are sent after being sequenced, and can avoid the trouble of the receiving party caused by disordered sequence.
An embodiment of the present invention further provides a terminal, as shown in fig. 3, including:
the first identifying module 31 is configured to identify text content included in each picture to be sent when it is detected that multiple pictures to be sent exist;
the first sequencing module 32 is configured to sequence the multiple pictures to be sent according to the semantics of the text content, so that the text content semantics of the sequenced multiple pictures to be sent are continuous;
the first sending module 33 is configured to send the multiple pictures to be sent according to the sorted order.
The terminal provided by the embodiment of the invention identifies the text content included in each picture to be sent when detecting that a plurality of pictures to be sent exist; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; sending the plurality of pictures to be sent according to the sorted sequence; the picture sending method and the picture sending device can achieve orderly picture sending according to the intention of the sender, are convenient for the receiver to understand, improve user experience, and well solve the problem that in the prior art, when a picture sending scheme sends a plurality of pictures, the use experience of a user is reduced.
Wherein the first identification module comprises: the first identification submodule is used for identifying each character included in each picture to be sent; and the first processing submodule is used for obtaining the text content included in each picture to be sent according to each text in each picture to be sent.
Aiming at the situation that the acquired text content in the picture to be sent is a first segment of content and a tail end content, the first sequencing module comprises: the first obtaining submodule is used for obtaining the first segment content and the tail end content of the character content included in each picture to be sent; and the first sequencing submodule is used for sequencing the plurality of pictures to be sent according to the semantics of the first segment content and the tail end content of the character content included in each picture to be sent, so that the semantics of the first segment content of the picture to be sent is continuous with the semantics of the tail segment content of the picture to be sent arranged at the previous position in the sequenced plurality of pictures to be sent, and the semantics of the tail segment content of the picture to be sent is continuous with the semantics of the first segment content of the picture to be sent arranged at the next position.
Specifically, the first ordering sub-module includes: the first processing unit is used for sequentially setting each picture to be sent as a reference picture; and the second processing unit is used for performing semantic analysis on the first segment content of the characters contained in each reference picture and the last segment content of the characters contained in other pictures to be sent, performing semantic analysis on the last segment content of the characters contained in each reference picture and the first segment content of the characters contained in other pictures to be sent, and determining a sorting sequence.
In this embodiment, the first sorting module includes: and the second sequencing submodule is used for sequencing the multiple pictures to be sent according to the semantics and the syntax of the text content, so that the semantics of the text content of the sequenced multiple pictures to be sent are continuous and the syntax is correct.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Fig. 4 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 40 includes, but is not limited to: radio frequency unit 41, network module 42, audio output unit 43, input unit 44, sensor 45, display unit 46, user input unit 47, interface unit 48, memory 49, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to, when it is detected that there are multiple pictures to be sent, identify text content included in each picture to be sent; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; and sending the plurality of pictures to be sent according to the sorted sequence.
In the embodiment of the invention, when a plurality of pictures to be sent are detected, the text content included in each picture to be sent is identified; sequencing the multiple pictures to be sent according to the semantics of the text content, so that the semantics of the text content of the sequenced pictures to be sent are continuous; sending the plurality of pictures to be sent according to the sorted sequence; the picture sending method and the picture sending device can achieve orderly picture sending according to the intention of the sender, are convenient for the receiver to understand, improve user experience, and well solve the problem that in the prior art, when a picture sending scheme sends a plurality of pictures, the use experience of a user is reduced.
Optionally, the processor 410 is specifically configured to identify each character included in each picture to be sent; and obtaining the text content included in each picture to be sent according to each text in each picture to be sent.
Optionally, the processor 410 is specifically configured to obtain a first segment content and a last segment content of the text content included in each picture to be sent; and sequencing the plurality of pictures to be sent according to the semantics of the first segment content and the tail end content of the character content included in each picture to be sent, so that the semantics of the first segment content of the picture to be sent and the semantics of the tail segment content of the picture to be sent arranged at the previous position are continuous, and the semantics of the tail segment content of the picture to be sent and the semantics of the first segment content of the picture to be sent arranged at the next position are continuous.
Optionally, the processor 410 is specifically configured to set each of the pictures to be sent as a reference picture in sequence; and performing semantic analysis on the first segment content of the characters contained in each reference picture and the last segment content of the characters contained in other pictures to be sent, performing semantic analysis on the last segment content of the characters contained in each reference picture and the first segment content of the characters contained in other pictures to be sent, and determining a sequencing order.
Optionally, the processor 410 is specifically configured to sequence the multiple pictures to be sent according to the semantics and syntax of the text content, so that the semantics of the text content of the sequenced multiple pictures to be sent are continuous and the syntax is correct.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 41 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 41 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 41 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user via the network module 42, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 43 may convert audio data received by the radio frequency unit 41 or the network module 42 or stored in the memory 49 into an audio signal and output as sound. Also, the audio output unit 43 may also provide audio output related to a specific function performed by the terminal 40 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 43 includes a speaker, a buzzer, a receiver, and the like.
The input unit 44 is for receiving an audio or video signal. The input Unit 44 may include a Graphics Processing Unit (GPU) 441 and a microphone 442, and the Graphics processor 441 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 46. The image frames processed by the graphic processor 441 may be stored in the memory 49 (or other storage medium) or transmitted via the radio frequency unit 41 or the network module 42. The microphone 442 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 41 in case of the phone call mode.
The terminal 40 also includes at least one sensor 45, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 461 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 461 and/or a backlight when the terminal 40 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 45 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 46 is used to display information input by the user or information provided to the user. The Display unit 46 may include a Display panel 461, and the Display panel 461 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 47 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 47 includes a touch panel 471 and other input devices 472. The touch panel 471, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 471 using a finger, a stylus, or any other suitable object or accessory). The touch panel 471 can include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 471 can be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 47 may include other input devices 472 in addition to the touch panel 471. Specifically, the other input devices 472 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 471 can be overlaid on the display panel 461, and when the touch panel 471 detects a touch operation on or near the touch panel 471, the touch panel transmits the touch operation to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 461 according to the type of the touch event. Although the touch panel 471 and the display panel 461 are shown as two separate components in fig. 4, in some embodiments, the touch panel 471 and the display panel 461 may be integrated to implement the input and output functions of the terminal, and are not limited herein.
The interface unit 48 is an interface for connecting an external device to the terminal 40. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 48 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 40 or may be used to transmit data between the terminal 40 and external devices.
The memory 49 may be used to store software programs as well as various data. The memory 49 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 49 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 49 and calling data stored in the memory 49, thereby performing overall monitoring of the terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal 40 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 40 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, which includes a processor 410, a memory 49, and a computer program stored in the memory 49 and capable of running on the processor 410, where the computer program, when executed by the processor 410, implements each process of the above-mentioned embodiment of the picture sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the picture sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (5)

1. A picture transmission method, comprising:
when detecting that a user selects a plurality of pictures to be sent, identifying the text content included in each picture to be sent;
sequencing the multiple pictures to be sent according to the semantics and syntax of the text content, so that the semantics of the text content of the sequenced multiple pictures to be sent are continuous and the syntax is correct;
sending the plurality of pictures to be sent according to the sorted sequence, wherein the sequence is in accordance with the sequence which is viewed and understood by the user;
the step of sequencing the multiple pictures to be sent according to the semantics of the text content to ensure that the text content semantics of the sequenced multiple pictures to be sent are continuous comprises the following steps:
acquiring the first segment content and the tail end content of the text content included in each picture to be sent;
sequencing the multiple pictures to be sent according to the semantics of the first segment content and the tail end content of the character content included in each picture to be sent, so that the semantics of the first segment content of the picture to be sent and the semantics of the tail segment content of the picture to be sent arranged at the previous position are continuous, and the semantics of the tail segment content of the picture to be sent and the semantics of the first segment content of the picture to be sent arranged at the next position are continuous;
the step of identifying the text content included in each picture to be sent comprises the following steps:
identifying each character included in each picture to be sent;
and obtaining the text content included in each picture to be sent according to each text in each picture to be sent.
2. The method for sending pictures according to claim 1, wherein the step of ordering the plurality of pictures to be sent according to semantics of a first segment content and a last segment content of text content included in each picture to be sent comprises:
setting each picture to be sent as a reference picture in sequence;
and performing semantic analysis on the first segment content of the characters contained in each reference picture and the last segment content of the characters contained in other pictures to be sent, performing semantic analysis on the last segment content of the characters contained in each reference picture and the first segment content of the characters contained in other pictures to be sent, and determining a sequencing order.
3. A terminal, comprising:
the first identification module is used for identifying the text content included in each picture to be sent when the fact that the user selects a plurality of pictures to be sent is detected;
the first sequencing module is used for sequencing the multiple pictures to be sent according to the semantics of the text contents, so that the text contents semantics of the sequenced multiple pictures to be sent are continuous;
the first sending module is used for sending the plurality of pictures to be sent according to a sorted sequence, wherein the sequence is a sequence which accords with the viewing and understanding of a user;
the first sequencing module includes:
the first obtaining submodule is used for obtaining the first segment content and the tail end content of the character content included in each picture to be sent;
the first sequencing submodule is used for sequencing the multiple pictures to be sent according to the semantics of the first segment content and the tail end content of the character content included in each picture to be sent, so that the semantics of the first segment content of the picture to be sent is continuous with the semantics of the tail segment content of the picture to be sent arranged at the previous position in the sequenced multiple pictures to be sent, and the semantics of the tail segment content of the picture to be sent is continuous with the semantics of the first segment content of the picture to be sent arranged at the next position;
the first sequencing module includes: the second sequencing submodule is used for sequencing the multiple pictures to be sent according to the semantics and syntax of the text content, so that the text content semantics of the sequenced multiple pictures to be sent are continuous and the syntax is correct;
the first identification module comprises:
the first identification submodule is used for identifying each character included in each picture to be sent;
and the first processing submodule is used for obtaining the text content included in each picture to be sent according to each text in each picture to be sent.
4. The terminal of claim 3, wherein the first ordering submodule comprises:
the first processing unit is used for sequentially setting each picture to be sent as a reference picture;
and the second processing unit is used for performing semantic analysis on the first segment content of the characters contained in each reference picture and the last segment content of the characters contained in other pictures to be sent, performing semantic analysis on the last segment content of the characters contained in each reference picture and the first segment content of the characters contained in other pictures to be sent, and determining a sorting sequence.
5. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the picture transmission method according to any one of claims 1 to 2.
CN201810141106.1A 2018-02-11 2018-02-11 Picture sending method, terminal and computer readable storage medium Active CN108363781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810141106.1A CN108363781B (en) 2018-02-11 2018-02-11 Picture sending method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810141106.1A CN108363781B (en) 2018-02-11 2018-02-11 Picture sending method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108363781A CN108363781A (en) 2018-08-03
CN108363781B true CN108363781B (en) 2021-06-08

Family

ID=63005757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810141106.1A Active CN108363781B (en) 2018-02-11 2018-02-11 Picture sending method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108363781B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427512B (en) * 2019-07-30 2021-01-22 北京达佳互联信息技术有限公司 Expression pattern sending method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475572A (en) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 Method, device and system for sending multiple pictures in instant messaging application
CN104484397A (en) * 2014-12-16 2015-04-01 上海合合信息科技发展有限公司 Automatic image document sequencing method and automatic image document sequencing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469162A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of picture sort method and corresponding picture storage display device
CN107491456A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 Image ranking method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475572A (en) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 Method, device and system for sending multiple pictures in instant messaging application
CN104484397A (en) * 2014-12-16 2015-04-01 上海合合信息科技发展有限公司 Automatic image document sequencing method and automatic image document sequencing device

Also Published As

Publication number Publication date
CN108363781A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN108415652B (en) Text processing method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN109917979B (en) Searching method and mobile terminal
CN108132752B (en) Text editing method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN107908382B (en) Split screen display method and mobile terminal
CN108494665B (en) Group message display method and mobile terminal
CN109814786B (en) Image storage method and terminal equipment
CN109857297B (en) Information processing method and terminal equipment
CN107783709B (en) Image viewing method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109388456B (en) Head portrait selection method and mobile terminal
CN109189303B (en) Text editing method and mobile terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN111464428A (en) Audio processing method, server, electronic device, and computer-readable storage medium
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN108196781B (en) Interface display method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN109286726B (en) Content display method and terminal equipment
CN111143614A (en) Video display method and electronic equipment
CN111273827B (en) Text processing method and electronic equipment
CN110045892B (en) Display method and terminal 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
GR01 Patent grant
GR01 Patent grant