CN108540667B - Message reminding control method, device, medium and electronic equipment - Google Patents

Message reminding control method, device, medium and electronic equipment Download PDF

Info

Publication number
CN108540667B
CN108540667B CN201810326904.1A CN201810326904A CN108540667B CN 108540667 B CN108540667 B CN 108540667B CN 201810326904 A CN201810326904 A CN 201810326904A CN 108540667 B CN108540667 B CN 108540667B
Authority
CN
China
Prior art keywords
message
external equipment
terminal
message reminding
projection
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810326904.1A
Other languages
Chinese (zh)
Other versions
CN108540667A (en
Inventor
刘平川
邓耀龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810326904.1A priority Critical patent/CN108540667B/en
Publication of CN108540667A publication Critical patent/CN108540667A/en
Application granted granted Critical
Publication of CN108540667B publication Critical patent/CN108540667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a control method, a device, a medium and electronic equipment for message reminding, wherein the control method for message reminding is applied to instant messaging and comprises the following steps: detecting that the external equipment is connected to a terminal operating an instant messaging client; and if the external equipment is used as the projection equipment of the terminal, closing the message reminding function of the instant communication program. According to the technical scheme of the embodiment of the invention, the message reminding information sent by the instant messaging program can be prevented from being projected onto the projection screen through the projection equipment to reveal the privacy of the user, and the use experience of the user can be improved.

Description

Message reminding control method, device, medium and electronic equipment
Technical Field
The invention relates to the technical field of computers and communication, in particular to a method, a device, a medium and electronic equipment for controlling message reminding.
Background
The instant messaging software is software for realizing online chatting and communication through an instant messaging technology, and a user can remind a message if an instant messaging client receives a new message in the process of using the instant messaging software.
However, when a terminal (such as a smart phone, a computer, etc.) running the instant messaging software is connected to a projector for projection use, the projector projects information prompted by a message onto a projection screen, so that the privacy of a user is exposed, and the experience of the user is seriously affected.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a message reminding control method, a message reminding control device, a message reminding control medium and electronic equipment, and further solves the problem that the privacy of a user is exposed because an instant messaging client projects message reminding information onto a projection screen to at least a certain extent.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, there is provided a method for controlling a message alert, which is applied to instant messaging, and includes: detecting that the external equipment is connected to a terminal operating an instant messaging client; and if the external equipment is used as the projection equipment of the terminal, closing the message reminding function of the instant communication program.
In some embodiments of the present invention, based on the foregoing solution, after the closing the message alert function of the instant messaging program, the method further includes: pushing a notification message for closing the message reminding function to a user; and if the instruction of continuing reminding sent by the user is detected, starting the message reminding function of the instant communication program.
In some embodiments of the present invention, based on the foregoing solution, after detecting the instruction issued by the user to continue reminding, the method further includes: recording the identification information of the external equipment; and if the external equipment is detected to be connected to the terminal again, controlling the message reminding function of the instant communication program to keep an opening state.
In some embodiments of the present invention, based on the foregoing solution, after the external device is used as a projection device of the terminal, and before the message reminding function of the instant messaging program is turned off, the method further includes: pushing a notification message whether to close the message reminding function to a user; and if detecting an instruction sent by the user for confirming the closing of the message reminding function, closing the message reminding function of the instant communication program.
In some embodiments of the present invention, based on the foregoing solution, the method further includes: and if the external device is determined to be used as the projection device of the terminal before according to the identification information of the external device, determining that the external device is used as the projection device of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the method further includes: acquiring the resolution and the scaling factor of the external equipment; and if the resolution of the external equipment is smaller than the preset resolution and the scaling factor is a preset value, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the method further includes: and if the identification information of the external equipment is matched with the preset projection equipment information, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the method further includes: acquiring a record of the use of the external equipment; and if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing scheme, acquiring a record of the usage of the external device includes: and acquiring the used record of the external equipment from the server corresponding to the instant communication client.
In some embodiments of the present invention, based on the foregoing scheme, the method for controlling a message alert further includes: and sending the use record of the external equipment to the server.
In some embodiments of the present invention, based on the foregoing solution, after the closing the message alert function of the instant messaging program, the method further includes: and if the external equipment is detected to be disconnected with the terminal, starting a message reminding function of the instant communication program.
According to a second aspect of the embodiments of the present invention, there is provided a control device for message reminding, applied to an instant messaging client, including: the detection unit is used for detecting that the external equipment is connected to the terminal running the instant communication program; and the control unit is used for closing the message reminding function of the instant communication program when the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the first pushing unit is used for pushing a notification message of closing the message reminding function to a user after closing the message reminding function of the instant messaging program; the control unit is further configured to start a message reminding function of the instant messaging program when detecting a command for continuing reminding sent by the user.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the recording unit is used for recording the identification information of the external equipment after detecting a command for continuing reminding sent by the user; the control unit is further configured to control a message reminding function of the instant messaging program to remain in an on state if it is detected that the external device is connected to the terminal again.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the second pushing unit is used for pushing a notification message for judging whether to close the message reminding function to a user after the external device is used as a projection device of the terminal; the control unit is used for closing the message reminding function of the instant communication program when detecting an instruction sent by the user for confirming the closing of the message reminding function.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: a first determining unit, configured to determine that the external device is used as the projection device of the terminal when it is determined that the external device has been used as the projection device of the terminal before according to the identification information of the external device.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the second determining unit is used for acquiring the resolution and the scaling factor of the external equipment; and if the resolution of the external equipment is smaller than the preset resolution and the scaling factor is a preset value, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: and the third determining unit is used for determining that the external equipment is used as the projection equipment of the terminal when the identification information of the external equipment is matched with the preset projection equipment information.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: a fourth determining unit, configured to obtain a record of usage of the external device; and if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing scheme, the record of the use of the external device is obtained from the server corresponding to the instant messaging program.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: and the sending unit is used for sending the use record of the external equipment to the server side.
In some embodiments of the present invention, based on the foregoing scheme, the control unit is further configured to, after the message reminding function of the instant messaging program is closed, if it is detected that the external device is disconnected from the terminal, open the message reminding function of the instant messaging program.
According to a third aspect of the embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method for controlling a message alert as described in the first aspect of the embodiments above.
According to a fourth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the method for controlling a message alert as described in the first aspect of the embodiments.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the technical solutions provided in some embodiments of the present invention, when it is detected that the external device is connected to the terminal and it is determined that the external device is used as the projection device of the terminal, the message reminding function of the instant messaging program is turned off, so that it is possible to prevent the message reminding information sent by the instant messaging program from being projected onto the projection screen through the projection device to reveal the privacy of the user, which is beneficial to improving the user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 schematically illustrates a flow chart of a method of controlling a message alert in accordance with one embodiment of the present invention;
FIG. 2 schematically illustrates a flow chart of a method of controlling a message alert according to another embodiment of the present invention;
FIG. 3 schematically illustrates a flow chart of a method of controlling a message alert in accordance with yet another embodiment of the present invention;
FIG. 4 schematically illustrates a flow chart of a method of controlling a message alert in accordance with yet another embodiment of the present invention;
FIG. 5 shows a schematic diagram of a notification interface, according to an embodiment of the invention;
FIG. 6 shows a schematic diagram of a notification interface in accordance with another embodiment of the invention;
FIG. 7 schematically illustrates a block diagram of a control device for a message alert in accordance with one embodiment of the present invention;
FIG. 8 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 schematically shows a flowchart of a control method of a message alert, which is applied to instant messaging, according to an embodiment of the present invention. The method for controlling the message reminder shown in fig. 1 can be executed by an instant messaging client or an instant messaging program running on a browser.
Referring to fig. 1, a method for controlling a message reminder according to an embodiment of the present invention includes the following steps:
step S110, detecting that the external device is connected to a terminal running the instant messaging client.
In an embodiment of the present invention, the instant messaging program is a program for realizing online chat and communication by an instant messaging technology, such as Tencent QQ, American elephant, etc., and the instant messaging program usually sends a prompt when receiving a new message, so as to facilitate a user to view the message in time. The terminal running the instant communication program can be a smart phone, a tablet computer, a computer and the like. The external device is a device independent from the terminal, such as a projector.
And step S120, if the external device is used as the projection device of the terminal, closing the message reminding function of the instant communication program.
The technical scheme of the embodiment shown in fig. 1 can prevent the privacy of the user from being revealed by projecting the message reminding information sent by the instant messaging program to the projection screen through the projection device, and is beneficial to improving the use experience of the user.
Fig. 2 schematically shows a flow chart of a control method of a message alert according to another embodiment of the present invention.
Referring to fig. 2, a method for controlling a message alert according to another embodiment of the present invention, based on steps S110 and S120 shown in fig. 1, further includes the following steps:
step S130, pushing a notification message that the message reminding function is closed to the user.
In one embodiment of the invention, the notification message of the closed message reminding function can be pushed to the user in a voice or text mode.
Step S140, if the instruction for continuing to remind sent by the user is detected, the message reminding function of the instant messaging program is started.
The technical scheme of the embodiment shown in fig. 2 enables a notification message to be pushed to a user after the message reminding function of the instant messaging program is automatically closed, so that the user can conveniently confirm whether to open the message reminding function of the instant messaging program, and the flexibility is enhanced. If an instruction sent by the user for confirming that the message reminding function is closed is detected, or the instruction of the user is not received within a preset time period, the message reminding function of the instant communication program is continuously closed.
Based on the technical solution of the embodiment shown in fig. 2, in an embodiment of the present invention, after detecting an instruction for continuing to remind sent by a user, the identification information of the external device may also be recorded, so as to control the message reminding function of the instant messaging program to keep an on state when detecting that the external device is connected to the terminal again.
According to the technical scheme of the embodiment, the selection of the user can be recorded, and then when the external device is detected to be connected to the terminal again, the message reminding function of the instant messaging program can be controlled to be kept in the open state according to the previous selection of the user, so that the use experience of the user can be improved.
Fig. 3 schematically shows a flow chart of a control method of a message alert according to yet another embodiment of the present invention.
Referring to fig. 3, a method for controlling a message alert according to another embodiment of the present invention, on the basis of step S110 shown in fig. 1, further includes the following steps:
step S310, if the external device is judged to be used as the projection device of the terminal, a notification message for judging whether to close the message reminding function is sent to a user.
In an embodiment of the present invention, a notification message indicating whether to close the message reminding function may be pushed to the user in a voice or text manner.
Step S320, if detecting an instruction sent by the user to confirm to close the message reminding function, closing the message reminding function of the instant messaging program.
The technical scheme of the embodiment shown in fig. 3 enables a notification message to be pushed to a user when the projection device access terminal is detected, and then whether to close the message reminding function of the instant messaging program is determined according to the instruction of the user, so that the flexibility is improved, and the user experience is favorably improved.
Based on the technical solution of the foregoing embodiment, in an embodiment of the present invention, after the message reminding function of the instant messaging program is closed, if it is detected that the external device is disconnected from the terminal, the message reminding function of the instant messaging program is opened.
According to the technical scheme of the embodiment, after the disconnection between the terminal and the external equipment serving as the projection equipment is detected, the message reminding function of the instant messaging program is automatically started, the prompt is timely given to the user, and the user can be ensured to check the instant messaging message in time on the premise of ensuring that the privacy of the user is not revealed.
On the basis of the technical solutions of the above embodiments, embodiments of the present invention further provide a technical solution how to determine whether the external device is used as a projection device of the terminal, and specifically refer to the following embodiments:
the first embodiment is as follows:
in an embodiment of the present invention, determining whether an external device is used as a projection device of a terminal includes: judging whether the external equipment is used as the projection equipment of the terminal before according to the identification information of the external equipment; and if the external device is judged to be used as the projection device of the terminal before, the external device is judged to be used as the projection device of the terminal.
In this embodiment, whether the external device is used as the projection device of the terminal may be determined according to a historical usage of the external device (e.g., whether the external device has been used as the projection device of the terminal before).
Example two:
in an embodiment of the present invention, determining whether an external device is used as a projection device of a terminal includes: acquiring the resolution and the scaling factor of the external equipment; and if the resolution of the external equipment is smaller than the preset resolution and the scaling factor is a preset value, judging that the external equipment is used as the projection equipment of the terminal.
In this embodiment, the resolution of the projection device is generally smaller than a predetermined resolution (e.g., 1920 × 1080), and the scaling factor is generally a predetermined value (e.g., 1), so that whether the external device is used as the projection device of the terminal can be determined according to the resolution of the external device and the scaling factor. Wherein the scaling factor is a scale factor, which is a pixel scale factor of the device, that is, a ratio of application pixels to display pixels (ratio of application pixels to display pixels), and in general, the scaling factor of the projection device is 1; the zoom factor of the high split screen is 2, such as a retina display screen.
Example three:
in an embodiment of the present invention, determining whether an external device is used as a projection device of a terminal includes: judging whether the identification information of the external equipment is matched with the projection equipment information or not according to the identification information of the external equipment and preset projection equipment information; and if the identification information of the external equipment is matched with the projection equipment information, judging that the external equipment is used as the projection equipment of the terminal.
In this embodiment, the preset projection device information may be the brand and model information of a commonly used projector, or may be information of an existing projection device (for example, information of an existing projection device in a certain company).
Example four:
in an embodiment of the present invention, determining whether an external device is used as a projection device of a terminal includes: acquiring a record of the use of the external equipment; and if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment, judging that the external equipment is used as the projection equipment of the terminal.
In this embodiment, if the external device is used by a plurality of users for a plurality of times, it may be determined that the external device is a projection device that is a public device.
In an embodiment of the present invention, the record of the usage of the external device may be obtained from a server corresponding to the instant messaging client. Before that, each instant messaging client can send the use record of the external device to the server.
The following explains the technical solution of a preferred embodiment of the present invention by taking an instant messaging client as a elephant client of a consortium as an example:
as shown in fig. 4, a method for controlling a message reminder according to still another embodiment of the present invention includes the following steps:
step S401, when an external device is accessed, judging whether the external device is a projection device, if so, executing step S402; otherwise, step S405 is executed.
In an embodiment of the present invention, when it is detected that an external device is connected to a computer (in this embodiment, an example of connecting to a computer is described), it is determined whether the external device is a projector by matching a connection history of a user (whether the external device is connected once, and whether the user selects to stop or keep a reminder at that time), a projection resolution (whether <1920 × 1080), a projection scaling factor (a scaling factor equal to one is a projection), and the like.
The method can detect whether the external equipment is accessed to the computer or not by detecting an event 'display-added' based on an electron screen.
In one embodiment of the present invention, if the external device has been connected and is used as a projection device, it is determined that the external device is a projector; and if the projection resolution of the external device is less than 1920 x 1080 and the scaling factor of the projection is 1, determining that the external device is the projector.
Step S402, the reminding is automatically stopped.
In step S403, a notification box pops up to remind the user.
In one embodiment of the invention, as shown in FIG. 5, a notification box 501 may pop up to remind the user, and the user may be provided with a choice of whether to keep the reminder.
Step S404, determining whether the user selects to keep reminding, if yes, executing step S405. And if the user selects 'good' or does not select within a preset time, continuing to stop reminding.
In one embodiment of the invention, when the user selects "keep reminder", the reminder box pops up again to prompt the user, such as displaying "message notification has been reopened for you". And meanwhile, the external equipment is written into the connection history, and if the subsequent external equipment is accessed again, the message reminding function of the client is not automatically closed.
Step S405, the reminding is kept, namely, the message reminding function of the client is started.
When the disconnection of the projection equipment is detected, the reminding can be automatically restarted, and a prompt box can be displayed to prompt a user. In one embodiment of the invention, as shown in FIG. 6, a prompt box 601 for "detect projection disconnected, have turned message notifications back on for you" may be displayed.
In an embodiment of the present invention, the disconnected device ID may be obtained based on an event 'display-removed' of an electronic screen, and then it is determined whether the device ID is equal to an ID that is recently accessed and is considered as a projector, and if the device ID is equal to the ID, it is determined that the projection device is disconnected.
The technical scheme of the embodiment of the invention can avoid the problem that the privacy of the user is revealed by projecting the message reminding information sent by the instant messaging client to the projection screen through the projection equipment, and is favorable for improving the use experience of the user.
The following describes an embodiment of the apparatus of the present invention, which can be used to execute the above-mentioned message reminding control method of the present invention.
Fig. 7 schematically shows a block diagram of a control device for a message alert, which may be applied to instant messaging, according to an embodiment of the present invention.
Referring to fig. 7, a control device 700 for message reminding according to an embodiment of the present invention includes: a detection unit 702 and a control unit 704.
The detecting unit 702 is configured to detect that an external device is connected to a terminal running an instant messaging program; the control unit 704 is configured to close the message reminding function of the instant messaging program when the external device is used as a projection device of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the first pushing unit is used for pushing a notification message of closing the message reminding function to a user after closing the message reminding function of the instant messaging program; the control unit 704 is further configured to start a message reminding function of the instant messaging program when detecting a command for continuing reminding sent by the user.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the recording unit is used for recording the identification information of the external equipment after detecting a command for continuing reminding sent by the user; the control unit 704 is further configured to control a message reminding function of the instant messaging program to keep an on state if it is detected that the external device is connected to the terminal again.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the second pushing unit is used for pushing a notification message for judging whether to close the message reminding function to a user after the external device is used as a projection device of the terminal; the control unit 704 is configured to close the message alert function of the instant messaging program when detecting an instruction sent by the user to confirm that the message alert function is closed.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: a first determining unit, configured to determine that the external device is used as the projection device of the terminal when it is determined that the external device has been used as the projection device of the terminal before according to the identification information of the external device.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: the second determining unit is used for acquiring the resolution of the external equipment and the scaling factor of the projection; and if the resolution of the external equipment is smaller than the preset resolution and the scaling factor is a preset value, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: and the third determining unit is used for determining that the external equipment is used as the projection equipment of the terminal when the identification information of the external equipment is matched with the preset projection equipment information.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: a fourth determining unit, configured to obtain a record of usage of the external device; and if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment, determining that the external equipment is used as the projection equipment of the terminal.
In some embodiments of the present invention, based on the foregoing scheme, the record of the use of the external device is obtained from the server corresponding to the instant messaging program.
In some embodiments of the present invention, based on the foregoing solution, the control device for message reminding further includes: and the sending unit is used for sending the use record of the external equipment to the server side.
In some embodiments of the present invention, based on the foregoing scheme, the control unit 704 is further configured to, after the message reminding function of the instant messaging program is turned off, if it is detected that the external device is disconnected from the terminal, turn on the message reminding function of the instant messaging program.
For details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the above-mentioned embodiment of the control method of the message alert of the present invention for the reason that each functional module of the control apparatus of the message alert of the exemplary embodiment of the present invention corresponds to the steps of the above-mentioned exemplary embodiment of the control method of the message alert.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing an electronic device of an embodiment of the present invention. The computer system 800 of the electronic device shown in fig. 8 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to implement the method for controlling the message reminder as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 1: step S110, detecting that the external equipment is connected to a terminal operating an instant communication client; and step S120, if the external device is used as the projection device of the terminal, closing the message reminding function of the instant communication program.
As another example, the electronic device may implement the steps shown in fig. 2 to 4.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A control method of message reminding is applied to instant messaging and is characterized by comprising the following steps:
detecting that an external device is connected to a terminal running an instant communication program, and acquiring a record of the use of the external device;
if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment, judging that the external equipment is used as projection equipment of the terminal, and closing the message reminding function of the instant communication program;
after the message reminding function of the instant communication program is closed, pushing a notification message for closing the message reminding function to a user;
and if the instruction of continuing reminding sent by the user is detected, starting the message reminding function of the instant communication program.
2. The method for controlling message reminder according to claim 1, further comprising, after detecting the instruction for continuing reminder issued by the user:
recording the identification information of the external equipment;
and if the external equipment is detected to be connected to the terminal again, controlling the message reminding function of the instant communication program to keep an opening state.
3. The method for controlling message alert according to claim 1, further comprising, after the external device is used as a projection device of the terminal and before the message alert function of the instant messenger program is turned off:
pushing a notification message whether to close the message reminding function to a user;
and if detecting an instruction sent by the user for confirming the closing of the message reminding function, closing the message reminding function of the instant communication program.
4. The method for controlling message alert as recited in claim 1, further comprising:
and if the external device is determined to be used as the projection device of the terminal before according to the identification information of the external device, determining that the external device is used as the projection device of the terminal.
5. The method for controlling message alert as recited in claim 1, further comprising:
acquiring the resolution and the scaling factor of the external equipment;
and if the resolution of the external equipment is smaller than the preset resolution and the scaling factor is a preset value, determining that the external equipment is used as the projection equipment of the terminal.
6. The method for controlling message alert as recited in claim 1, further comprising:
and if the identification information of the external equipment is matched with the preset projection equipment information, determining that the external equipment is used as the projection equipment of the terminal.
7. The method for controlling message reminder according to any one of claims 1 to 6, further comprising, after closing the message reminder function of the instant messenger program:
and if the external equipment is detected to be disconnected with the terminal, starting a message reminding function of the instant communication program.
8. A control device for message reminding is applied to instant messaging and is characterized by comprising:
the detection unit is used for detecting that the external equipment is connected to a terminal running an instant communication program and acquiring the used record of the external equipment;
the control unit is used for judging that the external equipment is used as projection equipment of the terminal and closing the message reminding function of the instant communication program if the external equipment is determined to be used by a plurality of users for a plurality of times according to the record of the use of the external equipment; after the message reminding function of the instant communication program is closed, pushing a notification message for closing the message reminding function to a user; and if the instruction of continuing reminding sent by the user is detected, starting the message reminding function of the instant communication program.
9. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method of controlling a message alert according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of controlling a message alert as claimed in any one of claims 1 to 7.
CN201810326904.1A 2018-04-12 2018-04-12 Message reminding control method, device, medium and electronic equipment Active CN108540667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810326904.1A CN108540667B (en) 2018-04-12 2018-04-12 Message reminding control method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810326904.1A CN108540667B (en) 2018-04-12 2018-04-12 Message reminding control method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108540667A CN108540667A (en) 2018-09-14
CN108540667B true CN108540667B (en) 2021-04-06

Family

ID=63480160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810326904.1A Active CN108540667B (en) 2018-04-12 2018-04-12 Message reminding control method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108540667B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021088891A1 (en) * 2019-11-04 2021-05-14 青岛海信激光显示股份有限公司 Display system, and display method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030060079A (en) * 2002-01-04 2003-07-12 이철희 Video display apparatus with separate display means for textual information
CN103813016A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method and electronic device
CN105223759A (en) * 2015-11-13 2016-01-06 上海斐讯数据通信技术有限公司 A kind of projection display system and method with prompting function
CN105592279A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Background projection method and background projection device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6783252B1 (en) * 2003-04-21 2004-08-31 Infocus Corporation System and method for displaying projector system identification information
CN106101457A (en) * 2016-08-23 2016-11-09 努比亚技术有限公司 A kind of information screen apparatus and method
CN107197082A (en) * 2017-04-13 2017-09-22 深圳市金立通信设备有限公司 A kind of information prompting method and terminal
CN107302624A (en) * 2017-05-11 2017-10-27 努比亚技术有限公司 A kind of screen prjection method, terminal and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030060079A (en) * 2002-01-04 2003-07-12 이철희 Video display apparatus with separate display means for textual information
CN103813016A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method and electronic device
CN105592279A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Background projection method and background projection device
CN105223759A (en) * 2015-11-13 2016-01-06 上海斐讯数据通信技术有限公司 A kind of projection display system and method with prompting function

Also Published As

Publication number Publication date
CN108540667A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN110505141B (en) Instant messaging message processing method and device, readable medium and electronic equipment
US11140315B2 (en) Method, storage medium, terminal device, and server for managing push information
EP2988196A1 (en) Message processing method and apparatus
CN108737636B (en) Message reminding method and device and electronic equipment
CN110658961B (en) Information display method and device and electronic equipment
US11184314B2 (en) Method and apparatus for prompting message reading state, and electronic device
CN113438355A (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN108415657B (en) Message sending method, device, medium and electronic equipment
US20220229528A1 (en) Method, apparatus, and system for generating resource value transfer request
CN109743246B (en) Message emergency reminding method and device and electronic equipment
CN112019914B (en) Screen projection method and device, electronic equipment and computer readable medium
CN110619099B (en) Comment content display method, device, equipment and storage medium
CN113741756A (en) Information processing method, device, terminal and storage medium
CN105930249B (en) Using monitoring method and device
CN108540667B (en) Message reminding control method, device, medium and electronic equipment
CN110868347A (en) Message prompting method, device and system
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN113626778A (en) Method, apparatus, electronic device, and computer storage medium for waking up device
CN112558901A (en) Time reminding method, screen sharing method and device
CN115934378A (en) Service data processing method and device, electronic equipment and storage medium
CN110045891A (en) A kind of method and device of showing interface
CN113157162B (en) Method, apparatus, medium and program product for revoking session messages
CN112688856B (en) Method and device for releasing friend relationship
CN113919310A (en) Short message content determination method and device, electronic equipment and storage medium
CN106790428B (en) Data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant