CN108965389A - Method for showing information - Google Patents

Method for showing information Download PDF

Info

Publication number
CN108965389A
CN108965389A CN201810608149.6A CN201810608149A CN108965389A CN 108965389 A CN108965389 A CN 108965389A CN 201810608149 A CN201810608149 A CN 201810608149A CN 108965389 A CN108965389 A CN 108965389A
Authority
CN
China
Prior art keywords
information
pushed information
pushed
target push
return
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.)
Granted
Application number
CN201810608149.6A
Other languages
Chinese (zh)
Other versions
CN108965389B (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.)
Nanjing Shangwang Network Technology Co.,Ltd.
Original Assignee
Lianshang Xinchang 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 Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201810608149.6A priority Critical patent/CN108965389B/en
Publication of CN108965389A publication Critical patent/CN108965389A/en
Application granted granted Critical
Publication of CN108965389B publication Critical patent/CN108965389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The embodiment of the present application discloses the method for showing information.One specific embodiment of this method includes: acquisition current user operation;It is refresh operation in response to current user operation, is based on target push information set, determines current pushed information for display;And the pushed information request for requesting to push content next time is sent to server-side;Receive the pushed information that server-side is returned based on pushed information request;The pushed information of return is stored to target push information set, for being shown when getting refresh operation next time.The embodiment is realized when detecting refresh operation next time, pushed information can be chosen directly from the stored pushed information of this refresh operation and is shown, and the speed that pushed information is loaded when detecting refresh operation next time is improved.

Description

Method for showing information
Technical field
The invention relates to field of computer technology, and in particular to the method for showing information.
Background technique
With the continuous development of internet, people can pass through the various information of internet browsing.Such as news information, sport Information, financial information, entertainment information etc..Generally, user can pass through refresh page when having browsed current page content The operation in face to send the request for obtaining new content of pages to background server, and background server is returned according to the request received The content of pages of Hui Xin.
Summary of the invention
The embodiment of the present application proposes the method for showing information.
In a first aspect, the embodiment of the present application provides a kind of method for showing information, this method comprises: obtaining current User's operation;It is refresh operation in response to current user operation, is based on target push information set, determines for display current Pushed information;And the pushed information request for requesting to push content next time is sent to server-side;Server-side is received to be based on The pushed information that pushed information request returns;The pushed information of return is stored to target push information set, for obtaining It is shown when getting refresh operation next time.
In some embodiments, it is based on target push information set, determines that current pushed information for display includes: sound It should be LAN connection in current network connection state, current push for display is chosen from target push information set Information.
In some embodiments, it is based on target push information set, determines that current pushed information for display includes: sound It should be that non-local net connects and target push information collection is combined into empty set in current network connection state, the push letter based on return Breath, determines current pushed information for display.
In some embodiments, based on the pushed information of return, determine that current pushed information for display includes: response It is greater than preset threshold in the number of the pushed information of return, preset number pushed information is chosen from the pushed information of return and is made For current pushed information;And storing the pushed information of return to target push information set includes: to believe the push of return Unselected pushed information is stored to target push information set in breath, with for when getting refresh operation next time into Row is shown.
In some embodiments, chosen from target push information set current pushed information for display include: from The descending sequence of receiving time in target push information set according to target push information chooses the first number target Pushed information is shown as current pushed information.
It in some embodiments, include at least one keyword in pushed information request;And it is asked based on pushed information The pushed information for asking return includes: the pushed information retrieved based at least one keyword.
In some embodiments, at least one keyword includes at least one of the following: browsing information keys, search information Keyword, consumption information keyword, user information keyword, user location keyword.
In some embodiments, it stores by the pushed information of return to target push information set, further includes: really The fixed time for receiving the pushed information returned is as fiducial time;In response to being detected in the preset time period after fiducial time To refresh operation, the pushed information that return is chosen from target push information set is shown.
In some embodiments, the pushed information that return is chosen from target push information set be shown include: from The descending sequence of receiving time in target push information set according to target push information chooses the second number target Pushed information is shown.
In some embodiments, the pushed information of return is stored to target push information set, further includes: delete in mesh Received target push information before the mark time, and/or the target push information having shown that is deleted, and/or delete except return Pushed information except other target push informations.
In some embodiments, after determining the time for receiving the pushed information returned as fiducial time, further includes: In response to refresh operation is not detected in the preset time period after fiducial time, following update step is executed: to server-side Send the pushed information request for requesting to push content next time;Server-side is received newly to push away based on what pushed information request returned It delivers letters breath;New pushed information is stored into target push information set, and deletes and is received before receiving new pushed information Pushed information;In response to detecting refresh operation in the preset time period after the new pushed information of reception, pushed from target New pushed information is chosen in information aggregate to be shown.
In some embodiments, above-mentioned update step further include: in response to when receiving default after new pushed information Between refresh operation is not detected in section, continue to execute above-mentioned update step.
In some embodiments, it stores by the pushed information of return to target push information set, further includes: ring Ying Yu detects that user exits operation, delete target pushed information set.
Second aspect, the embodiment of the present application provide it is a kind of for showing the device of information, the device include: obtain it is single Member is configured to obtain current user operation;Push unit, being configured in response to current user operation is refresh operation, base In target push information set, current pushed information for display is determined;And it sends to server-side for requesting next time Push the pushed information request of content;Receiving unit is configured to receive the push that server-side is returned based on pushed information request Information;Storage unit is configured to store the pushed information of return to target push information set, in the case where getting It is shown when refresh operation.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, which includes: one or more processing Device;Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, make Obtain method of the one or more processors realization as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in implementation any in first aspect is realized when computer program is executed by processor.
Method provided by the embodiments of the present application for showing information, by obtaining current user operation, in response to current User's operation is refresh operation, is based on target push information set, determines current pushed information for display, and to service End sends the pushed information request for requesting to push content next time, receives server-side and is pushed away based on what pushed information request returned It delivers letters breath, the pushed information of return is stored to target push information set, for when getting refresh operation next time It is shown, to realize when detecting refresh operation next time, can directly be pushed away from this refresh operation is stored It delivers letters and chooses pushed information in breath and be shown, improve the speed for loading pushed information when detecting refresh operation next time, The case where avoiding the load information delay or load information error that occur in the case where such as network state is bad.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for showing information of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for showing information of the application;
Fig. 4 is the flow chart according to another embodiment of the method for showing information of the application;
Fig. 5 is the flow chart according to another embodiment of the method for showing information of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the device for showing information of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the terminal device of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary architecture 100 of the method for showing information of the application.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101,102,103 is interacted by network 104 with server 105, to receive or send message etc..Terminal Various telecommunication customer end applications, such as the application of browser application, news category, shopping can be installed in equipment 101,102,103 Class application, searching class application, instant messaging tools, social category application etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, it can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, e-book reading Device, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is software, may be mounted at In above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing distributed clothes in it Business), single software or software module also may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, and for example, terminal device 101,102,103 provides information The information server of push.The pushed information request that information server can send terminal device carries out the processing such as analyzing, and It is requested according to pushed information, corresponding pushed information is back to terminal device.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module) It is implemented as single software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for showing information is generally held by terminal device Row.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the method for showing information of the application 200.This be used for show information method the following steps are included:
Step 201, current user operation is obtained.
In the present embodiment, for show the method for information executing subject (terminal device as shown in Figure 1 101,102, 103) available current user operation.Wherein, user's operation may include that above-mentioned executing subject being capable of received various interactions Operation.Current user operation can refer to the user's operation got when above-mentioned executing subject executes the step.It should can manage It solves, in practice, each user's operation that above-mentioned executing subject is got all can serve as current user operation.In practice, for Different interactive operations, above-mentioned executing subject can have different acquisition modes.
For example, user's operation may include that user is each by touching head or felt pen, mouse, keyboard, hand drawing board etc. Kind external equipment, or the various operations carried out by the finger of user to above-mentioned executing subject also may include that user is logical It crosses and such as rocks terminal device or gesture operation that other above-mentioned executing subjects can identify.Accordingly, above-mentioned executing subject can With by the more built-in driving corresponding to various external equipments, or can receive various user's operations program setting come it is real Now to the acquisition of user's operation.
Step 202, it is refresh operation in response to current user operation, is based on target push information set, determines for opening up The current pushed information shown;And the pushed information request for requesting to push content next time is sent to server-side.
In the present embodiment, above-mentioned executing subject can be based on mesh when detecting current user operation is refresh operation Pushed information set is marked, determines current pushed information for display.Wherein, refresh operation can be to be used to indicate and be refreshed Operation.Refresh operation includes but is not limited to clicking operation (for example, clicking refresh icon, click navigation link etc.), key behaviour Make (such as by shortcut key etc. refreshed corresponding on lower keyboard), slide (for example, the slide downward on the screen of executing subject Deng), gesture operation (for example, waving to the right above executing subject screen) etc..
Before this step, above-mentioned executing subject can be to clicking operation, slide or the hand for corresponding to refresh operation Gesture operation etc. continue or detect at intervals.It is to be understood that can use different for different refresh operations Corresponding detection method is detected.
For example, user can refresh Current Content by slide downward screen.So, above-mentioned executing subject can With using it is existing it is various identify to user's touch track and detect relevant method detect whether slide downward screen Operation.For example, user can also be refreshed by tapping the F5 key on keyboard.So, above-mentioned executing subject can be held Continuous detection keyboard receives signal, when detecting that F5 is pressed, then it is assumed that detects refresh operation.It should be appreciated that refreshing behaviour Make that mode is varied, the mode of corresponding detection refresh operation is also varied, it is not limited to content enumerated above. For example, user can also control refresh operation by the key in other equipment such as laser pen, accordingly, executing subject can be with By the push button signalling that detects whether to receive on corresponding laser pen to determine whether there is refresh operation.
In the present embodiment, it can store information to be pushed in pushed information set.Pushed information set can be The set for stating the pushed information that executing subject is obtained from local data base, be also possible to above-mentioned executing subject from network downloading or The set for the pushed information that person obtains from third party's data platform or cloud platform (such as server 105 shown in FIG. 1), can be with It is by the hybrid combining of pushed information that is local and being obtained by network.Target push information set can be pre- by technical staff First specified pushed information set, is also possible to the qualified pushed information collection filtered out according to certain screening rule It closes.
It in the present embodiment, can be according to attribute (the pushing away in such as target push information set of target push information set Deliver letters number, content, the time etc. of breath) determine current pushed information for display.
It optionally, can be from server-side or other when the number of the pushed information in target push information set is zero Third party database obtains pushed information and is shown as current pushed information.When the number in target push information set not When being zero, pushed information can be chosen from target push information set and be shown as current pushed information.
Optionally, it when the number of the pushed information in target push information set is not zero, can also further determine that Whether the number of the pushed information in target push information set is greater than the preset number for showing information.If being less than, then removing The pushed information chosen in target push information set is shown as current pushed information, can also from server-side or its The acquisition of its third party database lacks quantity pushed information and is also shown as current pushed information.
Optionally, when the number of the pushed information in target push information set is not zero, can also further judge The receiving time of pushed information therein.If receiving time all preset time point (the last week of such as current time) it Before, it is shown then pushed information can be obtained as current pushed information from server-side or other third party databases.
Optionally, the content type that can also include according to the pushed information in target push information set, for every kind The pushed information of the contents selection certain amount of type is shown as current pushed information.When in target push information set Pushed information content type be less than certain amount when, can from target push information set selected part pushed information, Then the pushed information that the content type lacked is obtained from server-side or other third party databases, then two parts are pushed believe Breath is shown together as current pushed information.
In the present embodiment, when being refresh operation in response to current user operation, it can also send and push to server-side Information request, for requesting push content next time.
Step 203, the pushed information that server-side is returned based on pushed information request is received.
In the present embodiment, above-mentioned executing subject can receive server-side and request and return in response to the pushed information received The pushed information returned.
It optionally, may include the number for having the pushed information of request in above-mentioned pushed information request, so that server-side is returned Return corresponding number pushed information.
It may include having at least one in above-mentioned pushed information request in some optional implementations of the present embodiment Keyword.Server-side can be retrieved according to the keyword for including in the pushed information request received, to obtain correlation Push content.
In some optional implementations of the present embodiment, at least one keyword may include at least one of following: Browse information keys, search information keys, consumption information keyword, user information keyword, user location keyword.
Wherein, browsing information keys can obtain as follows: the history pushed information browsed is obtained, from Browsing information keys are extracted in history pushed information.Search information keys can obtain as follows: obtain user Search record, from search record in extract search information keys.Consumption information keyword can obtain as follows: The consumer record for obtaining user extracts consumption information keyword from consumer record.
User information keyword may include at least one of following: gender, age.User information keyword can be by such as Lower step obtains: obtaining the behavioural information of user, wherein behavioural information includes at least one of the following: search record, consumption note Record.According to obtained behavioural information, gender and/or the age of user are determined.Remember for example, being recorded and being consumed according to the search of user Record the particular content being related to, thus it is speculated that the gender of user and age.User location keyword can refer to where above-mentioned executing subject Position.For example, can use navigation or the positioning system of above-mentioned executing subject itself to obtain user location keyword.
When server-side receives the request of the pushed information comprising above-mentioned keyword, it can retrieve corresponding with above-mentioned keyword Or relevant pushed information.For example, when including consumption information keyword such as A brand skin care item in pushed information request.So take Business end can retrieve pushed information relevant to the skin care item of A brand, such as the current discount information of A brand, preferential activity.Example Such as, if pushed information request in comprising user location keyword be Beijing Haidian, then server-side can retrieve it is current or recent The highest relevant information of attention rate in Haidian District in certain period of time, or the relevant informations such as weather, activity of retrieval Haidian District. Further, server-side can return to the pushed information retrieved.
Step 204, the pushed information of return is stored to target push information set, for brushing getting next time It is shown when new operation.
In the present embodiment, the pushed information that above-mentioned executing subject can return to server-side in above-mentioned steps 203 stores Into target push information set.When detecting refresh operation next time, this can be chosen from target push information set The pushed information of secondary storage is shown.
In some optional implementations of the present embodiment, the pushed information of return is stored to target push information collection When conjunction, the received target push information before the object time can also be deleted, and/or deletes the target push letter having shown that Breath, and/or delete other target push informations in addition to the pushed information of return.Wherein, the object time can be preparatory finger Fixed time, such as one day before current time or one week.At storage service end while the pushed information of return, timely Other pushed informations in target push information set are disposed, the burden of the memory of above-mentioned executing subject can be mitigated in time, The timeliness of the pushed information in target push information set is also ensured simultaneously.
In some optional implementations of the present embodiment, store by the pushed information of return to target push information After set, further includes: in response to detecting that user exits operation, delete target pushed information set.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for showing information of the present embodiment Figure.In the application scenarios of Fig. 3, the available current user operation of terminal device mobile phone 301, when detecting current user operation When for downslide refresh operation, two push can be chosen from the target push information set 302 stored in memory of mobile phone 301 Information 303, respectively pushed information 01 and pushed information 02.Later, pushed information 01 and 02 can be shown on mobile phone 301. In addition, detecting that mobile phone 301 can be sent to server-side 306 for requesting to push content next time while gliding operation Pushed information request 304.Server-side 306 can return to pushed information 03 and pushed information 04 totally two pushed informations 305.It Afterwards, mobile phone 301 receives the pushed information 305 that server-side 306 returns, and the pushed information 305 is stored in local target and is pushed In information aggregate 302, so that it is slow to choose this from target push information set 302 when receiving downslide operation next time The pushed information 305 deposited is shown.
The method provided by the above embodiment of the application based on target by being pushed away when current user operation is refresh operation Information aggregate is sent, determines current pushed information for display.Moreover, sending to server-side for requesting to push content next time Pushed information request, receive the pushed information that server-side is returned based on pushed information request, the pushed information of return stored To target push information set, detected to realize for being shown when getting refresh operation next time Next time when refresh operation, pushed information can be chosen directly from the stored pushed information of this refresh operation and be opened up Show, improves the speed for loading pushed information when detecting refresh operation next time, avoid the feelings bad in such as network state The case where load information delay occurred under condition or load information malfunction.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment for showing the method for information.The use In the process 400 for showing information, comprising the following steps:
Step 401, current user operation is obtained.
The specific implementation procedure of the step can refer to the related description of the step 201 in Fig. 2 corresponding embodiment, herein not It repeats again.
It step 402, is refresh operation in response to current user operation, and current network connection state is local area network company It connects, current pushed information for display is chosen from target push information set, and send under request to server-side The pushed information request of primary push content.Following step 403 and 404 is executed later.
It in the present embodiment, is refresh operation in current user operation, and current network connection state is local area network company When connecing, above-mentioned executing subject can choose current pushed information for display from target push information set.In addition, may be used also To send the pushed information request for requesting to push content next time to server-side.
In some optional implementations of the present embodiment, above-mentioned executing subject can be from target push information set According to the receiving time sequence from big to small of each target push information, chooses the first number target push information and opened up Show.Wherein, the first number can be by the preassigned arbitrary number of technical staff, be also possible to be calculated according to preset algorithm Number out.Such as first number can be set to the pushed information in current goal pushed information set number three/ One.
Optionally, when current user operation is refresh operation, operating system according to used in it is (such as Android or iPhone operating system), current network is detected using the method for the detection current network state of system offer Whether connection status is LAN connection.Other relevant specific implementation procedures can refer to the step 202 in Fig. 2 corresponding embodiment Related description, details are not described herein.
Step 403, the pushed information that server-side is returned based on pushed information request is received.
Step 404, the pushed information of return is stored to target push information set, for brushing getting next time It is shown when new operation.
The specific implementation procedure of above-mentioned steps 403 and 404 can refer to step 203 in Fig. 2 corresponding embodiment and 204 Related description, details are not described herein.
It step 405, is refresh operation in response to current user operation, and current network connects after above-mentioned steps 401 State is connect as the connection of non-local net, and target push information collection is combined into empty set, sends to server-side for requesting to push next time The pushed information of content is requested.Following step 406 and 407 is executed later.
It in the present embodiment, is refresh operation in current user operation, and current network connection state is non-local net Connection, while when target push information collection is combined into empty set, above-mentioned executing subject can be sent to server-side for requesting next time Push the pushed information request of content.
Optionally, when current user operation is refresh operation and current network connection state is the connection of non-local net, The number of target push information wherein included can be determined by traversing target push information set, and then determines target push Whether information aggregate is empty set.When the number of target push information is zero, that is, illustrate that target push information collection is combined into empty set.Its Its relevant specific implementation procedure can refer to the related description of the step 202 in Fig. 2 corresponding embodiment, and details are not described herein.
Step 406, the pushed information that server-side is returned based on pushed information request is received.
The specific implementation procedure of the step can refer to the related description of the step 203 in Fig. 2 corresponding embodiment, herein not It repeats again.
Step 407, it is greater than preset threshold in response to the number of the pushed information of return, is chosen from the pushed information of return Preset number pushed information is as current pushed information.By pushed information unselected in the pushed information of return store to Target push information set, for being shown when getting refresh operation next time.
In the present embodiment, when the number of the pushed information of return is greater than preset threshold, above-mentioned executing subject can be from Preset number pushed information is chosen in the pushed information of return to show as current pushed information.In addition, by unselected Pushed information is stored to target push information set, for being shown when getting refresh operation next time.Wherein, in advance If threshold value and preset number can be the arbitrary number being arranged according to practical application scene.
Optionally, when the number of the pushed information of return is less than preset threshold, above-mentioned executing subject can be by return Pushed information is all shown as current pushed information.Later, it can also be sent again to server-side next for requesting The pushed information request of secondary push content, and the pushed information that the request of this pushed information returns is stored to target push information Set.
Figure 4, it is seen that compared with the corresponding embodiment of Fig. 2, the process of the information-pushing method in the present embodiment 400 highlight current network connection status be local area network when, can be chosen from target push information set pushed information into Row is shown, to improve the loading velocity of this pushed information, while being sent to server-side for requesting in push next time The pushed information of appearance is requested, and the pushed information of return is stored to be shown when being used for and getting refresh operation next time, To also ensure the higher loading velocity of pushed information next time.In addition, being non-local net in current network connection status And target push information collection can be sent for request the pushed information of push content next time to be asked to server-side when being combined into empty set It asks, the part pushed information in the pushed information request of return is then subjected to this push, and remaining pushed information is deposited Storage when being used for and getting next refresh operation to be pushed, to guarantee this push when target push information is empty set The normal presentation of information, and improve the loading velocity of pushed information next time.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment for showing the method for information.The use In show information method process 500 include the steps that can apply embodiment of the method shown in Fig. 2 in step 204 it Afterwards.This is used to show the process 500 of information, comprising the following steps:
Step 501, determine the time for receiving the pushed information returned as fiducial time.
In the present embodiment, the above-mentioned executing subject available time for receiving the pushed information that server-side returns, and will The time is as fiducial time.
Step 502, judge whether detect refresh operation in the preset time period after fiducial time, in response in base Refresh operation is detected in preset time period after between punctual, then following step 503 is executed, in response to after fiducial time Preset time period in refresh operation is not detected, then execute following step 504-508.
In the present embodiment, preset time period can be preassigned any time period, such as one hour.
Step 503, the pushed information that return is chosen from target push information set is shown.
In some optional implementations of the present embodiment, above-mentioned executing subject can be from target push information set According to the receiving time sequence from big to small of each target push information, chooses the second number target push information and opened up Show.Wherein, the second number can be by the preassigned arbitrary number of technical staff, be also possible to be calculated according to preset algorithm Number out.Such as second number can be set to the pushed information in current goal pushed information set number three/ One.
Step 504, the pushed information request for requesting to push content next time is sent to server-side.
Step 505, the new pushed information that server-side is returned based on pushed information request is received.
Step 506, new pushed information is stored into target push information set, and deletes and is receiving new pushed information Received pushed information before.
Step 507, judge receiving in the preset time period after new pushed information whether detect refresh operation, respond In detecting refresh operation in the preset time period after the new pushed information of reception, following step 508 is executed, in response to connecing It receives in the preset time period after new pushed information and refresh operation is not detected, repeat above-mentioned steps 504-507.
In the present embodiment, it when current user operation is refresh operation, chooses pushed information and is shown, and store use After the pushed information being shown when getting refresh operation next time, if not getting within a preset period of time next Secondary refresh operation then pushed information request can be sent to server-side again, and stores the pushed information of return, before deletion The pushed information of storage.Later, the method for executing the above-mentioned pushed information updated storage can be recycled.
Step 508, new pushed information is chosen from target push information set to be shown.
From figure 5 it can be seen that compared with the corresponding embodiment of Fig. 2, the process of the information-pushing method in the present embodiment 500 highlight after the corresponding embodiment of Fig. 2, can be with when not getting refresh operation next time within a preset period of time The pushed information for being shown when getting refresh operation next time updated storage, to ensure that the push letter of storage The timeliness of breath avoids user from getting out-of-date useless pushed information in interval time longer refresh operation next time.
With further reference to Fig. 6, as the realization for scheming shown method to above-mentioned, this application provides for showing information One embodiment of device, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to In various electronic equipments.
As shown in fig. 6, the device 600 provided in this embodiment for showing information includes acquiring unit 601, push unit 602, receiving unit 603 and storage unit 604.Wherein, acquiring unit 601 is configured to obtain current user operation;Push is single It is refresh operation that member 602, which is configured in response to current user operation, is based on target push information set, determines for display Current pushed information;And the pushed information request for requesting to push content next time is sent to server-side;Receiving unit 603 It is configured to receive the pushed information that server-side is returned based on pushed information request;What storage unit 604 was configured to return Pushed information is stored to target push information set, for being shown when getting refresh operation next time.
In the present embodiment, in the device 600 for showing information: acquiring unit 601, push unit 602, receiving unit 603 and storage unit 604 specific processing and its brought technical effect can be respectively with reference to the step in Fig. 2 corresponding embodiment 201, the related description of step 202, step 203 and step 204, details are not described herein.
In some optional implementations of the present embodiment, above-mentioned push unit 602 be further configured in response to Current network connection state is LAN connection, and current push letter for display is chosen from target push information set Breath.
In some optional implementations of the present embodiment, above-mentioned push unit 602 be further configured in response to Current network connection state is that non-local net connects and target push information collection is combined into empty set, the pushed information based on return, Determine current pushed information for display.
In some optional implementations of the present embodiment, above-mentioned push unit 602 be further configured in response to The number of the pushed information of return is greater than preset threshold, and the conduct of preset number pushed information is chosen from the pushed information of return Current pushed information;Storage unit 604 is further configured to pushed information unselected in the pushed information by return and deposits Storage is to target push information set, for being shown when getting refresh operation next time.
In some optional implementations of the present embodiment, push unit 602 is further configured to push from target The descending sequence of receiving time in information aggregate according to target push information chooses the first number target push information It is shown as current pushed information.
It include at least one keyword in above-mentioned push request in some optional implementations of the present embodiment; And based on pushed information request return pushed information include: based at least one keyword and retrieve push letter Breath.
In some optional implementations of the present embodiment, at least one above-mentioned keyword is included at least one of the following: Browse information keys, search information keys, consumption information keyword, user information keyword, user location keyword.
It is above-mentioned for showing the device 600 of information further include: to determine in some optional implementations of the present embodiment Unit (not shown) is configured to determine the time for receiving the pushed information returned as fiducial time;Above-mentioned push list Member 602 is further configured to push away in response to detecting refresh operation in the preset time period after fiducial time from target The pushed information for choosing return in information aggregate is sent to be shown.
In some optional implementations of the present embodiment, above-mentioned push unit 602 is further configured to from target The descending sequence of receiving time in pushed information set according to target push information chooses the push of the second number target Information is shown.
In some optional implementations of the present embodiment, said memory cells 604 are further configured to delete Received target push information before object time, and/or the target push information having shown that is deleted, and/or delete to remove and return Other target push informations except the pushed information returned.
In some optional implementations of the present embodiment, above-mentioned push unit 602 be further configured in response to Refresh operation is not detected in preset time period after fiducial time, executes following update step: sending and use to server-side The pushed information request of content is pushed next time in request;Receive the new push letter that server-side is returned based on pushed information request Breath;New pushed information is stored into target push information set, and deletes received before receiving new pushed information push away It delivers letters breath;In response to detecting refresh operation in the preset time period after the new pushed information of reception, from target push information New pushed information is chosen in set to be shown.
In some optional implementations of the present embodiment, above-mentioned push unit 602 be further configured in response to Refresh operation is not detected receiving in the preset time period after new pushed information, continues to execute above-mentioned update step.
It is above-mentioned for showing the device 600 of information further include: to delete in some optional implementations of the present embodiment Unit is configured in response to detect that user exits operation, delete target pushed information set.
The application's is provided by the above embodiment for showing the device of information, obtains active user behaviour by acquiring unit Make, when current user operation is refresh operation, push unit is based on target push information set, determines for display current Pushed information.Moreover, sending the pushed information request for requesting to push content next time to server-side.Later, receiving unit The pushed information that server-side is returned based on pushed information request is received, the pushed information of return is stored to target and pushed away by storage unit Information aggregate is sent, with for being shown when getting refresh operation next time, is brushed next time to realize detecting When new operation, pushed information can be chosen directly from the stored pushed information of this refresh operation and be shown, improved The speed that pushed information is loaded when detecting refresh operation next time, avoids occurring as network state is bad The case where load information delay or load information malfunction.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the terminal device for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Terminal device shown in Fig. 7 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.; And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.
It should be noted that the computer-readable medium of the application can be computer-readable signal media or computer Readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, such as can be described as: a kind of processor, packet Include acquiring unit, push unit, receiving unit and storage unit.Wherein, the title of these units not structure under certain conditions The restriction of the pairs of unit itself, for example, acquiring unit is also described as " obtaining the unit of current user operation ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: it is refresh operation in response to current user operation, is based on target push information set, determines current push for display Information;And the pushed information request for requesting to push content next time is sent to server-side;It receives server-side and is based on push The pushed information that information request returns;The pushed information of return is stored to target push information set, for getting It is shown when refresh operation next time.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (15)

1. a kind of method for showing information, comprising:
Obtain current user operation;
It is refresh operation in response to current user operation, is based on target push information set, determines current push for display Information;And the pushed information request for requesting to push content next time is sent to server-side;
Receive the pushed information that the server-side is returned based on pushed information request;
The pushed information of the return is stored to target push information set, for when getting refresh operation next time It is shown.
2. it is described to be based on target push information set according to the method described in claim 1, wherein, determine for display work as Preceding pushed information includes:
It is LAN connection in response to current network connection state, for display work as is chosen from target push information set Preceding pushed information.
3. it is described to be based on target push information set according to the method described in claim 1, wherein, determine for display work as Preceding pushed information includes:
It is that non-local net connects and target push information collection is combined into empty set in response to current network connection state, is returned based on described The pushed information returned, determines current pushed information for display.
4. according to the method described in claim 3, wherein, the pushed information based on the return determines for display Currently pushed information includes:
It is greater than preset threshold in response to the number of the pushed information of the return, chooses preset number from the pushed information of return Pushed information is as current pushed information;And
The pushed information by the return, which is stored to target push information set, includes:
Pushed information unselected in the pushed information of the return is stored to target push information set, for obtaining It is shown when getting refresh operation next time.
5. according to the method described in claim 2, wherein, it is described chosen from target push information set it is for display current Pushed information includes:
The descending sequence of receiving time from target push information set according to target push information chooses the first number Target push information is shown as current pushed information.
6. according to the method described in claim 1, including wherein at least one keyword in the pushed information request;And
It is described based on the pushed information request return pushed information include:
The pushed information retrieved based at least one described keyword.
7. according to the method described in claim 6, wherein, at least one described keyword includes at least one of the following: browsing letter Cease keyword, search information keys, consumption information keyword, user information keyword, user location keyword.
8. according to the method described in claim 1, wherein, storing to target to push in the pushed information by the return and believe After breath set, further includes:
Determine the time for the pushed information for receiving the return as fiducial time;
In response to detecting refresh operation in the preset time period after the fiducial time, from target push information set The pushed information for choosing the return is shown.
9. according to the method described in claim 8, wherein, the push that the return is chosen from target push information set Information, which is shown, includes:
The descending sequence of receiving time from target push information set according to target push information chooses the second number Target push information is shown.
10. according to the method described in claim 1, wherein, the pushed information by the return, which stores to target to push, to be believed Breath set, further includes:
The received target push information before the object time is deleted, and/or deletes the target push information having shown that, and/ Or other target push informations of the deletion in addition to the pushed information of the return.
11. according to the method described in claim 8, wherein, making in the time of the determining pushed information for receiving the return After the benchmark time, further includes:
In response to refresh operation is not detected in the preset time period after the fiducial time, execution is following to update step: The pushed information request for requesting to push content next time is sent to the server-side;It receives the server-side and is based on push letter The new pushed information that breath request returns;The new pushed information is stored into target push information set, and deletes and is connecing Receive received pushed information before the new pushed information;In response to when receiving described default after the new pushed information Between detect refresh operation in section, the new pushed information is chosen from target push information set and is shown.
12. according to the method for claim 11, wherein the update step further include:
In response to refresh operation is not detected in the preset time period after the reception new pushed information, continue to execute The update step.
13. according to the method described in claim 1, wherein, storing in the pushed information by the return to target and pushing After information aggregate, further includes:
In response to detecting that user exits operation, delete target pushed information set.
14. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-13.
15. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Method as described in any in claim 1-13.
CN201810608149.6A 2018-06-13 2018-06-13 Method for displaying information Active CN108965389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810608149.6A CN108965389B (en) 2018-06-13 2018-06-13 Method for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810608149.6A CN108965389B (en) 2018-06-13 2018-06-13 Method for displaying information

Publications (2)

Publication Number Publication Date
CN108965389A true CN108965389A (en) 2018-12-07
CN108965389B CN108965389B (en) 2021-07-06

Family

ID=64488482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810608149.6A Active CN108965389B (en) 2018-06-13 2018-06-13 Method for displaying information

Country Status (1)

Country Link
CN (1) CN108965389B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636475A (en) * 2018-12-14 2019-04-16 平安城市建设科技(深圳)有限公司 Source of houses method for refreshing, device, equipment and storage medium
CN109688562A (en) * 2018-12-26 2019-04-26 上海连尚网络科技有限公司 Merchant advertisement information displaying method, user equipment, routing device and the network equipment
CN110113416A (en) * 2019-05-07 2019-08-09 北京字节跳动网络技术有限公司 Method and apparatus for showing information
CN110442825A (en) * 2019-08-13 2019-11-12 连尚(新昌)网络科技有限公司 The method and apparatus of information for rendering
CN111130918A (en) * 2019-11-05 2020-05-08 连尚(新昌)网络科技有限公司 Method and equipment for presenting information flow
CN111984857A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Information pushing method and device, electronic equipment and storage medium
CN112307321A (en) * 2019-11-15 2021-02-02 北京字节跳动网络技术有限公司 Information pushing method and device and electronic equipment
CN114051054A (en) * 2022-01-13 2022-02-15 深圳市赢向量科技有限公司 Method and system for acquiring information by adopting wireless communication network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923564A (en) * 2010-06-08 2010-12-22 汪翔云 Method for improving performance of webpage of representing three-dimensional object based on image cache
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN102647481A (en) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 Device and method for accessing preset network address
CN102957712A (en) * 2011-08-17 2013-03-06 阿里巴巴集团控股有限公司 Method and system for loading website resources
US20130191713A1 (en) * 2012-01-25 2013-07-25 Microsoft Corporation Presenting data driven forms
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN106055612A (en) * 2016-05-25 2016-10-26 青岛海信传媒网络技术有限公司 Data paging display method and terminal equipment
CN106446174A (en) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 Method for page loading in application
CN108123970A (en) * 2016-11-28 2018-06-05 北京神州泰岳软件股份有限公司 Method for exhibiting data and relevant apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923564A (en) * 2010-06-08 2010-12-22 汪翔云 Method for improving performance of webpage of representing three-dimensional object based on image cache
CN102447647A (en) * 2010-10-13 2012-05-09 腾讯科技(深圳)有限公司 Notification method, device and system based on new information
CN102957712A (en) * 2011-08-17 2013-03-06 阿里巴巴集团控股有限公司 Method and system for loading website resources
US20130191713A1 (en) * 2012-01-25 2013-07-25 Microsoft Corporation Presenting data driven forms
CN102647481A (en) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 Device and method for accessing preset network address
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN106055612A (en) * 2016-05-25 2016-10-26 青岛海信传媒网络技术有限公司 Data paging display method and terminal equipment
CN106446174A (en) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 Method for page loading in application
CN108123970A (en) * 2016-11-28 2018-06-05 北京神州泰岳软件股份有限公司 Method for exhibiting data and relevant apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636475A (en) * 2018-12-14 2019-04-16 平安城市建设科技(深圳)有限公司 Source of houses method for refreshing, device, equipment and storage medium
CN109688562A (en) * 2018-12-26 2019-04-26 上海连尚网络科技有限公司 Merchant advertisement information displaying method, user equipment, routing device and the network equipment
CN109688562B (en) * 2018-12-26 2022-05-10 上海连尚网络科技有限公司 Merchant advertisement information display method, user equipment, routing equipment and network equipment
CN110113416A (en) * 2019-05-07 2019-08-09 北京字节跳动网络技术有限公司 Method and apparatus for showing information
CN110442825A (en) * 2019-08-13 2019-11-12 连尚(新昌)网络科技有限公司 The method and apparatus of information for rendering
CN110442825B (en) * 2019-08-13 2022-07-12 连尚(新昌)网络科技有限公司 Method and apparatus for presenting information
CN111130918A (en) * 2019-11-05 2020-05-08 连尚(新昌)网络科技有限公司 Method and equipment for presenting information flow
CN112307321A (en) * 2019-11-15 2021-02-02 北京字节跳动网络技术有限公司 Information pushing method and device and electronic equipment
CN111984857A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Information pushing method and device, electronic equipment and storage medium
CN111984857B (en) * 2020-06-28 2024-04-09 百度在线网络技术(北京)有限公司 Information pushing method and device, electronic equipment and storage medium
CN114051054A (en) * 2022-01-13 2022-02-15 深圳市赢向量科技有限公司 Method and system for acquiring information by adopting wireless communication network

Also Published As

Publication number Publication date
CN108965389B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN108965389A (en) Method for showing information
CN107209905B (en) Corresponding de-themed categorization for personalization and task completion services
US9613132B2 (en) Method of and system for displaying a plurality of user-selectable refinements to a search query
CN110378732A (en) Information display method, information correlation method, device, equipment and storage medium
CN109299348A (en) A kind of data query method, apparatus, electronic equipment and storage medium
CN109542578A (en) A kind of display methods of list interface, device, equipment and storage medium
CN109543163A (en) Documentation revisions record acquisition methods, device, storage medium and electronic equipment
CN109471695A (en) Method and apparatus for more new data
CN109447635A (en) Information storage means and device for block chain
CN108924604A (en) Method and apparatus for playing video
CN110334246A (en) A kind of data request processing method, apparatus, terminal device and storage medium
CN110363604A (en) Page generation method and device
CN109510874A (en) Electronic certificate method for pushing, device and electronic equipment based on LBS
CN109960801A (en) Data processing method and device
US20150073932A1 (en) Strength Based Modeling For Recommendation System
CN109862100A (en) Method and apparatus for pushed information
CN110019263A (en) Information storage means and device
CN109948059A (en) Recommended method, device, equipment and the storage medium of content
CN109885593A (en) Method and apparatus for handling information
CN110097397A (en) Information-pushing method, device and electronic equipment based on feedback
CN109828980A (en) Data cache method, device, terminal and storage medium
CN110472166A (en) Method and apparatus for showing the page
CN109508361A (en) Method and apparatus for output information
CN109471976A (en) Processing method, device, electronic equipment and the storage medium of web page operation data
CN108959642A (en) Method and apparatus for information to be written

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200703

Address after: Room 909, No. 12, Huangshan Road, Jianye District, Nanjing City, Jiangsu Province

Applicant after: Nanjing Shangwang Network Technology Co.,Ltd.

Address before: 312599 B-2, 3 floor, Jiayi Plaza, 127 East Renmin Road, Nanming street, Xinchang, Shaoxing, Zhejiang

Applicant before: LIANSHANG (XINCHANG) NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant