WO2020215702A1 - Method and device for information transmission, electronic device, and storage medium - Google Patents

Method and device for information transmission, electronic device, and storage medium Download PDF

Info

Publication number
WO2020215702A1
WO2020215702A1 PCT/CN2019/118604 CN2019118604W WO2020215702A1 WO 2020215702 A1 WO2020215702 A1 WO 2020215702A1 CN 2019118604 W CN2019118604 W CN 2019118604W WO 2020215702 A1 WO2020215702 A1 WO 2020215702A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
sent
social application
preset
app
Prior art date
Application number
PCT/CN2019/118604
Other languages
French (fr)
Chinese (zh)
Inventor
伍旭鸿
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020215702A1 publication Critical patent/WO2020215702A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the technical field of smart terminals, and in particular to an information sending method, device, electronic equipment and storage medium.
  • a user opens multiple applications in a mobile terminal, and although they exit the current home screen, the multiple applications are all running in the background.
  • a certain application of the mobile terminal receives and dispatches a new message, the usual method is to switch to that certain application. Only on the interface of this certain application can the user send the message. If there are too many applications, the user needs one by one. To find the application, and then edit the message to send the message, the whole process is complicated, wastes the user's time, is inefficient, and is not convenient.
  • the first aspect of the present application provides an information sending method, which includes:
  • the method before the receiving the information to be sent entered by the user on the floating frame of the target application APP displayed on the main screen, the method further includes:
  • the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
  • the selected floating frames are determined as the floating frames of the target APP.
  • the judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP includes:
  • the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  • the method further includes:
  • the floating frame of the target APP displayed on the home screen is hidden.
  • the detecting whether there is a preset sending operation for the information to be sent includes:
  • the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
  • the detecting whether there is a preset sending operation for the information to be sent includes:
  • the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
  • the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
  • the determining the target contact includes:
  • the contact address book of the APP If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
  • a second aspect of the present application provides an information sending device, the device including:
  • the receiving module is used to receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
  • the detection module is configured to detect whether there is a preset sending operation for the information to be sent after the input of the information to be sent is completed;
  • the determining module is configured to determine the target contact if it is detected that there is a preset sending operation for the information to be sent;
  • the sending module is used to send the information to be sent to the target contact.
  • a third aspect of the present application provides an electronic device including a processor and a memory, and the processor is configured to implement the information sending method when executing computer-readable instructions stored in the memory.
  • a fourth aspect of the present application provides a non-volatile readable storage medium having computer readable instructions stored on the non-volatile readable storage medium, and when the computer readable instructions are executed by a processor, the Method of sending information.
  • the user can receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen. After the input of the information to be sent is completed, it can be detected whether there is a The preset sending operation of information, if it is detected that there is a preset sending operation for the information to be sent, the target contact is determined, and then the information to be sent can be sent to the target contact. It can be seen that, in this application, the target APP runs in the background, and you can directly enter the information to be sent on the floating box of the target APP without switching to the application interface of the target APP running in the background. After the target contact is determined, that is One-key sending of information can be realized, the whole process is convenient and fast, and the efficiency of information sending is high.
  • Fig. 1 is a flowchart of a preferred embodiment of an information sending method disclosed in the present application.
  • Fig. 2 is a functional module diagram of a preferred embodiment of an information sending device disclosed in the present application.
  • Fig. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the information sending method according to the present application.
  • the electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • Its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), and a field programmable gate.
  • Array FPGA
  • DSP digital processor
  • embedded device etc., which can include but are not limited to any electronic product that can interact with the user through a keyboard, mouse, remote control, touch panel or voice control device, etc.
  • personal computers tablet computers, smart phones, personal digital assistants, PDAs, etc.
  • FIG. 1 is a flowchart of a preferred embodiment of an information sending method disclosed in this application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the electronic device receives the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen.
  • the target APP runs in the background, and the information to be sent may include, but is not limited to, voice information, text information, picture information, and video information.
  • the target APP has been started in the background, a floating frame of the target APP is displayed on the home screen of the electronic device, a small icon of the target APP is set in a preset area of the floating frame of the target APP, and The small icon is used to uniquely identify the target APP.
  • various types of apps are installed on the electronic device, such as game apps, social apps apps, music apps, office apps, etc., among which all apps can be started in the background.
  • the floating boxes of multiple APPs can be output on the main screen, and the user can select the target APP from the multiple APPs and click the target APP. Enter the information to be sent on the APP.
  • the method further includes:
  • the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
  • the selected floating frames are determined as the floating frames of the target application APP.
  • each floating frame can be determined according to the number of the social application APP and the size of the main screen, and then these floating frames can be arranged. Among them, they can be arranged arbitrarily or according to social Use the active level of the APP to arrange the floating boxes. Or, you can set the size of each floating frame.
  • a small icon of the social application APP is set in a preset area of the floating frame of the social application APP, and the small icon is used to uniquely identify the social application APP.
  • the small icons set in the preset area of the floating frame can be used to distinguish which social application APP is.
  • the user can select the floating frames of multiple social application APPs, and when receiving a selection instruction for the floating frames of multiple social application APPs, the selected floating frame can be determined as the floating frame of the target application APP. frame.
  • the judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP includes:
  • the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  • the first preset time may be any time set in advance, for example, within 10 minutes
  • the total amount of information sent and received is the amount of information received by the social application APP and the information sent by the social application APP within the first preset time
  • the first activity is used to characterize the information receiving and sending status of the social application APP within the first preset time
  • the preset activity threshold is used to measure the status of the social application APP within the first preset time A critical value at which information transmission and information reception are busy.
  • the first activity level exceeds the preset activity level threshold, it indicates that the information sending and information reception of the social application APP is busy during the first preset time, and the social application APP is relatively active, and it needs to be on the home screen
  • the floating frame of the social application APP is displayed, and the user can send information through the floating frame on the home screen.
  • the determining the first activity of the social application APP according to the total amount of information sent and received includes:
  • the first ratio is determined as the first activity degree of the social application APP.
  • the user has also participated in information interaction on the social application APP within the first preset time. Therefore, the total amount of information sent and received includes the amount of information that the user participates in. From the total amount of information sent and received, determine the number of information sent and received for the user, and then calculate the first ratio of the number of information sent and received to the total number of information sent and received, and determine the first ratio as the social application The first activity of APP.
  • the first activity degree of the social application APP determined in this way can be used to characterize the information interaction degree of the user in the social application APP. The higher the first activity degree, the more frequent the information interaction degree of the user in the social application APP, and the more user participation times. On the contrary, the lower the first activity degree, it indicates that the user occasionally uses the social application APP. Information interaction is carried out in the APP, and the number of user participation is less.
  • the determining the first activity of the social application APP according to the total amount of information sent and received includes:
  • the second ratio is determined as the first activity of the social application APP.
  • the number of participants of the social application APP within the first preset time may be counted; wherein, the number of participants is performed on the social application APP within the first preset time
  • the number of users interacting with information, after counting the number of participants, the second ratio of the number of participants to the total number of information sent and received can be calculated, and the second ratio can be determined as the first activity of the social application APP degree.
  • the first activity degree of the social application APP determined in this way may be used to characterize the user participation degree of the social application APP within the first preset time. The higher the first activity degree, the greater the number of users participating in the social application APP within the first preset time, and the more frequent the information interaction between users. Conversely, the lower the first activity degree, which indicates In the first preset time, the number of users of the social application APP is relatively small, and information interaction between users occasionally occurs.
  • the method further includes:
  • the floating frame of the target APP displayed on the home screen is hidden.
  • the second preset time may be any preset time, such as within 30 minutes.
  • the second activity is used to characterize the information receiving and sending status of the target APP within the second preset time.
  • the activity threshold is set as a critical value used to measure that the information sending and information receiving of the target APP are busy within the second preset time.
  • the second activity of the target APP within a second preset time can be calculated. If the second activity is lower than the preset activity threshold, it indicates that the current The target APP is in an idle state. In order not to affect the beauty of the main screen, the floating frame of the target APP displayed on the main screen may be hidden.
  • the calculation method of the second activity degree is similar to the calculation method of the first activity degree. For details, reference may be made to the related description above, which will not be repeated here.
  • step S12 After the input of the information to be sent is completed, the electronic device detects whether there is a preset sending operation for the information to be sent, and if it exists, executes step S13, and if it does not exist, the process ends.
  • the preset sending operation is a preset operation for instructing to send the information to be sent, such as a touch operation, a release operation, a left swipe operation, a right swipe operation, and so on.
  • the detecting whether there is a preset sending operation for the information to be sent includes:
  • the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
  • the preset sending operation is a touch operation, wherein after detecting a touch operation on the floating frame, in order to avoid misjudgment caused by a misoperation, it is necessary to further obtain the touch
  • the touch strength and touch duration of the operation if the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, indicating that the touch operation is a man-made effective operation, it can be determined that there is The preset sending operation for sending information.
  • the preset strength threshold is a strength threshold value obtained by pre-testing the user's touch strength for multiple times
  • the touch duration is, for example, 2 s, combining the preset strength threshold and the touch duration , Can be used to distinguish whether the user is misoperation.
  • the detecting whether there is a preset sending operation for the information to be sent includes:
  • the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
  • the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
  • different preset sending operations can be set for different types of information to be sent.
  • the preset sending operation can be set as a release operation. If you let go of the operation, it can be determined that there is a preset sending operation for the information to be sent; for example, for non-voice information (such as text information, video information, and picture information), it can be detected whether a sending instruction is received on the floating frame, Specifically, a sending button can be set on the floating frame, and when the user touches the sending button, the sending instruction can be triggered to be generated. When it is detected that the sending instruction is received on the floating frame, it can be determined that there is a preset sending operation for the information to be sent.
  • the electronic device determines the target contact person.
  • the target contact can be determined in multiple ways.
  • the determining target contact includes:
  • the contact address book of the APP If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
  • the third preset time may be a short time before the current time, such as 5 minutes.
  • the third preset time may be a short time before the current time, such as 5 minutes.
  • the degree of association between the interaction information and the information to be sent can be determined; wherein, the association The degree is used to measure the degree of correlation between the interactive information and the information to be sent.
  • the information content of the interaction between the user and each communication user is different. Therefore, each communication user and the user The degree of association between the interaction information and the information to be sent is different, and some are not even related at all.
  • the relevance degree is greater than the preset relevance degree threshold, it indicates that the communication user is currently in the process of information interaction with the user, so the communication user can be determined as the target contact.
  • the contact address book of the APP can be output; the user can download When a contact is selected in the contact address book, the generation of a selection instruction is triggered, and the electronic device can receive a selection instruction entered for a contact in the contact address book; and then respond to the selection instruction, the selected A contact is determined as the target contact.
  • the electronic device sends the information to be sent to the target contact.
  • the information to be sent can be sent to the target contact without switching to the interface corresponding to the target APP to send the information, so that the information can be sent conveniently To improve user experience.
  • the information interaction interface between the user and the target contact on the target APP may also be output This is beneficial for the user to see the entire information content of the information interaction between the user and the target contact.
  • the target APP runs in the background, and you can directly enter the information to be sent on the floating box of the target APP without switching to the application interface of the target APP running in the background.
  • the one-key sending of information can be realized, the whole process is convenient and fast, and the information sending efficiency is high.
  • FIG. 2 is a functional module diagram of a preferred embodiment of an information sending device disclosed in this application.
  • the information sending device runs in an electronic device.
  • the information sending device may include multiple functional modules composed of program code segments.
  • the program code of each program segment in the information sending device may be stored in the memory and executed by at least one processor to execute part or all of the steps in the information sending method described in FIG. 1, for details, see FIG. 1 The related description of, I won’t repeat it here.
  • the information sending device can be divided into multiple functional modules according to the functions it performs.
  • the functional modules may include: a receiving module 201, a detecting module 202, a determining module 203, and a sending module 204.
  • the module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
  • the receiving module 201 is used to receive the information to be sent input by the user on the floating box of the target application APP displayed on the main screen;
  • the detecting module 202 is configured to detect whether there is a preset sending operation for the information to be sent after the input of the information to be sent is completed;
  • the determining module 203 is configured to determine the target contact if it is detected that there is a preset sending operation for the information to be sent;
  • the sending module 204 is configured to send the information to be sent to the target contact.
  • the detection module 202 is further configured to detect that the receiving module 201 receives the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen, and detects that it is started in the background Multiple APPs;
  • the information sending device further includes:
  • the selection module is used to select a social application APP from the plurality of APPs;
  • a generating module for generating the floating frame of the social application APP
  • a judging module for judging whether the floating frame of the social application APP needs to be displayed on the main screen according to the activity level of the social application APP;
  • the arrangement module is used to display the floating frame of the social application APP on the main screen if there are multiple social application APPs, according to the number of the social application APPs and the size of the main screen, Arrange the floating frames of a plurality of said social application APPs;
  • the display module is configured to display the arranged floating frames of a plurality of the social application APPs on the main screen, wherein the social application APP is set in a preset area of the floating frame of each social application APP The small icon;
  • the determining module 203 is further configured to determine the selected floating frame as the floating frame of the target application APP when a selection instruction for the floating frames of a plurality of the social application APPs is received.
  • the judging module judging whether it is necessary to display the floating frame of the social application APP on the main screen according to the activity level of the social application APP includes:
  • the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  • the determining the first activity of the social application APP according to the total amount of information sent and received includes:
  • the first ratio is determined as the first activity degree of the social application APP.
  • the method for the determining module 203 to determine the first activity of the social application APP according to the total amount of information sent and received is specifically:
  • the second ratio is determined as the first activity of the social application APP.
  • the information sending device further includes:
  • a calculation module configured to calculate the second activity level of the target APP within a second preset time after the display module displays the floating frame of the target APP on the main screen;
  • the hiding module is configured to hide the floating frame of the target APP displayed on the main screen if the second activity is lower than a preset activity threshold.
  • the detection module 202 includes:
  • the first detection sub-module is used to detect a touch operation on the floating frame
  • the first acquiring submodule is used to acquire the touch force and touch duration of the touch operation
  • the first determining sub-module is configured to determine that there is a preset sending operation for the information to be sent if the touch intensity is greater than a preset intensity threshold and the touch duration is greater than a preset time threshold.
  • the detection module 202 detects whether there is a preset sending operation for the information to be sent specifically as follows:
  • the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
  • the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
  • the method for the determining module 203 to determine the target contact is specifically as follows:
  • the obtaining module is further configured to obtain each communication user within the third preset time if there are multiple communication users.
  • the contact address book of the APP If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
  • the target APP is running in the background, and the information to be sent can be directly input on the floating box of the target APP without switching to the application interface of the target APP running in the background.
  • the one-key sending of information can be realized, the whole process is convenient and fast, and the information sending efficiency is high.
  • FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the information sending method according to the present application.
  • the electronic device 3 includes a memory 31, at least one processor 32, computer readable instructions 33 stored in the memory 31 and executable on the at least one processor 32, and at least one communication bus 34.
  • FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation on the electronic device 3. It may include more or less components than shown, or a combination Some components, or different components, for example, the electronic device 3 may also include input and output devices, network access devices, buses, and so on.
  • the at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the processor 32 may be a microprocessor, or the processor 32 may also be any conventional processor, etc.
  • the processor 32 is the control center of the electronic device 3, and connects the entire electronic device 3 through various interfaces and lines. Parts.
  • the memory 31 may be used to store the computer-readable instructions 33 and/or modules/units, and the processor 32 can run or execute the computer-readable instructions and/or modules/units stored in the memory 31, and
  • the data stored in the memory 31 is called to realize various functions of the electronic device 3.
  • the memory 31 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.); the storage data area may The data (such as audio data) created according to the use of the electronic device 3 and the like are stored.
  • the memory 31 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the memory 31 in the electronic device 3 stores multiple instructions to implement an information sending method, and the processor 32 can execute the multiple instructions to implement:
  • the target APP runs in the background, and the information to be sent can be directly input on the floating box of the target APP without switching to the application interface of the target APP running in the background.
  • the one-key sending of information can be realized, the whole process is convenient and quick, and the information sending efficiency is high.
  • the integrated module/unit of the electronic device 3 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile readable storage medium.
  • this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through computer-readable instructions.
  • the computer-readable instructions can be stored in a non-volatile memory.
  • the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate forms, etc.
  • the non-volatile readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and device for information transmission, an electronic device, and a storage medium. The method comprises: receiving information to be transmitted inputted by a user in a hoverbox of a target application (APP) displayed on a main screen (S11); when the inputting of said information is finished, detecting whether a preset transmission operation with respect to said information is present (S12); if the presence of the preset transmission operation with respect to said information is detected, determining a target contact (S13); and transmitting said information to the target contact (S14). The efficiency of information transmission can be increased.

Description

信息发送方法、装置、电子设备及存储介质Information sending method, device, electronic equipment and storage medium
本申请要求于2019年04月26日提交中国专利局,申请号为201910345903.6发明名称为“信息发送方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 26, 2019. The application number is 201910345903.6. The invention title is "Information sending method, device, electronic equipment and storage medium". The entire content is incorporated by reference. This application.
技术领域Technical field
本申请涉及智能终端技术领域,尤其涉及一种信息发送方法、装置、电子设备及存储介质。This application relates to the technical field of smart terminals, and in particular to an information sending method, device, electronic equipment and storage medium.
背景技术Background technique
随着手机等移动终端的使用越来越普遍,移动终端上的应用程序也越来越丰富,这给用户带来了信息获取方面的便捷性。As the use of mobile terminals such as mobile phones becomes more and more common, the applications on the mobile terminals become more and more abundant, which brings convenience to users in terms of information acquisition.
通常,用户会在移动终端中开启多个应用程序,虽然退出当前的主屏幕,但是,该多个应用程序都在后台运行着。当移动终端的某个应用程序收发到新消息时,通常的做法是切换至该某个应用程序,在该某个应用程序界面,用户才能够发送消息,如果应用程序太多,用户需要一个个去查找应用程序,然后再编辑信息发送信息,整个过程比较复杂,浪费用户时间,效率较低,而且不便捷。Generally, a user opens multiple applications in a mobile terminal, and although they exit the current home screen, the multiple applications are all running in the background. When a certain application of the mobile terminal receives and dispatches a new message, the usual method is to switch to that certain application. Only on the interface of this certain application can the user send the message. If there are too many applications, the user needs one by one. To find the application, and then edit the message to send the message, the whole process is complicated, wastes the user's time, is inefficient, and is not convenient.
发明内容Summary of the invention
鉴于以上内容,有必要提供一种信息发送方法、装置、电子设备及存储介质,能够提高信息的发送效率。In view of the above, it is necessary to provide an information sending method, device, electronic device, and storage medium that can improve the efficiency of information sending.
本申请的第一方面提供一种信息发送方法,所述方法包括:The first aspect of the present application provides an information sending method, which includes:
接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;Receiving the to-be-sent information entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;After the input of the information to be sent is finished, detecting whether there is a preset sending operation for the information to be sent;
若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;If it is detected that there is a preset sending operation for the information to be sent, determine the target contact;
将所述待发送信息发送至所述目标联系人。Send the to-be-sent information to the target contact.
在一种可能的实现方式中,在所述接收用户在主屏幕显示的目标应用程序APP的悬浮框 上输入的待发送信息之前,所述方法还包括:In a possible implementation manner, before the receiving the information to be sent entered by the user on the floating frame of the target application APP displayed on the main screen, the method further includes:
检测在后台启动的多个APP;Detect multiple apps launched in the background;
从所述多个APP中挑选出社交应用APP;Select a social application APP from the plurality of APPs;
生成所述社交应用APP的悬浮框;Generating a floating frame of the social application APP;
根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;Judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP;
若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;If the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;Displaying the arranged floating frames of a plurality of the social application APPs on the home screen, wherein a preset area of the floating frame of each social application APP is provided with a small icon of the social application APP;
当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标APP的悬浮框。When a selection instruction for the floating frames of a plurality of the social application APPs is received, the selected floating frames are determined as the floating frames of the target APP.
在一种可能的实现方式中,所述根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框包括:In a possible implementation, the judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP includes:
针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
在一种可能的实现方式中,在所述主屏幕上显示所述目标APP的悬浮框之后,所述方法还包括:In a possible implementation, after displaying the floating frame of the target APP on the home screen, the method further includes:
计算在第二预设时间内所述目标APP的第二活跃度;Calculating the second activity level of the target APP within the second preset time;
若所述第二活跃度低于预设活跃度阈值,则隐藏在所述主屏幕上显示的所述目标APP的悬浮框。If the second activity level is lower than the preset activity level threshold, the floating frame of the target APP displayed on the home screen is hidden.
在一种可能的实现方式中,所述检测是否存在针对所述待发送信息的预设发送操作包括:In a possible implementation manner, the detecting whether there is a preset sending operation for the information to be sent includes:
检测在所述悬浮框上的触摸操作;Detecting a touch operation on the floating frame;
获取所述触摸操作的触摸力度和触摸持续时间;Acquiring touch force and touch duration of the touch operation;
若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,则确定存在针对所述待发送信息的预设发送操作。If the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
在一种可能的实现方式中,所述检测是否存在针对所述待发送信息的预设发送操作包括:In a possible implementation manner, the detecting whether there is a preset sending operation for the information to be sent includes:
若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
在一种可能的实现方式中,所述确定目标联系人包括:In a possible implementation manner, the determining the target contact includes:
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;将所述沟通用户确定为目标联系人;或Obtain the communication user who interacts with the user within the third preset time before the current time; determine the communication user as the target contact; or
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;若所述沟通用户有多个,获取所述第三预设时间内每个所述沟通用户与所述用户的交互信息;针对每个所述沟通用户,确定所述交互信息与所述待发送信息之间的关联度;若所述关联度大于预设关联度阈值,将所述沟通用户确定为目标联系人;或Obtain the communication users who interacted with the user within the third preset time before the current time; if there are multiple communication users, obtain each of the communication users and the user within the third preset time For each of the communication users, determine the degree of association between the interaction information and the information to be sent; if the degree of association is greater than a preset association degree threshold, determine the communication user as a target contact Person; or
若在当前时间之前的第三预设时间内不存在与所述用户进行信息交互的沟通用户,输出所述APP的联系人通讯录;接收针对所述联系人通讯录中的某个联系人输入的选择指令;响应所述选择指令,将被选择的某个联系人确定为目标联系人。If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
本申请的第二方面提供一种信息发送装置,所述装置包括:A second aspect of the present application provides an information sending device, the device including:
接收模块,用于接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;The receiving module is used to receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
检测模块,用于在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;The detection module is configured to detect whether there is a preset sending operation for the information to be sent after the input of the information to be sent is completed;
确定模块,用于若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;The determining module is configured to determine the target contact if it is detected that there is a preset sending operation for the information to be sent;
发送模块,用于将所述待发送信息发送至所述目标联系人。The sending module is used to send the information to be sent to the target contact.
本申请的第三方面提供一种电子设备,所述电子设备包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令时实现所述的信息发送方法。A third aspect of the present application provides an electronic device including a processor and a memory, and the processor is configured to implement the information sending method when executing computer-readable instructions stored in the memory.
本申请的第四方面提供一种非易失性可读存储介质,所述非易失性可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现所述的信息发送方法。A fourth aspect of the present application provides a non-volatile readable storage medium having computer readable instructions stored on the non-volatile readable storage medium, and when the computer readable instructions are executed by a processor, the Method of sending information.
由以上技术方案,本申请中,可以接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,在所述待发送信息输入结束后,可以检测是否存在针对所述待发送信息的预设发送操作,若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人,之后,即可将所述待发送信息发送至所述目标联系人。可见,本申请中, 目标APP在后台运行,可以直接在目标APP的悬浮框上输入待发送信息,而不需要切换至后台运行的所述目标APP的应用界面,在确定目标联系人之后,即可实现信息的一键发送,整个过程方便快捷,信息发送效率高。Based on the above technical solutions, in this application, the user can receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen. After the input of the information to be sent is completed, it can be detected whether there is a The preset sending operation of information, if it is detected that there is a preset sending operation for the information to be sent, the target contact is determined, and then the information to be sent can be sent to the target contact. It can be seen that, in this application, the target APP runs in the background, and you can directly enter the information to be sent on the floating box of the target APP without switching to the application interface of the target APP running in the background. After the target contact is determined, that is One-key sending of information can be realized, the whole process is convenient and fast, and the efficiency of information sending is high.
附图说明Description of the drawings
图1是本申请公开的一种信息发送方法的较佳实施例的流程图。Fig. 1 is a flowchart of a preferred embodiment of an information sending method disclosed in the present application.
图2是本申请公开的一种信息发送装置的较佳实施例的功能模块图。Fig. 2 is a functional module diagram of a preferred embodiment of an information sending device disclosed in the present application.
图3是本申请实现信息发送方法的较佳实施例的电子设备的结构示意图。Fig. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the information sending method according to the present application.
具体实施方式Detailed ways
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to be able to understand the above objectives, features and advantages of the application more clearly, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in the description of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the application.
所述电子设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、现场可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等,可以包括但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理PDA等。The electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), and a field programmable gate. Array (FPGA), digital processor (DSP), embedded device, etc., which can include but are not limited to any electronic product that can interact with the user through a keyboard, mouse, remote control, touch panel or voice control device, etc. , For example, personal computers, tablet computers, smart phones, personal digital assistants, PDAs, etc.
请参见图1,图1是本申请公开的一种信息发送方法的较佳实施例的流程图。其中,根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。Please refer to FIG. 1, which is a flowchart of a preferred embodiment of an information sending method disclosed in this application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
S11、电子设备接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息。S11. The electronic device receives the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen.
其中,所述目标APP在后台运行,所述待发送信息可以包括但不限于语音信息、文字信息、图片信息以及视频信息。其中,所述目标APP在后台已经启动,电子设备的主屏 幕上显示所述目标APP的悬浮框,在所述目标APP的悬浮框的预设区域设置有所述目标APP的小图标,所述小图标用于唯一标识所述目标APP。The target APP runs in the background, and the information to be sent may include, but is not limited to, voice information, text information, picture information, and video information. Wherein, the target APP has been started in the background, a floating frame of the target APP is displayed on the home screen of the electronic device, a small icon of the target APP is set in a preset area of the floating frame of the target APP, and The small icon is used to uniquely identify the target APP.
本申请实施例中,电子设备上安装有各种类型的APP,比如游戏类APP、社交应用类APP、音乐类APP、办公类APP等,其中,所有的APP均可以在后台启动。当多个APP在后台启动后,为了方便用户收发信息而不用切换至APP界面,可以在主屏幕上输出多个APP的悬浮框,用户可以在所述多个APP中选择目标APP,并在目标APP上输入待发送信息。In the embodiments of this application, various types of apps are installed on the electronic device, such as game apps, social apps apps, music apps, office apps, etc., among which all apps can be started in the background. When multiple APPs are started in the background, in order to facilitate the user to send and receive information without switching to the APP interface, the floating boxes of multiple APPs can be output on the main screen, and the user can select the target APP from the multiple APPs and click the target APP. Enter the information to be sent on the APP.
作为一种可选的实施方式,S11之前,所述方法还包括:As an optional implementation manner, before S11, the method further includes:
检测在后台启动的多个APP;Detect multiple apps launched in the background;
从所述多个APP中挑选出社交应用APP;Select a social application APP from the plurality of APPs;
生成所述社交应用APP的悬浮框;Generating a floating frame of the social application APP;
根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;Judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP;
若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;If the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;Displaying the arranged floating frames of a plurality of the social application APPs on the home screen, wherein a preset area of the floating frame of each social application APP is provided with a small icon of the social application APP;
当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标应用程序APP的悬浮框。When a selection instruction for the floating frames of a plurality of the social application APPs is received, the selected floating frames are determined as the floating frames of the target application APP.
在该可选的实施方式中,由于电子设备上安装有各种类型的APP,后台启动的APP有多个,而只有社交应用类型的APP收发信息比较频繁,可以从多个APP中挑选出社交应用APP,并根据社交应用APP的活跃程度,来判断需要在所述主屏幕上显示所述社交应用APP的悬浮框,如果社交应用APP的活跃程度很高,则需要在主屏幕上显示,另外,如果活跃程度高的社交应用APP为多个,则需要显示的悬浮框也有多个,可以根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列,具体的,可以根据所述社交应用APP的数量以及所述主屏幕的大小,确定每个悬浮框的大小,进而对这些悬浮框进行排列,其中,可以任意排列,也可以按照社交应用APP的活跃程度的高低来排列悬浮框。或者,可以设置每个悬浮框的大小。In this alternative embodiment, since various types of apps are installed on the electronic device, there are multiple apps launched in the background, and only apps of the social application type send and receive information frequently, so you can select social apps from multiple apps. App, and according to the activity level of the social application APP, it is determined that the floating frame of the social application APP needs to be displayed on the main screen. If the social application APP is very active, it needs to be displayed on the main screen. If there are multiple social application apps with a high degree of activity, there are also multiple floating frames that need to be displayed. The number of social application apps can be suspended according to the number of social application apps and the size of the home screen. The frames are arranged. Specifically, the size of each floating frame can be determined according to the number of the social application APP and the size of the main screen, and then these floating frames can be arranged. Among them, they can be arranged arbitrarily or according to social Use the active level of the APP to arrange the floating boxes. Or, you can set the size of each floating frame.
其中,在所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标, 所述小图标用于唯一标识所述社交应用APP。当社交应用APP有多个时,可以通过悬浮框预设区域设置的小图标来区分是哪个社交应用APP。Wherein, a small icon of the social application APP is set in a preset area of the floating frame of the social application APP, and the small icon is used to uniquely identify the social application APP. When there are multiple social application apps, the small icons set in the preset area of the floating frame can be used to distinguish which social application APP is.
用户可以对多个所述社交应用APP的悬浮框进行选择,当接收到针对多个所述社交应用APP的悬浮框的选择指令时,可以将被选择的悬浮框确定为目标应用程序APP的悬浮框。The user can select the floating frames of multiple social application APPs, and when receiving a selection instruction for the floating frames of multiple social application APPs, the selected floating frame can be determined as the floating frame of the target application APP. frame.
作为一种可选的实施方式,所述根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框包括:As an optional implementation manner, the judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP includes:
针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
其中,第一预设时间可以为预先设置的任意时间,比如10min内,信息收发总数量即在第一预设时间内所述社交应用APP接收到的信息数量与所述社交应用APP发送的信息数量之和,第一活跃度用于表征在第一预设时间内所述社交应用APP的信息收发状态,预设活跃度阈值为用于衡量在第一预设时间内所述社交应用APP的信息发送和信息接收处于繁忙状态的一个临界值。如果第一活跃度超过预设活跃度阈值,表明在第一预设时间内,所述社交应用APP的信息发送和信息接收处于繁忙状态,所述社交应用APP比较活跃,则需要在主屏幕上显示所述社交应用APP的悬浮框,用户可以通过主屏幕上的悬浮框来发送信息。Wherein, the first preset time may be any time set in advance, for example, within 10 minutes, the total amount of information sent and received is the amount of information received by the social application APP and the information sent by the social application APP within the first preset time The first activity is used to characterize the information receiving and sending status of the social application APP within the first preset time, and the preset activity threshold is used to measure the status of the social application APP within the first preset time A critical value at which information transmission and information reception are busy. If the first activity level exceeds the preset activity level threshold, it indicates that the information sending and information reception of the social application APP is busy during the first preset time, and the social application APP is relatively active, and it needs to be on the home screen The floating frame of the social application APP is displayed, and the user can send information through the floating frame on the home screen.
具体的,所述根据所述信息收发总数量,确定所述社交应用APP的第一活跃度包括:Specifically, the determining the first activity of the social application APP according to the total amount of information sent and received includes:
从所述信息收发总数量中,确定针对所述用户的信息收发数量;Determine the number of information sent and received for the user from the total number of information sent and received;
计算所述信息收发数量与所述信息收发总数量的第一比值;Calculating a first ratio of the number of information received and received to the total number of information received and received;
将所述第一比值确定为所述社交应用APP的第一活跃度。The first ratio is determined as the first activity degree of the social application APP.
在该可选的实施方式中,第一预设时间内,用户在所述社交应用APP上也参与了信息交互,因此,统计的信息收发总数量中包括用户参与的那部分信息数量,故可以从所述信息收发总数量中,确定针对所述用户的信息收发数量,进而计算所述信息收发数量与所述信息收发总数量的第一比值,将所述第一比值确定为所述社交应用APP的第一活跃度。通过这种方式确定的所述社交应用APP的第一活跃度可以用来表征用户在所述社交应用APP中的信息交互程度。所述第一活跃度越高,表明用户在所述社交应用APP中的 信息交互程度越频繁,用户参与次数较多,反之,所述第一活跃度越低,表明用户偶尔在所述社交应用APP中进行信息交互,用户参与次数较少。In this alternative embodiment, the user has also participated in information interaction on the social application APP within the first preset time. Therefore, the total amount of information sent and received includes the amount of information that the user participates in. From the total amount of information sent and received, determine the number of information sent and received for the user, and then calculate the first ratio of the number of information sent and received to the total number of information sent and received, and determine the first ratio as the social application The first activity of APP. The first activity degree of the social application APP determined in this way can be used to characterize the information interaction degree of the user in the social application APP. The higher the first activity degree, the more frequent the information interaction degree of the user in the social application APP, and the more user participation times. On the contrary, the lower the first activity degree, it indicates that the user occasionally uses the social application APP. Information interaction is carried out in the APP, and the number of user participation is less.
具体的,所述根据所述信息收发总数量,确定所述社交应用APP的第一活跃度包括:Specifically, the determining the first activity of the social application APP according to the total amount of information sent and received includes:
统计在所述第一预设时间内所述目标APP的参与人数;Count the number of participants of the target APP within the first preset time;
计算所述参与人数与所述信息收发总数量的第二比值;Calculating a second ratio of the number of participants to the total number of information sent and received;
将所述第二比值确定为所述社交应用APP的第一活跃度。The second ratio is determined as the first activity of the social application APP.
在该可选的实施方式中,可以统计在所述第一预设时间内所述社交应用APP的参与人数;其中,所述参与人数即在第一预设时间内在所述社交应用APP上进行信息交互的用户的数量,在统计完参与人数之后,即可计算所述参与人数与所述信息收发总数量的第二比值,将所述第二比值确定为所述社交应用APP的第一活跃度。通过这种方式确定的所述社交应用APP的第一活跃度可以用来表征所述第一预设时间内所述社交应用APP的用户参与程度。所述第一活跃度越高,表明所述第一预设时间内所述社交应用APP的用户参与人数较多,用户之间信息交互越频繁,反之,所述第一活跃度越低,表明所述第一预设时间内所述社交应用APP的用户参与人数较少,用户之间偶尔进行信息交互。In this optional implementation manner, the number of participants of the social application APP within the first preset time may be counted; wherein, the number of participants is performed on the social application APP within the first preset time The number of users interacting with information, after counting the number of participants, the second ratio of the number of participants to the total number of information sent and received can be calculated, and the second ratio can be determined as the first activity of the social application APP degree. The first activity degree of the social application APP determined in this way may be used to characterize the user participation degree of the social application APP within the first preset time. The higher the first activity degree, the greater the number of users participating in the social application APP within the first preset time, and the more frequent the information interaction between users. Conversely, the lower the first activity degree, which indicates In the first preset time, the number of users of the social application APP is relatively small, and information interaction between users occasionally occurs.
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
计算在第二预设时间内所述目标APP的第二活跃度;Calculating the second activity level of the target APP within the second preset time;
若所述第二活跃度低于预设活跃度阈值,则隐藏在所述主屏幕上显示的所述目标APP的悬浮框。If the second activity level is lower than the preset activity level threshold, the floating frame of the target APP displayed on the home screen is hidden.
在该可选的实施方式中,第二预设时间可以为预先设置的任意时间,比如30min内,第二活跃度用于表征在第二预设时间内所述目标APP的信息收发状态,预设活跃度阈值为用于衡量在第二预设时间内所述目标APP的信息发送和信息接收处于繁忙状态的一个临界值。In this optional implementation manner, the second preset time may be any preset time, such as within 30 minutes. The second activity is used to characterize the information receiving and sending status of the target APP within the second preset time. The activity threshold is set as a critical value used to measure that the information sending and information receiving of the target APP are busy within the second preset time.
在主屏幕上显示所述目标APP的悬浮框之后,可以计算在第二预设时间内所述目标APP的第二活跃度,如果所述第二活跃度低于预设活跃度阈值,表明当前所述目标APP处于空闲状态,为了不影响主屏幕的美观,可以隐藏在所述主屏幕上显示的所述目标APP的悬浮框。After the floating frame of the target APP is displayed on the main screen, the second activity of the target APP within a second preset time can be calculated. If the second activity is lower than the preset activity threshold, it indicates that the current The target APP is in an idle state. In order not to affect the beauty of the main screen, the floating frame of the target APP displayed on the main screen may be hidden.
其中,所述第二活跃度的计算方式与上述第一活跃度的计算方式类似,具体可以参考上面相关的描述,在此不再赘述。Wherein, the calculation method of the second activity degree is similar to the calculation method of the first activity degree. For details, reference may be made to the related description above, which will not be repeated here.
S12、电子设备在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作,若存在,执行步骤S13,若不存在,结束本流程。S12. After the input of the information to be sent is completed, the electronic device detects whether there is a preset sending operation for the information to be sent, and if it exists, executes step S13, and if it does not exist, the process ends.
其中,可以检测在设定时间内是否有信息输入,若在设定时间内没有信息输入,则可以确定所述待发送信息输入结束。Wherein, it can be detected whether there is information input within the set time, and if there is no information input within the set time, it can be determined that the input of the information to be sent is finished.
其中,所述预设发送操作即预先设置的用于指示发送所述待发送信息的操作,比如触摸操作,松手操作,向左滑操作,向右滑操作等。Wherein, the preset sending operation is a preset operation for instructing to send the information to be sent, such as a touch operation, a release operation, a left swipe operation, a right swipe operation, and so on.
具体的,所述检测是否存在针对所述待发送信息的预设发送操作包括:Specifically, the detecting whether there is a preset sending operation for the information to be sent includes:
检测在所述悬浮框上的触摸操作;Detecting a touch operation on the floating frame;
获取所述触摸操作的触摸力度和触摸持续时间;Acquiring touch force and touch duration of the touch operation;
若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,则确定存在针对所述待发送信息的预设发送操作。If the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
在该可选的实施方式中,所述预设发送操作为触摸操作,其中,在检测到所述悬浮框上的触摸操作之后,为了避免误操作导致的误判断,还需要进一步获取所述触摸操作的触摸力度和触摸持续时间;若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,表明所述触摸操作为人为的有效操作,则可以确定存在针对所述待发送信息的预设发送操作。其中,所述预设力度阈值为预先对所述用户的触摸力度进行多次试验而获得的一个力度临界值,所述触摸持续时间比如2s,综合所述预设力度阈值以及所述触摸持续时间,可以用来区分所述用户是否为误操作。In this alternative embodiment, the preset sending operation is a touch operation, wherein after detecting a touch operation on the floating frame, in order to avoid misjudgment caused by a misoperation, it is necessary to further obtain the touch The touch strength and touch duration of the operation; if the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, indicating that the touch operation is a man-made effective operation, it can be determined that there is The preset sending operation for sending information. Wherein, the preset strength threshold is a strength threshold value obtained by pre-testing the user's touch strength for multiple times, and the touch duration is, for example, 2 s, combining the preset strength threshold and the touch duration , Can be used to distinguish whether the user is misoperation.
具体的,所述检测是否存在针对所述待发送信息的预设发送操作包括:Specifically, the detecting whether there is a preset sending operation for the information to be sent includes:
若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
在该可选的实施方式中,可以针对不同类型的待发送信息来设置不同的预设发送操作,比如针对语音信息,可以设置预设发送操作为松手操作,当检测在所述悬浮框上存在松手操作,则可以确定存在针对所述待发送信息的预设发送操作;又比如针对非语音信息(如文字信息、视频信息、图片信息),可以检测所述悬浮框上是否接收到发送指令,具体的,可以在悬浮框上设置发送按钮,当用户触摸所述发送按钮时即可触发生成发送指令。当检测在所述悬浮框上接收到发送指令,则可以确定存在针对所述待发送信息的预设发送操作。In this alternative embodiment, different preset sending operations can be set for different types of information to be sent. For example, for voice information, the preset sending operation can be set as a release operation. If you let go of the operation, it can be determined that there is a preset sending operation for the information to be sent; for example, for non-voice information (such as text information, video information, and picture information), it can be detected whether a sending instruction is received on the floating frame, Specifically, a sending button can be set on the floating frame, and when the user touches the sending button, the sending instruction can be triggered to be generated. When it is detected that the sending instruction is received on the floating frame, it can be determined that there is a preset sending operation for the information to be sent.
S13、电子设备确定目标联系人。S13. The electronic device determines the target contact person.
本申请实施例中,可以通过多种方式来确定目标联系人。In the embodiment of the present application, the target contact can be determined in multiple ways.
具体的,所述确定目标联系人包括:Specifically, the determining target contact includes:
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;将所述沟通用户确定为目标联系人;或Obtain the communication user who interacts with the user within the third preset time before the current time; determine the communication user as the target contact; or
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;若所述沟通用户有多个,获取所述第三预设时间内每个所述沟通用户与所述用户的交互信息;针对每个所述沟通用户,确定所述交互信息与所述待发送信息之间的关联度;若所述关联度大于预设关联度阈值,将所述沟通用户确定为目标联系人;或Obtain the communication users who interacted with the user within the third preset time before the current time; if there are multiple communication users, obtain each of the communication users and the user within the third preset time For each of the communication users, determine the degree of association between the interaction information and the information to be sent; if the degree of association is greater than a preset association degree threshold, determine the communication user as a target contact Person; or
若在当前时间之前的第三预设时间内不存在与所述用户进行信息交互的沟通用户,输出所述APP的联系人通讯录;接收针对所述联系人通讯录中的某个联系人输入的选择指令;响应所述选择指令,将被选择的某个联系人确定为目标联系人。If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
其中,第三预设时间可以为当前时间之前的较短时间,比如5min,通常,如果在当前时间之前的较短时间,存在与所述用户进行信息交互的沟通用户,表明所述用户与所述沟通用户当前处于信息交互的过程中,所述待发送信息很有可能是针对所述沟通用户的,此时即可将所述沟通用户确定为目标联系人。Wherein, the third preset time may be a short time before the current time, such as 5 minutes. Generally, if there is a communication user interacting with the user for a short time before the current time, it indicates that the user and the The communication user is currently in the process of information interaction, and the information to be sent is likely to be for the communication user, and the communication user can be determined as the target contact at this time.
或者,如果在当前时间之前的较短时间(即第三预设时间内),存在与所述用户进行信息交互的沟通用户,且所述沟通用户有多个,则需要进一步地获取所述第三预设时间内每个所述沟通用户与所述用户的交互信息;针对每个所述沟通用户,可以确定所述交互信息与所述待发送信息之间的关联度;其中,所述关联度用于衡量所述交互信息与所述待发送信息之间的相关性程度。通常,所述用户在与多个所述沟通用户进行信息交互中,所述用户与每个所述沟通用户之间交互的信息内容是不同的,因而,每个所述沟通用户与所述用户的交互信息与所述待发送信息之间的关联度是不同的,有的甚至一点都不相关,只有当前正处于信息交互过程的沟通用户所对应的交互信息与所述待发送信息才相关。因此,如果所述关联度大于预设关联度阈值,表明所述沟通用户当前正在与所述用户进行信息交互的过程中,故可以将所述沟通用户确定为目标联系人。Or, if there is a communication user interacting with the user in a short time before the current time (that is, the third preset time), and there are multiple communication users, it is necessary to further obtain the first 3. Interaction information between each communication user and the user within a preset time; for each communication user, the degree of association between the interaction information and the information to be sent can be determined; wherein, the association The degree is used to measure the degree of correlation between the interactive information and the information to be sent. Generally, when the user interacts with multiple communication users, the information content of the interaction between the user and each communication user is different. Therefore, each communication user and the user The degree of association between the interaction information and the information to be sent is different, and some are not even related at all. Only the interaction information corresponding to the communicating user who is currently in the information interaction process is related to the information to be sent. Therefore, if the relevance degree is greater than the preset relevance degree threshold, it indicates that the communication user is currently in the process of information interaction with the user, so the communication user can be determined as the target contact.
或者,如果在当前时间之前的较短时间(即第三预设时间内)不存在与所述用户进行信息交互的沟通用户,可以输出所述APP的联系人通讯录;所述用户可以从所述联系人通讯录中选择某个联系人,触发生成选择指令,电子设备可以接收针对所述联系人通讯录中的某个联系人输入的选择指令;进而响应所述选择指令,将被选择的某个联系人确定为目标联系人。Or, if there is no communication user who interacts with the user in a short time before the current time (that is, the third preset time), the contact address book of the APP can be output; the user can download When a contact is selected in the contact address book, the generation of a selection instruction is triggered, and the electronic device can receive a selection instruction entered for a contact in the contact address book; and then respond to the selection instruction, the selected A contact is determined as the target contact.
S14、电子设备将所述待发送信息发送至所述目标联系人。S14. The electronic device sends the information to be sent to the target contact.
本申请实施例中,在确定目标联系人之后,即可将所述待发送信息发送至所述目标联系人,而无需切换至所述目标APP对应的界面去发送信息,从而可以便捷地发送信息,提高用户体验。In the embodiment of this application, after the target contact is determined, the information to be sent can be sent to the target contact without switching to the interface corresponding to the target APP to send the information, so that the information can be sent conveniently To improve user experience.
可选的,由于悬浮框的显示区域有限,在将所述待发送信息发送至所述目标联系人之后,还可以输出所述用户与所述目标联系人在所述目标APP上的信息交互界面,这有利于所述用户看到所述用户与所述目标联系人进行信息交互的整个信息内容。Optionally, since the display area of the floating frame is limited, after the information to be sent is sent to the target contact, the information interaction interface between the user and the target contact on the target APP may also be output This is beneficial for the user to see the entire information content of the information interaction between the user and the target contact.
在图1所描述的方法流程中,目标APP在后台运行,可以直接在目标APP的悬浮框上输入待发送信息,而不需要切换至后台运行的所述目标APP的应用界面,在确定目标联系人之后,即可实现信息的一键发送,整个过程方便快捷,信息发送效率高。In the method flow described in Figure 1, the target APP runs in the background, and you can directly enter the information to be sent on the floating box of the target APP without switching to the application interface of the target APP running in the background. After the person, the one-key sending of information can be realized, the whole process is convenient and fast, and the information sending efficiency is high.
请参见图2,图2是本申请公开的一种信息发送装置的较佳实施例的功能模块图。Please refer to FIG. 2. FIG. 2 is a functional module diagram of a preferred embodiment of an information sending device disclosed in this application.
在一些实施例中,所述信息发送装置运行于电子设备中。所述信息发送装置可以包括多个由程序代码段所组成的功能模块。所述信息发送装置中的各个程序段的程序代码可以存储于存储器中,并由至少一个处理器所执行,以执行图1所描述的信息发送方法中的部分或全部步骤,具体参见图1中的相关描述,在此不再赘述。In some embodiments, the information sending device runs in an electronic device. The information sending device may include multiple functional modules composed of program code segments. The program code of each program segment in the information sending device may be stored in the memory and executed by at least one processor to execute part or all of the steps in the information sending method described in FIG. 1, for details, see FIG. 1 The related description of, I won’t repeat it here.
本实施例中,所述信息发送装置根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:接收模块201、检测模块202、确定模块203及发送模块204。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机可读指令段,其存储在存储器中。In this embodiment, the information sending device can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a receiving module 201, a detecting module 202, a determining module 203, and a sending module 204. The module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
接收模块201,用于接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息;The receiving module 201 is used to receive the information to be sent input by the user on the floating box of the target application APP displayed on the main screen;
检测模块202,用于在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;The detecting module 202 is configured to detect whether there is a preset sending operation for the information to be sent after the input of the information to be sent is completed;
确定模块203,用于若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;The determining module 203 is configured to determine the target contact if it is detected that there is a preset sending operation for the information to be sent;
发送模块204,用于将所述待发送信息发送至所述目标联系人。The sending module 204 is configured to send the information to be sent to the target contact.
作为一种可选的实施方式,所述检测模块202,还用于在所述接收模块201接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息之前,检测在后台启动的多个APP;As an optional implementation manner, the detection module 202 is further configured to detect that the receiving module 201 receives the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen, and detects that it is started in the background Multiple APPs;
所述信息发送装置还包括:The information sending device further includes:
挑选模块,用于从所述多个APP中挑选出社交应用APP;The selection module is used to select a social application APP from the plurality of APPs;
生成模块,用于生成所述社交应用APP的悬浮框;A generating module for generating the floating frame of the social application APP;
判断模块,用于根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;A judging module for judging whether the floating frame of the social application APP needs to be displayed on the main screen according to the activity level of the social application APP;
排列模块,用于若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;The arrangement module is used to display the floating frame of the social application APP on the main screen if there are multiple social application APPs, according to the number of the social application APPs and the size of the main screen, Arrange the floating frames of a plurality of said social application APPs;
显示模块,用于将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;The display module is configured to display the arranged floating frames of a plurality of the social application APPs on the main screen, wherein the social application APP is set in a preset area of the floating frame of each social application APP The small icon;
所述确定模块203,还用于当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标应用程序APP的悬浮框。The determining module 203 is further configured to determine the selected floating frame as the floating frame of the target application APP when a selection instruction for the floating frames of a plurality of the social application APPs is received.
作为一种可选的实施方式,所述判断模块根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框包括:As an optional implementation manner, the judging module judging whether it is necessary to display the floating frame of the social application APP on the main screen according to the activity level of the social application APP includes:
针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
具体的,所述根据所述信息收发总数量,确定所述社交应用APP的第一活跃度包括:Specifically, the determining the first activity of the social application APP according to the total amount of information sent and received includes:
从所述信息收发总数量中,确定针对所述用户的信息收发数量;Determine the number of information sent and received for the user from the total number of information sent and received;
计算所述信息收发数量与所述信息收发总数量的第一比值;Calculating a first ratio of the number of information received and received to the total number of information received and received;
将所述第一比值确定为所述社交应用APP的第一活跃度。The first ratio is determined as the first activity degree of the social application APP.
所述确定模块203根据所述信息收发总数量,确定所述社交应用APP的第一活跃度的方式具体为:The method for the determining module 203 to determine the first activity of the social application APP according to the total amount of information sent and received is specifically:
统计在所述第一预设时间内所述目标APP的参与人数;Count the number of participants of the target APP within the first preset time;
计算所述参与人数与所述信息收发总数量的第二比值;Calculating a second ratio of the number of participants to the total number of information sent and received;
将所述第二比值确定为所述社交应用APP的第一活跃度。The second ratio is determined as the first activity of the social application APP.
作为一种可选的实施方式,所述信息发送装置还包括:As an optional implementation manner, the information sending device further includes:
计算模块,用于在所述显示模块在主屏幕上显示所述目标APP的悬浮框之后,计算在第二预设时间内所述目标APP的第二活跃度;A calculation module, configured to calculate the second activity level of the target APP within a second preset time after the display module displays the floating frame of the target APP on the main screen;
隐藏模块,用于若所述第二活跃度低于预设活跃度阈值,隐藏在所述主屏幕上显示的所述目标APP的悬浮框。The hiding module is configured to hide the floating frame of the target APP displayed on the main screen if the second activity is lower than a preset activity threshold.
作为一种可选的实施方式,所述检测模块202包括:As an optional implementation manner, the detection module 202 includes:
第一检测子模块,用于检测在所述悬浮框上的触摸操作;The first detection sub-module is used to detect a touch operation on the floating frame;
第一获取子模块,用于获取所述触摸操作的触摸力度和触摸持续时间;The first acquiring submodule is used to acquire the touch force and touch duration of the touch operation;
第一确定子模块,用于若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,确定存在针对所述待发送信息的预设发送操作。The first determining sub-module is configured to determine that there is a preset sending operation for the information to be sent if the touch intensity is greater than a preset intensity threshold and the touch duration is greater than a preset time threshold.
作为一种可选的实施方式,所述检测模块202检测是否存在针对所述待发送信息的预设发送操作的方式具体为:As an optional implementation manner, the detection module 202 detects whether there is a preset sending operation for the information to be sent specifically as follows:
若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
作为一种可选的实施方式,所述确定模块203确定目标联系人的方式具体为:As an optional implementation manner, the method for the determining module 203 to determine the target contact is specifically as follows:
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;将所述沟通用户确定为目标联系人;或Obtain the communication user who interacts with the user within the third preset time before the current time; determine the communication user as the target contact; or
获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;所述获取模块,还用于若所述沟通用户有多个,获取所述第三预设时间内每个所述沟通用户与所述用户的交互信息;针对每个所述沟通用户,确定所述交互信息与所述待发送信息之间的关联度;若所述关联度大于预设关联度阈值,将所述沟通用户确定为目标联系人;或Obtain the communication users who interacted with the user within the third preset time before the current time; the obtaining module is further configured to obtain each communication user within the third preset time if there are multiple communication users. The interaction information between the communication user and the user; for each communication user, determine the degree of association between the interaction information and the information to be sent; if the degree of association is greater than a preset association degree threshold, change The communication user is determined to be the target contact person; or
若在当前时间之前的第三预设时间内不存在与所述用户进行信息交互的沟通用户,输出所述APP的联系人通讯录;接收针对所述联系人通讯录中的某个联系人输入的选择指令;响应所述选择指令,将被选择的某个联系人确定为目标联系人。If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
在图2所描述信息发送装置中,目标APP在后台运行,可以直接在目标APP的悬浮框上输入待发送信息,而不需要切换至后台运行的所述目标APP的应用界面,在确定目标联系人之后,即可实现信息的一键发送,整个过程方便快捷,信息发送效率高。In the information sending device described in Figure 2, the target APP is running in the background, and the information to be sent can be directly input on the floating box of the target APP without switching to the application interface of the target APP running in the background. After the person, the one-key sending of information can be realized, the whole process is convenient and fast, and the information sending efficiency is high.
如图3所示,图3是本申请实现信息发送方法的较佳实施例的电子设备的结构示意图。所述电子设备3包括存储器31、至少一个处理器32、存储在所述存储器31中并可在所 述至少一个处理器32上运行的计算机可读指令33及至少一条通讯总线34。As shown in FIG. 3, FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of the information sending method according to the present application. The electronic device 3 includes a memory 31, at least one processor 32, computer readable instructions 33 stored in the memory 31 and executable on the at least one processor 32, and at least one communication bus 34.
本领域技术人员可以理解,图3所示的示意图仅仅是所述电子设备3的示例,并不构成对所述电子设备3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备3还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram shown in FIG. 3 is only an example of the electronic device 3, and does not constitute a limitation on the electronic device 3. It may include more or less components than shown, or a combination Some components, or different components, for example, the electronic device 3 may also include input and output devices, network access devices, buses, and so on.
所述至少一个处理器32可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。该处理器32可以是微处理器或者该处理器32也可以是任何常规的处理器等,所述处理器32是所述电子设备3的控制中心,利用各种接口和线路连接整个电子设备3的各个部分。The at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 32 may be a microprocessor, or the processor 32 may also be any conventional processor, etc. The processor 32 is the control center of the electronic device 3, and connects the entire electronic device 3 through various interfaces and lines. Parts.
所述存储器31可用于存储所述计算机可读指令33和/或模块/单元,所述处理器32通过运行或执行存储在所述存储器31内的计算机可读指令和/或模块/单元,以及调用存储在存储器31内的数据,实现所述电子设备3的各种功能。所述存储器31可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备3的使用所创建的数据(比如音频数据)等。此外,存储器31可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 31 may be used to store the computer-readable instructions 33 and/or modules/units, and the processor 32 can run or execute the computer-readable instructions and/or modules/units stored in the memory 31, and The data stored in the memory 31 is called to realize various functions of the electronic device 3. The memory 31 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.); the storage data area may The data (such as audio data) created according to the use of the electronic device 3 and the like are stored. In addition, the memory 31 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
结合图1,所述电子设备3中的所述存储器31存储多个指令以实现一种信息发送方法,所述处理器32可执行所述多个指令从而实现:With reference to FIG. 1, the memory 31 in the electronic device 3 stores multiple instructions to implement an information sending method, and the processor 32 can execute the multiple instructions to implement:
接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息;Receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen;
在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;After the input of the information to be sent is finished, detecting whether there is a preset sending operation for the information to be sent;
若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;If it is detected that there is a preset sending operation for the information to be sent, determine the target contact;
将所述待发送信息发送至所述目标联系人。Send the to-be-sent information to the target contact.
具体地,所述处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned instructions by the processor 32, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1, which will not be repeated here.
在图3所描述的电子设备3中,目标APP在后台运行,可以直接在目标APP的悬浮框上输入待发送信息,而不需要切换至后台运行的所述目标APP的应用界面,在确定目 标联系人之后,即可实现信息的一键发送,整个过程方便快捷,信息发送效率高。In the electronic device 3 described in Figure 3, the target APP runs in the background, and the information to be sent can be directly input on the floating box of the target APP without switching to the application interface of the target APP running in the background. After the contact, the one-key sending of information can be realized, the whole process is convenient and quick, and the information sending efficiency is high.
所述电子设备3集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述非易失性可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。If the integrated module/unit of the electronic device 3 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile memory. In the read storage medium, when the computer-readable instructions are executed by the processor, the steps of the foregoing method embodiments can be implemented. Among them, the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate forms, etc. The non-volatile readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。***权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present application is not limited to the details of the foregoing exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any associated diagram marks in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claims can also be implemented by one unit or device through software or hardware. The second class words are used to indicate names, and do not indicate any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solution of this application.

Claims (20)

  1. 一种信息发送方法,其特征在于,所述方法包括:An information sending method, characterized in that the method includes:
    接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;Receiving the to-be-sent information entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
    在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;After the input of the information to be sent is finished, detecting whether there is a preset sending operation for the information to be sent;
    若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;If it is detected that there is a preset sending operation for the information to be sent, determine the target contact;
    将所述待发送信息发送至所述目标联系人。Send the to-be-sent information to the target contact.
  2. 根据权利要求1所述的方法,其特征在于,在所述接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息之前,所述方法还包括:The method according to claim 1, characterized in that, before the receiving the information to be sent entered by the user on the floating frame of the target application APP displayed on the main screen, the method further comprises:
    检测在后台启动的多个APP;Detect multiple apps launched in the background;
    从所述多个APP中挑选出社交应用APP;Select a social application APP from the plurality of APPs;
    生成所述社交应用APP的悬浮框;Generating a floating frame of the social application APP;
    根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;Judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP;
    若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;If the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
    将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;Displaying the arranged floating frames of a plurality of the social application APPs on the home screen, wherein a preset area of the floating frame of each social application APP is provided with a small icon of the social application APP;
    当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标APP的悬浮框。When a selection instruction for the floating frames of a plurality of the social application APPs is received, the selected floating frames are determined as the floating frames of the target APP.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框包括:The method according to claim 2, wherein the judging whether it is necessary to display the floating frame of the social application APP on the main screen according to the activity level of the social application APP comprises:
    针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
    根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
    判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
    若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    计算在第二预设时间内所述目标APP的第二活跃度;Calculating the second activity level of the target APP within the second preset time;
    若所述第二活跃度低于预设活跃度阈值,则隐藏在所述主屏幕上显示的所述目标APP的悬浮框。If the second activity level is lower than the preset activity level threshold, the floating frame of the target APP displayed on the home screen is hidden.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述检测是否存在针对所述待发送信息的预设发送操作包括:The method according to any one of claims 1 to 4, wherein the detecting whether there is a preset sending operation for the information to be sent comprises:
    检测在所述悬浮框上的触摸操作;Detecting a touch operation on the floating frame;
    获取所述触摸操作的触摸力度和触摸持续时间;Acquiring touch force and touch duration of the touch operation;
    若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,则确定存在针对所述待发送信息的预设发送操作。If the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
  6. 根据权利要求1至4中任一项所述的方法,其特征在于,所述检测是否存在针对所述待发送信息的预设发送操作包括:The method according to any one of claims 1 to 4, wherein the detecting whether there is a preset sending operation for the information to be sent comprises:
    若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
    若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
  7. 根据权利要求1至4中任一项所述的方法,其特征在于,所述确定目标联系人包括:The method according to any one of claims 1 to 4, wherein the determining the target contact comprises:
    获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;将所述沟通用户确定为目标联系人;或Obtain the communication user who interacts with the user within the third preset time before the current time; determine the communication user as the target contact; or
    获取当前时间之前的第三预设时间内与所述用户进行信息交互的沟通用户;若所述沟通用户有多个,获取所述第三预设时间内每个所述沟通用户与所述用户的交互信息;针对每个所述沟通用户,确定所述交互信息与所述待发送信息之间的关联度;若所述关联度大于预设关联度阈值,将所述沟通用户确定为目标联系人;或Obtain the communication users who interacted with the user within the third preset time before the current time; if there are multiple communication users, obtain each of the communication users and the user within the third preset time For each of the communication users, determine the degree of association between the interaction information and the information to be sent; if the degree of association is greater than a preset association degree threshold, determine the communication user as a target contact Person; or
    若在当前时间之前的第三预设时间内不存在与所述用户进行信息交互的沟通用户,输出所述APP的联系人通讯录;接收针对所述联系人通讯录中的某个联系人输入的选择指令;响应所述选择指令,将被选择的某个联系人确定为目标联系人。If there is no communication user interacting with the user in the third preset time before the current time, output the contact address book of the APP; receive input for a contact in the contact address book In response to the selection instruction, the selected contact is determined as the target contact.
  8. 一种信息发送装置,其特征在于,所述装置包括:An information sending device, characterized in that the device includes:
    接收模块,用于接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;The receiving module is used to receive the information to be sent entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
    检测模块,用于在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;The detection module is configured to detect whether there is a preset sending operation for the information to be sent after the input of the information to be sent is completed;
    确定模块,用于若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;The determining module is configured to determine the target contact if it is detected that there is a preset sending operation for the information to be sent;
    发送模块,用于将所述待发送信息发送至所述目标联系人。The sending module is used to send the information to be sent to the target contact.
  9. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述处理器用于执行存储器中存储的至少一个计算机可读指令以实现以下步骤:An electronic device, characterized in that the electronic device includes a processor and a memory, and the processor is configured to execute at least one computer-readable instruction stored in the memory to implement the following steps:
    接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;Receiving the to-be-sent information entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
    在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;After the input of the information to be sent is finished, detecting whether there is a preset sending operation for the information to be sent;
    若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;If it is detected that there is a preset sending operation for the information to be sent, determine the target contact;
    将所述待发送信息发送至所述目标联系人。Send the to-be-sent information to the target contact.
  10. 根据权利要求9所述的电子设备,其特征在于,在所述接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息之前,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:The electronic device according to claim 9, wherein the processor executes at least one computer-readable instruction before receiving the information to be sent input by the user on the floating box of the target application APP displayed on the main screen It is also used to implement the following steps:
    检测在后台启动的多个APP;Detect multiple apps launched in the background;
    从所述多个APP中挑选出社交应用APP;Select a social application APP from the plurality of APPs;
    生成所述社交应用APP的悬浮框;Generating a floating frame of the social application APP;
    根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;Judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP;
    若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;If the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
    将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;Displaying the arranged floating frames of a plurality of the social application APPs on the home screen, wherein a preset area of the floating frame of each social application APP is provided with a small icon of the social application APP;
    当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标APP的悬浮框。When a selection instruction for the floating frames of a plurality of the social application APPs is received, the selected floating frames are determined as the floating frames of the target APP.
  11. 根据权利要求10所述的电子设备,其特征在于,所述处理器执行至少一个计算机可读指令以实现所述根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框时,具体包括:The electronic device according to claim 10, wherein the processor executes at least one computer-readable instruction to realize the judging whether it is necessary to display the information on the main screen according to the activity level of the social application APP. When describing the floating frame of a social application APP, it specifically includes:
    针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
    根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
    判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
    若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  12. 根据权利要求9所述的电子设备,其特征在于,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:The electronic device according to claim 9, wherein the processor executing at least one computer-readable instruction is further used to implement the following steps:
    计算在第二预设时间内所述目标APP的第二活跃度;Calculating the second activity level of the target APP within the second preset time;
    若所述第二活跃度低于预设活跃度阈值,则隐藏在所述主屏幕上显示的所述目标APP的悬浮框。If the second activity level is lower than the preset activity level threshold, the floating frame of the target APP displayed on the home screen is hidden.
  13. 根据权利要求9至12中任一项所述的电子设备,其特征在于,所述处理器执行至少一个计算机可读指令以实现所述检测是否存在针对所述待发送信息的预设发送操作时,具体包括:The electronic device according to any one of claims 9 to 12, wherein the processor executes at least one computer-readable instruction to implement the detection when there is a preset sending operation for the information to be sent , Specifically including:
    检测在所述悬浮框上的触摸操作;Detecting a touch operation on the floating frame;
    获取所述触摸操作的触摸力度和触摸持续时间;Acquiring touch force and touch duration of the touch operation;
    若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,则确定存在针对所述待发送信息的预设发送操作。If the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
  14. 根据权利要求9至12中任一项所述的电子设备,其特征在于,所述处理器执行至少一个计算机可读指令以实现所述检测是否存在针对所述待发送信息的预设发送操作时,具体包括:The electronic device according to any one of claims 9 to 12, wherein the processor executes at least one computer-readable instruction to implement the detection when there is a preset sending operation for the information to be sent , Specifically including:
    若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
    若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
  15. 一种非易失性可读存储介质,其特征在于,所述非易失性可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A non-volatile readable storage medium, wherein the non-volatile readable storage medium stores at least one computer readable instruction, and the following steps are implemented when the at least one computer readable instruction is executed by a processor :
    接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息,其中,所述目标APP在后台运行;Receiving the to-be-sent information entered by the user on the floating box of the target application APP displayed on the main screen, wherein the target APP runs in the background;
    在所述待发送信息输入结束后,检测是否存在针对所述待发送信息的预设发送操作;After the input of the information to be sent is finished, detecting whether there is a preset sending operation for the information to be sent;
    若检测到存在针对所述待发送信息的预设发送操作,确定目标联系人;If it is detected that there is a preset sending operation for the information to be sent, determine the target contact;
    将所述待发送信息发送至所述目标联系人。Send the to-be-sent information to the target contact.
  16. 根据权利要求15所述的存储介质,其特征在于,在所述接收用户在主屏幕显示的目标应用程序APP的悬浮框上输入的待发送信息之前,所述至少一个计算机可读指令被处理器 执行还用以实现以下步骤:The storage medium according to claim 15, wherein the at least one computer-readable instruction is processed by the processor before receiving the information to be sent input by the user on the floating box of the target application APP displayed on the main screen. Execution is also used to achieve the following steps:
    检测在后台启动的多个APP;Detect multiple apps launched in the background;
    从所述多个APP中挑选出社交应用APP;Select a social application APP from the plurality of APPs;
    生成所述社交应用APP的悬浮框;Generating a floating frame of the social application APP;
    根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框;Judging whether it is necessary to display the floating frame of the social application APP on the home screen according to the activity level of the social application APP;
    若需要在所述主屏幕上显示所述社交应用APP的悬浮框,且所述社交应用APP为多个,根据所述社交应用APP的数量以及所述主屏幕的大小,对多个所述社交应用APP的悬浮框进行排列;If the floating frame of the social application APP needs to be displayed on the main screen, and there are multiple social application APPs, according to the number of the social application APP and the size of the main screen, the Use the floating frame of the APP to arrange;
    将排列后的多个所述社交应用APP的悬浮框显示在所述主屏幕上,其中,每个所述社交应用APP的悬浮框的预设区域设置有所述社交应用APP的小图标;Displaying the arranged floating frames of a plurality of the social application APPs on the home screen, wherein a preset area of the floating frame of each social application APP is provided with a small icon of the social application APP;
    当接收到针对多个所述社交应用APP的悬浮框的选择指令时,将被选择的悬浮框确定为目标APP的悬浮框。When a selection instruction for the floating frames of a plurality of the social application APPs is received, the selected floating frames are determined as the floating frames of the target APP.
  17. 根据权利要求16所述的存储介质,其特征在于,所述至少一个计算机可读指令被处理器执行以实现所述根据所述社交应用APP的活跃程度,判断是否需要在所述主屏幕上显示所述社交应用APP的悬浮框时,具体包括:The storage medium according to claim 16, wherein the at least one computer-readable instruction is executed by a processor to realize the judging whether to display on the main screen according to the activity level of the social application APP The floating frame of the social application APP specifically includes:
    针对每个所述社交应用APP,统计第一预设时间内所述社交应用APP的信息收发总数量;For each social application APP, count the total amount of information received and sent by the social application APP within the first preset time;
    根据所述信息收发总数量,确定所述社交应用APP的第一活跃度;Determine the first activity degree of the social application APP according to the total amount of information sent and received;
    判断所述第一活跃度是否超过预设活跃度阈值;Determining whether the first activity level exceeds a preset activity level threshold;
    若所述第一活跃度超过预设活跃度阈值,确定需要在所述主屏幕上显示所述社交应用APP的悬浮框。If the first activity level exceeds a preset activity level threshold, it is determined that the floating frame of the social application APP needs to be displayed on the home screen.
  18. 根据权利要求15所述的存储介质,其特征在于,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium according to claim 15, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    计算在第二预设时间内所述目标APP的第二活跃度;Calculating the second activity level of the target APP within the second preset time;
    若所述第二活跃度低于预设活跃度阈值,则隐藏在所述主屏幕上显示的所述目标APP的悬浮框。If the second activity level is lower than the preset activity level threshold, the floating frame of the target APP displayed on the home screen is hidden.
  19. 根据权利要求15至18中任一项所述的存储介质,其特征在于,所述至少一个计算机可读指令被处理器执行以实现所述检测是否存在针对所述待发送信息的预设发送操作时,具体包括:The storage medium according to any one of claims 15 to 18, wherein the at least one computer-readable instruction is executed by a processor to realize the detection of whether there is a preset sending operation for the information to be sent When, specifically include:
    检测在所述悬浮框上的触摸操作;Detecting a touch operation on the floating frame;
    获取所述触摸操作的触摸力度和触摸持续时间;Acquiring touch force and touch duration of the touch operation;
    若所述触摸力度大于预设力度阈值且所述触摸持续时间大于预设时间阈值,则确定存在针对所述待发送信息的预设发送操作。If the touch strength is greater than the preset strength threshold and the touch duration is greater than the preset time threshold, it is determined that there is a preset sending operation for the information to be sent.
  20. 根据权利要求15至18中任一项所述的存储介质,其特征在于,所述至少一个计算机可读指令被处理器执行以实现所述检测是否存在针对所述待发送信息的预设发送操作时,具体包括:The storage medium according to any one of claims 15 to 18, wherein the at least one computer-readable instruction is executed by a processor to realize the detection of whether there is a preset sending operation for the information to be sent When, specifically include:
    若所述待发送信息为语音信息,检测在所述悬浮框上是否存在松手操作;若检测在所述悬浮框上存在松手操作,则确定存在针对所述待发送信息的预设发送操作;或If the information to be sent is voice information, detect whether there is a release operation on the floating frame; if it is detected that there is a release operation on the floating frame, determine that there is a preset sending operation for the information to be sent; or
    若所述待发送信息为非语音信息,检测所述悬浮框上是否接收到发送指令;若检测在所述悬浮框上接收到发送指令,则确定存在针对所述待发送信息的预设发送操作。If the information to be sent is non-voice information, detect whether a sending instruction is received on the floating frame; if it is detected that a sending instruction is received on the floating frame, it is determined that there is a preset sending operation for the information to be sent .
PCT/CN2019/118604 2019-04-26 2019-11-14 Method and device for information transmission, electronic device, and storage medium WO2020215702A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910345903.6 2019-04-26
CN201910345903.6A CN110231896B (en) 2019-04-26 2019-04-26 Information sending method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020215702A1 true WO2020215702A1 (en) 2020-10-29

Family

ID=67860355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118604 WO2020215702A1 (en) 2019-04-26 2019-11-14 Method and device for information transmission, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN110231896B (en)
WO (1) WO2020215702A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231896B (en) * 2019-04-26 2022-09-09 平安科技(深圳)有限公司 Information sending method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554280A (en) * 2015-12-18 2016-05-04 北京金山安全软件有限公司 Message reminding method and terminal
CN106775647A (en) * 2016-11-24 2017-05-31 珠海格力电器股份有限公司 Control method and control device of mobile terminal and mobile terminal
CN107870790A (en) * 2017-10-27 2018-04-03 广东欧珀移动通信有限公司 PUSH message processing method and Related product based on game application
WO2018145579A1 (en) * 2017-02-08 2018-08-16 阿里巴巴集团控股有限公司 Instant messaging message prompting method, and instant messaging client
CN108549519A (en) * 2018-04-19 2018-09-18 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN110231896A (en) * 2019-04-26 2019-09-13 平安科技(深圳)有限公司 Method for sending information, device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302095B (en) * 2015-06-04 2021-03-02 深圳市腾讯计算机***有限公司 Message display control method, device and terminal
CN105487796A (en) * 2015-11-25 2016-04-13 努比亚技术有限公司 Sub-screen display method and terminal
KR20180048142A (en) * 2016-11-02 2018-05-10 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN108604152B (en) * 2016-12-30 2020-10-23 华为技术有限公司 Unread message prompting method and terminal
CN106990908B (en) * 2017-04-06 2020-06-16 广州视源电子科技股份有限公司 Local touch shielding method, device, system, equipment and storage medium
CN107347115A (en) * 2017-06-23 2017-11-14 努比亚技术有限公司 Method, equipment and the computer-readable recording medium of information input
CN107592416B (en) * 2017-08-31 2020-11-17 努比亚技术有限公司 Voice message transmitting method, terminal and computer readable storage medium
CN107948428A (en) * 2017-11-27 2018-04-20 维沃移动通信有限公司 A kind of message treatment method and mobile terminal
CN109491567B (en) * 2018-11-08 2022-03-18 苏州达家迎信息技术有限公司 Message reply method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554280A (en) * 2015-12-18 2016-05-04 北京金山安全软件有限公司 Message reminding method and terminal
CN106775647A (en) * 2016-11-24 2017-05-31 珠海格力电器股份有限公司 Control method and control device of mobile terminal and mobile terminal
WO2018145579A1 (en) * 2017-02-08 2018-08-16 阿里巴巴集团控股有限公司 Instant messaging message prompting method, and instant messaging client
CN107870790A (en) * 2017-10-27 2018-04-03 广东欧珀移动通信有限公司 PUSH message processing method and Related product based on game application
CN108549519A (en) * 2018-04-19 2018-09-18 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN110231896A (en) * 2019-04-26 2019-09-13 平安科技(深圳)有限公司 Method for sending information, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110231896A (en) 2019-09-13
CN110231896B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US10666594B2 (en) Proactive intelligent personal assistant
US20220100353A1 (en) Launching Application Task Based on Single User Input and Preset Condition
US11768694B2 (en) Content sharing method, device, terminal and storage medium
WO2019184348A1 (en) Split-screen display and operation method and apparatus, terminal device, and storage medium
CN107181858B (en) Method and terminal for displaying notification message
CN105577530B (en) Group chat information overview method and device
US10757048B2 (en) Intelligent personal assistant as a contact
US20140123030A1 (en) Virtual meetings
EP3138270B1 (en) Electronic device and method for communication with a contact thereof
WO2017156983A1 (en) List callup method and device
CN106131288A (en) The recording method of a kind of call-information and terminal
US20170300225A1 (en) Displaying application page of mobile terminal
US20150012604A1 (en) Instant messaging service based on item of interest to user
WO2019007409A1 (en) Display method, device, smart terminal and computer readable storage medium
JP2020500352A (en) Information display method, terminal, and storage medium
US20210191580A1 (en) Method and Apparatus for Displaying Application Program, Terminal Device, and Storage Medium
WO2019179014A1 (en) Method, apparatus, computer device, and storage medium for searching and displaying voice messages
US20230031018A1 (en) Method and apparatus for managing messages on instant messaging application
WO2021017853A1 (en) Method for recommending operation sequence, terminal, and computer readable medium
RU2742605C1 (en) Method and device for touch signal processing and data medium
WO2020215702A1 (en) Method and device for information transmission, electronic device, and storage medium
WO2018214837A1 (en) Method and device for displaying message notification, electronic apparatus, and storage medium
CN106445283A (en) Emoticon acquisition method and terminal
CN110868347A (en) Message prompting method, device and system
CN108536512B (en) Interface switching method and device and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926258

Country of ref document: EP

Kind code of ref document: A1