Message output method and device and computer equipment

By converting messages into vibration sequences and using vibration devices for information transmission, the inefficiency of voice and text communication in special environments is solved, enabling rapid and covert communication in quiet environments.

CN121728052APending Publication Date: 2026-03-24ZHENSHI INFORMATION TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-26
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing voice calls and voice messaging are not suitable for quiet environments, while text messaging is not user-friendly for those with limited literacy, resulting in low communication efficiency.

Method used

By receiving messages and determining an output pattern that matches the environment, the messages are converted into vibration sequences, and information is transmitted using vibration devices, supporting rapid and covert communication in quiet environments.

Benefits of technology

It enables users to quickly receive message content in special environments without having to look at the screen or answer voice calls, ensuring the speed and confidentiality of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121728052A_ABST
    Figure CN121728052A_ABST
Patent Text Reader

Abstract

The invention relates to a message output method and device and computer equipment. The method comprises the following steps: receiving a target message sent by a message sending end; in response to the target message, determining a target output mode matched with the current environment of the message receiving end; in response to the fact that the target output mode is a vibration mode, converting the target message into a corresponding target vibration sequence; and controlling a vibration device of the message receiving end to vibrate based on the target vibration sequence. By adopting the method, the user corresponding to the message receiving end can receive the message content sent by the message sending end by feeling the vibration of the message receiving end without checking the screen of the message receiving end or answering the voice content in a special environment (such as a quiet environment or a noisy environment), so that the user experience is improved. And rapid and hidden information transmission in a special environment can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a message output method and device and computer equipment. BACKGROUND

[0002] In the field of communication technology, various communication parties can communicate through various communication modes, such as voice call communication, voice message communication, text message communication, etc.

[0003] However, the communication mode based on voice call communication and voice message communication is not suitable for use in a quiet environment and may result in unclear voice content in a noisy environment; the communication mode based on text message communication is not limited in a quiet environment and a noisy environment, but is not friendly to users with limited literacy (such as children) and has low communication efficiency.

[0004] Therefore, how to realize fast and covert communication in a special environment is a problem worth attention. SUMMARY

[0005] Therefore, it is necessary to provide a message output method, device, computer equipment, computer readable storage medium and computer program product capable of fast and covert communication in a special environment.

[0006] In a first aspect, the present application provides a message output method, comprising:

[0007] receiving a target message sent by a message sending end;

[0008] determining a target output mode matching a current environment of the message receiving end in response to the target message;

[0009] converting the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode;

[0010] controlling a vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0011] In one embodiment, converting the target message into the corresponding target vibration sequence comprises: extracting semantic information of message content contained in the target message; encoding the semantic information to obtain the target vibration sequence.

[0012] In one embodiment, encoding the semantic information to obtain the target vibration sequence comprises: determining a feedback urgency degree corresponding to the semantic information; determining a vibration parameter corresponding to the semantic information according to the feedback urgency degree; and generating the target vibration sequence according to the vibration parameter.

[0013] In one of the embodiments, after the vibration device of the message receiving end is controlled to vibrate based on the target vibration sequence, the method further comprises: receiving a touch response message for the target message; and sending the touch response message to the message sending end.

[0014] In one of the embodiments, sending the touch response message to the message sending end comprises: determining a response intention of the touch response message; generating a target response message matching the response intention; and sending the target response message to the message sending end.

[0015] In one of the embodiments, after the touch response message for the target message is received, the method further comprises: generating a confirmation message of the touch response message; and controlling the message receiving end to output the confirmation message.

[0016] In one of the embodiments, controlling the message receiving end to output the confirmation message comprises: obtaining environmental data collected by an environmental sensor in the message receiving end; identifying an environmental type of an environment in which the message receiving end is currently located according to the environmental data; and controlling the message receiving end to output the confirmation message in a message output mode matching the environmental type.

[0017] In one of the embodiments, controlling the message receiving end to output the confirmation message in the message output mode matching the environmental type comprises: in response to the environmental type being a quiet environmental type, controlling the message receiving end to output the confirmation message in a vibration mode; and in response to the environmental type being a noisy environmental type, controlling the message receiving end to output the confirmation message in a composite mode, the composite mode comprising the vibration mode and a voice mode.

[0018] In a second aspect, the present application further provides a message output device, comprising:

[0019] a first receiving module configured to receive a target message sent by a message sending end;

[0020] a determining module configured to determine a target output mode matching an environment in which a message receiving end is currently located in response to the target message;

[0021] a converting module configured to convert the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode;

[0022] a control module configured to control a vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0023] In a third aspect, the present application further provides a computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0024] receiving a target message sent by a message sending end;

[0025] determining a target output mode matching the current environment of the message receiving end in response to the target message;

[0026] converting the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode;

[0027] controlling a vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0028] In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the following steps:

[0029] receiving a target message sent by a message sending end;

[0030] determining a target output mode matching the current environment of the message receiving end in response to the target message;

[0031] converting the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode;

[0032] controlling a vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0033] In a fifth aspect, the present application provides a computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the following steps:

[0034] receiving a target message sent by a message sending end;

[0035] determining a target output mode matching the current environment of the message receiving end in response to the target message;

[0036] converting the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode;

[0037] controlling a vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0038] The message output method, device, computer device, computer readable storage medium and computer program product can, after receiving the target message sent by the message sending end, in the case that it is determined that the target output mode matching the current environment of the message receiving end is the vibration mode, output the message by converting the target message into a corresponding target vibration sequence and controlling the vibration device of the message receiving end to vibrate according to the target vibration sequence, so that the second user corresponding to the message receiving end can receive the message content sent by the message sending end by feeling the vibration of the message receiving end without checking the screen of the message receiving end or listening to the voice content in a special environment (such as a quiet environment or a noisy environment), and thus, fast and covert information transmission in a special environment can be realized. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0040] Figure 1 An application environment diagram of the message output method in an embodiment;

[0041] Figure 2 A flowchart of the message output method in an embodiment;

[0042] Figure 3 A flowchart of the target message conversion step in an embodiment;

[0043] Figure 4 A flowchart of the semantic information encoding step in an embodiment;

[0044] Figure 5 A flowchart of the message output method in another embodiment;

[0045] Figure 6 A flowchart of the message output method in another embodiment;

[0046] Figure 7 A flowchart of the target output mode determination step in an embodiment;

[0047] Figure 8 A flowchart of the message output method in another embodiment;

[0048] Figure 9 A flowchart of the message output method in another embodiment;

[0049] Figure 10 This is a structural block diagram of a message output device in one embodiment;

[0050] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0052] The message output method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or located in the cloud or on other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Terminal 102 can include a message receiver and a message sender. The message receiver and message sender can communicate through server 104. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0053] In one exemplary embodiment, such as Figure 2 As shown, a message output method is provided, which can be applied to... Figure 1 The following explanation will be based on the message receiving end in the example.

[0054] S210, Receive the target message sent by the message sender.

[0055] Optionally, the target message can be at least one type of message, such as voice, text, or image.

[0056] In one optional embodiment, the target message may include a message selected from at least one preset message stored by the message sender. Correspondingly, the target message selected by the first user corresponding to the message sender from at least one preset message stored by the message sender may be received. Alternatively, the target message selected by the first user corresponding to the message sender from at least one preset message recommended by the message sender, and which matches the custom message, may be received after the first user edits a custom message on the message sender. Here, the at least one preset message recommended by the message sender can be understood as a preset message that matches the custom message, determined by the message sender based on the semantics of the custom message.

[0057] In one optional embodiment, the target message may include a user-defined message. Accordingly, the target message defined by the first user corresponding to the message sender can be received.

[0058] In some embodiments, the message sender can send the target message to the server. The message receiver can receive the target message sent by the server to the message receiver.

[0059] S220, in response to the target message, determines the target output mode that matches the current environment of the message receiver.

[0060] The target output mode can be understood as the message output mode used to output the target message.

[0061] Optionally, the message output mode may include at least one of the following: vibration mode, text mode, voice mode, and composite mode; wherein, the composite mode may include at least two of vibration mode, voice mode, and text mode. Vibration mode can be understood as a mode in which the message is output via vibration through the vibration device of the message receiver; text mode can be understood as a mode in which the message is displayed via the display device of the message receiver; and voice mode can be understood as a mode in which the message is read aloud via the voice broadcasting device of the message receiver.

[0062] It is understandable that the message output mode is matched to the environment of the message receiver. The environment of the message receiver can correspond to at least one message output mode.

[0063] As an example, when the environment in which the message receiver is located is quiet, the message output mode can be at least one of vibration mode and text mode. As another example, when the environment in which the message receiver is located is noisy, the message output mode can be at least one of vibration mode, voice mode, and a hybrid mode.

[0064] In one optional embodiment, the matching relationship between the message output mode and the environment of the message receiver can be preset. In some embodiments, the current environment of the message receiver can be determined; based on the current environment of the message receiver and the matching relationship between the message output mode and the environment of the message receiver, a target output mode that matches the current environment of the message receiver can be determined.

[0065] In one optional embodiment, a target output pattern matching the current environment of the message receiver can be determined based on a pre-trained output pattern matching model. The output pattern matching model can be implemented based on a traditional machine learning model or a deep learning model; this application does not limit the specific network structure of the output pattern matching model. In one optional embodiment, the output pattern matching model can be trained as follows: obtaining the sample environment of the message receiver; obtaining the sample output pattern corresponding to the sample environment; using the sample environment and the corresponding sample output pattern as training samples, adjusting the network parameters of the pre-built output pattern matching model until the training cutoff condition is met. The training cutoff condition may include at least one of the following: the number of training samples reaches a preset threshold, the number of model training iterations reaches a preset threshold, the model accuracy reaches a preset accuracy threshold, and the model tends to converge. The preset number threshold, preset number threshold, and preset accuracy threshold can be set or adjusted by those skilled in the art based on their needs or experience, or determined through extensive experimentation; this application does not limit this in any way.

[0066] S230, in response to the target output mode being vibration mode, converts the target message into the corresponding target vibration sequence.

[0067] The target vibration sequence can be understood as a set of at least one vibration signal corresponding to the target message.

[0068] It is understandable that when the target output mode is vibration mode, the target message can be output in the form of vibration so that the second user corresponding to the message receiving end can receive the target message.

[0069] S240 controls the vibration device at the message receiving end to vibrate based on the target vibration sequence.

[0070] In some embodiments, the message receiver can send a vibration control command containing the target vibration sequence to the vibration device according to the target vibration sequence, so as to control the vibration device of the message receiver to vibrate according to the target vibration sequence.

[0071] It is understandable that after the message receiving end controls the vibration device of the message receiving end to vibrate, the second user corresponding to the message receiving end can receive the message content of the first user corresponding to the message sending end based on the target vibration sequence sensed and the message content corresponding to the pre-agreed target vibration sequence, thereby realizing the rapid and covert acquisition of messages in special environments (such as quiet environments).

[0072] In the above message output method, after receiving the target message sent by the message sender, if the target output mode that matches the current environment of the message receiver is determined to be vibration mode, the target message is converted into a corresponding target vibration sequence, and the vibration device of the message receiver is controlled to vibrate according to the target vibration sequence to output the message. This allows the second user corresponding to the message receiver to receive the message content sent by the message sender in special environments (such as quiet or noisy environments) without having to look at the screen of the message receiver or listen to the voice content, simply by feeling the vibration of the message receiver. In this way, fast and covert information transmission can be achieved in special environments.

[0073] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the target message conversion step of S230 is refined. In this optional embodiment, the target message conversion step may include: encoding the target message according to the correspondence between each preset message and the vibration sequence to obtain the target vibration sequence.

[0074] The target message may include a message selected by the first user corresponding to the message sender from at least one preset message stored on the message sender.

[0075] In some embodiments, the correspondence between each preset message and the vibration sequence can be maintained in advance. This correspondence can be stored at the message receiving end. Alternatively, in some embodiments, the pre-maintained correspondence between each preset message and the vibration sequence can also be stored at the message receiving end.

[0076] In some embodiments, the correspondence between each preset message and the vibration sequence can be stored in tabular form. For example, the correspondence between each preset message and the vibration sequence can be shown in Table 1.

[0077] Table 1

[0078]

[0079] For example, when the first user at the message sending end selects "Security Confirmation? Please Reply" as the target message to send to the message receiving end, the message receiving end can determine the target vibration sequence corresponding to "Security Confirmation? Please Reply" as "· — ·" according to the vibration sequence corresponding to each preset message in Table 1 above, and then encode the target message according to the target vibration sequence, converting "Security Confirmation? Please Reply" into "· — ·".

[0080] Understandably, in practice, the correspondence between preset messages and vibration sequences can be created and updated based on the communication needs of the first user corresponding to the message sender and the second user corresponding to the message receiver. For example, the user can update the message content of the preset messages and / or the corresponding vibration sequences. In some embodiments, the updated correspondence can be synchronized between the message sender and the message receiver.

[0081] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the target message conversion step of S230 is refined.

[0082] See Figure 3 The target message transformation steps shown include:

[0083] S310, Extract the semantic information of the message content contained in the target message.

[0084] Semantic information can be understood as the meaning expressed by the message content contained in the target message. Optionally, the semantic information can be the same as the message content contained in the target message. Alternatively, the semantic information can be different from the message content contained in the target message.

[0085] In some embodiments, keywords can be extracted from the message content contained in the target message; based on the extracted keywords, the semantic information corresponding to the target message can be determined.

[0086] S320 encodes the semantic information to obtain the target vibration sequence.

[0087] In some embodiments, the correspondence between preset semantic information and vibration sequences can be maintained in advance. This correspondence can be stored at the message receiving end. Alternatively, in some embodiments, the pre-maintained correspondence between preset semantic information and vibration sequences can also be stored at the message receiving end.

[0088] In some embodiments, the correspondence between each preset semantic information and the vibration sequence can be stored in tabular form. For example, the correspondence between each preset semantic information and the vibration sequence can be shown in Table 2.

[0089] Table 2

[0090]

[0091] For example, when the target message sent by the message sender is "come back quickly", the message receiver can extract the semantic information of the message content contained in the target message. The obtained semantic information can be "go home immediately". Then, according to the vibration sequence corresponding to each preset semantic information in Table 1 above, the target vibration sequence corresponding to "go home immediately" is determined to be "· —·". Then, according to the target vibration sequence, the semantic information is encoded to convert "go home immediately" into "— —".

[0092] Understandably, in practice, the correspondence between preset semantic information and vibration sequences can be created and updated based on the communication needs of the first user corresponding to the message sender and the second user corresponding to the message receiver. For example, the user can update the preset semantic information and / or the corresponding vibration sequences. In some embodiments, the updated correspondence can be synchronized between the message sender and the message receiver.

[0093] In this embodiment, by extracting the semantic information of the message content contained in the target message and encoding the semantic information, a target vibration sequence is obtained. On the one hand, the communication intent of the target message can be accurately identified and the target message can be accurately transformed. On the other hand, a unified target vibration sequence can be obtained when the message content contained in the target message is different but the semantic information is the same. This breaks the limitation that the message sender must send a preset message and improves the flexibility of target message transformation.

[0094] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the semantic information encoding step of S320 is refined.

[0095] See Figure 4 The semantic information encoding steps shown include:

[0096] S410, determine the urgency of the feedback corresponding to the semantic information.

[0097] The urgency of feedback can be understood as the degree of urgency by which the first user at the message sending end expects the second user at the message receiving end to provide feedback on the target message. For example, the urgency of feedback can include at least one of the following: strong, slight, or moderate. It is understood that strong urgency is greater than slight urgency, and slight urgency is greater than moderate urgency.

[0098] In one optional embodiment, the urgency level of the response corresponding to the target message can be determined based on semantic information. For example, if the semantic information is "Security confirmation? Reply immediately", the urgency level of the response corresponding to the target message can be determined to be strong. If the semantic information is "Security confirmation? Reply after receipt", the urgency level of the response corresponding to the target message can be determined to be slight.

[0099] In an optional embodiment, the receiving frequency of the target message can be obtained; based on the feedback urgency corresponding to the target receiving frequency range to which the receiving frequency belongs and at least one preset receiving frequency range, the feedback urgency corresponding to the semantic information can be determined.

[0100] S420 determines the vibration parameters corresponding to the semantic information based on the urgency of the feedback.

[0101] The vibration parameters may include at least one of the following: vibration type, vibration intensity, vibration time interval, etc.

[0102] The vibration type can be understood as a combination of fundamental vibrations corresponding to at least one vibration duration. A fundamental vibration can be understood as a single continuous vibration. Fundamental vibrations can include long vibrations or short vibrations. The duration of a short vibration is shorter than the duration of a long vibration. For example, vibration types can include long-long vibration, short-long vibration, and so on.

[0103] Vibration intensity can be understood as the degree of intensity of vibration.

[0104] The vibration time interval can be understood as the time interval between adjacent foundation vibrations. For example, in a long-term vibration-long-term vibration pattern, the vibration time interval can be understood as the time interval between two long-term vibrations.

[0105] In an optional embodiment, the vibration parameters can be refined into vibration types. Determining the vibration parameters corresponding to the semantic information based on the urgency of the feedback may include: determining the target vibration type corresponding to the semantic information based on the urgency of the feedback.

[0106] It is understandable that, given the same semantic information, different levels of urgency in the feedback can correspond to different vibration types. For example, when the semantic information is "going home," if the level of urgency in the feedback is strong, the target vibration type corresponding to the semantic information can be determined to be long vibration-long vibration; if the level of urgency in the feedback is slight, the target vibration type corresponding to the semantic information can be determined to be short vibration-short vibration.

[0107] In an optional embodiment, the vibration parameters can be refined into vibration type and vibration intensity. Determining the vibration parameters corresponding to the semantic information based on the urgency of feedback may include: determining the target vibration type corresponding to the semantic information; and determining the vibration intensity of the target vibration type based on the urgency of feedback.

[0108] It is understandable that, given the same semantic information, the corresponding target vibration type can be the same. Furthermore, given the same target vibration type, different levels of feedback urgency can correspond to different vibration intensities.

[0109] For example, when the semantic information is "going home", the corresponding target vibration type can be long vibration-long vibration; if the feedback urgency is strong urgency, the vibration intensity of the target vibration type can be determined to be enhanced; if the feedback urgency is slight urgency, the vibration intensity of the target vibration type can be determined to be normal.

[0110] S430 generates the target vibration sequence based on the vibration parameters.

[0111] In practice, a target vibration sequence corresponding to semantic information can be generated based on vibration parameters.

[0112] In this embodiment, by determining the vibration parameters corresponding to the semantic information based on the urgency of the feedback, the semantic information can be accurately encoded, thus laying the foundation for the subsequent accurate output of the target message.

[0113] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the above message output method is further refined.

[0114] See Figure 5 The message output method shown, after executing S240, also includes:

[0115] S250 receives a touch response message for the target message.

[0116] The touch response message can be understood as the response message generated by the second user corresponding to the message receiver after the message receiver performs a touch operation on the target message.

[0117] Optionally, the touch response message may include a response message generated by touching the screen. Alternatively, the touch response message may include a response message generated after a key press is performed at the message receiving end.

[0118] In an optional embodiment, the touch gesture of the second user corresponding to the message receiver on the screen of the message receiver is obtained; based on the touch gesture, a touch response message corresponding to the touch gesture is determined.

[0119] For example, the message receiving end can determine the touch response message corresponding to the touch gesture as "received, secure" based on the second user's double-tap touch gesture on the screen.

[0120] S260 sends a touch response message to the message sender.

[0121] In some embodiments, a touch response message can be sent as a response message to the message sender. The touch response message sent to the message sender can be in the form of voice, text, or other similar messages.

[0122] In some embodiments, the response intent of the touch response message can be determined; a target response message matching the response intent can be generated; and the target response message can be sent to the message sender.

[0123] It is understandable that the target response message sent to the message sender is a response message that matches the response intent of the touch response message; that is, the target response message sent to the message sender can be different from the touch response message. For example, if the touch response message is "Received, safe," it can be determined that the response intent of the touch response message is to reassure the first user corresponding to the message sender. Therefore, a target response message matching the response intent can be generated, such as "Don't worry," and sent to the message sender as a "Don't worry" target response message.

[0124] In this embodiment, by sending a touch response message to the message sender, it is possible to respond to the target message by touch in special environments (such as quiet environments), thus completing a complete, silent, and fast communication loop.

[0125] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the above message output method is further refined.

[0126] See Figure 6 The message output method shown, after executing S250, also includes:

[0127] S270, generate an acknowledgment message for the touch response message.

[0128] The confirmation message can be understood as a message used to verify and confirm the touch response message.

[0129] S280, the control message receiver outputs an acknowledgment message.

[0130] In some embodiments, the confirmation message can be output in any message output method. For example, the confirmation message can be output in the default message output method or in the message output method selected by the user.

[0131] In some embodiments, an acknowledgment message may be output in a message output manner that matches the current environment of the message receiver.

[0132] In an optional embodiment, environmental data collected by environmental sensors in the message receiver can be acquired; based on the environmental data, the environmental type of the current environment in which the message receiver is located can be identified; and the message receiver can be controlled to output an acknowledgment message according to a message output method that matches the environmental type.

[0133] The environmental sensors may include at least one of the following deployed in the message receiving end: a microphone, a light sensor, a motion sensor, a clock, etc.

[0134] The environmental data may include at least one of the following: ambient sound data, ambient light data, motion data, and time data. Ambient sound data may include at least one type of data, such as the average decibel level and spectral characteristics of ambient sound. Ambient light data may include ambient light intensity data. Motion data may include at least one type of data, such as the duration and distance of movement of the second user corresponding to the message receiver. Time data may include time data within the current time period.

[0135] For example, ambient sound data can be acquired through a microphone deployed in the message receiver; ambient light data can be acquired through a light sensor deployed in the message receiver; motion data can be acquired through a motion sensor deployed in the message receiver; and time data can be acquired through a clock deployed in the message receiver.

[0136] The environment type can include at least one of the following: quiet environment type, noisy environment type, and normal environment type.

[0137] For example, quiet environment types may include libraries, classrooms, etc. Operational environments may include shopping malls, playgrounds, etc. Regular environment types may include homes, outdoors, etc.

[0138] In some embodiments, the environment type of the message receiver can be determined based on the numerical range to which each environmental data belongs and the environment type corresponding to each numerical range.

[0139] For example, if the average decibel level is less than a first decibel threshold and the motion data is less than a first motion distance threshold, the environment type of the message receiver is determined to be a quiet environment; if the average decibel level is greater than a second decibel threshold and the motion data is greater than a second motion distance threshold, the environment type of the message receiver is determined to be a noisy environment. Wherein, the second decibel threshold is greater than the first decibel threshold; and the second motion distance threshold is greater than the first motion distance threshold.

[0140] In some embodiments, an environment type matching the current environment of the message receiver can be determined based on a pre-trained environment type recognition model and environmental data of the current environment of the message receiver. The environment type recognition can be implemented based on traditional machine learning models or deep learning models, and this application does not limit the specific network structure of the environment type recognition model. In an optional embodiment, the environment type recognition model can be trained as follows: obtaining the sample environment of the message receiver; obtaining the sample environment type corresponding to the sample environment; using the sample environment and the corresponding sample environment type as training samples, adjusting the network parameters of the pre-built environment type recognition model until the training cutoff condition is met. The training cutoff condition may include at least one of the following: the number of training samples reaches a preset threshold, the number of iterations of model training reaches a preset threshold, the model accuracy reaches a preset accuracy threshold, and the model tends to converge. The preset thresholds for the number of training samples, the preset number of iterations, and the preset accuracy threshold can be set or adjusted by those skilled in the art based on their needs or experience, or determined through extensive experimentation; this application does not limit this in any way.

[0141] In some embodiments, in response to an environment type of quiet environment, the message receiver can be controlled to output an acknowledgment message according to the vibration mode.

[0142] In response to a noisy environment, the message receiver can be controlled to output an acknowledgment message in a composite mode; the composite mode includes a vibration mode and a voice mode. For example, in a noisy environment, the message receiver can be controlled to output an acknowledgment message in a strong vibration and noise-reduced voice mode.

[0143] In response to an environment type of "normal environment", the message receiver can be controlled to output an acknowledgment message according to the voice mode. For example, in the case of an environment type of "normal environment", the message receiver can be controlled to output an acknowledgment message according to the standard voice mode.

[0144] In this embodiment, by controlling the message receiving end to output confirmation messages according to the message output method that matches the environment type, it can be ensured that the second user corresponding to the message receiving end can accurately and quickly perceive the confirmation messages, thereby realizing timely verification and identification of touch response messages.

[0145] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the target output mode determination step in S220 is refined.

[0146] See Figure 7 The steps for determining the target output mode shown include:

[0147] S710 acquires environmental data collected by environmental sensors in the message receiving end.

[0148] The steps for obtaining environmental data can be referred to in the previous text, and will not be repeated here.

[0149] S720 identifies the environment type of the current environment of the message receiver based on environmental data.

[0150] The steps for identifying environment types can be referred to in the previous text, and will not be repeated here.

[0151] S730 determines the target output pattern that matches the environment type.

[0152] In some embodiments, determining a target output mode that matches the environment type may include: determining a vibration mode in response to a quiet environment type; determining a composite mode in response to a noisy environment type; the composite mode including a vibration mode and a voice mode; and determining a voice mode in response to a normal environment type.

[0153] In this embodiment, by identifying the environment type of the current environment of the message receiver and determining the target output mode that matches the environment type, the target message can be output according to the corresponding target output mode for different environment types. This ensures that users can receive the target message in a timely manner in various environments and improves communication efficiency.

[0154] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the above message output method is described in detail.

[0155] See Figure 8 The message output methods shown include:

[0156] S801 receives the target message sent by the message sender.

[0157] S802, in response to a target message, determines a target output mode that matches the current environment of the message receiver.

[0158] S803, in response to the target output mode being vibration mode, extracts the semantic information of the message content contained in the target message.

[0159] S804, determine the urgency of the feedback corresponding to the semantic information.

[0160] S805 determines the vibration parameters corresponding to the semantic information based on the urgency of the feedback.

[0161] S806 generates the target vibration sequence based on the vibration parameters.

[0162] S807 controls the vibration device at the message receiving end to vibrate based on the target vibration sequence.

[0163] S808 receives a touch response message for the target message.

[0164] S809, determine the response intent of the touch response message.

[0165] S810 generates a target response message that matches the response intent.

[0166] S811 sends the target response message to the message sender.

[0167] S812, generate a confirmation message for the touch response message.

[0168] S813, acquires environmental data collected by environmental sensors in the message receiving end.

[0169] S814 identifies the environment type of the current environment of the message receiver based on environmental data.

[0170] S815 controls the message receiver to output an acknowledgment message according to the message output method that matches the environment type.

[0171] In some embodiments, in response to a quiet environment, the message receiver outputs an acknowledgment message according to the vibration mode; in response to a noisy environment, the message receiver outputs an acknowledgment message according to the composite mode; the composite mode includes a vibration mode and a voice mode; in response to a normal environment, the message receiver outputs an acknowledgment message according to the voice mode.

[0172] Based on the technical solutions of the above embodiments, this application also provides another optional embodiment, in which the above message output method is described in detail. In this message output method, the message sending end can be a parent's device, and the message receiving end can be a child's smartwatch.

[0173] See Figure 9 In the message output method shown, the parent device initiates communication with the child's smartwatch through the target application (APP) deployed on the parent device. Upon receiving the target message sent by the parent device, the child's smartwatch obtains environmental data collected by the environmental sensors in the child's smartwatch; based on the environmental data, it identifies the environmental type of the current environment of the child's smartwatch; and determines the output mode that matches the environmental type.

[0174] In quiet environments (such as classrooms or libraries), it is recommended to switch to vibration mode. The children's smartwatch can convert the target message into a corresponding vibration sequence. Based on the vibration sequence, the children's smartwatch controls the vibration device to vibrate, allowing children to understand the meaning through perceptual interaction. Children can perform preset touch gestures on the children's smartwatch screen (such as double-tapping the screen). The children's smartwatch sends a response message (such as a confirmation of "safety") to the parent's device based on the preset touch gesture. The parent's device receives the response message, enabling communication between the child and the parent.

[0175] In noisy environments (such as playgrounds or shopping malls), it is recommended to switch to a strong vibration and noise-canceling voice mode. The child's smartwatch will then make calls with strong vibration or send noise-canceling voice messages to alert the child with a strong vibration or ringtone. The child can answer or reply normally, and the parent's device will receive confirmation, enabling communication between the child and parent.

[0176] If the current environment is a standard environment (such as indoors or outdoors), it is recommended to switch to standard communication mode. The child's smartwatch will then perform standard voice calls, allowing the child to perceive vibrations or ringtones as alerts. The child can answer or reply normally, and the parent's device will receive confirmation, enabling communication between the child and parent.

[0177] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0178] Based on the same inventive concept, this application also provides a message output device for implementing the message output method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more message output device embodiments provided below can be found in the limitations of the message output method described above, and will not be repeated here.

[0179] In one exemplary embodiment, such as Figure 10As shown, a message output device is provided, including: a first receiving module 1010, a determining module 1020, a conversion module 1030, and a control module 1040, wherein:

[0180] The first receiving module 1010 is used to receive the target message sent by the message sending end;

[0181] The determination module 1020 is used to determine the target output mode that matches the current environment of the message receiver in response to the target message;

[0182] The conversion module 1030 is used to convert the target message into a corresponding target vibration sequence in response to the target output mode being vibration mode.

[0183] The control module 1040 is used to control the vibration device of the message receiving end to vibrate based on the target vibration sequence.

[0184] In one embodiment, the first receiving module 1010 includes: an extraction unit for extracting semantic information of the message content contained in the target message; and an encoding unit for encoding the semantic information to obtain a target vibration sequence.

[0185] In one embodiment, the encoding unit is specifically configured to: determine the feedback urgency level corresponding to the semantic information; determine the vibration parameters corresponding to the semantic information based on the feedback urgency level; and generate a target vibration sequence based on the vibration parameters.

[0186] In one embodiment, after controlling the vibration device of the message receiving end to vibrate based on the target vibration sequence, the device further includes: a second receiving module for receiving a touch response message for the target message; and a sending module for sending the touch response message to the message sending end.

[0187] In one embodiment, the sending module includes: a determining unit, configured to determine the response intent of the touch response message; generate a target response message that matches the response intent; and a sending unit, configured to send the target response message to a message sending end.

[0188] In one embodiment, after receiving a touch response message for a target message, the device further includes: a generation module for generating an acknowledgment message for the touch response message; and an output module for controlling the message receiving end to output the acknowledgment message.

[0189] In one embodiment, the output module includes: an acquisition unit for acquiring environmental data collected by an environmental sensor in the message receiver; an identification unit for identifying the environmental type of the current environment of the message receiver based on the environmental data; and an output unit for controlling the message receiver to output an acknowledgment message according to a message output method that matches the environmental type.

[0190] In one embodiment, the output unit is specifically configured to: control the message receiver to output an acknowledgment message according to a vibration mode in response to an environment type of quiet environment; and control the message receiver to output an acknowledgment message according to a composite mode in response to an environment type of noisy environment; the composite mode includes a vibration mode and a voice mode.

[0191] Each module in the aforementioned message output device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0192] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a message output method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0193] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0194] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the message output method provided in any of the above embodiments.

[0195] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the message output method provided in any of the above embodiments.

[0196] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the message output method provided in any of the above embodiments.

[0197] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0198] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0199] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0200] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A message output method, characterized in that, The method includes: Receive the target message sent by the message sender; In response to the target message, determine a target output mode that matches the current environment of the message receiver; In response to the target output mode being a vibration mode, the target message is converted into a corresponding target vibration sequence; Based on the target vibration sequence, the vibration device of the message receiving end is controlled to vibrate.

2. The method according to claim 1, characterized in that, The step of converting the target message into a corresponding target vibration sequence includes: Extract the semantic information of the message content contained in the target message; The semantic information is encoded to obtain the target vibration sequence.

3. The method according to claim 2, characterized in that, Encoding the semantic information to obtain the target vibration sequence includes: Determine the urgency of the feedback corresponding to the semantic information; Based on the urgency of the feedback, determine the vibration parameters corresponding to the semantic information; The target vibration sequence is generated based on the vibration parameters.

4. The method according to any one of claims 1-3, characterized in that, After controlling the vibration device of the message receiving end to vibrate based on the target vibration sequence, the method further includes: Receive a touch response message in response to the target message; Send the touch response message to the message sending end.

5. The method according to claim 4, characterized in that, Sending the touch response message to the message sending end includes: Determine the response intent of the touch response message; Generate a target response message that matches the stated response intent; Send the target response message to the message sender.

6. The method according to claim 4, characterized in that, After receiving a touch response message for the target message, the method further includes: Generate a confirmation message for the touch response message; Control the message receiving end to output the confirmation message.

7. The method according to claim 6, characterized in that, The control of the message receiving end to output the confirmation message includes: Obtain environmental data collected by the environmental sensors in the message receiving end; Based on the environmental data, identify the environment type of the current environment of the message receiver; The message receiving end is controlled to output the confirmation message according to the message output method that matches the environment type.

8. The method according to claim 7, characterized in that, The step of controlling the message receiving end to output the confirmation message according to the message output method matching the environment type includes: In response to the environment type being a quiet environment type, the message receiving end is controlled to output the confirmation message according to the vibration mode; In response to the environment type being a noisy environment type, the message receiving end is controlled to output the confirmation message according to the composite mode; the composite mode includes the vibration mode and the voice mode.

9. A message output device, characterized in that, The device includes: The first receiving module is used to receive the target message sent by the message sender. The determination module is used to determine a target output mode that matches the current environment of the message receiver in response to the target message; The conversion module is used to convert the target message into a corresponding target vibration sequence in response to the target output mode being a vibration mode; The control module is used to control the vibration device of the message receiving end to vibrate based on the target vibration sequence.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.