CN108848122B - Method and equipment for pushing information and showing information - Google Patents

Method and equipment for pushing information and showing information Download PDF

Info

Publication number
CN108848122B
CN108848122B CN201810443909.2A CN201810443909A CN108848122B CN 108848122 B CN108848122 B CN 108848122B CN 201810443909 A CN201810443909 A CN 201810443909A CN 108848122 B CN108848122 B CN 108848122B
Authority
CN
China
Prior art keywords
information
matching
hosted application
motion state
sending
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
CN201810443909.2A
Other languages
Chinese (zh)
Other versions
CN108848122A (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 Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201810443909.2A priority Critical patent/CN108848122B/en
Publication of CN108848122A publication Critical patent/CN108848122A/en
Application granted granted Critical
Publication of CN108848122B publication Critical patent/CN108848122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a method and equipment for pushing information and showing the information. One embodiment of a method for pushing information includes: acquiring matching information sent by terminal equipment; inquiring information matched with the matching information in the matching information set acquired in a preset time period; acquiring information of the hosted application corresponding to the sending equipment of the matched information; and pushing the acquired information of the hosted application to the terminal equipment. The implementation mode enriches the modes of the terminal equipment for acquiring the information of the hosted application corresponding to other terminal equipment, and is beneficial to improving the user experience.

Description

Method and equipment for pushing information and showing information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and equipment for pushing and showing information.
Background
A hosted application is an application that can run in a hosted application and can be used without separate installation. Generally, a user can directly open a hosted Application through a portal provided by the hosted Application, and the hosted Application can provide an Application Programming Interface (API) for the hosted Application, so that the hosted Application can conveniently invoke capabilities provided by the hosted Application, such as obtaining user information, local storage, payment functions, and the like.
At present, users mainly obtain information of hosted applications used by other users or hosted applications commonly used by a large number of users by actively inquiring other users, searching in the hosted applications, and the like.
Disclosure of Invention
The embodiment of the application provides a method and equipment for pushing information and showing the information.
In a first aspect, some embodiments of the present application provide a method for pushing information, which is applied to a network device, and includes: acquiring matching information sent by terminal equipment; inquiring information matched with the matching information in the matching information set acquired in a preset time period; acquiring information of the hosted application corresponding to the sending equipment of the matched information; and pushing the acquired information of the hosted application to the terminal equipment.
In a second aspect, some embodiments of the present application provide a method for presenting information, which is applied to a terminal device, and includes: responding to a detection of a boarder application information acquisition request initiated by a user, acquiring matching information and sending the matching information to network equipment; receiving information of the hosted application corresponding to the target device sent by the network device, wherein the target device is a sending device of information matched with the matching information in a matching information set acquired by the network device within a preset time period; and displaying the information of the hosted application corresponding to the target equipment.
In a third aspect, some embodiments of the present application provide an apparatus for pushing information, where the apparatus is disposed in a network device, and includes: a first acquisition unit configured to acquire information for matching transmitted by a terminal device; the query unit is configured to query information matched with the matching information in a matching information set acquired within a preset time period; a second obtaining unit configured to obtain information of the hosted application corresponding to the sending device of the matched information; and the pushing unit is configured to push the acquired information of the hosted application to the terminal equipment.
In a fourth aspect, some embodiments of the present application provide an apparatus for presenting information, configured at a terminal device, including: the sending unit is configured to respond to the detection of a boarded application information acquisition request initiated by a user, acquire the information for matching and send the information to the network equipment; the receiving unit is configured to receive information of the hosted application corresponding to the target device sent by the network device, wherein the target device is a sending device of information matched with the matching information in the matching information set acquired by the network device within a predetermined time period; and the presentation unit is configured to present the information of the hosted application corresponding to the target device.
In a fifth aspect, some embodiments of the present application provide a network device, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a sixth aspect, some embodiments of the present application provide a terminal device, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the second aspect.
In a seventh aspect, some embodiments of the present application provide a computer-readable medium on which a computer program is stored, which computer program, when executed by a processor, implements the method as described in any of the implementations of the first aspect or implements the method as described in any of the implementations of the second aspect.
In the method and the device for pushing and displaying information provided by the above embodiment of the application, when the matching information sent by the terminal device is obtained, the network device may query information, which is matched with the matching information, in the matching information set obtained within a predetermined time period, obtain information of the hosted application corresponding to the sending device of the matched information, and push the obtained information of the hosted application to the terminal device, and the terminal device may display the received information. Therefore, the method for acquiring the information of the hosted application corresponding to other terminal equipment by the terminal equipment is enriched, and the user experience is favorably improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a diagram of an exemplary system architecture to which some of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for pushing information, according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method for pushing information according to the present application;
FIG. 4 is a flow diagram for one embodiment of a method for presenting information, according to the present application;
FIG. 5 is a schematic diagram of one embodiment of a page of information for a hosted application displayed on a screen of a terminal device;
FIG. 6 is a flow diagram of yet another embodiment of a method for presenting information in accordance with the present application;
FIG. 7 is a block diagram of a computer system suitable for use in implementing a network device or a terminal device of some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1 illustrates an exemplary system architecture 100 to which the methods for pushing information, presenting information of the present application may be applied.
As shown in fig. 1, system architecture 100 may include terminal device 101, network 102, and 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, to name a few.
A user may use terminal device 101 to interact with network device 103 through network 102 to receive or send messages and the like. Various client applications, such as a host application hosting an application, may be installed on the terminal device 101. The host application may be a different type of application, such as an instant messaging type application, an e-commerce type application, a wireless access point type application, and the like. The hosted application is run dependent on the hosted application; the functionality provided by the hosted application may be independent of the functionality provided by the hosted application. One example of hosted and hosted applications may be, for example, applets and WeChats.
The terminal apparatus 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices supporting an instant messaging function, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal apparatus 101 is software, it can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
Network device 103 may be a network device that provides various services, such as a background server that hosts applications. The background server of the host application may obtain the matching information sent by the terminal device, query information matching the matching information in the matching information set obtained within a predetermined time period, obtain information of the hosted application corresponding to the sending device of the matched information, and finally push the obtained information of the hosted application to the terminal device 101.
It should be noted that 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 multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for pushing information provided by the embodiment of the present application may be executed by the network device 103, and the method for presenting information may be executed by the terminal device 101.
It should be understood that the number of terminal devices, networks, and network devices in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and network devices, as desired for an 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 the information is applied to the network equipment and comprises the following steps:
step 201, obtaining the matching information sent by the terminal device.
In this embodiment, a network device (for example, the network device 103 shown in fig. 1) on which the method for pushing information operates may acquire information for matching transmitted by a terminal device (for example, the terminal device 101 shown in fig. 1). The matching information may be information for matching a target device, and the target device may be a device for which the network device needs to obtain information of the hosted application corresponding to the target device. The matching information may include information indicating an attribute of a device associated with the matching information (e.g., a transmission device of the matching information). As an example, the information for matching may include, but is not limited to, motion state information indicating a motion state of the device, information indicating a position of the device, information indicating a model number of the device or an operating system, and the like.
In some embodiments, step 201 comprises: and acquiring the information for matching and the information of the hosted application, which are transmitted by the terminal equipment. The network device may store the acquired matching information and the hosted application information in a database in a corresponding manner, so that the terminal device becomes an alternative target device with respect to other terminal devices that transmit the matching information to the network device, thereby further expanding the information push range.
In some embodiments, the information of the hosted application sent by the terminal device includes at least one of: the method comprises the steps that terminal equipment transmits information of hosted applications, wherein the hosted applications are used by the terminal equipment, the hosted applications in the terminal equipment, the use conditions of which meet preset conditions, and the hosted applications selected by the terminal equipment based on user operation; the use case includes but is not limited to use frequency, use times, last use time and the like; the usage meeting the predetermined condition includes, but is not limited to, a highest frequency of usage or above a predetermined frequency threshold, a maximum number of usage or more than a predetermined number of thresholds, a time of last usage being closer to a current or current time than a time of last usage of other hosted applications by no more than a predetermined time threshold, and the like. In some embodiments, for example, when the terminal device transmits information of the hosted application through the hosted application running thereon, the terminal device transmits information of the hosted application corresponding to the hosted application; in some embodiments, the terminal device may send information for a plurality of hosted applications corresponding to the plurality of hosted applications, for example, when the terminal device sends information for the hosted application through its system or a third party application.
The information of the hosted application may be used to indicate the devices associated with the information of the hosted application, such as selected hosted applications, information of hosted applications being used or used in the sending device of the information of the hosted application. As an example, before sending the information of the hosted application to the network device, the terminal device may present a list including information of the hosted application used by the terminal device to the user, so that the user can select information of a part of the hosted application from the list as required, and then send the information of the selected hosted application to the network device; if the user is using a hosted application, the information of the hosted application can be directly sent to the network device. The information of the hosted application may include the number, name, icon, link for launching the hosted application, etc. of the hosted application.
Step 202, inquiring information matched with the matching information in the matching information set acquired in a preset time period.
In this embodiment, after acquiring the information for matching sent by the terminal device, the network device may query information that matches the information for matching acquired in step 201 in the information set for matching acquired in a predetermined time period. The information matched with the matching information may be the same information as the matching information, information having a difference value within a preset range from the matching information, or information belonging to the same class according to a preset classification rule.
In practice, the predetermined time period may be determined according to the time for acquiring the matching information sent by the terminal device in step 201, and may be a time period before or after the time period, or a time period including the time period, for example, the matching information sent by the terminal device is acquired at 14:25:57, and the predetermined time period may be 14:23:57 to 14:25:57, or 14:24:57 to 14:26: 57. The length of the predetermined time period can be set according to actual needs. After receiving the matching information, the network device can store the matching information into the database, set effective time for the matching information, and query the database for the information matched with the new matching information when acquiring the new matching information. In some embodiments, information for matching that exceeds the validity time may be discarded.
In some embodiments, the information for matching includes motion state information indicating a motion state of the device and time information associated with the motion state information; the foregoing step 202 includes: and inquiring information that the motion state indicated in the matching information set acquired in a preset time period is the same as the motion state indicated by the motion state information, and the time difference between the associated time information and the time information associated with the motion state information is smaller than a preset time threshold. Therefore, a plurality of target devices in the same motion state with the terminal device at the same time or within a very short time can be determined, and matching modes are further enriched.
In some embodiments, the motion state includes at least one of: bump, shake, flip. The motion state is collision, and may be that a sensor of the device detects that the device is under a certain pressure at a certain time, or the moving speed is instantaneously and simultaneously reduced to 0 from a certain value. The motion state is shaking, and can be the motion that the device moves back and forth rapidly within a certain time period monitored by a sensor of the device. The motion state is turning, and the gesture of the equipment can be turned over in a positive and negative way within a certain time period monitored by a sensor of the equipment.
In some embodiments, the information for matching includes information for indicating a location of the device; the foregoing step 202 includes: and inquiring information that the distance between the position indicated by the matching information set and the position indicated by the matching information acquired in a preset time period is smaller than a preset distance threshold. Therefore, the network device can determine the devices located around the terminal device, and can push the registered application information of the peripheral devices with stronger pertinence to the terminal device in the subsequent pushing step.
In some embodiments, the information for matching includes at least one of: position information, audio information collected by the audio collection device, and short-distance wireless communication connection information. The location information may include, but is not limited to, coordinates of the device based on a GPS, beidou, or other satellite positioning system, or a base station, IP address, or other positioning. The information of the short-range wireless communication connection may include, but is not limited to, information of a bluetooth connection, or information of a joined WIFI network. If the Bluetooth connection is established between the two devices or the two devices are added into the same WIFI network, the distance between the two devices is smaller than a preset distance threshold value, namely the two devices are matched, and similarly, if the similarity of the audio information collected by the audio collecting devices of the two devices is large, the distance between the two devices is smaller than the preset distance threshold value, namely the two devices are matched.
In practice, one kind of matching information may be selected according to actual needs, or multiple kinds of matching information may be selected to be combined, for example, when the surrounding devices are not too dense, the matching information may only include position information, audio information acquired by the audio acquisition device, or information of short-distance wireless communication connection. When surrounding equipment is too dense, the equipment can be matched with motion state information through information used for indicating the position of the equipment, and when two kinds of information included by the two sets of matching information are matched with each other, the two sets of matching information are determined to be matched with each other. Therefore, the accuracy of information pushing can be further improved.
Step 203, the information of the hosted application corresponding to the sending device of the matched information is obtained.
In this embodiment, after querying information that matches the matching information in the matching information set acquired within the predetermined time period, the network device may acquire information of the hosted application corresponding to the sending device of the matched information. The information of the hosted application corresponding to the sending device may be obtained by the network device at the same time when the matching information sent by the sending device of the matched information is obtained, or may be obtained by the network device sending an information obtaining request of the hosted application to the sending device of the matched information after the matched information is inquired, so as to obtain the information of the hosted application corresponding to the sending device of the matched information.
In some embodiments, the information of the hosted application to which the sending device corresponds includes at least one of: the information of the hosted application being used in the transmitting device when the transmitting device transmits the information of the hosted application, the information of the hosted application whose usage satisfies a predetermined condition in the transmitting device, and the information of the hosted application selected based on a user operation in the transmitting device.
And step 204, pushing the acquired information of the hosted application to the terminal equipment.
In this embodiment, after obtaining the information of the hosted application corresponding to the sending device of the matched information, the network device may push the obtained information of the hosted application to the terminal device.
In the method for pushing information provided in the foregoing embodiment of the present application, when the matching information sent by the terminal device is acquired, the network device may query information that matches the matching information in the matching information set acquired within a predetermined time period, acquire information of a hosted application corresponding to the sending device of the matched information, and push the acquired information of the hosted application to the terminal device. Therefore, the method for acquiring the information of the hosted application corresponding to other terminal equipment by the terminal equipment is enriched, and the user experience is favorably improved.
With further reference to fig. 3, a flow 300 of yet another embodiment of a method for pushing information according to the present application is shown. The method for pushing the information is applied to the network equipment and comprises the following steps:
step 301, obtaining the matching information sent by the terminal device.
In this embodiment, the specific operation of step 301 is substantially the same as the operation of step 201 in the embodiment shown in fig. 2, and is not described herein again.
Step 302, in response to acquiring motion state information used for indicating the motion state of the device and sent by the terminal device, querying information matched with the matching information in the matching information set acquired within a predetermined time period.
In this embodiment, after obtaining the information for matching sent by the terminal device, the network device may query, in response to obtaining the motion state information sent by the terminal device and used for indicating the motion state of the device, information matching the information for matching in the set of information for matching obtained within a predetermined time period. As an example, the network device may first acquire the matching information for indicating the device location sent by the terminal device, and at this time, the network device does not perform the query until acquiring the motion state information for indicating the motion state of the device sent by the terminal device, and starts to query information that matches the matching information in the matching information set acquired within a predetermined time period, where the matching information used in the query may include the matching information for indicating the device location and/or the motion state information for indicating the motion state of the device.
Step 303, obtaining the information of the hosted application corresponding to the sending device of the matched information.
And step 304, pushing the acquired information of the hosted application to the terminal equipment.
In this embodiment, the specific operations of step 303 and step 304 are substantially the same as the operations of step 203 and step 204 in the embodiment shown in fig. 2, and are not repeated here.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 2, the flow 300 of the method for pushing information in this embodiment only queries information that matches the matching information in the matching information set acquired within a predetermined time period when acquiring the motion state information that is sent by the terminal device and used for indicating the motion state of the device. Therefore, in the scheme described in this embodiment, some terminal devices may send matching information to the network device for matching by other terminal devices, and the network device may not query information matching the matching information sent by the terminal devices according to the requirements of the network device, so that the operating efficiency of the network device is improved.
With continued reference to FIG. 4, a flow 400 of one embodiment of a method for presenting information in accordance with the present application is shown. The method for displaying the information is applied to the terminal equipment and comprises the following steps:
step 401, in response to detecting the hosted application information obtaining request initiated by the user, obtaining the matching information, and sending the matching information to the network device.
In this embodiment, a terminal device (for example, the terminal device 101 shown in fig. 1) on which the method for presenting information operates may obtain, in response to detecting a hosted application information obtaining request initiated by a user, matching information, and send the matching information to a network device. The hosted application information acquisition request initiated by the user may be generated in response to the user clicking a button in the page for indicating that the user needs to acquire hosted application information corresponding to other terminal devices, inputting a preset instruction for indicating that the user needs to acquire hosted application information corresponding to other terminal devices by using voice or characters, or executing a preset gesture operation for indicating that the user needs to acquire hosted application information corresponding to other terminal devices.
In some embodiments, the hosted application information acquisition request is generated in response to a user indicating an operation to start acquiring acceleration information measured by the sensor, and determining motion state information indicating a motion state of the device from the acceleration information. The motion state may include at least one of: bump, shake, flip. The operation of the user instructing to start acquiring the acceleration information measured by the sensor may be that the user clicks a button for instructing that the user needs to acquire the hosted application information of another device, and the user may click a button for instructing to start acquiring the hosted application information of the peripheral device by shaking the mobile phone in the terminal device, so that the terminal device starts acquiring the acceleration information measured by the sensor to determine whether the user has performed an action of shaking the mobile phone. Therefore, the generation ways of the boarder application information acquisition request are further enriched, and the user experience is improved.
In some embodiments, the obtaining and sending the information for matching to the network device includes: and acquiring the information for matching and the information of the hosted application, and sending the information to the network equipment. Therefore, the terminal device becomes a candidate target device for other terminal devices which transmit the matching information to the network device, and the information push range is further expanded. For a detailed description of the information of the hosted application, reference is made to the foregoing embodiments, which are not described in detail herein.
Step 402, receiving the information of the hosted application corresponding to the target device sent by the network device.
In this embodiment, after the information for matching is obtained and sent to the network device, the terminal device may receive the information of the hosted application corresponding to the target device, which is sent by the network device. The target device is a sending device of information matched with the matching information in the matching information set acquired by the network device in a preset time period. For a detailed description of the predetermined time period, reference is made to the foregoing embodiments, which are not described in detail herein. .
In some embodiments, the information for matching includes motion state information indicating a motion state of the device and time information associated with the motion state information, and the target device is a sending device of information that, from a set of information for matching acquired by the network device within a predetermined time period, the indicated motion state is the same as the motion state indicated by the motion state information, and a time difference between the associated time information and the time information associated with the motion state information is smaller than a preset time difference threshold. Therefore, a plurality of target devices in the same motion state with the terminal device at the same time or within a very short time can be determined, and matching modes are further enriched.
In some embodiments, the information for matching includes information for indicating a location of the device; and the target device is the sending device of the information that the distance between the indicated position and the position indicated by the matching information is smaller than the preset distance threshold value in the matching information set acquired by the network device in the preset time period. Therefore, the equipment around the terminal equipment can be determined, and the registered application information of the surrounding equipment with stronger pertinence can be displayed subsequently. For further description of the information for matching, reference is made to the foregoing embodiments, which are not described in detail herein.
And step 403, showing the information of the hosted application corresponding to the target device.
In this embodiment, the terminal device may display the information of the hosted application corresponding to the target device after receiving the information of the hosted application corresponding to the target device sent by the network device, and specifically, as shown in fig. 5, the name and the icon of the hosted application are displayed. In addition, when the information of the hosted application is displayed, information such as the distance between the target device and the terminal device associated with the hosted application can be attached according to actual needs.
In the method for displaying information provided in the embodiment of the application, the terminal device, in response to detecting a hosted application information acquisition request initiated by a user, acquires matching information and sends the matching information to the network device, and then receives hosted application information corresponding to the target device sent by the network device and displays the hosted application information corresponding to the target device. Therefore, the method for acquiring the information of the hosted application corresponding to other terminal equipment by the terminal equipment is enriched, and the user experience is favorably improved.
With continued reference to FIG. 6, a flow 600 of yet another embodiment of a method for presenting information in accordance with the present application is shown. The method for displaying the information is applied to the terminal equipment and comprises the following steps:
step 601, in response to detecting the hosted application information acquisition request initiated by the user, acquiring matching information, and sending the matching information to the network device.
In this embodiment, a terminal device (for example, the terminal device 101 shown in fig. 1) on which the method for presenting a message operates may obtain information for matching in response to detecting a hosted application information obtaining request initiated by a user, and send the information to a network device. The hosted application information acquisition request may be generated in response to a user indicating an operation to start acquiring acceleration information measured by the sensor. The operation of the user instructing to start acquiring the acceleration information measured by the sensor may be an operation of the user clicking a button for instructing that the user needs to acquire the hosted application information of another device, and for example, the user may click a button for instructing to acquire the hosted application information of the peripheral device by shaking the mobile phone in the terminal device, so that the terminal device starts acquiring the acceleration information measured by the sensor to determine whether the user has performed an action of shaking the mobile phone. The matching information may include a plurality of types of information, and the terminal device may acquire the matching information and transmit the matching information to the network device in a plurality of times.
In some embodiments, the obtaining and sending the information for matching to the network device may include sub-steps 6011, 6012, 6013, 6014, where:
step 6011, the first matching information is acquired and sent to the network device.
The user may not immediately control the movement of the terminal device, for example, may not immediately shake the terminal device after performing an operation for instructing the terminal device to start acquiring the acceleration information measured by the sensor. Therefore, when the terminal device does not acquire the acceleration information and determines the motion state information according to the acceleration information, the terminal device may first acquire first matching information and send the first matching information to the network device, where the first matching information may include other matching information except the motion state information, for example, position information of the terminal device, audio information acquired by the audio acquisition device, and information of short-distance wireless communication connection.
Step 6012, acceleration information measured by the sensor is obtained.
After acquiring the first matching information and transmitting the first matching information to the network device, the terminal device may acquire acceleration information measured by the sensor.
Step 6013, determining motion state information according to the acceleration information.
After obtaining the acceleration information measured by the sensor, the terminal device may determine the motion state information according to the acceleration information.
Step 6014, the determined motion state information is sent to the network device.
After determining the motion state information from the acceleration information, the terminal device may determine the motion state information from the acceleration information. As an example, the terminal device may first transmit first matching information indicating a device position to the network device, and at the same time, the terminal device acquires acceleration information measured by the sensor. After determining the motion state information according to the acceleration information and sending the determined motion state information to the network device, the matching information used when determining the target device may include first matching information used for indicating the device position and/or motion state information used for indicating the motion state of the device.
Step 602, receiving the information of the hosted application corresponding to the target device sent by the network device.
Step 603, showing the information of the hosted application corresponding to the target device.
In this embodiment, the specific operations of steps 602 and 603 are substantially the same as the operations of steps 402 and 403 in the embodiment shown in fig. 4, and are not described herein again.
As can be seen from fig. 6, compared with the embodiment corresponding to fig. 4, in the flow 600 of the method for presenting information in this embodiment, the hosted application information acquisition request is generated in response to the user instructing to start the operation of acquiring the acceleration information measured by the sensor, so that the matching information can be sent to the network device in advance before the motion state information of the terminal device is determined, so that even if the motion state information of the terminal device cannot be determined, the terminal device becomes an alternative target device with respect to other terminal devices sending the matching information to the network device, and the range of presenting information of other terminal devices is further expanded.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a network device (e.g., network device 103 shown in FIG. 1) or a terminal device (e.g., terminal device 101 shown in FIG. 1) of an embodiment of the present application. The network device or the terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable 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 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 application, a computer readable 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 this application, 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 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.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 application. 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 units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first obtaining unit, a querying unit, a second obtaining unit, and a pushing unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the first acquisition unit may also be described as a "unit that acquires information for matching transmitted from the terminal device". As another example, it can also be described as: a processor includes a transmitting unit, a receiving unit, and a presentation unit. The names of these units do not in some cases form a limitation on the unit itself, and for example, the sending unit may also be described as "a unit that obtains the matching information and sends the matching information to the network device in response to detecting the hosted application information obtaining request initiated by the user".
As another aspect, the present application also provides a computer-readable medium, which may be included in the network device or the terminal device described in the above embodiments; or may exist separately without being assembled into the network device or the terminal device. The computer readable medium carries one or more programs which, when executed by the network device or terminal device, cause the network device to: acquiring matching information sent by terminal equipment; inquiring information matched with the matching information in the matching information set acquired in a preset time period; acquiring information of the hosted application corresponding to the sending equipment of the matched information; and pushing the acquired information of the hosted application to the terminal equipment.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (20)

1. A method for pushing information is applied to a network device and comprises the following steps:
acquiring information for matching sent by terminal equipment, wherein the information for matching comprises at least one of the following items: motion state information indicating a motion state of the device, information indicating a position of the device, information indicating a model of the device or an operating system;
inquiring information matched with the matching information in a matching information set acquired in a preset time period;
acquiring the information of the hosted application corresponding to the sending equipment of the matched information;
and pushing the acquired information of the hosted application to the terminal equipment.
2. The method according to claim 1, wherein the matching information includes time information associated with the motion state information, and
the information matched with the matching information in the matching information set acquired in the query preset time period comprises:
and inquiring information that the motion state indicated by the motion state information is the same as the motion state indicated by the motion state information in the matching information set acquired within a preset time period, and the time difference between the associated time information and the time information associated with the motion state information is smaller than a preset time threshold.
3. The method of claim 1, wherein,
the information matched with the matching information in the matching information set acquired in the query preset time period comprises:
and inquiring information that the distance between the position indicated by the matching information set and the position indicated by the matching information is smaller than a preset distance threshold value, wherein the information is acquired within a preset time period.
4. The method of claim 3, wherein the matching information comprises at least one of: position information, audio information collected by the audio collection device, and short-distance wireless communication connection information.
5. The method of claim 1, wherein the querying for information that matches the matching information in the set of matching information obtained within the predetermined time period comprises:
and in response to the motion state information which is sent by the terminal equipment and used for indicating the motion state of the equipment, inquiring information which is matched with the matching information in a matching information set acquired within a preset time period.
6. The method of claim 1 or 5, wherein the motion state comprises at least one of: bump, shake, flip.
7. The method of claim 1, wherein the acquiring the information for matching sent by the terminal device comprises:
and acquiring the information for matching and the information of the hosted application, which are transmitted by the terminal equipment.
8. The method of claim 1 or 7, wherein the information of the hosted application comprises at least one of: the sending device of the information of the hosted application sends the information of the hosted application, the information of the hosted application which is used in the sending device when the sending device sends the information of the hosted application, the information of the hosted application of which the use condition meets the preset condition in the sending device, and the information of the hosted application which is selected by the sending device based on the user operation.
9. A method for displaying information is applied to terminal equipment and comprises the following steps:
in response to detecting a hosted application information acquisition request initiated by a user, acquiring information for matching, and sending the information to a network device, wherein the information for matching includes at least one of the following: motion state information indicating a motion state of the device, information indicating a position of the device, information indicating a model of the device or an operating system;
receiving information of hosted applications corresponding to target equipment sent by the network equipment, wherein the target equipment is sending equipment of information matched with matching information in a matching information set acquired by the network equipment within a preset time period;
and displaying the information of the hosted application corresponding to the target equipment.
10. The method according to claim 9, wherein the matching information includes time information associated with the motion state information, and
the target device is a sending device of information, in an information set for matching acquired by the network device within a predetermined time period, of which the indicated motion state is the same as the motion state indicated by the motion state information and the time difference between the associated time information and the time information associated with the motion state information is smaller than a preset time difference threshold.
11. The method of claim 9, wherein,
the target device is a sending device of information, in a matching information set acquired by the network device within a predetermined time period, in which a distance between an indicated position and a position indicated by the matching information is smaller than a preset distance threshold.
12. The method of claim 11, wherein the matching information comprises at least one of: position information, audio information collected by the audio collection device, and short-distance wireless communication connection information.
13. The method of claim 9, wherein the hosted application information acquisition request is generated in response to a user indicating an operation to begin acquiring acceleration information measured by a sensor; and
the obtaining and sending the matching information to the network device includes:
acquiring acceleration information measured by the sensor;
determining motion state information according to the acceleration information;
and sending the determined motion state information to the network equipment.
14. The method of claim 9, wherein the hosted application information acquisition request is generated in response to a user indicating an operation to begin acquiring acceleration information measured by a sensor and determining, from the acceleration information, motion state information indicative of a motion state of the device.
15. The method of claim 9, wherein the motion state comprises at least one of: bump, shake, flip.
16. The method of claim 9, wherein the obtaining and sending the matching information to the network device comprises:
and acquiring the information for matching and the information of the hosted application, and sending the information to the network equipment.
17. The method of claim 9 or 16, wherein the information of the hosted application comprises at least one of: the sending device of the information of the hosted application sends the information of the hosted application, the information of the hosted application which is used in the sending device when the sending device sends the information of the hosted application, the information of the hosted application of which the use condition meets the preset condition in the sending device, and the information of the hosted application which is selected by the sending device based on the user operation.
18. A network device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
19. A terminal device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 9-17.
20. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 8 or carries out the method of any one of claims 9 to 17.
CN201810443909.2A 2018-05-10 2018-05-10 Method and equipment for pushing information and showing information Active CN108848122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810443909.2A CN108848122B (en) 2018-05-10 2018-05-10 Method and equipment for pushing information and showing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810443909.2A CN108848122B (en) 2018-05-10 2018-05-10 Method and equipment for pushing information and showing information

Publications (2)

Publication Number Publication Date
CN108848122A CN108848122A (en) 2018-11-20
CN108848122B true CN108848122B (en) 2021-11-30

Family

ID=64212973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810443909.2A Active CN108848122B (en) 2018-05-10 2018-05-10 Method and equipment for pushing information and showing information

Country Status (1)

Country Link
CN (1) CN108848122B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831456B (en) * 2019-03-14 2021-11-23 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and storage medium
CN112737927B (en) * 2021-01-05 2023-03-24 北京字跳网络技术有限公司 Information display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426272A (en) * 2017-03-30 2017-12-01 阿里巴巴集团控股有限公司 A kind of small routine method for pushing, device and computer-readable storage medium
CN107612994A (en) * 2017-09-15 2018-01-19 广州神马移动信息科技有限公司 Gently apply method for pushing, equipment and push server
CN107819845A (en) * 2017-11-06 2018-03-20 广州神马移动信息科技有限公司 Gently apply method for pushing, device and server
CN107885841A (en) * 2017-11-10 2018-04-06 郑州云海信息技术有限公司 A kind of wechat small routine wisdom commending system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160119259A1 (en) * 2014-10-23 2016-04-28 Xiaomi Inc. Method, terminal device and server for pushing message through light application
CN107590245A (en) * 2017-09-14 2018-01-16 广州神马移动信息科技有限公司 Gently apply recommendation method, equipment and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426272A (en) * 2017-03-30 2017-12-01 阿里巴巴集团控股有限公司 A kind of small routine method for pushing, device and computer-readable storage medium
CN107612994A (en) * 2017-09-15 2018-01-19 广州神马移动信息科技有限公司 Gently apply method for pushing, equipment and push server
CN107819845A (en) * 2017-11-06 2018-03-20 广州神马移动信息科技有限公司 Gently apply method for pushing, device and server
CN107885841A (en) * 2017-11-10 2018-04-06 郑州云海信息技术有限公司 A kind of wechat small routine wisdom commending system

Also Published As

Publication number Publication date
CN108848122A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN107622135B (en) Method and apparatus for displaying information
CN107731229B (en) Method and apparatus for recognizing speech
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN105915599B (en) Interface display method and device
US11044222B2 (en) Automated connection of electronic messaging and social networking services method and apparatus
CN110619100B (en) Method and apparatus for acquiring data
CN112395509A (en) Information display method, information providing method, apparatus, and computer-readable medium
US20210097262A1 (en) Method and device for sending information
CN109547335B (en) Session message processing method and device
CN108848122B (en) Method and equipment for pushing information and showing information
CN110618768B (en) Information presentation method and device
CN114417782A (en) Display method and device and electronic equipment
CN111311358B (en) Information processing method and device and electronic equipment
CN109995543B (en) Method and apparatus for adding group members
CN106339402B (en) Method, device and system for pushing recommended content
CN110619101B (en) Method and apparatus for processing information
CN111580883A (en) Application program starting method, device, computer system and medium
CN109040223B (en) Method and device for pushing and displaying information
US20110320475A1 (en) Methods, apparatuses and computer program products for extending the capabilities of platform-independent applications on devices
CN108811036B (en) Method and apparatus for displaying wireless access point information
CN112306858A (en) Test method and device and electronic equipment
CN107181772B (en) Method and device for updating client state on line in real time
CN111784376A (en) Method and apparatus for processing information
CN112468849B (en) Method, apparatus, electronic device and medium for video information transmission
CN111291199B (en) Information query 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