技术领域technical field
本公开涉及计算机技术,尤其涉及一种应急通信方法、装置和设备。The present disclosure relates to computer technology, and in particular to an emergency communication method, device and equipment.
背景技术Background technique
目前,智能的终端设备,例如:智能手机普及率越来越高,为了提高个人的安全感,大多数的终端设备都设计了紧急联系的方式,以便用户在感觉危险或者紧急情况下可以快速与联系人联络,以手机为例,具体方式是:在手机中预设紧急联系人的联系方式,并且设置好自动发送信息的内容,在用户长按或者组合按键(预先设置的触发发送短信的方式)时,手机自动发送预设的信息,或者拨通紧急联系人的电话,但是该种方式下操作比较复杂,并且在手机没有信号的地方则不能使用。At present, intelligent terminal devices, such as smart phones, are becoming more and more popular. In order to improve personal security, most terminal devices are designed with emergency contact methods, so that users can quickly communicate with them in case of danger or emergency. Contacting with a contact, taking a mobile phone as an example, the specific method is: preset the contact information of the emergency contact in the mobile phone, and set the content of the automatic sending message, after the user presses a long press or a combination of buttons (the preset method of triggering the sending of a text message) ), the mobile phone will automatically send preset information, or call the emergency contact, but the operation in this mode is more complicated, and it cannot be used in places where the mobile phone has no signal.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种应急通信方法、装置和设备。In order to overcome the problems existing in related technologies, the present disclosure provides an emergency communication method, device and equipment.
根据本公开实施例的第一方面,提供一种应急通信方法,包括:According to a first aspect of an embodiment of the present disclosure, an emergency communication method is provided, including:
检测用户输入的信息中是否包含预设的关键词;Detect whether the information entered by the user contains preset keywords;
若所述信息中包括所述关键词,则与预先设置的紧急联系人进行通信。If the information includes the keyword, communicate with a preset emergency contact.
可选的,所述信息为用户通过任意界面输入的任意信息。Optionally, the information is any information input by the user through any interface.
该应用通信方法需要处理用户从任意界面输入的所有的信息,无论是语音、文字还是数字等其他信息,都需要与预设的关键词去匹配,如果用户输入的信息中存在关键词,则需要和紧急联系人进行通信,在用户需要帮助或者紧急情况下,能够迅速的联系到紧急联系人,避免了再紧急情况下使用组合操作等复杂操作,提高用户体验。This application communication method needs to process all the information input by the user from any interface. Whether it is voice, text or numbers and other information, it needs to be matched with the preset keywords. If there are keywords in the information input by the user, it needs to Communicate with the emergency contact, and when the user needs help or in an emergency, the emergency contact can be quickly contacted, avoiding complex operations such as combined operations in an emergency, and improving user experience.
可选的,所述与预先设置的紧急联系人进行通信,包括:Optionally, the communicating with preset emergency contacts includes:
显示提示信息;所述提示信息用于提示用户选择是否与所述紧急联系人进行通信;displaying prompt information; the prompt information is used to prompt the user to choose whether to communicate with the emergency contact;
若检测到确认通信用户指令,则与所述紧急联系人进行通信。If a confirmation communication user instruction is detected, then communicate with the emergency contact.
可选的,所述与预先设置的紧急联系人进行通信,包括:Optionally, the communicating with preset emergency contacts includes:
向所述紧急联系人发送预设的求助信息;或者,Send a pre-set help message to said emergency contact; or,
向所述紧急联系人发起通话请求。A call request is initiated to the emergency contact.
可选的,所述向所述紧急联系人发起通话请求之后,所述方法还包括:Optionally, after the call request is initiated to the emergency contact, the method further includes:
若检测到与所述紧急联系人的通话请求被接受,则将本地播放功能关闭;If it is detected that the call request with the emergency contact is accepted, the local playback function is turned off;
采集本地的音频并发送给所述紧急联系人的终端设备。Collect local audio and send it to the terminal device of the emergency contact.
可选的,所述向所述紧急联系人发送预设的求助信息包括:Optionally, the sending preset help-seeking information to the emergency contact includes:
通过蜂窝移动通信网络向所述紧急联系人发送所述求助信息;或者,sending the help-seeking information to the emergency contact via a cellular mobile communication network; or,
通过无线局域网向所述紧急联系人发送所述求助信息。Sending the help-seeking information to the emergency contact via a wireless local area network.
可选的,所述向所述紧急联系人发起通话请求,包括:Optionally, the initiating a call request to the emergency contact includes:
通过蜂窝移动通信网络向所述紧急联系人发起通话请求;或者,Initiate a call request to the emergency contact via a cellular mobile communication network; or,
通过无线局域网向所述紧急联系人发起网络通话请求。Initiate a network call request to the emergency contact through the wireless local area network.
进一步地,所述检测用户输入的信息中是否包含预设的关键词之前,所述方法还包括:Further, before detecting whether the information input by the user contains preset keywords, the method further includes:
根据获取到的联系人设置指令,将与所述联系人设置指令对应的联系人设置为所述紧急联系人;所述紧急联系人包括至少一个联系人。According to the acquired contact setting instruction, the contact corresponding to the contact setting instruction is set as the emergency contact; the emergency contact includes at least one contact.
进一步地,所述检测用户输入的信息中是否包含预设的关键词之前,所述方法还包括:Further, before detecting whether the information input by the user contains preset keywords, the method further includes:
根据获取到的求助信息设置指令,将用户输入的与所述求助信息设置指令对应的信息设置为所述求助信息。According to the acquired help-seeking information setting instruction, information input by the user corresponding to the help-seeking information setting instruction is set as the help-seeking information.
上述方案中提供的了通过检测用户在任一界面输入的信息是否包括预设关键词,如果信息中存在关键词,则与紧急联系人联系,可以是通过无线网或者蜂窝网发起通话,也可以是通过无线网或者蜂窝网发送消息给紧急联系人,不仅避免使用组合按键等时操作复杂的问题,还可以在蜂窝网信号较弱的时候,通过无线网进行通讯,进一步提高紧急通讯的效率。并且更进一步的,可以在语音通话时候,关闭本地的扬声器,只向对端传输本端的语音信息,进一步提高安全性和用户体验。The above scheme provides that by detecting whether the information entered by the user on any interface includes preset keywords, if there are keywords in the information, then contact the emergency contact, which can be initiated through a wireless network or a cellular network, or it can be Sending a message to an emergency contact through a wireless network or a cellular network not only avoids the complicated operation when using a combination of buttons, but also communicates through a wireless network when the cellular network signal is weak, further improving the efficiency of emergency communication. And further, during a voice call, the local speaker can be turned off, and only the voice information of the local end is transmitted to the opposite end, further improving security and user experience.
根据本公开实施例的第二方面,提供一种应急通信装置,包括:According to a second aspect of an embodiment of the present disclosure, an emergency communication device is provided, including:
检测模块,被配置为检测用户输入的信息中是否包含预设的关键词;A detection module configured to detect whether the information input by the user contains preset keywords;
通信处理模块,被配置为若所述检测模块检测出所述信息中包括所述关键词,则与预先设置的紧急联系人进行通信。The communication processing module is configured to communicate with a preset emergency contact if the detection module detects that the information includes the keyword.
可选的,所述检测模块检测的所述信息为用户通过任意界面输入的任意信息。Optionally, the information detected by the detection module is any information input by the user through any interface.
可选的,所述通信处理模块包括:Optionally, the communication processing module includes:
显示子模块,被配置为显示提示信息;所述提示信息用于提示用户选择是否与所述紧急联系人进行通信;The display submodule is configured to display prompt information; the prompt information is used to prompt the user to choose whether to communicate with the emergency contact;
通信子模块,被配置为若检测到确认通信用户指令,则与所述紧急联系人进行通信。The communication submodule is configured to communicate with the emergency contact if a confirmation communication user instruction is detected.
可选的,所述通信处理模块包括:Optionally, the communication processing module includes:
第一发送子模块,被配置为向所述紧急联系人发送预设的求助信息;或者,The first sending submodule is configured to send preset help-seeking information to the emergency contact; or,
第二发送子模块,被配置为向所述紧急联系人发起通话请求。The second sending submodule is configured to initiate a call request to the emergency contact.
可选的,所述通信处理模块还包括:Optionally, the communication processing module further includes:
处理子模块,被配置为若检测到与所述紧急联系人的通话请求被接受,则将本地播放功能关闭;The processing submodule is configured to close the local playback function if it is detected that the call request with the emergency contact is accepted;
采集子模块,被配置为采集本地的音频;The collection sub-module is configured to collect local audio;
第三发送子模块,被配置为将所述采集子模块采集的本地的音频发送给所述紧急联系人的终端设备。The third sending submodule is configured to send the local audio collected by the collection submodule to the terminal device of the emergency contact.
可选的,所述第一发送子模块包括:Optionally, the first sending submodule includes:
第一发送单元,被配置为通过蜂窝移动通信网络向所述紧急联系人发送所述求助信息;或者,The first sending unit is configured to send the help-seeking information to the emergency contact through a cellular mobile communication network; or,
第二发送单元,被配置为通过无线局域网向所述紧急联系人发送所述求助信息。The second sending unit is configured to send the help-seeking information to the emergency contact through a wireless local area network.
可选的,所述第二发送子模块包括:Optionally, the second sending submodule includes:
第三发送单元,被配置为通过蜂窝移动通信网络向所述紧急联系人发起通话请求;或者,The third sending unit is configured to initiate a call request to the emergency contact through the cellular mobile communication network; or,
第四发送单元,被配置为通过无线局域网向所述紧急联系人发起网络通话请求。The fourth sending unit is configured to initiate a network call request to the emergency contact through the wireless local area network.
可选的,所述装置还包括:Optionally, the device also includes:
第一处理模块,被配置为根据获取到的联系人设置指令,将与所述联系人设置指令对应的联系人设置为所述紧急联系人;所述紧急联系人包括至少一个联系人。The first processing module is configured to, according to the acquired contact setting instruction, set a contact corresponding to the contact setting instruction as the emergency contact; the emergency contact includes at least one contact.
可选的,所述装置还包括:Optionally, the device also includes:
第二处理模块,被配置为根据获取到的求助信息设置指令,将用户输入的与所述求助信息设置指令对应的信息设置为所述求助信息。The second processing module is configured to, according to the acquired help-seeking information setting instruction, set information input by a user corresponding to the help-seeking information setting instruction as the help-seeking information.
根据本公开实施例的第三方面,提供一种终端设备,包括:被配置为控制可执行指令执行的处理器、被配置为存储处理器可执行指令的存储器以及用于收发消息的收发器;According to a third aspect of an embodiment of the present disclosure, there is provided a terminal device, including: a processor configured to control execution of executable instructions, a memory configured to store processor-executable instructions, and a transceiver for sending and receiving messages;
所述处理器被配置为:The processor is configured to:
检测用户输入的信息中是否包含预设的关键词;Detect whether the information entered by the user contains preset keywords;
若所述信息中包括所述关键词,则通过所述收发器与预先设置的紧急联系人进行通信。If the information includes the keyword, communicate with a preset emergency contact through the transceiver.
本发明提供的应急通信方法、装置和设备,通过实时获取用户输入的信息,并检测该信息中是否包括有预先设置的关键词,如果有则与预设的紧急联系人进行通信,在用户需要帮助或者紧急情况下,能够迅速的联系到紧急联系人,避免了再紧急情况下使用组合操作等复杂操作,提高用户体验。The emergency communication method, device and equipment provided by the present invention obtain the information input by the user in real time, and detect whether the information includes a preset keyword, and if so, communicate with the preset emergency contact, and when the user needs In case of help or emergency, the emergency contact can be quickly contacted, avoiding complex operations such as combined operations in emergency situations, and improving user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种应急通信方法实施例一的流程图。Fig. 1 is a flow chart of Embodiment 1 of an emergency communication method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种应急通信方法实施例二的流程图。Fig. 2 is a flow chart of Embodiment 2 of an emergency communication method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种应急通信方法实施例三的流程图。Fig. 3 is a flow chart of Embodiment 3 of an emergency communication method according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种应急通信装置实施例一的框图。Fig. 4 is a block diagram of Embodiment 1 of an emergency communication device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种应急通信装置实施例二的框图。Fig. 5 is a block diagram of Embodiment 2 of an emergency communication device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种应急通信装置实施例三的框图。Fig. 6 is a block diagram of Embodiment 3 of an emergency communication device according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种应急通信装置实施例四的框图。Fig. 7 is a block diagram of Embodiment 4 of an emergency communication device according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种应急通信装置实施例五的框图。Fig. 8 is a block diagram of Embodiment 5 of an emergency communication device according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种应急通信装置实施例六的框图。Fig. 9 is a block diagram of Embodiment 6 of an emergency communication device according to an exemplary embodiment.
图10是根据一示例性实施例示出的一种应急通信装置实施例七的框图。Fig. 10 is a block diagram of Embodiment 7 of an emergency communication device according to an exemplary embodiment.
图11是根据一示例性实施例示出的一种应急通信装置实施例八的框图。Fig. 11 is a block diagram of Embodiment 8 of an emergency communication device according to an exemplary embodiment.
图12是根据一示例性实施例示出的一种终端设备的实体的框图。Fig. 12 is a block diagram showing entities of a terminal device according to an exemplary embodiment.
图13是根据一示例性实施例示出的一种终端设备1200的框图。Fig. 13 is a block diagram showing a terminal device 1200 according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
图1是根据一示例性实施例示出的一种应急通信方法实施例一的流程图,如图1所示,该方法主要是用在终端设备中,该终端设备可以通讯功能,例如:智能手机、平板电脑等智能终端。该应急通信方法包括以下步骤:Fig. 1 is a flow chart of Embodiment 1 of an emergency communication method according to an exemplary embodiment. As shown in Fig. 1, the method is mainly used in a terminal device that can communicate, such as a smart phone , Tablet PC and other smart terminals. The emergency communication method includes the following steps:
在步骤S101中,检测用户输入的信息中是否包含预设的关键词。In step S101, it is detected whether the information input by the user contains preset keywords.
在本步骤中,应理解,终端设备是对用户在任一界面的输入的任意信息全部进行上述检测,并且是实时进行检测,无论用户输入的是数字、各类语言的词语或句子、还是语音等信息,终端设备都要进行识别,并与预设的至少一个关键词进行比对,确定输入的信息是否包括关键词。这里的关键词可以根据用户的需要进行预先的设置,例如:用户在可以设置关键词“危险”、“求助”、“救命”等词语,用于在紧急情况下与输入的信息进行匹配,用户在怀疑自己有危险或者任何需要帮助的时候,可以在任何输入界面键入包括上述任一词汇的信息,以便终端设备进行匹配处理。In this step, it should be understood that the terminal device performs the above-mentioned detection on any information input by the user on any interface, and the detection is performed in real time, regardless of whether the user input is a number, words or sentences in various languages, or voice, etc. The information and the terminal equipment must be identified and compared with at least one preset keyword to determine whether the input information includes the keyword. The keywords here can be pre-set according to the needs of the user. For example, the user can set keywords such as "danger", "help", and "help" to match the input information in an emergency. When you suspect that you are in danger or need any help, you can enter information including any of the above words on any input interface, so that the terminal device can perform matching processing.
在步骤S102中,若所述信息中包括所述关键词,则与预先设置的紧急联系人进行通信。In step S102, if the information includes the keyword, communicate with a preset emergency contact.
在本步骤中,若终端设备检测到用户输入的信息中不包括关键词,则认为目前不需要进行应急通讯。若终端设备检测到用户输入的信息中包括预设的至少一个关键词时,则需要与紧急联系人取得联系,这里的紧急联系人可以是用于预先设置的,例如:父母、伴侣或者朋友的任意联系方式。In this step, if the terminal device detects that the information input by the user does not include keywords, it considers that there is no need for emergency communication at present. If the terminal device detects that the information input by the user includes at least one preset keyword, it needs to get in touch with the emergency contact, where the emergency contact can be preset, for example: parents, partners or friends Any contact method.
可选的,在具体实现中,还可以设置好联系方式,例如:语音通话、短信、网络信息或者网络电话等,在遇到紧急情况时候,用户在任一界面上输入包括至少一个上述关键词的信息,终端设备检测到时候,立刻与紧急联系人取得联系,可以是进行语音通话,即打电话,也可以是向紧急联系人发送短信等方式。Optionally, in a specific implementation, it is also possible to set up a contact method, such as: voice call, text message, network information or Internet phone call, etc., in case of an emergency, the user inputs information including at least one of the above-mentioned keywords on any interface. Information, when the terminal device detects it, it will immediately get in touch with the emergency contact, which can be a voice call, that is, a phone call, or send a text message to the emergency contact.
本公开实施例提供的应急通信方法,通过实时获取用户输入的信息,并检测该信息中是否包括有预先设置的关键词,如果有则与预设的紧急联系人进行通信,在用户需要帮助或者紧急情况下,能够迅速的联系到紧急联系人,避免了再紧急情况下使用组合操作等复杂操作,提高用户体验。The emergency communication method provided by the embodiments of the present disclosure obtains the information input by the user in real time, and detects whether the information includes a preset keyword, and if so, communicates with the preset emergency contact, and when the user needs help or In an emergency, the emergency contact can be quickly contacted, avoiding complex operations such as combined operations in an emergency, and improving user experience.
图2是根据一示例性实施例示出的一种应急通信方法实施例二的流程图,如图2所示,结合上述实施例,本实施例提供一种应急通信方法的具体实现步骤:Fig. 2 is a flow chart of Embodiment 2 of an emergency communication method according to an exemplary embodiment. As shown in Fig. 2 , in combination with the above embodiments, this embodiment provides specific implementation steps of an emergency communication method:
在步骤S201中,检测用户输入的信息中是否包含预设的关键词。In step S201, it is detected whether the information input by the user contains preset keywords.
在本步骤中,与上述实施一样,所述信息为用户通过任意界面输入的任意信息。In this step, as in the above implementation, the information is any information input by the user through any interface.
在步骤S202中,若所述信息中包括所述关键词,则显示提示信息;所述提示信息用于提示用户选择是否与所述紧急联系人进行通信。In step S202, if the information includes the keyword, prompt information is displayed; the prompt information is used to prompt the user to choose whether to communicate with the emergency contact.
在步骤S203中,若检测到确认通信用户指令,则与所述紧急联系人进行通信。In step S203, if a confirmation communication user instruction is detected, communicate with the emergency contact.
在本实施例中,上述步骤S202和S203中的:显示提示信息;若检测到确认通信用户指令,则与所述紧急联系人进行通信,为上述实施例一中与预先设置的紧急联系人进行通信的具体实现。其含义是,在发起通话或者发送信息之前,终端设备可以先显示提示信息,提示用户确定是否确定要与紧急联系人取得联系,而不是其他信息中的附加信息,若用户选择了不通信,则终端设备放弃本次与紧急联系人进行通信;继续实时检测用户输入的信息。若检测都用户选择了确认通信的指令,则立刻与紧急联系人进行通信。In this embodiment, in the above-mentioned steps S202 and S203: display prompt information; if a confirmation communication user instruction is detected, then communicate with the emergency contact, which is the communication with the preset emergency contact in the first embodiment above The concrete implementation of communication. It means that before initiating a call or sending a message, the terminal device can first display a prompt message, prompting the user to determine whether to contact the emergency contact, instead of additional information in other information. If the user chooses not to communicate, then The terminal device abandons the current communication with the emergency contact; it continues to detect the information input by the user in real time. If it is detected that the user selects an instruction to confirm the communication, the communication is immediately carried out with the emergency contact.
在具体实现中,终端设备与紧急联系人进行通信的方式至少包括以下两种:In a specific implementation, at least two ways for the terminal device to communicate with the emergency contact include the following two:
第一种方式,向所述紧急联系人发送预设的求助信息。In the first way, preset help-seeking information is sent to the emergency contact.
在该方式中,求助信息是用户预先配置好的,发送方式也可以是预先配置好的,向所述紧急联系人发送预设的求助信息具体可以是:通过蜂窝移动通信网络向所述紧急联系人发送所述求助信息;以手机、通话平板为例,可以通过基站信号进行信息的传输。或者,通过无线局域网向所述紧急联系人发送所述求助信息。例如通过短信、有信、微信、QQ等即时通信方式通过局域网发送给紧急联系人的终端设备。In this manner, the help-seeking information is pre-configured by the user, and the sending method may also be pre-configured. Sending the preset help-seeking information to the emergency contact may specifically be: sending the emergency contact to the emergency contact via a cellular mobile communication network. The person sends the help-seeking information; taking mobile phones and call tablets as examples, the information can be transmitted through base station signals. Or, send the help-seeking information to the emergency contact through a wireless local area network. For example, through instant messaging such as SMS, Youxin, WeChat, QQ, etc., it is sent to the terminal device of the emergency contact through the local area network.
第二种方式,向所述紧急联系人发起通话请求。In the second manner, a call request is initiated to the emergency contact.
在该方式中,其含义是在上述的通信条件都符合的情况下,终端设备主动发起与紧急联系的通话请求,以手机、通话平板为例,可以拨打电话、发起FACETIME、语音请求等方式,与紧急联系人取得联系,在该方案中,与上述同样的即可以通过蜂窝移动通信网络向所述紧急联系人发起通话请求;也可以通过无线局域网向所述紧急联系人发起网络通话请求。In this method, it means that when the above-mentioned communication conditions are met, the terminal device actively initiates a call request for emergency contact. Taking mobile phones and call tablets as examples, it can make calls, initiate FACETIME, voice requests, etc. Get in touch with the emergency contact. In this solution, the same as above can initiate a call request to the emergency contact through the cellular mobile communication network; or initiate a network call request to the emergency contact through the wireless local area network.
本公开的实施例提供的应急通信方法,通过检测用户在任一界面输入的信息是否包括预设关键词,如果信息中存在关键词,则与紧急联系人联系,可以是通过无线网或者蜂窝网发起通话,也可以是通过无线网或者蜂窝网发送消息给紧急联系人,不仅避免使用组合按键等时操作复杂的问题,还可以在蜂窝网信号较弱的时候,通过无线网进行通讯,进一步提高紧急通讯的效率。The emergency communication method provided by the embodiments of the present disclosure detects whether the information input by the user on any interface includes preset keywords, and if there are keywords in the information, contacts the emergency contact, which can be initiated through a wireless network or a cellular network Calls can also send messages to emergency contacts through wireless networks or cellular networks, which not only avoids the problem of complicated operations when using combination buttons, but also communicates through wireless networks when the cellular network signal is weak, further improving emergency response. communication efficiency.
图3是根据一示例性实施例示出的一种应急通信方法实施例三的流程图,如图3所示,结合上述实施例,本实施例提供一种应急通信方法的具体实现步骤:Fig. 3 is a flow chart of Embodiment 3 of an emergency communication method according to an exemplary embodiment. As shown in Fig. 3 , in combination with the above embodiments, this embodiment provides specific implementation steps of an emergency communication method:
在步骤S301中,根据获取到的联系人设置指令,将与所述联系人设置指令对应的联系人设置为所述紧急联系人。In step S301, according to the acquired contact setting instruction, a contact corresponding to the contact setting instruction is set as the emergency contact.
在本步骤中,终端设备检测用户的操作,若检测到用户需要设置紧急联系人,即获取到联系人设置指令,根据用户选择的联系人进行设置。In this step, the terminal device detects the user's operation, and if it detects that the user needs to set an emergency contact, it obtains a contact setting instruction, and sets according to the contact selected by the user.
可选的,若后续是选择发送信息时,在检测用户输入的信息中是否包含预设的关键词之前,根据获取到的求助信息设置指令,将用户输入的与所述求助信息设置指令对应的信息设置为所述求助信息。其含义是终端设备可以根据用户的操作,预先编辑好要发送给紧急联系人的求助信息的内容,简化在具体发送求助信息时的操作,提高处理效率。Optionally, if the follow-up is to choose to send information, before detecting whether the information entered by the user contains a preset keyword, according to the obtained help information setting instruction, the user input corresponding to the help information setting instruction The information is set as the help-seeking information. It means that the terminal device can pre-edit the content of the help-seeking information to be sent to the emergency contact according to the user's operation, simplify the operation when sending the help-seeking information, and improve the processing efficiency.
在步骤S302中,检测用户输入的信息中是否包含预设的关键词。In step S302, it is detected whether the information input by the user contains preset keywords.
在步骤S303中,若所述信息中包括所述关键词,则向预先设置的紧急联系人发起通话请求。In step S303, if the information includes the keyword, a call request is initiated to a preset emergency contact.
在步骤S304中,若检测到与所述紧急联系人的通话请求被接受,则将本地播放功能关闭。In step S304, if it is detected that the call request with the emergency contact is accepted, the local playback function is turned off.
在步骤S305中,采集本地的音频并发送给所述紧急联系人的终端设备。In step S305, local audio is collected and sent to the terminal device of the emergency contact.
在本方案中,如果在检测到用户的输入信息中包含预设关键词,则向紧急联系人发起通话请求,该通话请求包括通过蜂窝网或者无线网等任何方式发起的语音通话请求,在终端设备检测到通话请求被接受,即建立了语音通话之后,为了进一步保证用户的安全,可以将本端的扬声器关闭,即不向本端播放语音,仅仅采集本端用户的音频信息传输给紧急联系人。In this solution, if it is detected that the user’s input information contains preset keywords, a call request is initiated to the emergency contact, and the call request includes a voice call request initiated by any means such as a cellular network or a wireless network. After the device detects that the call request is accepted, that is, after the voice call is established, in order to further ensure the safety of the user, the speaker of the local end can be turned off, that is, the voice is not played to the local end, and only the audio information of the local user is collected and transmitted to the emergency contact .
本公开实施例提供的应急通信方法,通过检测用户在任一界面输入的信息是否包括预设关键词,如果信息中存在关键词,则与紧急联系人联系,可以是通过无线网或者蜂窝网发起通话,也可以是通过无线网或者蜂窝网发送消息给紧急联系人,不仅避免使用组合按键等时操作复杂的问题,还可以在蜂窝网信号较弱的时候,通过无线网进行通讯,进一步提高紧急通讯的效率。并且更进一步的,可以在语音通话时候,关闭本地的扬声器,只向对端传输本端的语音信息,进一步提高安全性和用户体验。The emergency communication method provided by the embodiments of the present disclosure detects whether the information input by the user on any interface includes a preset keyword, and if there is a keyword in the information, contacts the emergency contact, which can initiate a call through a wireless network or a cellular network , it can also send a message to an emergency contact through a wireless network or a cellular network, which not only avoids the complicated operation when using a combination of buttons, but also communicates through a wireless network when the cellular network signal is weak, further improving emergency communication s efficiency. And further, during a voice call, the local speaker can be turned off, and only the voice information of the local end is transmitted to the opposite end, further improving security and user experience.
结合上述实施例的基础上,下面举一实例说明该方案,具体实现步骤大致为:On the basis of the foregoing embodiments, an example is given below to illustrate the solution, and the specific implementation steps are roughly as follows:
用户提前预设好紧急联系人,以及联系方式,例如短信,网络短信,电话等。当用户进入任意的输入界面时,例如短信,便签,联系人等所有可以输入文件的地方时,系统自动匹配是否出现救命,抢劫等关键词。当手机检测到用户输入的内容出现以上的关键词时,自动弹出对话框,是否发送紧急状况给联系人。若用户选择忽略,系统自动进入下一次检测模式。若用户选择发送,则自动发送给联系人短信,网络短信,拨打电话,电话拨通后,本地自动进入静音模式,可以将本地的声音传送给对方,但是本地是静音。Users preset emergency contacts and contact methods in advance, such as text messages, network text messages, phone calls, etc. When the user enters any input interface, such as text messages, notes, contacts and other places where files can be input, the system automatically matches whether there are keywords such as life-saving and robbery. When the mobile phone detects that the above keywords appear in the content entered by the user, a dialog box will pop up automatically, asking whether to send an emergency to the contact. If the user chooses to ignore, the system will automatically enter the next detection mode. If the user chooses to send, it will be automatically sent to the contact's text message, network text message, and make a call. After the call is dialed, the local area will automatically enter the silent mode, and the local voice can be transmitted to the other party, but the local area is silent.
通过该种方式,可以在全方位的检测用户是否进入危险状况,用户可以最快的进入一种输入状态并发送报警信号,可以使用手机信号,也可以使用网络信号来发送信息,增加更多的应用场景。In this way, it is possible to detect whether the user is in a dangerous situation in all directions, and the user can enter an input state as soon as possible and send an alarm signal, and can use mobile phone signals or network signals to send information, adding more Application scenarios.
图4是根据一示例性实施例示出的一种应急通信装置实施例一的框图。参照图5,该应急通信装置10,包括:Fig. 4 is a block diagram of Embodiment 1 of an emergency communication device according to an exemplary embodiment. Referring to Figure 5, the emergency communication device 10 includes:
检测模块11,被配置为检测用户输入的信息中是否包含预设的关键词;The detection module 11 is configured to detect whether preset keywords are included in the information input by the user;
该检测模块11用于对用户在任一界面的输入的任意信息全部进行上述检测,并且是实时进行检测,无论用户输入的是数字、各类语言的词语或句子、还是语音等信息,都要进行识别,并与预设的至少一个关键词进行比对,确定输入的信息是否包括关键词。这里的关键词可以根据用户的需要进行预先的设置,例如:用户在可以设置关键词“危险”、“求助”、“救命”等词语,用于在紧急情况下与输入的信息进行匹配,用户在怀疑自己有危险或者任何需要帮助的时候,可以在任何输入界面键入包括上述任一词汇的信息,以便该应急通信装置10进行匹配处理。The detection module 11 is used to perform the above-mentioned detection on any information input by the user on any interface, and the detection is performed in real time, regardless of whether the user input is information such as numbers, words or sentences in various languages, or voice. Identifying and comparing with at least one preset keyword to determine whether the input information includes the keyword. The keywords here can be pre-set according to the needs of the user. For example, the user can set keywords such as "danger", "help", and "help" to match the input information in an emergency. When you suspect that you are in danger or need any help, you can input information including any of the above words on any input interface, so that the emergency communication device 10 can perform matching processing.
通信处理模块12,被配置为若所述检测模块11检测出所述信息中包括所述关键词,则与预先设置的紧急联系人进行通信。The communication processing module 12 is configured to communicate with a preset emergency contact if the detection module 11 detects that the information includes the keyword.
在该方案中,若检测模块11检测到用户输入的信息中不包括关键词,则认为目前不需要进行应急通讯。若检测模块11检测到用户输入的信息中包括预设的至少一个关键词时,则需要通过上述通信处理模块12与紧急联系人取得联系,这里的紧急联系人可以是用于预先设置的,例如:父母、伴侣或者朋友的任意联系方式。In this solution, if the detection module 11 detects that the information input by the user does not include keywords, it is considered that there is no need for emergency communication at present. If the detection module 11 detects that the information input by the user includes at least one preset keyword, it needs to get in touch with the emergency contact through the above-mentioned communication processing module 12, where the emergency contact can be used for preset, for example : Any contact information of parents, partners or friends.
可选的,所述检测模块11检测的所述信息为用户通过任意界面输入的任意信息。Optionally, the information detected by the detection module 11 is any information input by the user through any interface.
本公开的实施例提供的应急通信装置,通过检测模块实时检测用户在任意界面上输入的信息,确定出用户是否需要联系紧急联系人,通信处理模块以最快的速度帮助用户与紧急联系人通信,避免使用组合按键等复杂的操作方式,提高用户体验。The emergency communication device provided by the embodiments of the present disclosure detects the information input by the user on any interface in real time through the detection module to determine whether the user needs to contact the emergency contact, and the communication processing module helps the user communicate with the emergency contact at the fastest speed , to avoid complex operation methods such as combination keys, and improve user experience.
在上述图4所示的实施例的基础上,图5是根据一示例性实施例示出的一种应急通信装置实施例二的框图,参照图5,所述通信处理模块12包括:On the basis of the above embodiment shown in FIG. 4 , FIG. 5 is a block diagram of Embodiment 2 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 5 , the communication processing module 12 includes:
显示子模块121,被配置为显示提示信息;所述提示信息用于提示用户选择是否与所述紧急联系人进行通信;The display submodule 121 is configured to display prompt information; the prompt information is used to prompt the user to choose whether to communicate with the emergency contact;
通信子模块122,被配置为若检测到确认通信用户指令,则与所述紧急联系人进行通信。The communication sub-module 122 is configured to communicate with the emergency contact if a confirmation communication user instruction is detected.
在本方案中,若在显示子模块121显示提示信息之后,该通信子模块122检测到确认通信用户指令,则与所述紧急联系人进行通信,为上述实施例一中与预先设置的紧急联系人进行通信的具体实现。其含义是,在发起通话或者发送信息之前,该应急通信装置10可以先显示提示信息,提示用户确定是否确定要与紧急联系人取得联系,而不是其他信息中的附加信息,若用户选择了不通信,则放弃本次与紧急联系人进行通信;继续实时检测用户输入的信息。若检测都用户选择了确认通信的指令,则立刻与紧急联系人进行通信。In this solution, if the communication sub-module 122 detects a confirmation communication user instruction after the display sub-module 121 displays the prompt information, it will communicate with the emergency contact, which is the preset emergency contact in the first embodiment above. The concrete realization of human communication. It means that, before initiating a call or sending a message, the emergency communication device 10 can first display a prompt message, prompting the user to determine whether to contact the emergency contact, instead of additional information in other information, if the user chooses not to communication, then give up this communication with the emergency contact; continue to detect the information input by the user in real time. If it is detected that the user selects an instruction to confirm the communication, the communication is immediately carried out with the emergency contact.
在上述图4或图5所示的实施例的基础上,图6是根据一示例性实施例示出的一种应急通信装置实施例三的框图,参照图6,所述通信处理模块12包括:On the basis of the embodiment shown in FIG. 4 or FIG. 5 above, FIG. 6 is a block diagram of Embodiment 3 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 6 , the communication processing module 12 includes:
第一发送子模块123,被配置为向所述紧急联系人发送预设的求助信息;或者,The first sending submodule 123 is configured to send preset help-seeking information to the emergency contact; or,
第二发送子模块124,被配置为向所述紧急联系人发起通话请求。The second sending submodule 124 is configured to initiate a call request to the emergency contact.
在该方案中,求助信息是用户预先配置好的,发送方式也可以是预先配置好的,第一发送子模块123向所述紧急联系人发送预设的求助信息具体可以是:通过蜂窝移动通信网络向所述紧急联系人发送所述求助信息;以手机、通话平板为例,可以通过基站信号进行信息的传输。或者,通过无线局域网向所述紧急联系人发送所述求助信息。例如通过短信、有信、微信、QQ等即时通信方式通过局域网发送给紧急联系人的终端设备。In this solution, the help-seeking information is pre-configured by the user, and the sending method can also be pre-configured. The first sending submodule 123 sends the preset help-seeking information to the emergency contact. Specifically, it can be: through cellular mobile communication The network sends the help-seeking information to the emergency contact; taking a mobile phone and a calling tablet as examples, the information can be transmitted through a base station signal. Or, send the help-seeking information to the emergency contact through a wireless local area network. For example, through instant messaging such as SMS, Youxin, WeChat, QQ, etc., it is sent to the terminal device of the emergency contact through the local area network.
第二发送子模块124用于主动发起与紧急联系的通话请求,以手机、通话平板为例,可以拨打电话、发起FACETIME、语音请求等方式,与紧急联系人取得联系,在该方案中,与上述同样的即可以通过蜂窝移动通信网络向所述紧急联系人发起通话请求;也可以通过无线局域网向所述紧急联系人发起网络通话请求。The second sending sub-module 124 is used to actively initiate a call request with an emergency contact. Taking a mobile phone or a call tablet as an example, it can make a call, initiate a FACETIME, a voice request, etc., to get in touch with an emergency contact. In the same way as above, a call request can be initiated to the emergency contact through the cellular mobile communication network; a network call request can also be initiated to the emergency contact through the wireless local area network.
在上述图6所示的实施例的基础上,图7是根据一示例性实施例示出的一种应急通信装置实施例四的框图,参照图7,所述通信处理模块12还包括:On the basis of the above embodiment shown in FIG. 6 , FIG. 7 is a block diagram of Embodiment 4 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 7 , the communication processing module 12 further includes:
处理子模块125,被配置为若检测到与所述紧急联系人的通话请求被接受,则将本地播放功能关闭;The processing sub-module 125 is configured to close the local playback function if it is detected that the call request with the emergency contact is accepted;
采集子模块126,被配置为采集本地的音频;The collection sub-module 126 is configured to collect local audio;
第三发送子模块127,被配置为将所述采集子模块采集的本地的音频发送给所述紧急联系人的终端设备。The third sending submodule 127 is configured to send the local audio collected by the collection submodule to the terminal device of the emergency contact.
在本方案中,如果在检测模块11检测到用户的输入信息中包含预设关键词,则通过发送模块13向紧急联系人发起通话请求,该通话请求包括通过蜂窝网或者无线网等任何方式发起的语音通话请求,在处理子模块125检测到通话请求被接受,即建立了语音通话之后,为了进一步保证用户的安全,处理子模块125可以将本端的扬声器关闭,即不向本端播放语音,仅仅通过采集子模块126采集本端用户的音频信息传输给紧急联系人。可以在语音通话时候,关闭本地的扬声器,只向对端传输本端的语音信息,进一步提高安全性和用户体验。In this solution, if the detection module 11 detects that the user's input information contains preset keywords, a call request is initiated to the emergency contact through the sending module 13, and the call request includes any method initiated by a cellular network or a wireless network. voice call request, after the processing submodule 125 detects that the call request is accepted, that is, after the voice call is established, in order to further ensure the safety of the user, the processing submodule 125 can close the loudspeaker of the local end, that is, not play the voice to the local end, Only the audio information of the local user is collected through the collection sub-module 126 and transmitted to the emergency contact. During a voice call, the local speaker can be turned off, and only the local voice information is transmitted to the opposite end, further improving security and user experience.
在上述图6所示的实施例的基础上,图8是根据一示例性实施例示出的一种应急通信装置实施例五的框图,参照图8,所述第一发送子模块123包括:On the basis of the embodiment shown in FIG. 6 above, FIG. 8 is a block diagram of Embodiment 5 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 8, the first sending submodule 123 includes:
第一发送单元1231,被配置为通过蜂窝移动通信网络向所述紧急联系人发送所述求助信息;或者,The first sending unit 1231 is configured to send the help-seeking information to the emergency contact through a cellular mobile communication network; or,
第二发送单元1232,被配置为通过无线局域网向所述紧急联系人发送所述求助信息。The second sending unit 1232 is configured to send the help-seeking information to the emergency contact through a wireless local area network.
在上述图6所示的实施例的基础上,图9是根据一示例性实施例示出的一种应急通信装置实施例六的框图,参照图9,所述第二发送子模块124包括:On the basis of the embodiment shown in FIG. 6 above, FIG. 9 is a block diagram of Embodiment 6 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 9 , the second sending submodule 124 includes:
第三发送单元1241,被配置为通过蜂窝移动通信网络向所述紧急联系人发起通话请求;或者,The third sending unit 1241 is configured to initiate a call request to the emergency contact through the cellular mobile communication network; or,
第四发送单元1242,被配置为通过无线局域网向所述紧急联系人发起网络通话请求。The fourth sending unit 1242 is configured to initiate a network call request to the emergency contact through the wireless local area network.
在上述图4所示的实施例的基础上,图10是根据一示例性实施例示出的一种应急通信装置实施例七的框图,参照图10,所述应急通信装置10还包括:On the basis of the embodiment shown in FIG. 4 above, FIG. 10 is a block diagram of Embodiment 7 of an emergency communication device according to an exemplary embodiment. Referring to FIG. 10 , the emergency communication device 10 further includes:
第一处理模块13,被配置为根据获取到的联系人设置指令,将与所述联系人设置指令对应的联系人设置为所述紧急联系人;所述紧急联系人包括至少一个联系人。The first processing module 13 is configured to, according to the acquired contact setting instruction, set a contact corresponding to the contact setting instruction as the emergency contact; the emergency contact includes at least one contact.
在上述图4所示的实施例的基础上,图11是根据一示例性实施例示出的一种应急通信装置实施例八的框图,参照图11,所述应急通信装置10还包括:On the basis of the embodiment shown in FIG. 4 above, FIG. 11 is a block diagram of an eighth embodiment of an emergency communication device according to an exemplary embodiment. Referring to FIG. 11 , the emergency communication device 10 further includes:
第二处理模块14,被配置为根据获取到的求助信息设置指令,将用户输入的与所述求助信息设置指令对应的信息设置为所述求助信息。The second processing module 14 is configured to, according to the acquired help-seeking information setting instruction, set information input by a user corresponding to the help-seeking information setting instruction as the help-seeking information.
在上述方案中,若后续是选择发送信息时,在检测用户输入的信息中是否包含预设的关键词之前,第二处理模块14根据获取到的求助信息设置指令,将用户输入的与所述求助信息设置指令对应的信息设置为所述求助信息。其含义是终端设备可以根据用户的操作,预先编辑好要发送给紧急联系人的求助信息的内容,简化在具体发送求助信息时的操作,提高处理效率。In the above-mentioned scheme, if the follow-up is to choose to send information, before detecting whether the information input by the user contains preset keywords, the second processing module 14 sets instructions according to the obtained help information, and combines the information input by the user with the The information corresponding to the help-seeking information setting instruction is set as the help-seeking information. It means that the terminal device can pre-edit the content of the help-seeking information to be sent to the emergency contact according to the user's operation, simplify the operation when sending the help-seeking information, and improve the processing efficiency.
上述任一实施例提供的应急通信装置,用于执行图1至图3任一项所述的方法的技术方案,其实现原理和技术效果类似,通过实时检测用户在任意界面上输入的信息,确定出用户是否需要联系紧急联系人,以最快的速度帮助用户与紧急联系人通信,避免使用组合按键等复杂的操作方式,提高用户体验。The emergency communication device provided by any of the above-mentioned embodiments is used to implement the technical solution of the method described in any one of Figures 1 to 3, and its implementation principle and technical effect are similar. By detecting the information input by the user on any interface in real time, Determine whether the user needs to contact the emergency contact, help the user communicate with the emergency contact as quickly as possible, avoid using complex operation methods such as combination keys, and improve user experience.
关于上述各个实施例中的应急通信装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。即以上描述了终端设备的内部功能模块和结构示意。Regarding the emergency communication device in each of the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments of the method, and will not be described in detail here. That is, the internal functional modules and structural representations of the terminal device are described above.
图12是根据一示例性实施例示出的一种终端设备的实体的框图,参照图12,该终端设备可以具体实现为:被配置为控制可执行指令执行的处理器、被配置为存储处理器可执行指令的存储器以及用于收发消息的收发器;Fig. 12 is a block diagram of an entity of a terminal device according to an exemplary embodiment. Referring to Fig. 12 , the terminal device may be embodied as: a processor configured to control the execution of executable instructions; a processor configured to store memory for executable instructions and a transceiver for sending and receiving messages;
所述处理器被配置为:The processor is configured to:
检测用户输入的信息中是否包含预设的关键词;Detect whether the information entered by the user contains preset keywords;
若所述信息中包括所述关键词,则通过所述收发器与预先设置的紧急联系人进行通信。If the information includes the keyword, communicate with a preset emergency contact through the transceiver.
在上述终端设备的实施例中,应理解,该处理器可以是中央处理单元(英文:CentralProcessingUnit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:DigitalSignalProcessor,简称:DSP)、专用集成电路(英文:ApplicationSpecificIntegratedCircuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,而前述的存储器可以是只读存储器(英文:read-onlymemory,缩写:ROM)、随机存取存储器(英文:randomaccessmemory,简称:RAM)、快闪存储器、硬盘或者固态硬盘。SIM卡也称为用户身份识别卡、智能卡,数字移动电话机必须装上此卡方能使用。即在电脑芯片上存储了数字移动电话客户的信息,加密的密钥以及用户的电话簿等内容。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the above embodiment of the terminal device, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), and may also be other general-purpose processors, digital signal processors (English: DigitalSignalProcessor, referred to as: DSP ), Application Specific Integrated Circuit (English: Application Specific Integrated Circuit, referred to as: ASIC), etc. General-purpose processor can be microprocessor or this processor also can be any conventional processor etc., and aforementioned memory can be read-only memory (English: read-only memory, abbreviation: ROM), random access memory (English: random access memory, referred to as: RAM), flash memory, hard disk or solid state drive. SIM card is also known as subscriber identification card, smart card, digital mobile phone must be equipped with this card before it can be used. That is, the information of the digital mobile phone customer, the encrypted key and the user's phone book are stored on the computer chip. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
图13是根据一示例性实施例示出的一种被终端设备1200的框图。例如,该终端设备可以是移动电话,计算机,智能电视机,消息收发设备,平板设备,医疗设备,服务器、空调等智能家电等可以进行定位和数据处理的设备。Fig. 13 is a block diagram of a terminal device 1200 according to an exemplary embodiment. For example, the terminal device may be a mobile phone, a computer, a smart TV, a message sending and receiving device, a tablet device, a medical device, a server, an air conditioner and other smart home appliances and other devices capable of positioning and data processing.
参照图13,终端设备1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。Referring to FIG. 13 , terminal device 1200 may include one or more of the following components: processing component 1202, memory 1204, power supply component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214 , and the communication component 1216.
处理组件1202通常控制终端设备1200的整体操作,诸如与显示,数据通信,多媒体操作和记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理组件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operations of the terminal device 1200, such as operations associated with display, data communication, multimedia operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202 .
存储器1204被配置为存储各种类型的数据以支持在终端设备1200的操作。这些数据的示例包括用于在终端设备1200上操作的任何应用程序或方法的指令,各类数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1204 is configured to store various types of data to support operations at the terminal device 1200 . Examples of these data include instructions for any application or method operating on the terminal device 1200 , various types of data, messages, pictures, videos, and the like. The memory 1204 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1206为终端设备1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为终端设备1200生成、管理和分配电力相关联的组件。The power supply component 1206 provides power to various components of the terminal device 1200 . Power components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for end device 1200 .
多媒体组件1208包括在所述终端设备1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The multimedia component 1208 includes a screen providing an output interface between the terminal device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当终端设备1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a microphone (MIC), which is configured to receive an external audio signal when the terminal device 1200 is in an operation mode, such as a calling mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 1204 or sent via communication component 1216 . In some embodiments, the audio component 1210 also includes a speaker for outputting audio signals.
I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like.
传感器组件1214包括一个或多个传感器,用于为终端设备1200提供各个方面的状态评估。例如,传感器组件1214可以检测到终端设备1200的打开/关闭状态,组件的相对定位,例如所述组件为终端设备1200的显示器和小键盘,传感器组件1214还可以检测终端设备1200或终端设备1200一个组件的位置改变,用户与终端设备1200接触的存在或不存在,终端设备1200方位或加速/减速和终端设备1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 1214 includes one or more sensors for providing status assessment of various aspects of the terminal device 1200 . For example, the sensor component 1214 can detect the open/closed state of the terminal device 1200, the relative positioning of the components, for example, the components are the display and the keypad of the terminal device 1200, and the sensor component 1214 can also detect the terminal device 1200 or a terminal device 1200 Changes in positions of components, presence or absence of user contact with the terminal device 1200 , orientation or acceleration/deceleration of the terminal device 1200 and temperature changes of the terminal device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1216被配置为便于终端设备1200和其他设备之间有线或无线方式的通信。终端设备1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1216 is configured to facilitate wired or wireless communication between the terminal device 1200 and other devices. The terminal device 1200 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端设备1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执应急通信方法:In an exemplary embodiment, terminal device 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Programmable gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for implementing emergency communication methods:
检测用户输入的信息中是否包含预设的关键词;Detect whether the information entered by the user contains preset keywords;
若所述信息中包括所述关键词,则与预先设置的紧急联系人进行通信。If the information includes the keyword, communicate with a preset emergency contact.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由终端设备1200的处理器1220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1204 including instructions, which can be executed by the processor 1220 of the terminal device 1200 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201610173386.5ACN105763734A (en) | 2016-03-24 | 2016-03-24 | Emergency communication method, device, and apparatus | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201610173386.5ACN105763734A (en) | 2016-03-24 | 2016-03-24 | Emergency communication method, device, and apparatus | 
| Publication Number | Publication Date | 
|---|---|
| CN105763734Atrue CN105763734A (en) | 2016-07-13 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CN201610173386.5APendingCN105763734A (en) | 2016-03-24 | 2016-03-24 | Emergency communication method, device, and apparatus | 
| Country | Link | 
|---|---|
| CN (1) | CN105763734A (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN106713646A (en)* | 2016-12-29 | 2017-05-24 | 南京阿达尔电子科技有限公司 | Embedded device-based emergency voice call communication device and voice call communication method | 
| CN107613144A (en)* | 2017-10-20 | 2018-01-19 | 广东欧珀移动通信有限公司 | Automatic call method, device, storage medium and mobile terminal | 
| CN109861710A (en)* | 2017-11-30 | 2019-06-07 | 北京小米移动软件有限公司 | Method and device for sending emergency signal and response signal, and electronic equipment | 
| CN109873898A (en)* | 2017-12-05 | 2019-06-11 | 纬创资通股份有限公司 | Emergency call circuits for electronic devices | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US20080299941A1 (en)* | 2007-06-01 | 2008-12-04 | Stephens Jr Michael Claude | Portable device emergency beacon | 
| CN103329179A (en)* | 2010-01-25 | 2013-09-25 | (株)Tw移动 | Intelligent emergency signal transmission system using mobile phone and method thereof | 
| CN104240438A (en)* | 2014-09-01 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method and device for achieving automatic alarming through mobile terminal and mobile terminal | 
| CN104506742A (en)* | 2015-01-16 | 2015-04-08 | 三星电子(中国)研发中心 | Contacting communication method and device for children to seek help | 
| CN104702789A (en)* | 2015-03-11 | 2015-06-10 | 安徽声讯信息技术有限公司 | Smart phone with voice control function and voice control method thereof | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US20080299941A1 (en)* | 2007-06-01 | 2008-12-04 | Stephens Jr Michael Claude | Portable device emergency beacon | 
| CN103329179A (en)* | 2010-01-25 | 2013-09-25 | (株)Tw移动 | Intelligent emergency signal transmission system using mobile phone and method thereof | 
| CN104240438A (en)* | 2014-09-01 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method and device for achieving automatic alarming through mobile terminal and mobile terminal | 
| CN104506742A (en)* | 2015-01-16 | 2015-04-08 | 三星电子(中国)研发中心 | Contacting communication method and device for children to seek help | 
| CN104702789A (en)* | 2015-03-11 | 2015-06-10 | 安徽声讯信息技术有限公司 | Smart phone with voice control function and voice control method thereof | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN106713646A (en)* | 2016-12-29 | 2017-05-24 | 南京阿达尔电子科技有限公司 | Embedded device-based emergency voice call communication device and voice call communication method | 
| CN106713646B (en)* | 2016-12-29 | 2021-01-08 | 南京阿达尔电子科技有限公司 | Emergency voice communication device and method based on embedded equipment | 
| CN107613144A (en)* | 2017-10-20 | 2018-01-19 | 广东欧珀移动通信有限公司 | Automatic call method, device, storage medium and mobile terminal | 
| CN109861710A (en)* | 2017-11-30 | 2019-06-07 | 北京小米移动软件有限公司 | Method and device for sending emergency signal and response signal, and electronic equipment | 
| CN109873898A (en)* | 2017-12-05 | 2019-06-11 | 纬创资通股份有限公司 | Emergency call circuits for electronic devices | 
| CN109873898B (en)* | 2017-12-05 | 2020-08-04 | 纬创资通股份有限公司 | Emergency call circuit for electronic device | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN108039170A (en) | Communication means, device and storage medium for Emergency Assistance | |
| EP3076745B1 (en) | Methods and apparatuses for controlling wireless access point | |
| EP3136699A1 (en) | Method and device for connecting external equipment | |
| CN105159672A (en) | Remote assistance method and client | |
| WO2016155231A1 (en) | Network access method and device | |
| CN105704766A (en) | Control method and device of double-card mobile terminal | |
| CN107301242A (en) | Method, device and the storage medium of page jump | |
| CN107135147A (en) | Method, device and the computer-readable recording medium of sharing position information | |
| CN106412481B (en) | Reminding method, device and terminal based on VoLTE video calling | |
| CN106656746B (en) | Information output method and device | |
| CN105763734A (en) | Emergency communication method, device, and apparatus | |
| CN106357610B (en) | Communication means and device | |
| CN105939424B (en) | Application switching method and device | |
| CN106961664A (en) | Communicate to connect control method, device and bluetooth keyboard | |
| CN104010065A (en) | Telephone processing method and device | |
| CN106250772B (en) | Bluetooth scanning control method, device and terminal equipment | |
| CN106506808B (en) | Method and device for prompting communication message | |
| CN108391263A (en) | Call prompting method and equipment | |
| US20170201479A1 (en) | Group message display method, device and medium | |
| CN106255063A (en) | Address sending method and equipment | |
| CN107241432A (en) | Message receival method and device, information push method and device | |
| CN106775350A (en) | Switch the method and device of input method type | |
| CN107071859B (en) | Network connection processing method, device and terminal | |
| CN105634928A (en) | Social reminding method and device based on wearable device | |
| CN105721677B (en) | Information protection method, device and mobile terminal | 
| Date | Code | Title | Description | 
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20160713 | |
| RJ01 | Rejection of invention patent application after publication |