CN108933825B - The information-pushing method and electronic equipment realized based on suspension pendant - Google Patents

The information-pushing method and electronic equipment realized based on suspension pendant Download PDF

Info

Publication number
CN108933825B
CN108933825B CN201810696434.8A CN201810696434A CN108933825B CN 108933825 B CN108933825 B CN 108933825B CN 201810696434 A CN201810696434 A CN 201810696434A CN 108933825 B CN108933825 B CN 108933825B
Authority
CN
China
Prior art keywords
information
pushed information
main program
suspension pendant
pushed
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
CN201810696434.8A
Other languages
Chinese (zh)
Other versions
CN108933825A (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.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201810696434.8A priority Critical patent/CN108933825B/en
Publication of CN108933825A publication Critical patent/CN108933825A/en
Application granted granted Critical
Publication of CN108933825B publication Critical patent/CN108933825B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a kind of information-pushing methods and electronic equipment realized based on suspension pendant.Wherein, method includes: when the activation for detecting suspension pendant operates, and side's starting suspension pendant, is established using suspension pendant and connected the length between server-side on the table;Pushed information is obtained by long connect;Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.Based on scheme provided by the invention, information push is carried out by the long connection established between suspension pendant and server-side, the arrival rate that information push can be improved is high, information caused by the factors such as, user's closing information push function poor so as to avoid network environment pushes the low problem of arrival rate, timely learning pushed information is allowed users to, ensure that the real-time of information push.

Description

The information-pushing method and electronic equipment realized based on suspension pendant
Technical field
The present invention relates to field of computer technology, and in particular to it is a kind of based on suspension pendant realize information-pushing method and Electronic equipment.
Background technique
With the development of computer and Internet technology, various application operations Internet-based and give birth to, for the ease of with Family understands relevant information, and server-side can push various information to application, but many times, pushed information arrival rate is low, influences The principal element of pushed information arrival rate includes:
First, network environment, if network environment is abnormal, using the information that possibly can not receive server-side push; Second, IMEI information are changed due to brush machine, lead to not carry out information push according to IMEI information;Third, user hand Dynamic close receives information push function, causes pushed information that can not touch and reaches;4th, due to the security restriction of manufacturer terminal, lead It causes pushed information intercepted, causes the arrival rate of pushed information low for these reasons, so that user can not understand accordingly in time Pushed information.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the information-pushing method and electronic equipment of problem realized based on suspension pendant.
According to an aspect of the invention, there is provided a kind of information-pushing method realized based on suspension pendant, comprising:
When the activation for detecting suspension pendant operates, side's starting suspension pendant, is established using suspension pendant on the table Long connection between server-side;
Pushed information is obtained by long connect;
Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.
According to another aspect of the present invention, provide a kind of electronic equipment, comprising: processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes processor execute following operation for storing an at least executable instruction, executable instruction:
When the activation for detecting suspension pendant operates, side's starting suspension pendant, is established using suspension pendant on the table Long connection between server-side;
Pushed information is obtained by long connect;
Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.
According to another aspect of the invention, a kind of computer storage medium is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute following operation:
When the activation for detecting suspension pendant operates, side's starting suspension pendant, is established using suspension pendant on the table Long connection between server-side;
Pushed information is obtained by long connect;
Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.
The scheme provided according to the present invention, when the activation for detecting suspension pendant operates, side's starting on the table suspends Pendant is established using suspension pendant and is connected the length between server-side, obtains pushed information by long connect;In suspension pendant It shows pushed information cue mark, does not read pushed information to prompt user to have.Based on scheme provided by the invention, pass through suspension The long connection established between pendant and server-side carries out information push, and the arrival rate that information push can be improved is high, to avoid The low problem of the push of information caused by the factors such as network environment poor, user's closing information push function arrival rate, so that user Can timely learning pushed information, ensure that information push real-time.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
The process that Figure 1A shows according to embodiments of the present invention one information-pushing method realized based on suspension pendant is shown It is intended to;
Figure 1B is the schematic diagram for showing the suspension pendant of information alert label;
The process that Fig. 2A shows according to embodiments of the present invention two information-pushing method realized based on suspension pendant is shown It is intended to;
Fig. 2 B is the schematic diagram of the main program page associated with pushed information;
Fig. 3 shows the structural schematic diagram of according to embodiments of the present invention four electronic equipment.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
The process that Figure 1A shows according to embodiments of the present invention one information-pushing method realized based on suspension pendant is shown It is intended to.As shown in Figure 1A, method includes the following steps:
Step S100, when the activation for detecting suspension pendant operates, side's starting suspension pendant, utilizes suspension on the table Pendant is established and the long connection between server-side.
The activation operation of suspension pendant is that the important operation of starting suspension pendant needs real-time detection in the present embodiment Activation operation whether is performed, thereby determines whether starting suspension pendant, when the activation for detecting suspension pendant operates, in table Start suspension pendant above face, then, is established using suspension pendant and connected the length between server-side, to realize suspension pendant Information push between server-side.
Step S101 obtains pushed information by long connect.
After establishing the long connection between suspension pendant and server-side, it can be obtained and be pushed away by the long connection established It delivers letters breath, optionally, server-side can send pushed information by long connect, and suspension pendant receives server-side and passes through long connection hair The pushed information sent;Believe alternatively, server-side can be sent by the long connection established between suspension pendant to suspension pendant Breath push is requested, i.e. request pushed information, and suspension pendant is receiving information push request of the server-side by long connection transmission Afterwards, information push request based on the received pulls corresponding pushed information from server-side by long connection.
Step S102 shows pushed information cue mark in suspension pendant, does not read pushed information to prompt user to have.
After getting pushed information, it can show that information pushes cue mark in suspension pendant, wherein information pushes Cue mark can be red dot or number or it is other can be used in prompt user have do not read pushed information information alert label (example Such as, by written form: prompting user in a manner of not reading), in the present embodiment, red dot or display can be shown in suspension pendant The number of the pushed information pulled, when such user red dot shown in seeing suspension pendant or number, so that it may obtain Know that it has and does not read pushed information, wherein the pushed information that number can be used for that how many item of the user is prompted not read, such as Figure 1B institute Show, wherein appended drawing reference 11 indicates suspension pendant, 5. indicates the information alert label of digital form, indicates that 5 are not read to push Information.
The method provided according to that above embodiment of the present invention, when the activation for detecting suspension pendant operates, on the table Fang Qidong suspension pendant is established using suspension pendant and is connected the length between server-side, obtains pushed information by long connect, Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.Based on side provided by the invention Case carries out information push by the long connection established between suspension pendant and server-side, the arrival rate of information push can be improved Height, arrival rate is low asks for the push of information caused by the factors such as, user's closing information push function poor so as to avoid network environment Topic, allows users to timely learning pushed information, ensure that the real-time of information push.
Embodiment two
The process that Fig. 2A shows according to embodiments of the present invention two information-pushing method realized based on suspension pendant is shown It is intended to.As shown in Figure 2 A, method includes the following steps:
Step S200, when the activation for detecting suspension pendant operates, side's starting suspension pendant, utilizes suspension on the table Pendant is established and the long connection between server-side.
The activation operation of suspension pendant is that the important operation of starting suspension pendant needs real-time detection in the present embodiment Whether perform activation operation, thereby determine whether starting suspension pendant, when detect user with the associated master of suspension pendant When the activation operation executed in program, it can be assumed that detecting the activation operation of suspension pendant, side's starting, which suspends, on the table is hung Then part is established using suspension pendant and is connected the length between server-side, to realize the letter between suspension pendant and server-side Breath push.
Wherein, suspension pendant is the SDK that can independently realize corresponding function, be with main program it is relatively independent, this In relatively independent finger suspension pendant realize that corresponding function is not rely on main program, and the starting of suspension pendant depends on main journey Sequence needs user to operate with execution activation in the associated main program of suspension pendant, for example, in master when starting suspension pendant The corresponding icon of suspension pendant is equipped in program, user triggers the corresponding icon of suspension pendant in main program, is then considered as and performs The activation of suspension pendant operates.
In addition, the process of suspension pendant and desktop process are bound on the table after side's starting suspension pendant, if desktop into Journey survival, suspension pendant are just survived, so as to guarantee the long connection company of being constantly in established between suspension pendant and server-side Connect state.Therefore, after the starting of suspension pendant, suspension pendant is no longer dependent on main program, that is to say, that the closing of main program is unloaded Load etc. all will not influence suspension pendant, and suspension pendant can't be closed because of the closing of main program;It will not unloading because of main program It carries and unloads.
If suspension pendant is exited because artificially controlling, when suspension pendant is again started up, need user with suspension pendant The activation operation executed in associated main program.Wherein, suspension pendant specifically can be suspension ball.
Step S201 receives server-side by the information that long connection is sent and pushes request.
After establishing the long connection between suspension pendant and server-side, server-side can be by between suspension pendant The long connection established sends information push request, i.e. request pushed information to suspension pendant, wherein server-side passes through long connection It include user identifier in the information push request of transmission, user identifier specifically can be user account, and therefore, server-side can root According to the targeted pushed information of user account, realization is logged in the letter of push accessed by the suspension pendant of different user account Breath is different.
Specifically, after server-side sends information push request by long connection, suspension pendant receives server-side and is connected by long The information push request received and sent.
Step S202 pulls corresponding pushed information from server-side by long connection according to user identifier.
Suspension pendant is pushed according to information and is requested after receiving the information push request that server-side is sent by long connection In include user identifier, corresponding pushed information is pulled from server-side by long connection, wherein pushed information belongs to following letter Cease one of type or a variety of: books update information type, bookshelf updates information type, asset transition information type, operation Action message type.For example, pushed information can be the information such as books chapters and sections more new information, new book restocking, account balance changes Information reads the information such as cake welfare provision.
In the present embodiment, the information push request that suspension pendant is sent according to server-side by long connection pulls push letter Breath, suspension pendant actively can't pull pushed information from server-side, to reduce the resource occupation to terminal.
Step S203 shows pushed information cue mark in suspension pendant, does not read pushed information to prompt user to have.
Wherein, the specific implementation of the step S102 in the specific implementation process Yu Figure 1A illustrated embodiment one of step S203 Journey is similar, and which is not described herein again.
Step S204, when detecting trigger action of the user to suspension pendant, according to the number of pushed information to be presented Amount and/or content determine the size of suspended window.
After user sees the pushed information cue mark shown in suspension pendant, if it is desired to check pushed information, Suspension pendant can be triggered to be checked, for example, clicking or double-clicking suspension pendant, it is, of course, also possible to be other triggering modes.
Need whether real-time detection user triggers suspension pendant in the present embodiment, for example, can be by detecting whether Corresponding trigger event occurs, for example, event or double click event etc. are clicked, when detecting user to the trigger action of suspension pendant When, the size of suspended window can be determined according to the quantity and/or content of pushed information to be presented, that is, the size of suspended window is The determination according to the quantity of pushed information to be presented and/or content, if the quantity of pushed information to be presented it is more and/or Content is more, the larger of the size of suspended window setting when so as to show pushed information in the next steps, can be used Family very easily understands pushed information;It, can be by suspended window if the quantity of pushed information to be presented is few and/or content is few Smaller, the space of reduction suspended window occupied terminal screen of size setting.
For example, thereby determining that push to be presented if the quantity of the pushed information pulled in step S203 is 2 The quantity of information is 2, then can be by the smaller of the size of suspended window setting, for example, being set as 8cm*5cm;If step The quantity of the pushed information pulled in S203 is 5, thereby determines that the quantity of pushed information to be presented is 5, then can be with By the larger of the size setting of suspended window, for example, being set as 12cm*5cm.
Step S205 pops up suspended window according to the size of identified suspended window.
After the size of suspended window has been determined according to step S204, it can be popped up according to the size of identified suspended window One suspended window with corresponding size, for example, the size of identified suspended window is 8cm*5cm in step S204, then basis The size pops up the suspended window that a size is 8cm*5cm, is merely illustrative of here, does not have any restriction effect.
In the present embodiment, step S204- step S205 is optional step, and the size of the suspended window popped up can also be consolidated Whether scale cun, specifically, trigger suspension pendant by real-time detection user, determine whether user will check corresponding push Information can determine that user wants to check corresponding pushed information when detecting trigger action of the user to suspension pendant, because This, can pop up the suspended window of pushed information for rendering, that pops up here is outstanding according to user to the trigger action of suspension pendant The size of floating window is fixed dimension, that is, though the quantity and/or content of pushed information to be presented how many, that is popped up is outstanding The size of floating window is fixed;If suspended window can not a screen show pushed information when, allow user by control scroll bar or It touches sliding type and checks pushed information.The suspended window is there are the floating frame on desktop, it survives in suspension pendant In process.
Step S206, shows homepage in suspended window.
Specifically, in the suspended window of the corresponding size popped up, show homepage, homepage according to pushed information letter The corresponding information inquiry entrance of various information types is presented in breath type respectively, and information type belonging to pushed information specifically includes that Books update information type, bookshelf updates information type, asset transition information type, operation action message type, in this implementation In example, the pushed information of identical information type is summarised in together, and information inquiry entrance is to look at all under the information type push away It delivers letters the entrance of breath, allows users to quickly understand all pushed informations under same information type, looked into one by one without user It looks for, saves user time, the user experience is improved.
In a kind of optional embodiment, homepage can only present corresponding with the information type of the pushed information pulled Information inquire entrance, that is, if in the pushed information pulled do not include certain information type pushed information, in homepage In the information type corresponding information inquiry entrance can not be presented.In addition, if the pushed information pulled belongs to same letter Type is ceased, then pushed information can be presented in homepage, and is no longer presented information inquiry entrance.
For example, the information type of the pushed information pulled are as follows: books update information type, bookshelf updates info class Books are then presented in homepage and update information type, bookshelf update information type, assets change for type, asset transition information type It moves the corresponding information of information type and inquires entrance, operation action message type is not included in the pushed information pulled by this Pushed information the information type corresponding information inquiry entrance is not therefore presented in homepage.
Step S207, touching of the detection user to the corresponding information of any information type in the homepage of suspended window inquiry entrance Hair operation.
Step S208 shows the subpage frame for belonging to the pushed information of the information type for rendering in suspended window.
Information inquires the pushed information that entrance has prompted user that can check which kind of information type in homepage, when user thinks When checking the pushed information of certain information type, corresponding information inquiry entrance can be triggered and checked, therefore, this implementation Example needs real-time detection user to the trigger action of any information inquiry entrance in the homepage of suspended window, when detecting user couple In the homepage of suspended window when the trigger action of the corresponding information inquiry entrance of any information type, shows and be used in suspended window The subpage frame for belonging to the pushed information of the information type is presented.
Step S209, trigger action of the detection user to any pushed information in the homepage or subpage frame of suspended window.
Pushed information is presented in the homepage or subpage frame of suspended window, when user wants to check the specific interior of pushed information Rong Shi can trigger corresponding pushed information and be checked, therefore, current embodiment require that master of the real-time detection user to suspended window The trigger action of any pushed information in the page or subpage frame is appointed when detecting in homepage or subpage frame of the user to suspended window When the trigger action of one pushed information, it can determine that user wants to check the particular content of pushed information, it at this time can be in response to Trigger action, in frontal startup main program.
Before frontal startup main program, it is also necessary to the mount message for judging whether there is main program, such as step S210:
Step S210, judges whether there is the mount message of main program, if it is not, S211 is thened follow the steps, if so, executing Step S212.
Judge whether there is the mount message of main program primarily to determine whether can in frontal startup main program, with The main program page associated with pushed information of main program offer is provided.In the case of, if being mounted with main program in terminal, There can be the program identification of the main program in installation procedure list, it therefore, can be by detection installation procedure list With the presence or absence of the program identification of the main program, to determine whether there is the mount message of main program.
Step S211 shows main program installation suggestion information.
In the case where judging the mount message there is no main program according to step S210, the terminal of user can be determined On main program is not installed, can not be in frontal startup main program, at this point it is possible to main program installation suggestion information be shown, for example, asking XXX program is installed, in addition, the installation suggestion Info Link is to main program, if user triggers the installation suggestion information, can under It carries corresponding main program, and after main program downloading is installed, starts main program, it is that main program offer is provided with any push The associated main program page of information.
Step S212 shows believing with any push for main program offer in frontal startup main program in response to trigger action The associated main program page of manner of breathing.
In the case where judging the mount message there are main program according to step S210, can determine in the terminal of user It is mounted with main program, it is that main program offer is provided with any push in frontal startup main program accordingly, in response to trigger action The associated main program page of information.For example, detecting touching of the user to books chapters and sections more new information in the subpage frame of suspended window After hair operation, in the case where judging the mount message there are main program, shows updated books chapters and sections, read for user It reads, as shown in Figure 2 B.
The method provided according to that above embodiment of the present invention, by the length established between suspension pendant and server-side connect into Row information push, the arrival rate that information push can be improved is high, and, user closing information poor so as to avoid network environment pushes function The low problem of the push of information caused by the factors such as energy arrival rate, allows users to timely learning pushed information, ensure that information The real-time of push;The size of suspended window is determined according to the quantity of pushed information to be presented and/or content, can pop up size Moderate suspended window, so that meeting user checks demand;The mount message for judging whether there is main program is being judged to be not present In the case where the mount message of main program, main program installation suggestion information is shown, looked into prompting user to pass through installation main program See pushed information.
Embodiment three
The embodiment of the present application three provides a kind of nonvolatile computer storage media, computer storage medium be stored with to Realizing in above-mentioned any means embodiment based on suspension pendant can be performed in a few executable instruction, the computer executable instructions Information-pushing method.
Executable instruction specifically can be used for so that processor executes following operation:
When the activation for detecting suspension pendant operates, side's starting suspension pendant, is established using suspension pendant on the table Long connection between server-side;
Pushed information is obtained by long connect;
Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.
In a kind of optional embodiment, executable instruction further makes processor execute following operation: detecting use Family is operated with the activation executed in the associated main program of suspension pendant.
In a kind of optional embodiment, executable instruction also makes processor execute following operation: according to user to outstanding The trigger action of floating pendant, pops up the suspended window of pushed information for rendering.
In a kind of optional embodiment, executable instruction further makes processor execute following operation:
When detecting trigger action of the user to suspension pendant, according to the quantity of pushed information to be presented and/or interior Hold the size for determining suspended window;
According to the size of identified suspended window, suspended window is popped up.
In a kind of optional embodiment, executable instruction also makes processor execute following operation:
Homepage is shown in suspended window;Various information types are presented according to the information type of pushed information in homepage respectively Corresponding information inquires entrance;
User is detected to the trigger action of the corresponding information of any information type in the homepage of suspended window inquiry entrance;
The subpage frame for belonging to the pushed information of the information type for rendering is shown in suspended window.
In a kind of optional embodiment, executable instruction also makes processor execute following operation:
User is detected to the trigger action of any pushed information in the homepage or subpage frame of suspended window;
Show the associated with any pushed information of main program offer in frontal startup main program in response to trigger action The main program page.
In a kind of optional embodiment, executable instruction also makes processor execute following operation:
Judge whether there is the mount message of main program;
If it is not, then showing main program installation suggestion information;
If so, executing the main program associated with pushed information for showing main program offer in frontal startup main program The step of page.
In a kind of optional embodiment, executable instruction further makes processor execute following operation:
It receives server-side and request is pushed by the information of long connection transmission, long connection is passed through from clothes according to information push request Business end pulls corresponding pushed information;Or
Receive the pushed information that server-side is sent by long connection.
In a kind of optional embodiment, information push request includes user identifier;
Executable instruction further makes processor execute following operation:
Corresponding pushed information is pulled from server-side by long connection according to user identifier.
In a kind of optional embodiment, pushed information belongs to one of following information type or a variety of: books are more New information type, bookshelf update information type, asset transition information type, operation action message type.
In a kind of optional embodiment, the process and desktop process of suspension pendant are bound.
Example IV
Fig. 3 shows the structural schematic diagram of according to embodiments of the present invention four electronic equipment, and the specific embodiment of the invention is simultaneously The specific implementation of electronic equipment is not limited.
As shown in figure 3, the electronic equipment may include: processor (processor) 302, communication interface (Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 302 can specifically execute the above-mentioned information push realized based on suspension pendant for executing program 310 Correlation step in embodiment of the method.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes following operation:
When the activation for detecting suspension pendant operates, side's starting suspension pendant, is established using suspension pendant on the table Long connection between server-side;
Pushed information is obtained by long connect;
Pushed information cue mark is shown in suspension pendant, does not read pushed information to prompt user to have.
In a kind of optional embodiment, program 310 further makes processor 302 execute following operation: detecting use Family is operated with the activation executed in the associated main program of suspension pendant.
In a kind of optional embodiment, program 310 also makes processor 302 execute following operation: according to user to outstanding The trigger action of floating pendant, pops up the suspended window of pushed information for rendering.
In a kind of optional embodiment, program 310 further makes processor 302 execute following operation:
When detecting trigger action of the user to suspension pendant, according to the quantity of pushed information to be presented and/or interior Hold the size for determining suspended window;
According to the size of identified suspended window, suspended window is popped up.
In a kind of optional embodiment, program 310 also makes processor 302 execute following operation:
Homepage is shown in suspended window;Various information types are presented according to the information type of pushed information in homepage respectively Corresponding information inquires entrance;
User is detected to the trigger action of the corresponding information of any information type in the homepage of suspended window inquiry entrance;
The subpage frame for belonging to the pushed information of the information type for rendering is shown in suspended window.
In a kind of optional embodiment, program 310 also makes processor 302 execute following operation:
User is detected to the trigger action of any pushed information in the homepage or subpage frame of suspended window;
Show the associated with any pushed information of main program offer in frontal startup main program in response to trigger action The main program page.
In a kind of optional embodiment, program 310 also makes processor 302 execute following operation:
Judge whether there is the mount message of main program;
If it is not, then showing main program installation suggestion information;
If so, executing the main program associated with pushed information for showing main program offer in frontal startup main program The step of page.
In a kind of optional embodiment, program 310 further makes processor 302 execute following operation:
It receives server-side and request is pushed by the information of long connection transmission, long connection is passed through from clothes according to information push request Business end pulls corresponding pushed information;Or
Receive the pushed information that server-side is sent by long connection.
In a kind of optional embodiment, information push request includes user identifier;
Program 310 further makes processor 302 execute following operation:
Corresponding pushed information is pulled from server-side by long connection according to user identifier.
In a kind of optional embodiment, pushed information belongs to one of following information type or a variety of: books are more New information type, bookshelf update information type, asset transition information type, operation action message type.
In a kind of optional embodiment, the process and desktop process of suspension pendant are bound.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.

Claims (30)

1. a kind of information-pushing method realized based on suspension pendant, comprising:
When the activation for detecting the suspension pendant operates, side starts the suspension pendant on the table, utilizes the suspension Pendant is established and the long connection between server-side;Wherein, suspension pendant be relatively independent of main program and can be independently real The SDK of existing function, the process and desktop process of the suspension pendant are bound;
Pushed information is obtained by the long connection;
Pushed information cue mark is shown in the suspension pendant, does not read pushed information to prompt user to have.
2. according to the method described in claim 1, wherein, the activation for detecting the suspension pendant operates specifically: inspection User is measured to operate with the activation executed in the associated main program of suspension pendant.
3. method according to claim 1 or 2, wherein after showing pushed information cue mark in suspension pendant, institute State method further include: according to user to the trigger action of suspension pendant, pop up the suspended window of the pushed information for rendering.
4. according to the method described in claim 3, wherein, it is described according to user to the trigger action of suspension pendant, pop-up is used for The suspended window that the pushed information is presented further comprises:
It is true according to the quantity of pushed information to be presented and/or content when detecting trigger action of the user to suspension pendant Determine the size of suspended window;
According to the size of identified suspended window, the suspended window is popped up.
5. according to the method described in claim 3, wherein, after popping up suspended window, the method also includes:
Homepage is shown in suspended window;Various information types are presented according to the information type of pushed information in the homepage respectively Corresponding information inquires entrance;
User is detected to the trigger action of the corresponding information of any information type in the homepage of suspended window inquiry entrance;
The subpage frame for belonging to the pushed information of the information type for rendering is shown in the suspended window.
6. according to the method described in claim 3, wherein, after the pop-up for rendering suspended window of the pushed information, institute State method further include:
User is detected to the trigger action of any pushed information in the homepage or subpage frame of suspended window;
It is that main program offer is provided with any pushed information phase in frontal startup main program in response to the trigger action The associated main program page.
7. any in homepage or subpage frame of the detection user to suspended window to push away according to the method described in claim 6, wherein It delivers letters after the trigger action of breath, the method also includes:
Judge whether there is the mount message of main program;
If it is not, then showing main program installation suggestion information;
If so, showing the master associated with the pushed information of main program offer in frontal startup main program described in executing The step of program page.
8. method according to claim 1 or 2, wherein described to further comprise by the long acquisition pushed information that connects:
It receives server-side and request is pushed by the information that the long connection is sent, the length is passed through according to information push request Connection pulls corresponding pushed information from server-side;Or
Receive the pushed information that server-side is sent by long connection.
9. according to the method described in claim 8, wherein, the information push request includes user identifier;
It is described to pull corresponding pushed information by long connect according to information push request from server-side and further comprise:
Corresponding pushed information is pulled from server-side by the long connection according to the user identifier.
10. method according to claim 1 or 2, wherein the pushed information belong to one of following information type or A variety of: books update information type, bookshelf updates information type, asset transition information type, operation action message type.
11. a kind of electronic equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction Make:
When the activation for detecting suspension pendant operates, side starts the suspension pendant on the table, utilizes the suspension pendant It establishes and the long connection between server-side;Wherein, suspension pendant is relatively independent of main program and can independently realize function The SDK of energy, the process and desktop process of the suspension pendant are bound;
Pushed information is obtained by the long connection;
Pushed information cue mark is shown in the suspension pendant, does not read pushed information to prompt user to have.
12. electronic equipment according to claim 11, wherein the executable instruction further executes the processor It operates below: detecting that user operates with the activation executed in the associated main program of suspension pendant.
13. electronic equipment according to claim 11 or 12, wherein the executable instruction also executes the processor It operates below: according to user to the trigger action of suspension pendant, popping up the suspended window of the pushed information for rendering.
14. electronic equipment according to claim 13, wherein the executable instruction further executes the processor It operates below:
It is true according to the quantity of pushed information to be presented and/or content when detecting trigger action of the user to suspension pendant Determine the size of suspended window;
According to the size of identified suspended window, the suspended window is popped up.
15. electronic equipment according to claim 13, wherein it is following that the executable instruction also executes the processor Operation:
Homepage is shown in suspended window;Various information types are presented according to the information type of pushed information in the homepage respectively Corresponding information inquires entrance;
User is detected to the trigger action of the corresponding information of any information type in the homepage of suspended window inquiry entrance;
The subpage frame for belonging to the pushed information of the information type for rendering is shown in the suspended window.
16. electronic equipment according to claim 13, wherein it is following that the executable instruction also executes the processor Operation:
User is detected to the trigger action of any pushed information in the homepage or subpage frame of suspended window;
It is that main program offer is provided with any pushed information phase in frontal startup main program in response to the trigger action The associated main program page.
17. electronic equipment according to claim 16, wherein it is following that the executable instruction also executes the processor Operation:
Judge whether there is the mount message of main program;
If it is not, then showing main program installation suggestion information;
If so, showing the associated with any pushed information of main program offer in frontal startup main program described in executing The main program page the step of.
18. electronic equipment according to claim 11 or 12, wherein the executable instruction further makes the processor Execute following operation:
It receives server-side and request is pushed by the information that the long connection is sent, the length is passed through according to information push request Connection pulls corresponding pushed information from server-side;Or
Receive the pushed information that server-side is sent by long connection.
19. electronic equipment according to claim 18, wherein the information push request includes user identifier;
The executable instruction further makes the processor execute following operation:
Corresponding pushed information is pulled from server-side by the long connection according to the user identifier.
20. electronic equipment according to claim 11 or 12, wherein the pushed information belongs in following information type One or more: books update information type, bookshelf updates information type, asset transition information type, operation action message class Type.
21. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute following operation:
When the activation for detecting suspension pendant operates, side starts the suspension pendant on the table, utilizes the suspension pendant It establishes and the long connection between server-side;Wherein, suspension pendant is relatively independent of main program and can independently realize function The SDK of energy, the process and desktop process of the suspension pendant are bound;
Pushed information is obtained by the long connection;
Pushed information cue mark is shown in the suspension pendant, does not read pushed information to prompt user to have.
22. computer storage medium according to claim 21, wherein the executable instruction further makes the processing Device executes following operation: detecting that user operates with the activation executed in the associated main program of suspension pendant.
23. the computer storage medium according to claim 21 or 22, wherein the executable instruction also makes the processing Device executes following operation: according to user to the trigger action of suspension pendant, popping up the suspended window of the pushed information for rendering.
24. computer storage medium according to claim 23, wherein the executable instruction further makes the processing Device executes following operation:
It is true according to the quantity of pushed information to be presented and/or content when detecting trigger action of the user to suspension pendant Determine the size of suspended window;
According to the size of identified suspended window, the suspended window is popped up.
25. the computer storage medium according to claim 23 or 24, wherein the executable instruction also makes the processing Device executes following operation:
Homepage is shown in suspended window;Various information types are presented according to the information type of pushed information in the homepage respectively Corresponding information inquires entrance;
User is detected to the trigger action of the corresponding information of any information type in the homepage of suspended window inquiry entrance;
The subpage frame for belonging to the pushed information of the information type for rendering is shown in the suspended window.
26. computer storage medium according to claim 23, wherein the executable instruction also holds the processor The following operation of row:
User is detected to the trigger action of any pushed information in the homepage or subpage frame of suspended window;
It is that main program offer is provided with any pushed information phase in frontal startup main program in response to the trigger action The associated main program page.
27. computer storage medium according to claim 26, wherein the executable instruction also holds the processor The following operation of row:
Judge whether there is the mount message of main program;
If it is not, then showing main program installation suggestion information;
If so, showing the master associated with the pushed information of main program offer in frontal startup main program described in executing The step of program page.
28. the computer storage medium according to claim 21 or 22, wherein the executable instruction further makes described Processor executes following operation:
It receives server-side and request is pushed by the information that the long connection is sent, the length is passed through according to information push request Connection pulls corresponding pushed information from server-side;Or
Receive the pushed information that server-side is sent by long connection.
29. computer storage medium according to claim 28, wherein the information push request includes user identifier;
The executable instruction further makes the processor execute following operation:
Corresponding pushed information is pulled from server-side by the long connection according to the user identifier.
30. the computer storage medium according to claim 21 or 22, wherein the pushed information belongs to following info class One of type is a variety of: books update information type, bookshelf updates information type, asset transition information type, operation activity Information type.
CN201810696434.8A 2018-06-29 2018-06-29 The information-pushing method and electronic equipment realized based on suspension pendant Active CN108933825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810696434.8A CN108933825B (en) 2018-06-29 2018-06-29 The information-pushing method and electronic equipment realized based on suspension pendant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810696434.8A CN108933825B (en) 2018-06-29 2018-06-29 The information-pushing method and electronic equipment realized based on suspension pendant

Publications (2)

Publication Number Publication Date
CN108933825A CN108933825A (en) 2018-12-04
CN108933825B true CN108933825B (en) 2019-06-11

Family

ID=64446536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810696434.8A Active CN108933825B (en) 2018-06-29 2018-06-29 The information-pushing method and electronic equipment realized based on suspension pendant

Country Status (1)

Country Link
CN (1) CN108933825B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947322A (en) * 2019-03-19 2019-06-28 刘芳芳 Inventory management method and electronic equipment
CN110430253B (en) * 2019-07-30 2022-08-12 上海连尚网络科技有限公司 Method and equipment for providing novel update notification information
CN112099703B (en) * 2020-09-02 2023-01-17 维沃移动通信有限公司 Desktop pendant display method and device and electronic equipment
CN112231339A (en) * 2020-09-29 2021-01-15 成都深思科技有限公司 Global recording and inquiring method for seven-tuple of network communication
CN112148176B (en) * 2020-09-30 2022-11-15 维沃移动通信有限公司 Pendant control method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539740A (en) * 2015-01-26 2015-04-22 北京奇艺世纪科技有限公司 Information push method and device
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107181821A (en) * 2017-07-05 2017-09-19 广州华多网络科技有限公司 A kind of information push method and device based on SSE specifications
CN107885569A (en) * 2017-11-16 2018-04-06 口碑(上海)信息技术有限公司 Based on the PUSH message method of reseptance and device for listening monotype

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872528B (en) * 2017-11-21 2020-11-06 口碑(上海)信息技术有限公司 Message pushing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539740A (en) * 2015-01-26 2015-04-22 北京奇艺世纪科技有限公司 Information push method and device
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107181821A (en) * 2017-07-05 2017-09-19 广州华多网络科技有限公司 A kind of information push method and device based on SSE specifications
CN107885569A (en) * 2017-11-16 2018-04-06 口碑(上海)信息技术有限公司 Based on the PUSH message method of reseptance and device for listening monotype

Also Published As

Publication number Publication date
CN108933825A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108933825B (en) The information-pushing method and electronic equipment realized based on suspension pendant
CN106201566B (en) Benefit wins the hot upgrade method of big special software and equipment
JP6397859B2 (en) Method, system, and recording medium for message reception notification
US11159475B2 (en) Sending a read receipt to each user specified on a read receipt distribution list
US20130139113A1 (en) Quick action for performing frequent tasks on a mobile device
EP3262583B1 (en) Method and device for controlling payment function
CN107832099A (en) A kind of client release compatible method, apparatus and storage medium
US9292341B2 (en) RPC acceleration based on previously memorized flows
EP3022691B1 (en) Mobile application optimization platform
US20140040763A1 (en) Managing active gui elements remotely
CN109033466B (en) Page sharing method calculates equipment and computer storage medium
US20200183789A1 (en) Installation file processing method and device, and server
US20180324222A1 (en) Testing distributed applications that have an established exchange in an advanced message queuing protocol (amqp) message broker
US20160274777A1 (en) Intelligent taskbar shortcut menu for webpage control
CN104247378A (en) Providing rule based analysis of content to manage activation of web extension
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
CN109725917A (en) The computer record media and more new system that can read of server unit, non-transitory
CN109688094A (en) Suspicious IP configuration method, device, equipment and storage medium based on network security
CN104428787A (en) Providing consistent security information
CN110874298A (en) Request data storage method and terminal equipment
US11017084B2 (en) Detection of malicious code fragments via data-flow isolation
US20150046846A1 (en) Apparatus and method for sharing information in terminal
US20210312271A1 (en) Edge ai accelerator service
US10956413B2 (en) Action set translation

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