CN111949858B - Method and device for pushing information and presenting information - Google Patents

Method and device for pushing information and presenting information Download PDF

Info

Publication number
CN111949858B
CN111949858B CN201910358834.2A CN201910358834A CN111949858B CN 111949858 B CN111949858 B CN 111949858B CN 201910358834 A CN201910358834 A CN 201910358834A CN 111949858 B CN111949858 B CN 111949858B
Authority
CN
China
Prior art keywords
user
information
sleep
data
group
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
CN201910358834.2A
Other languages
Chinese (zh)
Other versions
CN111949858A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910358834.2A priority Critical patent/CN111949858B/en
Publication of CN111949858A publication Critical patent/CN111949858A/en
Application granted granted Critical
Publication of CN111949858B publication Critical patent/CN111949858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H80/00ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Epidemiology (AREA)
  • Pathology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and equipment for pushing information and presenting information. One embodiment of a method for pushing information comprises the following steps: acquiring user information and sleep information labels of the first user from a user sleep information database in response to the preset condition; and determining a second user or group, corresponding to the sleep information label, matched with the sleep information label of the first user based on the sleep information label of the first user, and pushing user information of the second user or group information of the group to a terminal used by the first user so as to enable the terminal to present the user information of the second user or the group information, or calling and presenting a chat session in which the first user and the second user participate or a chat session corresponding to the group. According to the embodiment, through analysis of the sleep data, friend relations or group relations are established among users with similar sleep habits, so that establishment of a social relation chain is realized.

Description

Method and device for pushing information and presenting information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and equipment for pushing information.
Background
Social contact refers to the interaction between people in society, and is the consciousness that people use a certain mode (tool) to transfer information and communicate ideas so as to achieve various activities of a certain purpose society. In the current age, the change of economic and social environments makes the interaction between people more important. Because we can only continuously communicate with various people and communicate information, we can continuously enrich themselves, develop themselves and expand themselves.
Currently, the prior art has provided various friend-making recommendations to expand the social circle of users; for example, friends are recommended to the user according to the user's social relationship chain (e.g., whether there are common friends), interests (e.g., whether there is focus or search for similar information, etc.).
Disclosure of Invention
The embodiment of the application provides a method and equipment for pushing information.
In a first aspect, some embodiments of the present application provide a method for pushing information, applied to a network device, including: responding to the satisfaction of a preset condition, acquiring user information and a sleep information label of a first user from a user sleep information database, wherein the user sleep information database contains user information and the sleep information label with association relation; determining a second user or group, corresponding to the sleep information label of the first user, matching the sleep information label of the first user, and pushing user information of the second user or group information of the group to a terminal used by the first user, so that the terminal presents the user information of the second user or the group information, or calls and presents a chat session in which the first user and the second user participate or a chat session corresponding to the group; wherein the preset conditions include at least one of the following: the obtained user state data indicates that the first user is currently in an awake state; and the current time point belongs to a preset time period corresponding to the sleep information label.
In a second aspect, some embodiments of the present application provide a method for presenting information, applied to a terminal device, including: acquiring sensor equipment data; determining whether a first user corresponding to the sensor device data is currently in an awake state or not based on the sensor device data; and in response to determining that the first user is currently awake, transmitting user state data indicating that the first user is currently awake and user information of the first user to a network device of a communication connection.
In a third aspect, some embodiments of the present application provide a network device comprising: one or more processors; a storage device on which one or more programs are stored; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present application provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation of the second aspect.
In a fifth aspect, some embodiments of the application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect or implements a method as described in any of the implementations of the second aspect.
In the method and the device for pushing information provided in the foregoing embodiments of the present application, when a preset condition is met, a network device may first obtain user information and a sleep information tag of a first user from a user sleep information database, where the user sleep information database includes user information and a sleep information tag that have an association relationship; and then, based on the sleep information label of the first user, determining a second user or group of which the corresponding sleep information label is matched with the sleep information label of the first user, and pushing the user information of the second user or the group information of the group to a terminal used by the first user so that the terminal presents the user information of the second user or the group information, or calling and presenting the chat session in which the first user and the second user participate or the chat session corresponding to the group. Wherein the preset conditions include at least one of the following: the obtained user state data indicates that the first user is currently in an awake state; and the current time point belongs to a preset time period corresponding to the sleep information label. In the prior art, sleep data is often used to record the health of a user or medical use. The method provided by the embodiment of the application discovers the potential social relationship of the sleep data which is not discovered in the prior art, and establishes the friend relationship or group relationship among users with similar sleep habits through analysis of the sleep data so as to establish a social relationship chain.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method for pushing information in accordance with the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for pushing information according to the present application;
FIG. 4 is a flow chart of yet another embodiment of a method for pushing information in accordance with the present application;
FIG. 5 is a flow chart of one embodiment of a method for presenting information in accordance with the present application;
Fig. 6 is a schematic diagram of a computer system suitable for use in implementing network devices or terminal devices according to some embodiments of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 in which the method for pushing information of the present application may be applied.
As shown in fig. 1, system architecture 100 may include a terminal device 101, a network 102, and a network device 103. Network 102 is the medium used to provide communication links between terminal device 101 and network device 103. Network 102 may include various connection types such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with network device 103 via network 102 using terminal device 101 to receive or send messages, etc. The terminal device 101 may have various client applications installed thereon, such as an instant messaging application and the like.
The terminal device 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices supporting instant messaging functions, including but not limited to smart phones, tablet computers, laptop and desktop computers, and the like. When the terminal apparatus 101 is software, it can be installed in the above-listed electronic apparatus. Which may be implemented as a plurality of software or software modules, or as a single software or software module. The present invention is not particularly limited herein.
The network device 103 may be a network device that provides various services, for example, the network device 103 may be a background server of an instant messaging application; the background server may be integrated or distributed. For example, the background server of the instant messaging application may acquire, when the user status data acquired from the terminal device 101 used by the first user indicates that the first user is currently in an awake state, user information and a sleep information tag of the first user from a user sleep information database, determine, based on the sleep information tag of the first user, a second user or group in which the corresponding sleep information tag matches with the sleep information tag of the first user, and push, to the terminal device 101 used by the first user, user information of the second user or group information of the group, so that the terminal presents the user information of the second user or the group information, or call and present a chat session in which the first user and the second user both participate or a chat session corresponding to the group.
The network device 103 may be hardware or software. When the network device 103 is hardware, it may be implemented as a distributed network device group formed by a plurality of network devices, or may be implemented as a single network device. When the network device 103 is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be noted that, the method for pushing information provided by some embodiments of the present application may be performed by the network device 103, and the method for presenting information may be performed by the terminal device 101.
It should be understood that the number of terminal devices, networks and network devices in fig. 1 are merely illustrative. There may be any number of terminal devices, networks, and network devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for pushing information in accordance with the present application is shown. The method for pushing information is applied to network equipment and comprises the following steps:
Step 201, in response to meeting the preset condition, acquiring user information and sleep information labels of the first user from a user sleep information database.
In this embodiment, the network device on which the method for pushing information operates (for example, the network device 103 shown in fig. 1) may acquire the user information and the sleep information tag of the first user from the user sleep information database in response to satisfaction of the preset condition. Wherein the preset conditions include at least one of the following: the obtained user state data indicates that the first user is currently in an awake state; and the current time point belongs to a preset time period corresponding to the sleep information label. The user status data may be sent by a terminal used by the first user. The preset time period can be set according to actual needs. For example seven in the morning. The user sleep information database comprises user information and sleep information labels with association relations.
In some embodiments, the user here may be a currently logged-in user of an instant messaging application installed on the terminal device. In some embodiments, the sleep information tag may include, but is not limited to: mild night sleep, severe night sleep, mild insomnia, severe insomnia, etc.
Alternatively, the user sleep information database may be obtained by: acquiring sleep data of at least one user; and for the user in the at least one user, determining a sleep information label of the user according to the sleep data, and storing the user information of the user and the determined sleep information label in a user information sleep database in a correlated manner.
Optionally, the sleep data includes at least one of: sleep time period, sleep duration, sleep depth, sleep motion data, sleep frequency.
Optionally, the acquiring sleep data of at least one user may include: and for a user in the at least one user, acquiring sleep data of the user in response to determining that the sleep data acquisition authorization state of the user is an authorized state. Therefore, whether sleep data are acquired or not is determined according to the authorization state, and privacy of a user is protected.
Alternatively, the user status data may include a flag indicating a status of the user, and the terminal used by the first user may include a sensor device terminal, and the flag may be obtained by analyzing the sensor device data by the network device.
Optionally, the preset conditions may further include: the distance between the terminal used by the first user and the terminal used by the second user is smaller than a preset distance. The preset distance can be set according to actual needs, for example, 1000 meters, and the distance is limited, so that the friend-making object of the user can be in a relatively close distance range of the user, and the friend-making effect of the user can be improved.
In practice, a user of an instant messaging application may establish a chat session with one or more other users. Wherein a chat session established by a user of an instant messaging application with one other user may be referred to as a personal chat session. Chat sessions established by a user of an instant messaging application with a plurality of other users may be referred to as group chat sessions, simply group chat.
Step 202, determining a second user or group with a corresponding sleep information tag matching the sleep information tag of the first user based on the sleep information tag of the first user.
In this embodiment, the execution body may determine the user that matches the sleep information tag of the first user, and may also determine the group that matches the sleep information tag of the first user, where the sleep information tag of the group also matches the sleep information tags of the users in the group. The matching may be the same, or may be other preset matching conditions, for example, the similarity is greater than a preset similarity threshold, and the preset similarity threshold may be set according to actual needs.
In some optional implementations of this embodiment, the determining, based on the sleep information tag of the first user, a group in which the corresponding sleep information tag matches the sleep information tag of the first user may include: and determining a group which is matched with the sleep information label of the first user and contains a third user with an association relation with the first user based on the sleep information label of the first user, wherein the association relation comprises at least one of a friend relation and a non-friend relation capable of performing instant messaging. The instant messaging can be used for indicating non-friends and has the function setting of direct conversation.
Step 203, pushing the user information of the second user or the group information of the group to the terminal used by the first user, so that the terminal presents the user information of the second user or the group information, or calls and presents the chat session in which the first user and the second user participate or the chat session corresponding to the group, so that the first user performs the operation of adding the second user as a friend or requests to join the group, or performs a one-to-one session with the second user or performs a session in a group chat.
In this embodiment, after the user information of the second user or the group information of the group is sent to the terminal used by the first user, the terminal used by the first user may determine whether to add the second user as a friend according to the user information of the second user, or may determine whether to join the group according to the group information of the group. The chat session in which the first user and the second user both participate may also be presented directly to the first user. The chat session in which the first user and the second user participate may include a one-to-one personal session of the first user and the second user, or may include a group chat in which the first user and the second user participate.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for pushing information according to the present embodiment. In the application scenario of fig. 3, the network device 301 indicates that the first user "a" is currently in an awake state in response to the obtained user state data; and the current time point belongs to a preset time period corresponding to the sleep information label. The user information "a" and the sleep information tag "heavy late sleep" of the first user are obtained from the user sleep information database 302, wherein the user sleep information database 302 includes the user information and the sleep information tag having an association relationship. And determining a second user 'B' with the corresponding sleep information label identical to the sleep information label of the first user's' severe late sleep 'based on the sleep information label of the first user's 'severe late sleep'. The user information "B" of the second user is pushed to the terminal 303 used by the first user, so that the terminal 303 presents the user information "B" of the second user.
According to the method for pushing information provided by the embodiment of the application, under the condition that the preset condition is met, the user information and the sleep information label of the first user are obtained from the user sleep information database, wherein the user sleep information database contains the user information and the sleep information label with the association relation; determining a second user of which the corresponding sleep information label is matched with the sleep information label of the first user based on the sleep information label of the first user; and finally, pushing the user information of the second user to the terminal used by the first user so that the terminal presents the user information of the second user. By analyzing the sleep data, the method provided by the embodiment of the application establishes a friend relationship or group relationship among users with similar sleep habits, so as to establish a social relationship chain. In addition, the method pushes according to the matching of the sleep information labels, which is beneficial to improving the accuracy of information pushing.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for pushing information in accordance with the present application is shown. The method for pushing information is applied to network equipment and comprises the following steps:
Step 401, in response to meeting the preset condition, acquiring user information and sleep information labels of the first user from a user sleep information database.
In this embodiment, the user status data may include sensor device data.
Optionally, the sensor device data is received from a terminal used by the first user, and the sensor device data is used to analyze a user status of the first user.
Optionally, the user status data may further include a flag for indicating a status of the user, and the terminal used by the first user may include an intelligent mobile communication terminal, and the flag may be obtained by the intelligent mobile communication terminal by analyzing sensor device data.
Optionally, the terminal used by the first user may also include a sensor device terminal. The above-mentioned flag is obtained by analyzing sensor device data by the sensor device terminal. The intelligent mobile communication terminal can be any specified intelligent terminal equipment, such as a smart phone, a tablet computer, a vehicle-mounted terminal and the like.
Step 402, based on the sleep information label of the first user, determining a second user, the corresponding sleep information label of which is matched with the sleep information label of the first user and has an association relationship with the first user.
In this embodiment, the association relationship may include at least one of a friend relationship and a non-friend relationship that can perform instant messaging.
Optionally, the manner of determining the second user may further determine, based on the sleep information tag of the first user, an associated user that matches the sleep information tag of the first user and has an association relationship with the first user. And selecting the associated user currently in an awake state from the associated users as the second user.
Optionally, the determining, based on the sleep information tag of the first user, a second user whose corresponding sleep information tag matches the sleep information tag of the first user and has an association relationship with the first user may further include: determining an associated user, which is matched with the sleep information label of the first user and has an association relation with the first user, based on the sleep information label of the first user; selecting at least a portion of the associated users from the determined associated users as the second user based on historical chat data of the determined associated users with the first user, the historical chat data including at least one of a historical chat frequency, a historical chat period, and a historical chat data amount. The amount of the historical chat data may be determined based on the size of the historical chat log file. Specifically, the associated user with the high chat frequency may be selected as the second user, or the associated user with the history chat period closest to the current time may be selected as the second user, or the associated user with the history chat data amount greater than the preset threshold may be selected as the second user. The preset threshold value can be set according to actual needs.
Optionally, the information of the second user pushed to the terminal used by the first user is used for the terminal to call up and present the chat session in which the first user and the second user participate. If the first user and the second user are in a friend relationship or a contact state, the first user and the second user do not need to be added as friends, that is, the chat session between the first user and the second user can be directly called.
Step 403, pushing the user information or group information of the second user to the terminal used by the first user, so that the terminal can present the user information or group information of the second user, or call up and present the chat session or the chat session corresponding to the group in which the first user and the second user participate.
In this embodiment, after the user information of the second user or the group information of the group is sent to the terminal used by the first user, the terminal used by the first user may determine whether to add the second user as a friend according to the user information of the second user, or may determine whether to join the group according to the group information of the group. The chat session or group chat in which the first user and the second user participate may also be directly presented to the first user.
With continued reference to FIG. 5, a flow 500 of one embodiment of a method for presenting information in accordance with the present application is shown. The method for presenting information is applied to terminal equipment and comprises the following steps:
step 501, sensor device data is acquired.
In this embodiment, a terminal device (e.g., terminal device 101 shown in fig. 1) on which a method for presenting information operates may acquire acquisition sensor device data. Specifically, the sensor data may be acquired from a sensor terminal connected in communication, or the execution subject itself may be the sensor terminal and acquire the sensor data from itself. Wherein the sensor device data includes at least one of: electroencephalogram sensor device data, electro-oculogram sensor device data, electrocardio sensor device data, body movement sensor device data, respiration sensor device data, acceleration sensor device data, vibration sensor device data.
Step 502, based on the sensor device data, determining whether a first user corresponding to the sensor device data is currently in an awake state.
In this embodiment, the execution subject may determine whether the first user detected by the sensor is currently in an awake state by analyzing the sensor device data. Specifically, whether the first user detected by the sensor is currently in an awake state may be determined by analyzing the brain sensor device data, or by analyzing the eye sensor device data, or by analyzing the heart sensor device data, the body movement sensor device data, or the like.
In response to determining that the first user is currently awake, user state data indicating that the first user is currently awake and user information of the first user are transmitted to a network device of the communication connection, step 503.
In this embodiment, the user status data may include sensor device data, and may further include a flag for indicating a status of the user. The user information of the first user may include an account nickname, an account number, and other information that may be used to indicate the identity of the first user.
In this embodiment, the method may further include: receiving user information of a second user or group information of a group sent by the network equipment; presenting the user information or the group information of the second user, or calling and presenting the chat session in which the first user and the second user participate or the chat session corresponding to the group.
Optionally, the calling up and presenting the chat session that the first user and the second user participate in may include: responding to the user information of the second user to determine that the second user has an association relation with the first user, and presenting prompt information for prompting whether to carry out instant messaging with the second user, wherein the association relation comprises at least one of a friend relation and a non-friend relation capable of carrying out instant messaging; and in response to receiving the confirmation operation of the first user on the prompt information, calling and presenting the chat session in which the first user and the second user participate.
Optionally, in response to receiving the confirmation operation of the first user on the prompt information, invoking and presenting the chat session that the first user and the second user participate in may include: responding to the received confirmation operation of the first user on the prompt information, wherein the number of the chat sessions participated by the first user and the second user is multiple, and presenting a session list of the chat sessions participated by the first user and the second user; and calling and presenting the chat session selected by the first user according to the selection operation of the first user on the session list.
Alternatively, the terminal may directly select a one-to-one session of the first user with the second user and invoke the presentation. Wherein other sessions than one-to-one sessions are typically group chat.
Optionally, the calling and presenting the chat session corresponding to the group may include: and calling and presenting the chat session corresponding to the group in response to the first user being the user of the group.
The method for presenting information provided in the foregoing embodiment of the present application, the terminal device may first obtain sensor device data; then, based on the sensor device data, determining whether a first user corresponding to the sensor device data is in an awake state at present; and finally, in response to determining that the first user is currently in an awake state, transmitting user state data for indicating that the first user is currently in the awake state and user information of the first user to network equipment of communication connection. By analyzing the sleep data, the method provided by the embodiment of the application establishes a friend relationship or group relationship among users with similar sleep habits, so as to establish a social relationship chain.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., server in fig. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a Central Processing Unit (CPU), a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 6 may represent one device or a plurality of devices as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 601. It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 an embodiment of the present disclosure, 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. Whereas in embodiments of the present disclosure, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to the satisfaction of a preset condition, acquiring user information and a sleep information label of a first user from a user sleep information database, wherein the user sleep information database contains user information and the sleep information label with association relation; determining a second user or group matched with the sleep information label of the first user based on the sleep information label of the first user; pushing the user information of the second user or the group information of the group to a terminal used by the first user, so that the terminal presents the user information of the second user or the group information, or calls and presents a chat session in which the first user and the second user participate or a chat session corresponding to the group; wherein the preset conditions include at least one of the following: the obtained user state data indicates that the first user is currently in an awake state; and the current time point belongs to a preset time period corresponding to the sleep information label.
Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application referred to in the present application is not limited to the specific combinations of the technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the inventive concept described above. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (22)

1. A method for pushing information, applied to a network device, comprising:
Responding to the satisfaction of a preset condition, acquiring user information and a sleep information label of a first user from a user sleep information database, wherein the user sleep information database contains user information and the sleep information label with association relation;
determining a second user or group, corresponding to the sleep information label, matched with the sleep information label of the first user based on the sleep information label of the first user;
pushing the user information of the second user or the group information of the group to a terminal used by the first user, so that the terminal can present the user information of the second user or the group information, or call up and present the chat session in which the first user and the second user participate or the chat session corresponding to the group;
Wherein the preset conditions include at least one of:
the obtained user state data indicates that the first user is currently in an awake state; and
The current time point belongs to a preset time period corresponding to the sleep information label.
2. The method of claim 1, wherein the determining, based on the sleep information tag of the first user, a corresponding second user whose sleep information tag matches the sleep information tag of the first user comprises:
And determining a second user which is matched with the sleep information label of the first user and has an association relation with the first user based on the sleep information label of the first user, wherein the association relation comprises at least one of a friend relation and a non-friend relation capable of performing instant messaging.
3. The method of claim 2, wherein the determining, based on the sleep information tag of the first user, a second user whose corresponding sleep information tag matches the sleep information tag of the first user and has an association with the first user comprises:
Determining an associated user which is matched with the sleep information label of the first user and has an association relation with the first user based on the sleep information label of the first user;
and selecting the associated user currently in an awake state from the associated users as the second user.
4. The method of claim 2, wherein the determining, based on the sleep information tag of the first user, a second user whose corresponding sleep information tag matches the sleep information tag of the first user and has an association with the first user comprises:
Determining an associated user which is matched with the sleep information label of the first user and has an association relation with the first user based on the sleep information label of the first user;
selecting at least a portion of the associated users from the determined associated users as the second user based on historical chat data of the determined associated users with the first user, the historical chat data including at least one of a historical chat frequency, a historical chat period, an amount of historical chat data.
5. The method of claim 2, wherein information pushed to a second user of the terminal used by the first user is used by the terminal to call up and present chat sessions in which both the first user and the second user are engaged.
6. The method of claim 1, wherein determining, based on the sleep information tag of the first user, a group for which a corresponding sleep information tag matches the sleep information tag of the first user comprises:
And determining a group which is matched with the sleep information label of the first user and contains a third user with an association relation with the first user based on the sleep information label of the first user, wherein the association relation comprises at least one of a friend relation and a non-friend relation capable of performing instant messaging.
7. The method of claim 1, wherein the user status data comprises sensor device data received from a terminal used by the first user, the sensor device data to analyze a user status of the first user.
8. The method of claim 1, wherein the user status data includes a flag indicating a status of the user, the terminal used by the first user includes an intelligent mobile communication terminal, and the flag is obtained by the intelligent mobile communication terminal by analyzing sensor device data.
9. The method of claim 1, wherein the user status data comprises a flag indicating a status of the user, the terminal used by the first user comprising a sensor device terminal, the flag being derived by the sensor device terminal analyzing the sensor device data.
10. The method of claim 1, wherein the user status data comprises a flag indicating a user status, the terminal used by the first user comprising a sensor device terminal, the flag being derived by the network device analyzing sensor device data.
11. The method of one of claims 7-10, wherein the sensor device data comprises at least one of: electroencephalogram sensor device data, electro-oculogram sensor device data, electrocardio sensor device data, body movement sensor device data, respiration sensor device data, acceleration sensor device data, vibration sensor device data.
12. The method according to one of claims 1 to 10, wherein the preset conditions further comprise:
the distance between the terminal used by the first user and the terminal used by the second user is smaller than a preset distance.
13. The method according to one of claims 1 to 10, wherein the user sleep information database is obtained by:
Acquiring sleep data of at least one user;
And for the user in the at least one user, determining a sleep information label of the user according to the sleep data, and storing the user information of the user and the determined sleep information label in a user information sleep database in a correlated manner.
14. The method of claim 13, wherein the sleep data comprises at least one of: sleep time period, sleep duration, sleep depth, sleep motion data, sleep frequency.
15. A method for presenting information, applied to a terminal device, comprising:
Acquiring sensor equipment data;
determining whether a first user corresponding to the sensor equipment data is in an awake state currently based on the sensor equipment data;
In response to determining that the first user is currently awake, user state data indicating that the first user is currently awake and user information of the first user are transmitted to a network device of a communication connection.
16. The method of claim 15, wherein the method further comprises:
receiving user information of a second user or group information of a group sent by the network equipment;
And presenting the user information or the group information of the second user, or calling and presenting the chat session in which the first user and the second user participate or the chat session corresponding to the group.
17. The method of claim 16, wherein the invoking and presenting the chat session in which both the first user and the second user are engaged comprises:
Responding to the fact that the second user and the first user have an association relation based on the user information of the second user, and presenting prompt information for prompting whether to conduct instant messaging with the second user, wherein the association relation comprises at least one of a friend relation and a non-friend relation capable of conducting instant messaging;
And in response to receiving the confirmation operation of the first user on the prompt information, calling and presenting the chat session in which the first user and the second user participate.
18. The method of claim 17, wherein invoking and presenting a chat session in which the first user and the second user both participate in response to receiving a confirmation operation of the prompt from the first user comprises:
Responding to the received confirmation operation of the first user on the prompt information, wherein the number of the chat sessions participated by the first user and the second user is multiple, and presenting a session list of the chat sessions participated by the first user and the second user;
and calling and presenting the chat session selected by the first user according to the selection operation of the first user on the session list.
19. The method of claim 16, wherein the invoking and presenting the chat session corresponding to the group comprises:
And calling and presenting the chat session corresponding to the group in response to the first user being a user of the group.
20. A network device, comprising:
one or more processors;
A storage device on which one or more programs are stored;
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-14.
21. An electronic device, comprising:
one or more processors;
A storage device on which one or more programs are stored;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 15-19.
22. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-14 or implements the method of any of claims 15-19.
CN201910358834.2A 2019-04-30 2019-04-30 Method and device for pushing information and presenting information Active CN111949858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910358834.2A CN111949858B (en) 2019-04-30 2019-04-30 Method and device for pushing information and presenting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910358834.2A CN111949858B (en) 2019-04-30 2019-04-30 Method and device for pushing information and presenting information

Publications (2)

Publication Number Publication Date
CN111949858A CN111949858A (en) 2020-11-17
CN111949858B true CN111949858B (en) 2024-06-25

Family

ID=73335446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910358834.2A Active CN111949858B (en) 2019-04-30 2019-04-30 Method and device for pushing information and presenting information

Country Status (1)

Country Link
CN (1) CN111949858B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559796A (en) * 2020-12-23 2021-03-26 珠海格力电器股份有限公司 Music pushing method, equipment, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763532A (en) * 2018-05-31 2018-11-06 上海掌门科技有限公司 For pushed information, show the method and apparatus of information
CN109669596A (en) * 2018-12-29 2019-04-23 上海掌门科技有限公司 Method and apparatus for showing chat message

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008507792A (en) * 2004-07-26 2008-03-13 パンセン インフォマティクス インコーポレイテッド A search engine that uses the background situation placed on the network
CN106126560B (en) * 2016-06-16 2020-02-21 捷开通讯(深圳)有限公司 Mobile electronic equipment for social interaction and method for performing social interaction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763532A (en) * 2018-05-31 2018-11-06 上海掌门科技有限公司 For pushed information, show the method and apparatus of information
CN109669596A (en) * 2018-12-29 2019-04-23 上海掌门科技有限公司 Method and apparatus for showing chat message

Also Published As

Publication number Publication date
CN111949858A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN108351890B (en) Electronic device and operation method thereof
EP3334127B1 (en) Message pushing method and apparatus thereof
US11503086B2 (en) Method and apparatus for opportunistic synchronizing of tele-communications to personal mobile devices
CN110781408B (en) Information display method and device
CN112311841B (en) Information pushing method and device, electronic equipment and computer readable medium
CN106992953A (en) System information acquisition method and device
CN111857858A (en) Method and apparatus for processing information
KR20170111810A (en) Method and apparatus for oprerating messenger based on location inforamtion of electronic device
CN112395509A (en) Information display method, information providing method, apparatus, and computer-readable medium
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN111242811A (en) Method of providing activity notification and apparatus therefor
CN108549586B (en) Information processing method and device
CN113315869A (en) Content display method and device, electronic equipment and storage medium
CN110505072B (en) Method, terminal device and computer readable medium for backing up chat records
CN110727775A (en) Method and apparatus for processing information
CN111949858B (en) Method and device for pushing information and presenting information
US20150163325A1 (en) Method, device and system for information transmission
CN110827037A (en) Data interaction method and device based on block chain
KR20180020745A (en) Electronic device and method for providing information of work and life
CN111752885B (en) Method and device for processing reading authority in reading material
CN113077238A (en) Information reminding method and device
CN110647767A (en) Data viewing method, electronic device and computer-readable storage medium
CN113824625B (en) Information interaction method and device
CN111314557B (en) Information processing method and device
CN111784429B (en) Information pushing 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