Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and intended to be illustrative of the present disclosure, and should not be construed as limiting the present disclosure.
The following describes a message emergency alert method, a device and an electronic device according to an embodiment of the present disclosure with reference to the drawings.
In view of the technical problem mentioned in the background art that the sender user cannot effectively remind the receiver user of timely replying to the relevant message, the present disclosure provides a new urgent reminding manner for the sent message, as shown in fig. 1, the urgent reminding manner in the present disclosure can effectively improve the replying speed of the receiver user to the relevant message, and improve the communication interaction efficiency of both communication parties.
Specifically, fig. 2 is a flowchart of a message urgent reminding method according to an embodiment of the present disclosure, and as shown in fig. 2, the method includes:
step 101, a first target sending user in a target message is determined.
Specifically, firstly, determining a target message to be replied, where the target message may be information of a specified receiving user including "@", and the like, and at this time, the target sending user information is a user name and the like following the specified identification such as "@", and of course, it may also be possible to identify a currently newly received message, perform keyword identification on the message, and when the message includes a user name or can be located to the corresponding receiving user information, determine it as the target message, and at this time, the identified user name or the corresponding receiving user information may be located as a first target sending user, for example, as for the message "mingmy you eat today", find the user name "mingmy" with respect to the keyword identification, thereby determining that the message is the target message, and "mingmy" is the corresponding first target sending user; the target message may also be a certain message designated by the sender user, for example, after the user a sends a message, the message is marked as the target message based on a preset triggering operation, and at this time, the corresponding target sending user information may be obtained based on semantic analysis of the message, for example, as shown in fig. 3, after the current sender user performs a long-time pressing operation on the sent message, a display of an emergency menu is triggered, and after the user selects the emergency menu, the message may be determined as the target message. The corresponding first target sending user can be determined according to semantic recognition and the like aiming at the target message.
And 102, acquiring an urgent sending instruction of the target message after the target message is sent.
After the target message is sent, the sending user sends an urgent sending instruction to the target message in order to quickly acquire the reply information of the target message, wherein the triggering time of the urgent sending instruction can be any time after the target message is sent, or the urgent sending instruction which is automatically sent to the target message after the reply information of the first target sending user is still not received after the preset time period of the target message sending.
In different application scenarios, the manner of obtaining the urgent sending instruction of the sender user for the target message is different, and as a possible implementation manner, with reference to fig. 3, when it is detected that the sender user performs a preset trigger operation (such as a long press operation) on the target message, it is considered that the corresponding urgent sending instruction is obtained; as another possible implementation manner, a voice urgent instruction or an action urgent instruction of the sender user is obtained, for example, an urgent sending instruction for the corresponding message is obtained when "the message that i last sent is urgent sent" sent by the sender user is obtained.
And 103, acquiring an emergency sending mode corresponding to the emergency sending instruction and a second target sending user, and sending the target message to the second target sending user according to the emergency sending mode.
Specifically, an urgent sending mode of the sending user for sending the urgent sending instruction and the selected second target sending user are obtained, and further, the target message is sent to the second target sending user according to the urgent sending mode.
The prompt sending mode comprises one or more of short message reminding, telephone call reminding and in-application prompt reminding, wherein the specific reminding mode of the prompt sending mode can only send reminding items to a target sending user, for example, send reminding messages such as 'you have an prompt message and please reply the message as soon as possible', and can also remind the content of the specific target message through the corresponding prompt sending mode, for example, remind the voice content corresponding to the target message through telephone call, for example, remind the text content of the target message through short message, and the like.
When the target message is sent in the telephone call reminding mode, in order to avoid leakage of telephone numbers of a sender of the target message and a second target sending user, an intermediate number can be acquired, and the telephone reminding is sent to the second target user based on the intermediate number. For example, as shown in fig. 7, an intermediate number, which may be named "LARK urgent message," sends a phone alert to the second target sending user.
In addition, in the actual execution process, the same urgent sending mode may be selected for all selected second target sending users at the same time for reminding, or different urgent sending modes may be selected for different second target sending users for reminding, or multiple urgent sending may be adopted for the same target message, the urgent sending mode and the second target sending user for each urgent sending may be different, or different or the same urgent sending mode may be adopted for different target messages respectively.
It should be emphasized that the second target sending user in the embodiment of the present disclosure may be the same as or different from the first target sending user, so as to flexibly meet the requirement of the sender user for prompt alert, for example, the first target sending user is all users in the current session scenario, the second target sending user may be only a certain user in the current session scenario, and the like.
In different application scenarios, the manner of acquiring the urgent transmission mode corresponding to the urgent transmission instruction is different from the manner of acquiring the second target transmission user, and the following example is given:
as a possible implementation manner, after the urgent sending instruction for the target message is obtained, an urgent operation interface for the target message is provided, wherein the urgent operation interface comprises at least one selectable urgent sending mode control and at least one selectable target sending user control, wherein each selectable expedited delivery control corresponds to one or more expedited delivery approaches and each selectable targeted delivery user control corresponds to a user, such that, in this example, a triggered target urgent sending manner control of the at least one selectable urgent sending manner control may be determined, and an urgent sending manner corresponding to the target urgent sending manner control may be determined, and then, determining at least one triggered target sending user control in the at least one selectable target sending user control, and determining a second target sending user corresponding to the at least one target sending user control.
For example, as shown in fig. 4, after an urgent sending instruction is obtained, an urgent sending operation interface is first displayed, circular controls (selectable target sending user controls) corresponding to all users in a current session scene are displayed in the operation interface, when a sender user clicks the circular control in front of the corresponding user, the circular controls are displayed in a number-matching highlight mode to indicate the corresponding user as a second target sending user, further, as shown in fig. 5 (only one second target sending user is shown in the figure), an urgent operation interface including the selectable urgent sending mode controls is displayed, wherein the selectable urgent sending mode controls in the urgent operation interface include "only in-application", "application + short message", "application + telephone", and when the sender user selects the "application + short message" control, the space is highlighted (shown in grey in the figure), the second target sending user not only receives a short message prompt as shown in fig. 6, a phone call alert is also received as shown in fig. 7, where the phone call alert interface may also include an icon or the like for the originating conversation application for the targeted message. The urgent reminding mode ensures that the user who is not in the conversation interface can receive the reminding message at present, and has higher validity.
As shown in fig. 8-a, after the sender user has sent the corresponding message urgently, a sending notification of the target message, such as the content of the target message, the urgent sending method of the target message, and the like, may be displayed in the form of a floating window on an interface on the electronic device of the second target sending user, so that the second target sending user can quickly know that the sender user is urgent, and thus the second target sending user is intuitively prompted. With continued reference to fig. 8-a, before the sender user confirms, the floating window is always displayed on the upper layer of the operating system, and is not displayed on the interface where the conversation scene is located. Alternatively, as shown in fig. 8-B, the sending notification of the target message may be displayed to the second target sending user in a special style banner manner on the same interface.
When the urgent sending mode determined by the sending user is the in-application reminder, as shown in fig. 9, the corresponding target message is highlighted by the lightning urgent reminder identifier in the application, so that the second target sending user can reply to the corresponding target message as soon as possible.
As another possible implementation manner, the urgent sending instruction includes an urgent sending method and second target sending user information, and the corresponding urgent sending method and second target sending user information can be acquired based on semantic recognition of the urgent sending instruction, for example, when the urgent sending instruction is a voice instruction: and if the user reminds the wai-wai telephone, the second target sending user is identified as the wai-wai telephone, and the emergency reminding mode is telephone reminding.
In an actual execution process, in order to ensure that the second target sending user can reply to the corresponding message in time, the target message may be sent to the second target sending user in an urgent sending manner based on a preset sending period, for example, a reminding short message is sent to the second target sending user every 10 seconds.
Of course, the target message may also be sent to the second target user continuously in an urgent sending manner, for example, continuously dialing a phone call for reminding, always displaying the short message on the upper layer of the system, and the like.
Further, in this embodiment, after the target message is sent to the second target sending user, it is detected whether the second target sending user sends a confirmation message for the target message sent according to the urgent sending method, for example, whether the second target sending user answers a reminding call or directly replies to the corresponding target message in the session scene, if the second target sending user confirms, the sending of the target message in the urgent way is stopped, and in order to facilitate the second target sending user to know the specific content of the corresponding target message in time, as shown in fig. 9, after the second target sending user confirms the urgent reminding, the conversation interface of the second target sending user is positioned to the target message position for display. After the second target sending user does not reply or confirms the corresponding target message, the target message is always sent in an urgent mode, for example, a popup window of a reminding short message is always displayed or a reminding telephone is always received, and the second target sending user is ensured not to forget to reply the target message.
In an embodiment of the present disclosure, in order to further improve user experience, after the second target sending user confirms or replies to the corresponding target message, a receipt notification may also be fed back to the sending user, for example, as shown in fig. 10, a successful feedback information of the target message may be fed back to the sending user in a short message manner, where the information includes a web page link address corresponding to the emergency operation interface, sending time of the target message, information of the second target user, and the like. In addition, referring to fig. 11, in the read list of the target message, a user avatar of the second target sending user may be labeled with a prompt identifier, so as to visually show the current reading state of the second target sending user on the target message for the sending user. And when the second target sends the target message unread by the user, the head portrait of the second target sending user is in the unread user list. In order to more fully describe the message urgency notification method according to the embodiment of the present disclosure, the following example is performed in combination with a specific application scenario, in the following example, a target message is a message a, a message sender is a, and both a first target sending user and a second target sending user are message receivers b, which is described as follows:
as shown in fig. 12, after a first sends a message a, the message a is displayed on a session interface of a second in a general message reminding manner in an APP, in order to prompt a user b to reply to a corresponding message quickly, the user a sends an urgent sending instruction to the a to set the message a as urgent sending, and selects the user b as a target sending user, further selects an urgent sending manner "in APP reminding (in-application reminding)", "short message reminding", and "telephone reminding", so that the message a is reminded to the user b in an in-application urgent reminding manner, a short message reminding manner, and a telephone call reminding manner according to the urgent sending manner, the user b always reminds the user b in an urgent manner before confirming receipt of the urgent reminding, and after the user b confirms receipt of the urgent reminding, on the one hand, a receipt confirmation message is generated for the message a, and the receipt message is fed back to the user a, the message A is marked when the user B is positioned at the conversation position of the message A in the application, so that the user A can visually see the change of the reading state when the message A is changed into the reading state.
In summary, the message urgency prompting method according to the embodiment of the present disclosure determines a first target sending user in a target message, obtains an urgency sending instruction for the target message after the target message is sent, further obtains an urgency sending mode corresponding to the urgency sending instruction and a second target sending user, and sends the target message to the second target sending user according to the urgency sending mode. Therefore, the message can be received by a designated user, and the communication interaction efficiency is ensured.
In order to implement the above embodiment, the present disclosure further provides a message urgency notification apparatus.
Fig. 13 is a schematic structural diagram of a message urgency notification apparatus according to an embodiment of the present disclosure, and as shown in fig. 13, the apparatus includes: the system comprises a determining module 10, a first obtaining module 20, a second obtaining module 30 and an urgent sending module 40, wherein the determining module 10 is used for determining a target sending user in a target message.
The first obtaining module 20 is configured to obtain an urgent sending instruction for the target message after the target message is sent.
And a second obtaining module 30, configured to obtain an urgent sending mode and a second target sending user corresponding to the urgent sending instruction.
And the urgent sending module 40 is configured to send the target message to the second target sending user according to an urgent sending manner.
In one embodiment of the present disclosure, as shown in fig. 14, on the basis of that shown in fig. 13, the apparatus further includes: a module 50 is provided and the second obtaining module 30 comprises a first determining unit 31 and a second determining unit 32, wherein,
the providing module 50 provides an urgent operation interface for the target message, where the urgent operation interface includes at least one selectable urgent sending mode control and at least one selectable target sending user control, where each selectable urgent sending control corresponds to one or more urgent sending modes, and each selectable target sending user control corresponds to one user.
The first determining unit 31 is configured to determine a triggered target urgent sending method control of the at least one selectable urgent sending method control, and determine an urgent sending method corresponding to the target urgent sending method control.
A second determining unit 32, configured to determine at least one triggered target sending user control of the at least one selectable target sending user control, and determine a second target sending user corresponding to the at least one target sending user control.
It should be noted that the explanation of the message urgency prompting method is also applicable to the message urgency prompting device of the embodiment, and is not repeated here.
In summary, the message urgency notification apparatus according to the embodiment of the present disclosure determines a first target sending user in a target message, acquires an urgency sending instruction for the target message after the target message is sent, further acquires an urgency sending method and a second target sending user corresponding to the urgency sending instruction, and sends the target message to the second target sending user according to the urgency sending method. Therefore, the message can be received by a designated user, and the communication interaction efficiency is ensured.
In order to implement the above embodiments, the present disclosure also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor, and the instructions are configured to perform the message urgency notification method proposed by the above embodiments.
Referring now to FIG. 15, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 15 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 15, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 1101 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1102 or a program loaded from a storage means 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the electronic device are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
Generally, the following devices may be connected to the I/O interface 1105: input devices 1106 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1107 including, for example, Liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices 1108, including, for example, magnetic tape, hard disk, etc.; and a communication device 1109. The communication means 1109 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 15 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. The computer program, when executed by the processing device 1101, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
determining a first target sending user in a target message;
after the target message is sent, acquiring an urgent sending instruction of the target message;
and acquiring an emergency sending mode corresponding to the emergency sending instruction and a second target sending user, and sending the target message to the second target sending user according to the emergency sending mode.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining a first target sending user in a target message;
after the target message is sent, acquiring an urgent sending instruction of the target message;
and acquiring an emergency sending mode corresponding to the emergency sending instruction and a second target sending user, and sending the target message to the second target sending user according to the emergency sending mode.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
In order to achieve the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the message urgency notification method provided by the above embodiments of the present disclosure.
Fig. 16 is a schematic diagram illustrating a non-transitory computer-readable storage medium according to an embodiment of the present disclosure. As shown in fig. 16, a non-transitory computer readable storage medium 1000 according to an embodiment of the disclosure has stored thereon computer instructions 1001. When the computer instructions 1001 are executed by a processor, all or part of the steps of the message urgency notification method of the embodiments of the present disclosure described above are performed.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a non-transitory storage medium, such as a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM), and so on, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solutions of the present disclosure, not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.