Message sending method, message receiving method, device and electronic device

By detecting the specified actions to obtain and send messages, the problem of cumbersome message sending in instant messaging applications is solved, and fast and simple message delivery is achieved, suitable for message delivery between fixed objects.

CN112596604BActive Publication Date: 2025-01-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011449285.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-09
Publication Date
2025-01-17
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

The message sending process in existing instant messaging applications is complicated, and requires opening the application separately and selecting the receiving object. It is impossible to send messages quickly, especially not suitable for message delivery of fixed objects.

Method used

The message to be sent is obtained by detecting specified actions (such as taps or gestures) and directly sending it to the target object bound to the electronic device, simplifying the message sending process.

Benefits of technology

It realizes the rapid acquisition and sending of messages when a specified action is detected, simplifying the message delivery process and suitable for fast message delivery between fixed objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112596604B_ABST
    Figure CN112596604B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a message sending method, a message receiving method, an apparatus, an electronic device, and a storage medium. The message sending is applied to a first electronic device, and the message sending method includes: if a specified action is detected, obtaining a message to be sent; sending the message to be sent to a target object, and the target object is an object corresponding to a second electronic device bound to the first electronic device. Compared with the problem of the cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, the present method realizes that when a specified action is detected, the message to be sent can be quickly obtained directly according to the specified action, and then the message to be sent is directly sent to the target object corresponding to the bound second electronic device, thereby realizing fast and simple message delivery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and more specifically, to a message sending method, a message receiving method, a device, an electronic device, and a storage medium. Background Art

[0002] With the development of terminal devices and communication technology, users can send messages through various communication software. In related message sending technologies, it is necessary to open the corresponding application separately, and then select the recipient to send the message. For some simple message sending scenarios, this message sending method needs to be improved. Summary of the invention

[0003] In view of the above problems, the present application proposes a message sending method, a message receiving method, a device, an electronic device and a storage medium to improve the above problems.

[0004] In a first aspect, an embodiment of the present application provides a message sending method, which is applied to a first electronic device, and the method includes: if a specified action is detected, obtaining a message to be sent; sending the message to be sent to a target object, and the target object is an object corresponding to a second electronic device bound to the first electronic device.

[0005] In a second aspect, an embodiment of the present application provides a message receiving method, which is applied to a second electronic device, and the method includes: receiving a message to be sent, wherein the message to be sent is a message obtained by the first electronic device and sent to a target object after detecting a specified action, and the target object is an object corresponding to the second electronic device bound to the first electronic device; and displaying the message to be sent.

[0006] In the third aspect, an embodiment of the present application provides a message sending device, which runs on a first electronic device, and the device includes: a message acquisition module, which is used to obtain a message to be sent if a specified action is detected; a message sending module, which is used to send the message to be sent to a target object, and the target object is an object corresponding to a second electronic device bound to the first electronic device.

[0007] In a fourth aspect, an embodiment of the present application provides a message receiving device, which runs on a second electronic device, and the device includes: a message receiving module, which is used to receive a message to be sent, and the message to be sent is a message obtained by the first electronic device and sent to a target object after detecting a specified action, and the target object is an object corresponding to the second electronic device bound to the first electronic device; and a message display module, which is used to display the message to be sent.

[0008] In a fifth aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method of the first aspect or the second aspect above.

[0009] In a sixth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, wherein the method of the first aspect or the second aspect mentioned above is executed when the program code is run.

[0010] The present application provides a message sending method, a message receiving method, an apparatus, an electronic device, and a storage medium. If a specified action is detected, a message to be sent is obtained, and then the message to be sent is sent to a target object, and the target object is an object corresponding to a second electronic device bound to the first electronic device. Compared with the problem of the cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, the present method can quickly obtain the message to be sent according to the specified action when a specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, thereby realizing fast and simple message delivery. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 A schematic diagram of an application environment provided by an embodiment of the present application is shown.

[0013] Figure 2 A method flow chart of a message sending method proposed in an embodiment of the present application is shown.

[0014] Figure 3 A schematic diagram of the principle of determining a message to be sent according to the action position of a specified action provided in an embodiment of the present application is shown.

[0015] Figure 4 A method flow chart of a message sending method proposed in another embodiment of the present application is shown.

[0016] Figure 5 An example diagram is shown of respectively displaying messages to be sent in display modes corresponding to different action strengths of a specified action provided by this embodiment.

[0017] Figure 6 A method flow chart of a message sending method proposed in yet another embodiment of the present application is shown.

[0018] Figure 7 A schematic diagram of a setting page for a specified message sending function provided in an embodiment of the present application is shown.

[0019] Figure 8 A schematic diagram of a pop-up window prompting the usage permission of a specified message sending function provided in an embodiment of the present application is shown.

[0020] Fig. 9 An example diagram of binding prompt information provided in an embodiment of the present application is shown.

[0021] Fig.10 An example diagram of a binding request data acquisition page provided in an embodiment of the present application is shown.

[0022] Fig.11 Another example diagram of a binding request data acquisition page provided in an embodiment of the present application is shown.

[0023] Fig.12 An example diagram of a binding result prompt provided in an embodiment of the present application is shown.

[0024] Fig.13 An example diagram showing a second electronic device displaying a message to be sent provided by an embodiment of the present application is shown.

[0025] Fig.14 A method flow chart of a message sending method proposed in yet another embodiment of the present application is shown.

[0026] Fig.15 Shows Fig.14 Flow chart of the method of step S420 in .

[0027] Fig.16 Another example diagram showing the second electronic device displaying a message to be sent provided by an embodiment of the present application is shown.

[0028] Fig.17 A structural block diagram of a message sending device proposed in an embodiment of the present application is shown.

[0029] Fig.18 A structural block diagram of a message receiving device proposed in an embodiment of the present application is shown.

[0030] Fig.19 A structural block diagram of an electronic device of the present application for executing a message sending method or a message receiving method according to an embodiment of the present application is shown.

[0031] Fig. 20It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing a message sending method or a message receiving method according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] With the rapid development of Internet technology, various instant messaging applications have emerged. Users can use instant messaging applications to communicate in life, work, etc. The emergence of instant messaging applications has greatly facilitated people's communication.

[0034] However, the inventors found in their research that in the related methods of communicating through instant messaging applications, it is necessary to open the corresponding instant messaging application software separately, then select the user to receive the message, then obtain the information entered by the user, and then send the information to the user. The message sending process is relatively cumbersome, and messages cannot be sent quickly, and it is not suitable for quickly sending messages to fixed objects.

[0035] Therefore, in order to improve the above-mentioned problem, the inventor proposed the message sending method, message receiving method, device and electronic device provided in the present application, which can quickly obtain the message to be sent according to the specified action when a specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, thereby realizing fast and simple message transmission.

[0036] In order to facilitate the detailed description of the present application, the application environment involved in the message sending method and the message receiving method in the embodiments of the present application is first introduced in conjunction with the accompanying drawings.

[0037] See also Figure 1 , is a schematic diagram of an application environment provided by an embodiment of the present application, such as Figure 1 As shown, the application environment can be understood as a network system 10 provided in an embodiment of the present application. The network system 10 includes: a first electronic device 11, a server 12, and a second electronic device 13.

[0038] The server 12 may be a single server (network access server), a server cluster (cloud server) composed of several servers, or a cloud computing center (database server). The first electronic device 11 and the second electronic device 13 may be any device with communication and storage functions, including but not limited to PC (Personal Computer), PDA (tablet computer), smart TV, smart phone, smart wearable device or other smart communication device with network connection function.

[0039] Optionally, the first electronic device 11 and the second electronic device 13 are configured with the same message sending function, and the user can log in to the corresponding account and transmit the message through the message sending function. For example, after the user logs in to the account on the first electronic device 11, the user can send a message to the target object logged in on the second electronic device 13 through the message sending function of the first electronic device 11. Among them, the user account on the first electronic device 11 and the target user account on the second electronic device 13 have a binding relationship, so there is no need to select the message receiving object, and the message can be sent quickly.

[0040] It should be noted that the first electronic device 11 and the second electronic device 13 in this embodiment are relative, that is, the first electronic device 11 and the second electronic device 13 can both send and receive messages, and the message sending method and the message receiving method described in the following embodiments are both applicable to the first electronic device 11 and the second electronic device 13.

[0041] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0042] See also Figure 2 An embodiment of the present application provides a message sending method, which is applied to a first electronic device. This embodiment introduces the principle of the first electronic device sending a message. The method includes:

[0043] Step S110: If a specified action is detected, the message to be sent is obtained.

[0044] In this embodiment, the designated action may include a touch action acting on the first electronic device, for example, a tapping action, a slapping action or a slapping action (the location of the tapping / slapping / slapping may be the back shell / back cover of the electronic device, or may be the screen of the first electronic device, etc.); it may also include a gesture for controlling the first electronic device to send a message, for example, an air gesture (the air gesture may be used to control the triggering of a designated message sending function, and the value of the gesture distance from the screen or back cover (shell) of the first electronic device may be 10 mm, or other values), wherein the designated message sending function may be a function for quickly transmitting messages between fixed objects (which may be understood as couple users or family users).

[0045] As an implementation method, it is possible to detect whether a specified action exists. If the specified action is detected, the above-mentioned specified message sending function can be directly triggered to start, and the message to be sent can be obtained. Among them, the message to be sent can be pre-stored locally or on a server, that is, the message to be sent can be a message that does not require the user to edit. The content of the message to be sent can be unlimited. For example, the message to be sent can be animation, text, picture, voice, video or any combination of the above.

[0046] Optionally, different specified actions may correspond to different messages to be sent. In this way, the message to be sent may be obtained according to the parameters of the specified action. In this embodiment, the parameters of the specified action include at least one of the following parameters: the action position of the specified action, the action strength of the specified action, and the type of the specified action.

[0047] In one embodiment, taking the designated action as the back shell of the first electronic device as an example, optionally, if the designated action is located in the central area of ​​the back shell, the corresponding message to be sent may be an animation in the shape of a "heart", and if the designated action is located in an area outside the central area of ​​the back shell, the corresponding message to be sent may be "text" or "voice information". The back shell may be divided into a plurality of areas, each of which may be provided with a vibration sensor, and the minimum frequency of the signal collected by the vibration sensor may be lower than the frequency of the signal generated after the designated action is applied to the first electronic device. In this case, the area where the designated action is located may be determined by the frequency values ​​of the signals collected by the various vibration sensors. The central area of ​​the back shell may be a circular area formed by rotating the geometric center of the back shell around a certain radius.

[0048] For example, in a specific application scenario, see Figure 3 , which shows a schematic diagram of the principle of determining the message to be sent according to the action position of the specified action provided by the embodiment of the present application. Figure 3As shown in (a), the rear shell of the first electronic device 11 can be divided into four areas, namely, a first area, a second area, a third area and a fourth area. Figure 3 As shown in (b), the central area 14 of the first electronic device 11 is a circular area formed by rotating one circle with the geometric center O as the origin and d as the radius, wherein the size of d can be set according to actual conditions. Optionally, if the frequency detected by the vibration sensors in the second and third areas is higher than the frequency detected by the vibration sensors in the first and fourth areas, then it can be determined that the action position of the specified action is concentrated in the central area 14 of the first electronic device 11, and the message to be sent in this way can be an animation in the shape of a "heart". If the frequency detected by the vibration sensors in the second and third areas is lower than the frequency detected by the vibration sensors in the first and fourth areas, then it can be determined that the action position of the specified action is concentrated in an area outside the central area 14 of the first electronic device 11, and the message to be sent in this way can be a message such as "text", "picture" or "voice message".

[0049] Optionally, if the strength of the specified action is the first strength, the message to be sent can be an animation; if the strength of the specified action is the second strength, which is less than the first strength, the message to be sent can be text, that is, different strengths of the specified action correspond to different messages to be sent. Figure 3 The frequency values ​​of the vibration sensors in the various regions shown determine the strength of the specified action. Optionally, the greater the frequency value, the greater the corresponding strength.

[0050] Optionally, if the type of the specified action is "air operation", the corresponding message to be sent can be an animation in the shape of a "heart". If the type of the specified action is shaking, flipping, shaking, waving or shaking, the corresponding message to be sent can be "text", "picture" or "voice message" and other messages, that is, the type of the specified action is different, and the corresponding message to be sent can be different. Among them, whether the type of the specified action is "air operation" can be detected by related technologies such as structured light.

[0051] It should be noted that the messages to be sent corresponding to different parameters of the above-mentioned specified actions are only described as examples, and the types and contents of the messages to be sent corresponding to different parameters of the specified actions may be different, which are not limited here.

[0052] By obtaining the message to be sent according to the parameters of the specified action, there is no need to open the message sending window separately to enter the message, and there is no need to select the message to be sent from the commonly used message list, thereby simplifying the process of obtaining the message to be sent, so that the message can be sent quickly later.

[0053] Step S120: sending the message to be sent to a target object, where the target object is an object corresponding to the second electronic device bound to the first electronic device.

[0054] Among them, the target object is the login account of the second electronic device. Optionally, the second electronic device may correspond to one login account or multiple login accounts. If there is one login account, the target object may be the login account. If there are multiple login accounts, the target object may be the account with the highest login frequency among the multiple login accounts, or may be the account that logged in first.

[0055] Optionally, the first electronic device and the second electronic device may be bound in advance so that the login account on the first electronic device can directly communicate with the target object logged in on the second electronic device. When the message to be sent is obtained, the message to be sent can be directly sent to the target object without selecting the message receiving object before sending the message, thereby enabling fast sending of messages to fixed objects.

[0056] The present application provides a message sending method, which obtains a message to be sent when a specified action is detected, and then sends the message to be sent to a target object, where the target object is an object corresponding to a second electronic device bound to a first electronic device. Compared with the problem of a cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, the present method can quickly obtain the message to be sent according to the specified action when a specified action is detected, and then directly send the message to be sent to the target object corresponding to the bound second electronic device, without the need to select the message to be sent and the sending object, thereby simplifying the message sending process, thereby achieving fast and simple message delivery.

[0057] See also Figure 4 Another embodiment of the present application provides a message sending method, which is applied to a first electronic device. This embodiment introduces the principle of the first electronic device selecting a target object to receive a message to be sent. The method includes:

[0058] Step S210: If a specified action is detected, the message to be sent is obtained.

[0059] Step S220: acquiring a target object according to the parameters of the designated action, wherein the target object is an object corresponding to the second electronic device bound to the first electronic device.

[0060] In this embodiment, different designated actions may correspond to different target objects for receiving the message to be sent. In this manner, the target object for receiving the message to be sent may be obtained according to the parameters of the designated action. In this embodiment, the parameters of the designated action include at least one of the following parameters: the action position of the designated action, the action strength of the designated action, and the type of the designated action.

[0061] In one implementation, as described in the above embodiment, continuing to take the case where the designated action targets the back shell of the first electronic device as an example, optionally, if the designated action is located in the central area of ​​the back shell, then the corresponding target object for receiving the message to be sent may be another fixed object in a group of two people, for example, the fixed object may be the other party in a couple (or a married couple); if the designated action is located in an area other than the central area of ​​the back shell, then the corresponding target object for receiving the message to be sent may be other family members except the message sender. Exemplary, such as Figure 3 As shown, if the designated action position is the central area 14 of the back shell, then the corresponding target object for receiving the message to be sent can be the other party in the couple (or spouse); if the designated action position is an area outside the central area 14 of the back shell, then the corresponding target object for receiving the message to be sent can be other family members except the message sender.

[0062] By determining different message receiving objects according to different locations of the specified action, the interest of message sending can be enhanced, and the flexibility of message sending between fixed objects can be improved.

[0063] Optionally, if the strength of the specified action is the first strength, then the corresponding target object for receiving the message to be sent can be another fixed object in the group of two people; if the strength of the specified action is the second strength, which is less than the first strength, then the corresponding target object for receiving the message to be sent can be other family members except the message sender, that is, different strengths of the specified action may result in different target objects for receiving the message to be sent. By determining the target object for receiving the message to be sent according to the strength, the intimacy between a couple or a lover during the message sending process can be expressed.

[0064] In order to further reflect the intimacy of sending messages between fixed objects and to achieve rapid sending or receiving of messages, in another embodiment, the target object of the message to be sent and the target object receiving the message to be sent can be determined simultaneously according to the parameters of the specified action.

[0065] Exemplarily, taking the aforementioned example, if the specified action is applied at the center area of ​​the back shell, the message to be sent may be an animation in the shape of a "love heart", and the target object for receiving the message to be sent may be another fixed object in a group of two people; if the specified action is applied at an area other than the center area of ​​the back shell, the message to be sent may be "text" or "voice message", and the target object for receiving the message to be sent may be other family members except the sender of the message.

[0066] That is, the parameters of the specified action are different, the corresponding messages to be sent may be different, and the corresponding target objects to receive the messages to be sent may also be different, so that a specific message can be sent to a specific object by tapping a specific position on the back cover of a specific electronic device without entering or selecting the content of the message to be sent, nor is there a need to select the message recipient. This simplifies the message sending process, thereby increasing the speed of message sending and improving the user experience.

[0067] Step S230: Send the message to be sent to the target object.

[0068] Optionally, after sending the message to be sent to the target object, the first electronic device may also instruct the second electronic device to display the message to be sent in a display mode corresponding to the strength of the specified action. Different strengths of the specified action correspond to different display modes.

[0069] For example, in a specific application scenario, see Figure 5 , which shows an example diagram of displaying messages to be sent according to display modes corresponding to different action strengths of a specified action provided by this embodiment, such as Figure 5 (a) and 5(b) respectively represent example diagrams of the display of the message 15 to be sent by the second electronic device 13 when the force of the specified action is the first force and the second force, wherein the first force is greater than the second force. If the message 15 to be sent is an animation in the shape of a "love heart", then the display size of the message 15 to be sent corresponding to the first force may be greater than the display size of the message 15 to be sent corresponding to the second force, so as to express the intensity of sending private messages between lovers or couples (the higher the intensity, the closer the relationship).

[0070] Among them, the first electronic device can configure and store the correspondence between different forces of action of the specified action and different display modes, and send the correspondence to the second electronic device for storage. In this way, when the specified action is detected, the force of action of the specified action can be identified, and then in one implementation, the force of action of the specified action can be sent to the second electronic device while sending the message to be sent to the second electronic device, so that the second electronic device can identify the display mode of the message to be sent according to the force, and then display the message to be sent according to the display mode. Optionally, in another implementation, after the first electronic device identifies the force of action of the specified action, it can identify the display mode corresponding to the force, so that when sending the message to be displayed to the second electronic device, the display mode of the message to be sent can be directly sent to the second electronic device, so that the second electronic device can directly display the message to be sent according to the display mode.

[0071] In this embodiment, the display mode of the message to be sent may also be determined according to other parameters of the specified action, wherein different parameters of the specified action may correspond to different display modes.

[0072] A message sending method provided by an embodiment of the present application, by detecting a specified action, obtaining a message to be sent, then obtaining a target object according to the parameters of the specified action, and then sending the message to be sent to the target object, the target object being the object corresponding to the second electronic device bound to the first electronic device. Compared with the problem of the cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, this method can achieve that when a specified action is detected, the message to be sent can be quickly obtained directly according to the specified action, and then the message to be sent is directly sent to the target object corresponding to the bound second electronic device, without the need to select the message to be sent and the sending object, thereby simplifying the message sending process, thereby achieving fast and simple message delivery. At the same time, by instructing the second electronic device to display the message to be sent in a display mode corresponding to the strength of the specified action, the intensity of private message sending between lovers or couples can be expressed.

[0073] See also Figure 6 Another embodiment of the present application provides a message sending method, which is applied to a first electronic device. This embodiment introduces a binding process before the first electronic device detects a specified action. The method includes:

[0074] Step S310: If it is detected that the designated message sending function is enabled for the first time, a pop-up window prompting for permission is displayed.

[0075] In this embodiment, a designated message sending function can be configured in the first electronic device, and the user can set the on / off state of the designated message sending function through the system setting interface. Optionally, if it is detected that the designated message sending function is turned on for the first time, a permission prompt pop-up window can be displayed on the display screen of the first electronic device to prompt the user that the relevant permission needs to be granted before the function can be used normally.

[0076] In a specific application scenario, assuming that the designated action is "tap the back (i.e., the back shell of the first electronic device) twice", the user clicks the "tap the back twice" function setting bar to enter the following Figure 7 The specified message sending function shown (i.e. Figure 7 The user can click the selection button on the right side of the first message sending function to enter the first message sending function setting page as shown in FIG. Figure 8 The usage permission prompt pop-up page shown prompts the user to authorize the collection and use of network permissions when the first message sending function is used.

[0077] Step S320: If the permission data corresponding to the permission usage prompt pop-up window is obtained, a binding prompt message is displayed.

[0078] Optional, if the user clicks Figure 8 By clicking the "Agree and Use" button shown in the figure, it can be determined that the permission data corresponding to the permission prompt pop-up window is obtained. In this way, the following can be displayed: Fig. 9 The binding prompt information shown in the figure will prompt the user to bind the account. Fig. 9 Click the "Bind the other party's phone" button to jump to the following Fig.10 The binding request data acquisition page shown in the figure, optionally, this embodiment can realize the binding between different accounts through information such as telephone number or mobile phone number. Fig.10 As shown, the user may be prompted to enter the mobile phone number of the other party to be bound. If the user enters the mobile phone number "186********" and clicks the "Send Binding Request" button, a binding request may be sent to the second electronic device (eg, Fig.11 ), if the other party receives a response from the other party within the preset waiting time, that is, if the target object agrees to bind, then the first electronic device and the second electronic device can establish a binding relationship, and the first electronic device can display Fig.12 The binding success prompt message shown is displayed, thereby realizing fast message transmission between fixed objects. Among them, the value of the preset waiting time can be unlimited, for example, it can be Fig.12 The 120 seconds shown may also be other values. If no response is received from the other party within the preset waiting time, it is necessary to wait until the next preset waiting time and then resend the binding request to the second electronic device.

[0079] Step S330: If a specified action is detected, the message to be sent is obtained.

[0080] Step S340: Send the message to be sent to a target object, where the target object is an object corresponding to the second electronic device bound to the first electronic device.

[0081] Optionally, if the message to be sent is an animation in the shape of a "heart", after the login account of the first electronic device and the second electronic device is successfully bound, the first electronic device sends the message to be sent to the target object, and the second electronic device can display the message to be sent on any interface. Fig.13 As shown, a "heart" shaped animation is displayed on the main interface of the screen of the second electronic device.

[0082] Optionally, in some possible implementations, if the login accounts on the first electronic device and the second electronic device both send messages to each other by tapping the back shell, then the size of the "love heart" displayed on the electronic device of the party that taps the back shell first is smaller than the size of the "love heart" displayed on the electronic device of the party that taps the back shell later, indicating that the party who taps the back shell first misses the party who taps the back shell later more, wherein the size of the "love heart" displayed on the electronic device of the party that taps the back shell first represents the longing of the party who taps the back shell later, while the size of the "love heart" displayed on the electronic device of the party who taps the back shell later represents the longing of the party who taps the back shell first.

[0083] Optionally, if the login accounts on the first electronic device and the second electronic device simultaneously send messages to each other by tapping the back cover, the display sizes of the messages to be sent on the first electronic device and the second electronic device may be the same.

[0084] A message sending method provided in an embodiment of the present application can simplify the message sending process when sending messages by performing account binding in advance, thereby realizing fast and simple message delivery between specific objects. If a specified action is detected, the message to be sent is obtained, and then the message to be sent is sent to the target object, and the target object is the object corresponding to the second electronic device bound to the first electronic device. Compared with the problem of cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, this method can realize that when a specified action is detected, the message to be sent can be quickly obtained directly according to the specified action, and then the message to be sent is directly sent to the target object corresponding to the bound second electronic device, without the need to select the message to be sent and the sending object, thereby simplifying the message sending process, thereby realizing fast and simple message delivery.

[0085] See also Fig.14 Another embodiment of the present application provides a message receiving method, which is applied to a second electronic device. This embodiment introduces a process of the second electronic device receiving a message to be sent, and the method includes:

[0086] Step S410: receiving a message to be sent, wherein the message to be sent is a message obtained by the first electronic device and sent to a target object after detecting a specified action, wherein the target object is an object corresponding to the second electronic device bound to the first electronic device.

[0087] Step S420: Display the message to be sent.

[0088] For an introduction to the display principle and display style of the message to be displayed by the second electronic device, reference may be made to the description in the aforementioned embodiment, which will not be repeated here.

[0089] See also Fig.15 As one approach, step S420 may include:

[0090] Step S421: If the second electronic device is in a screen-off state, switch the screen-off state to a screen-on state;

[0091] As a method, if the second electronic device is in an off-screen state when receiving a message to be sent from the first electronic device, the off-screen state can be switched to a bright-screen state before the message to be sent is displayed. Optionally, the content or type of the message to be sent is different, and the brightness or color of the screen after switching to the bright-screen state can be different. For example, if the message to be sent comes from a message sent by a couple or the other party in a couple, the brightness of the screen can be higher, or the color can be a warm color (for example, pink, pink, etc.); and if the message to be sent comes from a family member, the brightness of the screen can be relatively low, or the color can be different colors such as orange, blue, etc.

[0092] Step S422: Display the message to be sent.

[0093] In a specific application scenario, if the target object of receiving the message to be sent can be other family members except the message sender, after the second electronic device switches from the off screen state to the on screen state, it can display the following information: Fig.16 The message to be displayed is shown, that is, the number of second electronic devices in this manner can be multiple, and the user can send messages to multiple second electronic devices at the same time through the first electronic device. Fig.16 The animated reminder messages such as "It's time to eat" shown can avoid calling family members to eat one by one, and also avoid the boredom of sending messages directly through the group, which increases the fun of message sending and improves the user experience.

[0094] A message receiving method provided in an embodiment of the present application receives a message to be sent, wherein the message to be sent is a message that a first electronic device obtains and sends to a target object after detecting a specified action, and the target object is an object corresponding to a second electronic device bound to the first electronic device. The message to be sent is then displayed, thereby realizing that the message to be sent can be quickly obtained and directly sent to the bound target object when the first electronic device detects a specified action. Since the message sending process does not require the selection of the message to be sent and the selection of the sending object, the message sending process is simplified, so that the message to be sent can be received more quickly, thereby realizing fast and simple message delivery.

[0095] See also Fig.17 , a message sending device 500 provided in an embodiment of the present application is run on a first electronic device, and the device 500 includes:

[0096] The message acquisition module 510 is used to acquire the message to be sent if a specified action is detected.

[0097] Optionally, the device 500 may also include a binding prompt function, which is used to display a usage permission prompt pop-up window if a specified action is detected and before obtaining the message to be sent, if it is detected that the specified message sending function is turned on for the first time; if the permission data corresponding to the usage permission prompt pop-up window is obtained, a binding prompt message is displayed.

[0098] Optionally, the binding prompt function can also be used to send a binding request to the second electronic device after displaying the binding prompt message; if the target object agrees to bind, a binding relationship is established with the second electronic device.

[0099] As a method, the message acquisition module 510 can be used to acquire the message to be sent according to the parameters of the specified action. Optionally, the parameters of the specified action in this embodiment can include at least one of the following parameters: the action position of the specified action; and the action strength of the specified action.

[0100] The message sending module 520 is used to send the message to be sent to a target object, where the target object is an object corresponding to the second electronic device bound to the first electronic device.

[0101] As a method, the message sending module 520 can be used to obtain a target object according to the parameters of the specified action; and send the message to be sent to the target object.

[0102] Optionally, the apparatus 500 may further include an instruction module, configured to instruct the second electronic device to display the message to be sent in a display style corresponding to the force of action.

[0103] See also Fig.18 , a message receiving device 600 provided in an embodiment of the present application is run on a second electronic device, and the device 600 includes:

[0104] The message receiving module 610 is used to receive a message to be sent, where the message to be sent is a message obtained by the first electronic device and sent to a target object after detecting a specified action. The target object is an object corresponding to the second electronic device bound to the first electronic device.

[0105] The message display module 620 is used to display the message to be sent.

[0106] Optionally, the message display module 620 can be used to switch the screen-off state to the screen-on state if the second electronic device is in the screen-off state; and display the message to be sent.

[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0108] In several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or modules, which may be electrical, mechanical or other forms.

[0109] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0110] See also Fig.19 Based on the above-mentioned message sending method, message receiving method and device, the embodiment of the present application also provides an electronic device 100 that can execute the above-mentioned message sending method and message receiving method. The electronic device 100 includes a memory 102 and one or more (only one is shown in the figure) processors 104 coupled to each other, and the memory 102 and the processor 104 are connected by a communication line. The memory 102 stores a program that can execute the content of the above-mentioned embodiment, and the processor 104 can execute the program stored in the memory 102.

[0111] Among them, the processor 104 may include one or more processing cores. The processor 104 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 104 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 104 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 104, but may be implemented separately through a communication chip.

[0112] The memory 102 may include a random access memory (RAM) or a read-only memory (ROM). The memory 102 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the aforementioned embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0113] Please refer to Fig. 20 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 700 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0114] The computer readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 that performs any method step of the above method. These program codes can be read from or written to one or more computer program products. The program code 710 can be compressed, for example, in an appropriate form.

[0115] In summary, the present application provides a message sending method, a message receiving method, an apparatus, an electronic device, and a storage medium, which obtains a message to be sent if a specified action is detected, and then sends the message to be sent to a target object, wherein the target object is an object corresponding to a second electronic device bound to the first electronic device. Compared with the problem of a cumbersome message sending process caused by the need to open a separate application and then send a message in the prior art, the present method realizes that when a specified action is detected, the message to be sent can be quickly obtained directly according to the specified action, and then the message to be sent is directly sent to the target object corresponding to the bound second electronic device, thereby realizing fast and simple message delivery.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical methods of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical methods described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical methods to deviate from the spirit and scope of the technical methods of the embodiments of the present application.

Claims

1. A message sending method, characterized in that: Applied to a first electronic device, the first electronic device is configured with a designated message sending function, the method includes: If a designated action is detected, a message to be sent is obtained, the designated action includes a touch action acting on the first electronic device, the action position of the designated action includes a back shell or a back cover of the electronic device, the designated action includes tapping the back shell or the back cover of the electronic device, the designated action is detected by a vibration sensor disposed on the back shell or the back cover, the message to be sent includes at least one of animation, text, picture, voice, and video, and different designated actions correspond to different messages to be sent; The message to be sent is sent to a target object, where the target object is an object corresponding to a second electronic device bound to the first electronic device, and different designated actions correspond to different target objects receiving the message to be sent.

2. The method according to claim 1, characterized in that The obtaining of the message to be sent includes: The message to be sent is obtained according to the parameters of the specified action.

3. The method according to claim 1 or 2, characterized in that: The sending the message to be sent to the target object includes: Obtaining a target object according to the parameters of the specified action; Send the message to be sent to the target object.

4. The method according to claim 3, characterized in that The parameters of the specified action include at least one of the following parameters: The action location of the specified action; and The intensity of the specified action.

5. The method according to claim 4, characterized in that The method further comprises: Instruct the second electronic device to display the message to be sent in a display style corresponding to the force of action.

6. The method according to claim 1, characterized in that If the specified action is detected, before obtaining the message to be sent, the method further includes: If it is detected that the specified message sending function is enabled for the first time, a pop-up window prompting for permission will be displayed; If the permission data corresponding to the usage permission prompt pop-up window is obtained, a binding prompt message is displayed.

7. The method according to claim 6, characterized in that After displaying the binding prompt message, the method further includes: Sending a binding request to the second electronic device; If the target object agrees to the binding, a binding relationship is established with the second electronic device.

8. A message receiving method, characterized in that: Applied to a second electronic device, the method includes: receiving a message to be sent, wherein the message to be sent is a message obtained by the first electronic device and sent to a target object when a specified action is detected, the target object is an object corresponding to the second electronic device bound to the first electronic device, different specified actions correspond to different target objects for receiving the message to be sent, the specified action includes a touch action acting on the first electronic device, the action position of the specified action includes a back shell or a back cover of the electronic device, the specified action includes tapping the back shell or the back cover of the electronic device, the specified action is detected by a vibration sensor provided on the back shell or the back cover, the message to be sent includes at least one of animation, text, picture, voice, and video, and different specified actions correspond to different messages to be sent; Displaying the message to be sent, wherein the displaying of the message to be sent includes: if the second electronic device is in a screen-off state, switching the screen-off state to a screen-on state; displaying the message to be sent, wherein the content or type of the message to be sent is different, and the display brightness or color of the screen is different after switching to the screen-on state.

9. A message sending device, characterized in that: The device is operated on a first electronic device, wherein the first electronic device is configured with a designated message sending function, and comprises: a message acquisition module, configured to acquire a message to be sent if a specified action is detected, wherein the specified action includes a touch action acting on the first electronic device, the action position of the specified action includes a back shell or a back cover of the electronic device, the specified action includes tapping the back shell or the back cover of the electronic device, the specified action is detected by a vibration sensor disposed on the back shell or the back cover, the message to be sent includes at least one of animation, text, picture, voice, and video, and different specified actions correspond to different messages to be sent; The message sending module is used to send the message to be sent to the target object, where the target object is the object corresponding to the second electronic device bound to the first electronic device, and different designated actions correspond to different target objects receiving the message to be sent.

10. A message receiving device, characterized in that: Running on a second electronic device, the device includes: a message receiving module, configured to receive a message to be sent, wherein the message to be sent is a message acquired by the first electronic device and sent to a target object when the first electronic device detects the existence of a specified action, wherein the target object is an object corresponding to the second electronic device bound to the first electronic device, and different specified actions correspond to different target objects for receiving the message to be sent, wherein the specified action includes a touch action acting on the first electronic device, wherein the action position of the specified action includes a back shell or a back cover of the electronic device, wherein the specified action includes knocking on the back shell or the back cover of the electronic device, wherein the specified action is detected by a vibration sensor disposed on the back shell or the back cover, wherein the message to be sent includes at least one of animation, text, picture, voice, and video, and wherein different specified actions correspond to different messages to be sent; A message display module is used to display the message to be sent, and the display of the message to be sent includes: if the second electronic device is in an off-screen state, switching the off-screen state to a bright-screen state; displaying the message to be sent, and the content or type of the message to be sent is different, and the display brightness or color of the screen is different after switching to the bright-screen state.

11. An electronic device, characterized in that: including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method of any one of claims 1-7 or 8.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 7 or 8 is executed.

Citation Information

Patent Citations

  • Method for information exchange and terminal equipment

    CN106775366A

  • Information transmission method and electronic equipment

    CN107145238A

  • Electronic device, falling prompting method and related products thereof

    CN108307072A