CN113300943B - Information sending method, device, equipment and readable storage medium - Google Patents

Information sending method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113300943B
CN113300943B CN202110570346.5A CN202110570346A CN113300943B CN 113300943 B CN113300943 B CN 113300943B CN 202110570346 A CN202110570346 A CN 202110570346A CN 113300943 B CN113300943 B CN 113300943B
Authority
CN
China
Prior art keywords
sending
sent
session content
content
target object
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
CN202110570346.5A
Other languages
Chinese (zh)
Other versions
CN113300943A (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 CN202110570346.5A priority Critical patent/CN113300943B/en
Publication of CN113300943A publication Critical patent/CN113300943A/en
Application granted granted Critical
Publication of CN113300943B publication Critical patent/CN113300943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Abstract

The application discloses an information sending method, an information sending device, information sending equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: receiving conversation content to be sent input by a user based on a conversation interface of a target object, determining the sending times of the conversation content to be sent according to the type or included information of the conversation content to be sent, and sending the conversation content to be sent to the target object for N times according to the sending times.

Description

Information sending method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information sending method, apparatus, device, and readable storage medium.
Background
With the development of internet technology, communication software has become an indispensable part of people's work and life. In the communication process based on the communication software, different users can send various conversation contents to each other, and exchange and communicate through the conversation contents.
In some scenarios, the session content needs to be repeatedly sent to the same target object, the sending process is complicated, and the efficiency is low.
Disclosure of Invention
The embodiment of the application aims to provide an information sending method, an information sending device, information sending equipment and a readable storage medium, and can solve the problems that the sending process is complicated and the efficiency is low when session contents are repeatedly sent for multiple times.
In a first aspect, an embodiment of the present application provides an information sending method, where the method includes:
receiving conversation content to be sent input by a user based on a conversation interface of a target object;
determining the sending times of the session content to be sent according to the type or the included information of the session content to be sent;
and sending the session content to be sent to the target object for N times according to the sending times, wherein N corresponds to the sending times.
In a second aspect, an embodiment of the present application provides an information sending apparatus, including:
the receiving module is used for receiving the conversation content to be sent, which is input by a user, based on the conversation interface of the target object;
the determining module is used for determining the sending times of the session content to be sent according to the type or the included information of the session content to be sent;
and the sending module is used for sending the session content to be sent to the target object for N times according to the sending times, wherein N corresponds to the sending times.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic device receives the conversation content to be sent input by the user based on the conversation interface of the target object, determines the sending times of the conversation content to be sent according to the type or the included information of the conversation content to be sent, and sends the conversation content to be sent to the target object for N times according to the sending times. When a user needs to continuously and repeatedly send the same conversation content to the same target object, the electronic equipment can automatically determine the sending times according to the conversation content, and can avoid the process that the user repeatedly inputs the conversation content for many times, so that the sending process can be simplified, and the sending efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an information sending method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a session interface provided by an embodiment of the invention;
fig. 3 is a schematic structural diagram of an information transmitting apparatus according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The information sending method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of an information sending method according to an embodiment of the present invention is shown, where the method may include:
step 101, receiving a session content to be sent input by a user based on a session interface of a target object.
In this embodiment, the information sending method may be executed by an electronic device with a display function, such as a mobile phone, a tablet computer, or a personal computer. The target object may be an account or a user identifier set in the internet by the user, for example, an account registered in an Instant Messaging System (IM) by the user. The electronic equipment is provided with communication software, and the communication software can respectively configure corresponding session interfaces for different target objects. The electronic equipment can run the communication software, display a session interface of a certain target object included in the communication software, receive the session content to be sent input by the user through the session interface, and send the input session content to be sent to the target object to which the session interface belongs. The session content to be sent may include multimedia data such as voice, video, text, and pictures, and data packets such as a compression packet and an installation packet, and may also include virtual objects such as a virtual gift and a red packet. The specific type of the session content to be sent may be set according to requirements, which is not limited in this embodiment.
For example, when a user a and a user B communicate using communication software, the user a logs in the communication software in the electronic device a using an account a, and the user B logs in the communication software in the electronic device B using an account B, where the account a is a target object of the user a and the account B is a target object of the user B. The communication software in the electronic device A comprises a session interface of the account B, and the communication software in the electronic device B comprises the session interface of the account A. Fig. 2 is a schematic diagram illustrating a session interface provided by an embodiment of the present invention, and fig. 2 is a session interface in an electronic device a, that is, a session interface of an account B. The session interface includes an input window 201, and the user a can input multimedia data, data packets, and virtual objects through the input window 201 to wait for sending session contents. Specifically, when the session content to be sent is text information, the user a may input the text information 203 through the keyboard control 202, and click to send, and the electronic device may respond to the click operation of the user a and send the text information 203 to the account B. For example, the electronic device may send the text information 203 to the server according to account B, and the server may send the text information 203 to the electronic device B that logs in the server using account B, that is, send the text information 203 to user B, according to account B.
In practical applications, the user can input other types of multimedia data, data packets and virtual objects through the session interface. The specific input method of the session content to be sent may be set according to the specific type of the session content to be sent, and the specific sending process of the session content to be sent may be set according to the requirement, which is not limited in this embodiment.
And 102, determining the sending times of the session content to be sent according to the type or the included information of the session content to be sent.
In this embodiment, the electronic device may first automatically determine the number of times of transmission according to the type of the session content to be transmitted or the included information, then store the session content to be transmitted and the number of times of transmission in the cache, and finally transmit the session content to be transmitted to the target object for multiple times according to the stored session content to be transmitted and the number of times of transmission.
Alternatively, when the session content to be sent includes multimedia data, step 102 may be implemented as follows:
and acquiring the text information included in the multimedia data, and identifying the sending times from the text information.
In an embodiment, when the session content to be sent is multimedia data, the electronic device may obtain text information from the multimedia data, and identify the sending times from the text information. With reference to the above example, when the multimedia data is the text information 203 input by the user, the electronic device may directly use the text information 203 as the text information obtained from the multimedia data, detect the text information 203 through a text detection model, detect information "send three times" from a text included in the text information 203 "important notice sends three times, and opens a meeting at 9 am tomorrow", and then match the detected text information with a pre-stored corpus, so that the sending times may be determined to be 3 times. For another example, when the user inputs a voice, the electronic device may perform voice recognition on the voice input by the user to obtain text information, further may recognize text information such as "send 5 times", "repeatedly send 7 times", and "send 3 times" from the text information, and then match the extracted text information with a corpus stored in advance, so as to obtain the sending times such as 5 times, 7 times, and 3 times. For another example, when the user inputs a picture, the electronic device may use an image detection model to perform target detection on the picture input by the user, detect text information from the picture, and further identify the sending times from the text information. The specific implementation methods of character detection, voice recognition, image detection, etc. may be set according to the requirements, and this embodiment does not limit this.
In the process of inputting the multimedia data, if the multimedia data needs to be sent for multiple times, the sending times can be set in the multimedia data, so that the electronic equipment can identify the sending times from the multimedia data. For example, when the user inputs the text information, the text information such as "three times send" may be added to the text information, and when the user inputs the voice or the video, the voice information such as "three times send" may be set during the recording of the voice or the video, so that the electronic device may recognize the number of times of sending from the multimedia data. It should be noted that the session content to be sent may also include other types of multimedia data, the specific process of setting the sending times in the multimedia data by the user, and the specific method for acquiring the text information from the multimedia data by the electronic device may be set according to the specific type of the multimedia data.
In practical application, when the session content to be sent is multimedia data, the user can directly input the multimedia data, the electronic device can acquire text information from the multimedia data and recognize and acquire the sending times from the text information, so that the electronic device can quickly acquire the sending times, the process that the user manually inputs the sending times is avoided, and the sending efficiency can be improved.
Optionally, step 102 may also be implemented by:
acquiring character information included in multimedia data;
determining a text paragraph corresponding to a preset character from the text information under the condition that the text information comprises the preset character;
the number of times of transmission is identified from the text passage.
In an embodiment, when a user inputs conversation content to be sent including text information through a conversation interface, a preset character can be added to the text information, so that the electronic device can obtain sending times from the text information according to the preset character. In combination with the above example, the preset character may be a bracket, and when the user inputs the text information 203 through the input window 201, the bracket may be set in a text paragraph including the number of times of transmission in the text information 203. For example, the user may add a bracket to the text information 203 during the input of the text information 203, and set the number of times of transmission "three times" in the bracket, resulting in "important notification transmission (three times): and 9 am on time meeting at tomorrow. Correspondingly, when the electronic device receives the text information input by the user, if the text information includes parentheses, the text paragraphs included in the parentheses can be used as identification objects to identify the text paragraphs included in the parentheses, and the sending times can be identified from the text paragraphs. For another example, when the user inputs a voice, if the number of times of transmission needs to be set in the voice passage, the electronic device may pause for a preset time during the voice input process, and may add a preset character at the pause position according to the pause time. The specific setting method and type of the preset characters can be set according to requirements, and this embodiment does not limit this.
In practical application, a user can preset the position of the sending times in the text message through the preset characters, the electronic equipment can determine the corresponding text paragraphs from the text message according to the preset characters, and the sending times are identified from the text paragraphs.
Optionally, step 102 may also be implemented by:
and under the condition that the type of the session content to be sent is the same as the target sending type, taking the preset sending times corresponding to the target sending type as the sending times.
In one embodiment, the content of the session to be sent may be classified according to different classification rules. For example, multimedia data can be divided into transmission types such as a picture type, a text type, and a voice type. For multimedia data, data packets and virtual objects, the session content to be sent can be divided into sending types such as multimedia data classes, virtual classes and data classes, the multimedia data classes comprise pictures, characters and voice to wait for sending the session content, the virtual classes comprise virtual gifts and red packets to wait for sending the session content, and the data classes comprise compressed packets and installation packets to wait for sending the session content. The specific division method of the sending type may be set according to the requirement, and this embodiment does not limit this.
For example, if the target transmission type is set as a picture class, the default number of times of transmission of the session content to be transmitted in the picture class may be set to 5 times in advance. When the electronic device receives a picture input by a user through a session interface, and detects and determines that the picture is a to-be-sent session content of a picture class input by the user, the electronic device can determine that the preset sending times are 5 times as the sending times of the picture. The target sending type may also be a virtual type or a data type, and the specific value of the preset sending times may be set according to requirements, which is not limited in this embodiment.
In practical application, a user can set the sending times in advance for a certain sending type, and the electronic device can determine the sending times according to the sending type of the session content to be sent, so that the process that the user manually inputs the sending times can be avoided, the sending times can be determined quickly, and the sending efficiency is improved.
It should be noted that, the specific obtaining method of the sending times may include, but is not limited to, the above-mentioned exemplary methods, and any method known in the art or that may occur in the future may be applied in this embodiment.
And 103, transmitting the conversation content to be transmitted to the target object for N times according to the transmission times.
Wherein N corresponds to the number of transmissions, and N is a positive integer greater than zero. In the session process, when the user needs to emphasize or emphatically remind the session object, the user needs to repeatedly send a certain session content to be sent to the session object for many times, and at this time, for the session content to be sent, the user needs to operate the electronic device for many times to send the session content to be sent, so that the sending process is complicated.
In this embodiment, when determining the number of times of sending the session content to be sent, the electronic device may send the session content to be sent to the target object N times according to the number of times of sending, so as to achieve the functions of emphasizing and reminding. With reference to the above example, when the user inputs the text information "important notification is sent three times, and a meeting is made at 9 am tomorrow on time", the electronic device may continuously send the text information to the account B3 times according to the stored text information and the sending times when determining that the sending times is 3 times and sending the text information to the account B. For another example, the interval time may be set to 1 second in advance, and the electronic device may send the text information to the account B1 time every 1 second and continuously send the text information to the target object B3 times. At this time, the user B can continuously receive the text message sent by the user a for 3 times in the process of using the electronic device B, thereby realizing multiple times of reminding of the user B. After the electronic device sends the session content to be sent to the target object for multiple times, the electronic device can delete the session content to be sent and the number of times stored in the cache, so that the storage load of the electronic device is reduced, and the privacy of a user is protected.
In an embodiment, after determining the number of times of sending the session content to be sent, the electronic device may select to send the session content to be sent to the target object multiple times or send the session content to be sent to the target object only once according to a user operation. As shown in fig. 2, the session interface may include a first sending control 204 and a second sending control 205, and after the user inputs the text message, if the user clicks the first sending control 204, the electronic device may send the text message to account B only once in response to the user's clicking operation. Conversely, when the user clicks the second sending control 205, the electronic device may execute step 103 to send text information to the account B multiple times in response to the user clicking. In practical application, the electronic device may select to send the session content to be sent to the target object for multiple times or to send the session content to be sent to the target object for one time in response to a user operation, which may facilitate a user to select different sending modes.
Optionally, the method may further include:
and under the condition that the target object is determined to have read the session content to be sent, stopping sending the session content to be sent to the target object.
In an embodiment, when the electronic device continuously sends the session content to be sent to the target object for multiple times, if a read notification sent by the target object for the session content to be sent is received, it may be determined that the session content to be sent has been read by the target object, so that sending of the session content to be sent may be stopped. With reference to the above example, when the electronic device B receives the text information forwarded by the server, if the user B clicks and opens the session interface of the account a, and the text information is displayed in the session interface of the account a, for the displayed text information, the electronic device B may send a read notification to the electronic device a to notify that the text information of the electronic device a is displayed, and the electronic device B sends the read notification to the electronic device a, that is, the account B sends the read notification to the account a. After receiving the read notification, the electronic device a determines that the user B has clicked the open session interface and read the text message, and at this time, the electronic device a may stop sending the text message. Or, after the server forwards the text message to the electronic device B, if it is monitored that the text message is opened by the electronic device B, a read notification may be sent to the electronic device a. The specific method for determining that the target object has read the session content to be sent may be set according to the requirement, which is not limited in this embodiment.
In practical application, when the electronic device receives a read notification sent for the session content to be sent, it can be determined that the user to which the target object belongs already knows the received session content to be sent, and the session content to be sent is already sent to the user in time, so that the functions of reminding and emphasizing are achieved, and at this time, the sending is stopped, so that the sending times can be reduced, and the power consumption of the electronic device is reduced.
Optionally, the session interface may belong to a plurality of target objects, and the method may further include:
and under the condition that the proportion of the target objects of the read conversation content to be sent in all the target objects is determined to be not lower than the preset proportion, stopping sending the conversation content to be sent.
In one embodiment, the conversation interface may belong to multiple target objects at the same time, for example, in an IM system, user a may establish a conversation group including multiple target objects, and the conversation interface is a conversation interface for all target objects in the conversation group. At this time, when the electronic device a transmits the text message, the text message may be transmitted to the electronic device in which each account of the conversation group is located, for example, the electronic device B in which the account B is located. After receiving the text message, the electronic device B may send a read notification to the electronic device a if the text message is displayed in the session interface. Likewise, the electronic device in which the other account in the session group is located may also send a read notification to electronic device a. The electronic device a may count the number of accounts sending the read notifications, and when the number of accounts sending the read notifications accounts for not less than a preset ratio of the number of all the target objects in the session group, the electronic device a may stop sending the text information.
In practical application, the preset proportion corresponds to the proportion of users to be notified by the users, and when the number of the target objects is not lower than the preset proportion, the purpose of sending the conversation content to be sent for many times can be determined to be achieved, and at the moment, the sending is stopped, so that the sending times can be reduced, and the power consumption of the electronic equipment can be reduced.
To sum up, in this embodiment, the electronic device receives, based on the session interface of the target object, the session content to be sent input by the user, determines, according to the type of the session content to be sent or the included information, the number of times of sending the session content to be sent, and sends the session content to be sent to the target object N times according to the number of times of sending. When a user needs to continuously and repeatedly send the same conversation content to the same target object, the electronic equipment can automatically determine the sending times according to the conversation content, and can avoid the process that the user repeatedly inputs the conversation content for many times, so that the sending process can be simplified, and the sending efficiency is improved.
Optionally, the method may further include:
displaying the residual sending times of the conversation content to be sent;
receiving a first input;
and in response to the first input, stopping sending the conversation content to be sent for the remaining sending times.
In an embodiment, when the electronic device transmits the session content to be transmitted according to the number of transmission times, the remaining number of transmission times may be displayed so that the user can know the remaining number of transmission times. Meanwhile, when the user wants to stop transmitting, the first input may be executed to control the electronic device to stop transmitting the session content to be transmitted. In conjunction with the above example, the session interface may include a number display window 206 and a stop button 207, where the number display window 206 is used for displaying the remaining number of times of transmission. After the electronic equipment sends the text information for the first time, the displayed remaining sending times is 2 times. The first input may be a user operation of clicking the stop button 207, and when the electronic device receives a click operation of clicking the stop button 207 by a user, the electronic device may stop sending the remaining 2 times of text messages in response to the click operation. The specific display method of the remaining sending times and the specific form of the first input may be set according to the session interface, which is not limited in this embodiment.
In practical application, the electronic device displays the remaining sending times, so that the user can conveniently monitor the sending times, and meanwhile, the user can stop sending the to-be-sent session content with the remaining sending times, so that the user can conveniently and flexibly control the sending times.
Optionally, the method may further include:
receiving a second input of the remaining number of transmissions;
in response to a second input, the remaining number of transmissions is adjusted.
In one embodiment, the user may adjust the number of transmissions remaining. In combination with the above example, the number display window 206 may be an input box, and the user may directly click the number display window 206 to input a new number of times of transmission. The electronic device may receive the number of transmissions input by the user, and use the input new number of transmissions as the remaining number of transmissions. For example, when the number of remaining transmissions is 2 and the user inputs the number 5 through the number display window 206, the electronic apparatus may modify the number of remaining transmissions to 5. At this point, the electronic device may send the text message to account B5 times again. The specific form of the second input and the specific adjustment method of the remaining sending times may be set according to the requirement, which is not limited in this embodiment.
In practical application, in the process of sending the conversation content to be sent for multiple times, the electronic equipment can respond to user operation and adjust the remaining sending times, so that the user can conveniently and flexibly adjust the sending times according to requirements.
In the information sending method provided in the embodiment of the present application, the execution main body may be an information sending apparatus, or a control module in the information sending apparatus for executing the information sending method. In the embodiments of the present application, an information transmitting apparatus that executes an information transmitting method is taken as an example, and the information transmitting apparatus provided in the embodiments of the present application is described.
Referring to fig. 3, a schematic structural diagram of an information sending apparatus according to an embodiment of the present invention is shown, where the apparatus 300 may include:
a receiving module 301, configured to receive, based on a session interface of a target object, session content to be sent, input by a user;
a determining module 302, configured to determine, according to the type of the session content to be sent or the included information, the number of times of sending the session content to be sent;
the sending module 303 is configured to send the session content to be sent to the target object N times according to the sending times, where N corresponds to the sending times.
Optionally, the session content to be sent includes multimedia data;
a determining module 302, configured to obtain text information included in the multimedia data; determining a text paragraph corresponding to a preset character from the text information under the condition that the text information comprises the preset character; the number of times of transmission is identified from the text passage.
Optionally, the determining module 302 is specifically configured to use, when the type of the session content to be sent is the same as the target sending type, a preset number of sending times corresponding to the target sending type as the number of sending times.
Optionally, the sending module 303 is further configured to stop sending the session content to be sent to the target object when it is determined that the target object has read the session content to be sent.
Optionally, the session interface belongs to a plurality of target objects; the sending module 303 is further configured to stop sending the conversation content to be sent when it is determined that the ratio of the target object of the read conversation content to be sent to all target objects is not lower than the preset ratio.
In the embodiment of the application, the electronic device receives the session content to be sent input by the user based on the session interface of the target object, determines the sending times of the session content to be sent according to the type or the included information of the session content to be sent, and sends the session content to be sent to the target object for N times according to the sending times. When a user needs to continuously and repeatedly send the same conversation content to the same target object, the electronic equipment can automatically determine the sending times according to the conversation content, and can avoid the process that the user repeatedly inputs the conversation content for many times, so that the sending process can be simplified, and the sending efficiency is improved.
The information sending device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The information transmission apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information sending apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiment shown in fig. 1, and is not described here again to avoid repetition.
Referring to fig. 4, which shows a schematic structural diagram of an electronic device according to an embodiment of the present invention, an electronic device 400 includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction implements the processes of the above-mentioned embodiment of the information sending method when executed by the processor 401, and can achieve the same technical effects, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 506 is configured to receive, based on a session interface of the target object, session content to be sent, which is input by a user;
a processor 510, configured to determine, according to the type of the session content to be sent or included information, the number of times of sending the session content to be sent;
the network module 502 is configured to send, to the target object, the session content to be sent N times according to the sending times, where N corresponds to the sending times.
In the embodiment of the application, the electronic device receives the conversation content to be sent input by the user based on the conversation interface of the target object, determines the sending times of the conversation content to be sent according to the type or the included information of the conversation content to be sent, and sends the conversation content to be sent to the target object for N times according to the sending times. When a user needs to continuously and repeatedly send the same conversation content to the same target object, the electronic equipment can automatically determine the sending times according to the conversation content, and can avoid the process that the user repeatedly inputs the conversation content for many times, so that the sending process can be simplified, and the sending efficiency is improved.
Optionally, the session content to be sent includes multimedia data; a processor 510, specifically configured to obtain text information included in the multimedia data; determining a text paragraph corresponding to a preset character from the text information under the condition that the text information comprises the preset character; the number of times of transmission is identified from the text passage.
In practical application, a user can preset the position of the sending times in the text message through the preset characters, the electronic equipment can determine the corresponding text paragraphs from the text message according to the preset characters, and the sending times are identified from the text paragraphs.
Optionally, the processor 510 is specifically configured to, when the type of the session content to be sent is the same as the target sending type, use a preset sending time corresponding to the target sending type as the sending time.
In practical application, a user can set the sending times in advance for a certain sending type, and the electronic device can determine the sending times according to the sending type of the session content to be sent, so that the process that the user manually inputs the sending times can be avoided, the sending times can be determined quickly, and the sending efficiency is improved.
Optionally, the network module 502 is further configured to stop sending the session content to be sent to the target object when it is determined that the target object has read the session content to be sent.
In practical application, when the electronic device receives a read notification sent by a target object, it can be determined that a user to which the target object belongs already knows received session content to be sent, and the session content to be sent is already sent to the user in time, so that a reminding and emphasizing effect is achieved, and at the moment, the sending stop can reduce the sending times and reduce the power consumption of the electronic device.
Optionally, the session interface belongs to a plurality of target objects; the network module 502 is further configured to stop sending the session content to be sent when it is determined that the ratio of the target objects of the read session content to be sent to all the target objects is not lower than the preset ratio.
In practical application, the preset proportion corresponds to the proportion of users to be notified by the users, when the number of the target objects is larger than the preset proportion, the purpose of sending the conversation content to be sent for many times can be determined to be achieved, and at the moment, the sending is stopped, so that the sending times can be reduced, and the power consumption of the electronic equipment can be reduced.
It should be understood that, in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the information sending method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the information sending method, and the same technical effect can be achieved, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art 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 (which may be 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An information transmission method, comprising:
receiving conversation content to be sent input by a user based on a conversation interface of a target object;
determining the sending times of the session content to be sent according to the type or the included information of the session content to be sent;
sending the session content to be sent to the target object for N times according to the sending times, wherein N corresponds to the sending times;
the session content to be sent comprises multimedia data, and preset characters are added in the text information, so that the electronic equipment can conveniently obtain sending times from the text information according to the preset characters;
the determining the number of sending times of the session content to be sent according to the type of the session content to be sent or the included information includes:
acquiring character information included in the multimedia data;
under the condition that the text information comprises preset characters, determining text paragraphs corresponding to the preset characters from the text information;
identifying the sending times from the text paragraphs;
displaying the residual sending times of the conversation content to be sent;
receiving a second input of the remaining number of transmissions;
in response to a second input, the remaining number of transmissions is adjusted.
2. The method according to claim 1, wherein the determining the number of times of sending the session content to be sent according to the type or included information of the session content to be sent comprises:
and under the condition that the type of the session content to be sent is the same as a target sending type, taking preset sending times corresponding to the target sending type as the sending times.
3. The method according to any one of claims 1-2, wherein after said transmitting said session content to be transmitted to said target object N times according to said number of times of transmission, further comprising:
and under the condition that the target object is determined to have read the session content to be sent, stopping sending the session content to be sent to the target object.
4. The method according to any one of claims 1-2, wherein the conversational interface belongs to a plurality of the target objects; after the sending the session content to the target object N times according to the sending times, the method further includes:
and under the condition that the proportion of the target objects of the read conversation content to be sent in all the target objects is determined to be not lower than the preset proportion, stopping sending the conversation content to be sent.
5. An information transmission apparatus, comprising:
the receiving module is used for receiving the conversation content to be sent, which is input by a user, based on the conversation interface of the target object;
a determining module, configured to determine, according to the type of the session content to be sent or information included in the session content to be sent, the number of times of sending the session content to be sent;
a sending module, configured to send the session content to be sent to the target object N times according to the sending times, where N corresponds to the sending times;
the session content to be sent comprises multimedia data, and preset characters are added in the text information, so that the electronic equipment can conveniently obtain sending times from the text information according to the preset characters;
the determining module is specifically configured to obtain text information included in the multimedia data; under the condition that the text information comprises preset characters, determining text paragraphs corresponding to the preset characters from the text information; identifying the sending times from the text paragraphs, and displaying the remaining sending times of the session content to be sent; receiving a second input of the remaining number of transmissions; in response to a second input, the remaining number of transmissions is adjusted.
6. The apparatus of claim 5,
the determining module is specifically configured to use, as the sending times, preset sending times corresponding to a target sending type when the type of the session content to be sent is the same as the target sending type.
7. The apparatus according to any one of claims 5 to 6,
the sending module is further configured to stop sending the session content to be sent to the target object when it is determined that the target object has read the session content to be sent.
8. The apparatus according to any one of claims 5-6, wherein the conversational interface belongs to a plurality of the target objects;
the sending module is further configured to stop sending the session content to be sent when it is determined that the ratio of the target objects of the read session content to be sent to all the target objects is not lower than a preset ratio.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the information transmission method according to any one of claims 1-4.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the information transmission method according to any one of claims 1 to 4.
CN202110570346.5A 2021-05-24 2021-05-24 Information sending method, device, equipment and readable storage medium Active CN113300943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110570346.5A CN113300943B (en) 2021-05-24 2021-05-24 Information sending method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110570346.5A CN113300943B (en) 2021-05-24 2021-05-24 Information sending method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113300943A CN113300943A (en) 2021-08-24
CN113300943B true CN113300943B (en) 2023-04-18

Family

ID=77324724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110570346.5A Active CN113300943B (en) 2021-05-24 2021-05-24 Information sending method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113300943B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540402A (en) * 2017-03-02 2018-09-14 华为技术有限公司 A kind of method and apparatus of optimization queue time delay
CN109150741A (en) * 2018-08-10 2019-01-04 Oppo广东移动通信有限公司 File transmitting method, device, electronic equipment and storage medium
CN110034857A (en) * 2019-04-17 2019-07-19 广东三维家信息科技有限公司 Request the method, apparatus sent and electronic equipment
CN110691036A (en) * 2019-09-05 2020-01-14 视联动力信息技术股份有限公司 Data transmission method and device based on video network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791092A (en) * 2016-04-08 2016-07-20 东南大学 Sending method for determining notification message to be successfully understood and replying information and waiting reply method thereof
CN110830818A (en) * 2018-08-10 2020-02-21 北京松果电子有限公司 Video transmission method and device
CN109245867B (en) * 2018-08-14 2022-09-27 深圳壹账通智能科技有限公司 Message sending method, computer readable storage medium and terminal equipment
US20230361971A1 (en) * 2019-10-11 2023-11-09 Beijing Xiaomi Mobile Software Co., Ltd. Methods for transmitting or receiving data, terminal, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540402A (en) * 2017-03-02 2018-09-14 华为技术有限公司 A kind of method and apparatus of optimization queue time delay
CN109150741A (en) * 2018-08-10 2019-01-04 Oppo广东移动通信有限公司 File transmitting method, device, electronic equipment and storage medium
CN110034857A (en) * 2019-04-17 2019-07-19 广东三维家信息科技有限公司 Request the method, apparatus sent and electronic equipment
CN110691036A (en) * 2019-09-05 2020-01-14 视联动力信息技术股份有限公司 Data transmission method and device based on video network

Also Published As

Publication number Publication date
CN113300943A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN110431521B (en) Split screen display method and device and terminal
CN111010332A (en) Group chat method and electronic equipment
CN112306325B (en) Interaction control method and device
CN111984115A (en) Message sending method and device and electronic equipment
CN113364668B (en) Message reminding method and device and electronic equipment
CN113037924B (en) Voice transmission method, device, electronic equipment and readable storage medium
CN113285866B (en) Information sending method and device and electronic equipment
CN112511412B (en) Information sending method and device, electronic equipment and readable storage medium
CN111857504A (en) Information display method and device, electronic equipment and storage medium
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN112947807A (en) Display method and device and electronic equipment
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
WO2023024970A1 (en) Information processing method, related device, and readable storage medium
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN112711366A (en) Image generation method and device and electronic equipment
CN113504859A (en) Transmission method and device
CN115051965B (en) Method and device for controlling video playing, computing equipment and storage medium
CN112422735B (en) Information prompting method and device
CN112866092B (en) Group chat creation method and group chat creation device
CN113885746A (en) Message sending method and device and electronic equipment
CN113965614A (en) Session creation method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
WO2022253132A1 (en) Information display method and apparatus, and electronic device
WO2023046105A1 (en) Message sending method and apparatus and electronic device
CN113300943B (en) Information sending method, device, equipment and readable 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