CN105376719B - Information-pushing method and device - Google Patents

Information-pushing method and device Download PDF

Info

Publication number
CN105376719B
CN105376719B CN201510771903.4A CN201510771903A CN105376719B CN 105376719 B CN105376719 B CN 105376719B CN 201510771903 A CN201510771903 A CN 201510771903A CN 105376719 B CN105376719 B CN 105376719B
Authority
CN
China
Prior art keywords
terminal
information
warning information
programmable button
user
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
CN201510771903.4A
Other languages
Chinese (zh)
Other versions
CN105376719A (en
Inventor
刘雪峰
宋博然
胡婷
丛晓亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Anyi Hengtong Beijing 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 Anyi Hengtong Beijing Technology Co Ltd filed Critical Anyi Hengtong Beijing Technology Co Ltd
Priority to CN201510771903.4A priority Critical patent/CN105376719B/en
Publication of CN105376719A publication Critical patent/CN105376719A/en
Application granted granted Critical
Publication of CN105376719B publication Critical patent/CN105376719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Abstract

This application discloses information-pushing methods and device.One specific implementation mode of this method includes:Detect clicking operation of the user to the programmable button in terminal;When the number of clicking operation within a preset period of time is more than frequency threshold value, warning information is generated;According to default contact details, warning information is pushed.It realizes based on the programmable button in the existing hardware structure of terminal i.e. terminal, by detecting the number of clicks to programmable button, sends out warning information so that the function of realizing based on the alarm mode with strong applicability and reduce development cost.On the other hand, it is only necessary to contact details and alarm text information are configured in advance, you can by adopting consecutive click chemical reaction programmable button, generate warning information and push warning information, so that warning information can be pushed to emergency contact in time.

Description

Information-pushing method and device
Technical field
This application involves computer realms, and in particular to application field more particularly to information-pushing method and device.
Background technology
Currently, when user in case of emergency alerts, it will usually be alerted using the terminal of carrying. In known technology, common alarm mode is:By the way of making a phone call contact emergency contact person or rely on terminal The hardware structure of the specific support alarm function provided sends out warning information.
However, when being alerted using aforesaid way, on the one hand, can not in emergency circumstances use and make a phone call at some Mode alerted and make a phone call alarm mode it is relatively complicated, to cause alarm delay.On the other hand, it needs The transmission of warning information could be completed by specific hardware structure so that the applicability of alarm function is poor and development cost It is higher.
Invention content
This application provides information-pushing methods and device, are asked for solving technology existing for above-mentioned background technology part Topic.
In a first aspect, this application provides information-pushing method, this method includes:Detection user presses default in terminal The clicking operation of key;When the number of clicking operation within a preset period of time is more than frequency threshold value, warning information is generated;According to pre- If contact details push warning information.
Second aspect, this application provides information push-delivery apparatus, which includes:Detection unit is configured to detection and uses Clicking operation of the family to the programmable button in terminal;Generation unit, be configured to ought within a preset period of time clicking operation time When number is more than frequency threshold value, warning information is generated;Push unit, be configured to according to preset contact details, to warning information into Row push.
Information-pushing method and device provided by the present application grasp the click of the programmable button in terminal by detecting user Make;When the number of clicking operation within a preset period of time is more than frequency threshold value, warning information is generated;Believed according to default contact Breath, pushes warning information.It realizes based on the programmable button in the existing hardware structure of terminal i.e. terminal, passes through detection To the number of clicks of programmable button, send out warning information so that the function of being realized based on the alarm mode it is with strong applicability with And reduce development cost.On the other hand, it is only necessary to contact details and alarm text information are configured in advance, you can pass through Adopting consecutive click chemical reaction programmable button generates warning information and pushes warning information, so that warning information can be pushed to tightly in time Anxious contact person.
Description of the drawings
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 this application can be applied to exemplary system architecture figures therein;
Fig. 2 shows the flow charts according to one embodiment of the information-pushing method of the application;
Fig. 3 shows that prompt user sends out the schematic diagram at the interface of warning information;
Fig. 4 shows the schematic diagram at the interface of setting presupposed information;
Fig. 5 shows the flow chart of another embodiment of the information-pushing method according to the application;
Fig. 6 shows the structural schematic diagram of warning information;
Fig. 7 shows the structural schematic diagram of one embodiment of the information push-delivery apparatus according to the application;
Fig. 8 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present application Figure.
Specific implementation mode
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, is illustrated only in attached drawing and invent relevant part with related.
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 shows the exemplary system of the embodiment of the information-pushing method or information push-delivery apparatus that can apply the application System framework 100.
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 provide transmission link medium.Network 104 can be with Including various connection types, such as wired, wireless transmission link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out Send message etc..Various communication applications, such as the application of alarm class, instant messaging can be installed on terminal device 101,102,103 Tool etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen and supporting network communication, packet Include but be not limited to smart mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the alarm on terminal device 101,102,103 Class application provides the server supported.Server can to receive alarm request handle, and by handling result (such as Warning information) feed back to terminal device.
It should be understood that the number of the 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.
Referring to FIG. 2, it illustrates the flows 200 according to one embodiment of the information-pushing method of the application.It needs Illustrate, the information-pushing method that the embodiment of the present application is provided generally is held by the terminal device 101,102,103 in Fig. 1 Row, correspondingly, information push-delivery apparatus is generally positioned in terminal device 101,102,103.This approach includes the following steps:
Step 201, clicking operation of the detection user to the programmable button in terminal.
In the present embodiment, terminal can include but is not limited to mobile terminal, wearable device.In this example, it presets Button can be the button (such as adjusting the button of volume) for being corresponding with specific function of terminal configuration, or the key of terminal Button on disk.
In the present embodiment, it may be used whether following manner detection programmable button is clicked:When default in terminal is pressed When key is clicked, the driving layer of the operating system run in terminal can trigger and be clicked this event with the programmable button The execution of corresponding interrupt handling routine.The button being clicked can be determined in the interrupt handling routine.For example, at interruption It manages in program, the level of the corresponding interrupt pin of detection programmable button, when level is low level, then can determine that this is preset and press Key is clicked.
In some optional realization methods of the present embodiment, clicking operation of the detection user to the programmable button in terminal Including:In response to detecting broadcast message, determine that power button is clicked, wherein broadcast the message as the screen in response to terminal Dispaly state variation and generate.
In the present embodiment, programmable button can be the power button (also referred to as power button) of terminal.First below Illustrate that programmable button is clicked the correspondence with the variation of the state of terminal:By taking programmable button is power button as an example, at end In the operating system for holding operation, when power button is clicked, execution can be triggered and be clicked this operation pair with power button The interrupt handling routine answered can execute the operation of the dispaly state of the screen of switching terminal in the interrupt handling routine.Example Such as, screen is in off state by the switching of bright screen state or bright screen state is switched to by closed state.Meanwhile operating system Kernel can be monitored the variation of the screen display state of terminal.
Be clicked the correspondence with the variation of the state of terminal based on above-mentioned programmable button, continue to explain determine it is default by The mode that key is clicked:By taking programmable button is power button as an example, it can be clicked according to power button and the state of terminal The correspondence of variation determines that power knob is clicked.It is Android (Android) operating system with the operating system of terminal operating For, in the operational process of Android operation system, the kernel of Android operation system can monitor the aobvious of the screen of terminal Show the states such as state, the use state of battery, when monitoring that the state of terminal changes, then will produce an instruction state Changed broadcast message.In the present embodiment, when being clicked due to power button, the display shape of the screen of terminal can be caused State changes, and correspondingly, the kernel of operating system can send out the changed broadcast message of instruction screen state.Therefore, In the present embodiment, the changed broadcast message of dispaly state that instruction screen can be detected in real time, when detecting and indicate When the changed broadcast message of screen state, it may be determined that power button is clicked.
It should be understood that the operating system of above-mentioned terminal operating is Android operation system, programmable button is power button, eventually The state at end is that the dispaly state of screen illustrates the mode for determining that programmable button is clicked with being merely illustrative, based on above-mentioned determination The principle that power button is clicked can be clicked this operation pass corresponding with the variation of the state of terminal according to programmable button System, determines whether different programmable buttons is clicked.
Referring to FIG. 3, it illustrates the schematic diagrames that prompt user sends out the interface of warning information.In fig. 3 it is shown that referring to Show that the option 301 that a key emergency function has turned on, prompt user send out the information 302 of the mode of warning information, preset contact The display area 303 of people's information and contact details.
It should be understood that the prompt user in Fig. 3 sends out the exemplary only table of information, contact details of the mode of warning information Show, the content of the mode and default contact details that send out warning information is not defined.For example, programmable button can be The button in terminal in addition to power button.
Step 202, when the number of clicking operation within a preset period of time is more than frequency threshold value, warning information is generated.
In the present embodiment, it can be determined that the number being clicked of programmable button within a preset period of time, it is determined whether raw At warning information.For example, when programmable button is power button, the dispaly state that can detect instruction screen in real time changes Broadcast message, when detect with instruction screen state changed broadcast message when, it may be determined that power button is by point It hits.The changed broadcast message for often receiving an instruction screen state, then can determine that power button is clicked once. To which when the quantity for the broadcast message for detecting to receive is more than amount threshold, i.e., the number that power button is clicked is more than When frequency threshold value, warning information can be generated.
In the present embodiment, can be comprising the position that user is presently in warning information, the position that user is presently in GPS (Global Positioning System, global positioning system) coordinate may be used to be indicated.For example, when detecting When clicking the number of programmable button more than frequency threshold value, the GPS for calling the operating system of terminal operating to provide can be passed through and applied API (Application Programming Interface, application programming interface), obtain user and be presently in The corresponding GPS coordinate in position.It is then possible to based on GPS coordinate and preset alarm text information, warning information is generated.
Referring to FIG. 4, it illustrates the schematic diagrames at the interface of setting presupposed information.In fig. 4 it is shown that the urgent connection of setting Be the editing area 401 of the contact details of people, alert the editing area 402 of text information, short massage notice emergency contact has opened The option 403 and completing button 404 of Qi Yijian emergency functions.It, can be in 401 and 402 when clicking completing button 404 The contact details and alarm text information of input are stored, and when short massage notice emergency contact has turned on key emergency When the option of function is selected, short massage notice emergency contact can be passed through.
It should be understood that the editing area and option in Fig. 4 are merely exemplary expression, not pair with editing area and choosing The associated operation of item is defined.For example, in the editing area of the contact details of emergency contact, emergency contact is added Contact details when, can from address list import emergency contact contact details.In another example when having turned on a key emergency function Option it is selected when, emergency contact can be notified to have turned on key emergency by other communication modes (such as instant messaging) Function.
Step 203, according to default contact details, warning information is pushed.
In the present embodiment, it is right with the reception object of warning information (also referred to as emergency contact) to pre-set The contact details (also referred to as emergency contact mode) answered.Then, according to default contact details, warning information is pushed away It send.In the present embodiment, user's warning information can be prompted to send successfully by way of mobile phone vibrations.
In some optional realization methods of the present embodiment, default contact details include following one:Telephone number, i.e. When communication account, E-mail address.
In the present embodiment, multiple contact details can be pre-set, it is big to the number of clicks of programmable button when detecting When frequency threshold value, can warning information be pushed by multiple contact details simultaneously, i.e., warning information is pushed to different connection It is the corresponding terminal of information.For example, when default contact details are telephone number, the operation system of calling terminal operating can be passed through The API for the short message application that system provides, warning information is encapsulated in short message, the short message is then pushed to telephone number The terminal of corresponding emergency contact.In another example when default contact details are instant messaging account, instant messaging can be utilized Account (such as microblog account) is logged in third-party platform (such as microblog), then, by warning information in third party Platform is issued.For another example when default contact details are E-mail address, warning information can be encapsulated in Email In, the Email is then pushed into E-mail address.
In the present embodiment, by detecting clicking operation of the user to programmable button, when the click for detecting programmable button When the number of operation is more than frequency threshold value, it can send a warning message from trend emergency contact.In compared to the prior art It needs to alert by the way of making a phone call or specific hardware structure is needed to support alarm function, on the one hand, based on terminal Programmable button in some hardware structure, that is, terminals sends out warning information by detecting the number of clicks to programmable button so that The function of realizing based on the alarm mode with strong applicability and reduce development cost.On the other hand, it is only necessary to advance distich It is that information and alarm text information are configured, you can by adopting consecutive click chemical reaction programmable button, generate warning information and push announcement Alert information, so that warning information can be pushed to emergency contact in time.
Referring to FIG. 5, it illustrates the flow charts 500 according to another embodiment of the information-pushing method of the application. The information-pushing method that the embodiment of the present application is provided generally is executed by the terminal device 101,102,103 in Fig. 1, this method packet Include following steps:
Step 501, clicking operation of the detection user to the programmable button in terminal.
In the present embodiment, it can be clicked the correspondence with the variation of the state of terminal based on programmable button, determine Programmable button is clicked.By taking programmable button can be for the power button of terminal as an example, the operating system of terminal operating is Android For operating system, following manner may be used and determine whether power button is clicked:In the operation of Android operation system Cheng Zhong, the kernel of Android operation system can monitor the states such as the dispaly state of the screen of terminal, the use state of battery, when When monitoring that above-mentioned state changes, then the changed broadcast message of instruction state can be generated.In the present embodiment, due to When power button is clicked, the dispaly state of the screen of terminal can be caused to change, correspondingly, the kernel of operating system can be sent out Go out to indicate the changed broadcast message of screen state.Therefore, in the present embodiment, the aobvious of instruction screen can be detected in real time Show the changed broadcast message of state, it, can be true when detecting broadcast message changed with the state of instruction screen Determine power button and be clicked to have carried out clicking operation to power key.
Step 502, when the number of clicking operation within a preset period of time is more than frequency threshold value, based on coordinate information and ground Figure application, generates warning information.
In the present embodiment, it can determine and use by judging the number being clicked of programmable button within a preset period of time Whether family needs to send out warning information.When the number being clicked within a preset period of time is more than frequency threshold value, can be based on sitting Information and map application are marked, warning information is generated.
In the present embodiment, the number that following manner determines that programmable button is clicked within a preset period of time may be used: Using programmable button as power button, for the operating system of terminal operating is Android operation system, instruction can be detected in real time The changed broadcast message of dispaly state of screen, when the changed broadcast message for detecting with indicating screen state When, it may be determined that power button is clicked.The changed broadcast message for often receiving primary instruction screen state, then can be true Determine power button to be clicked once.To when the quantity for the broadcast message for detecting to receive is more than amount threshold, i.e., to electricity When the number of the clicking operation of source button is more than frequency threshold value, warning information can be generated.
In the present embodiment, following manner may be used and generate warning information:Obtain the corresponding coordinate letter in position of user Breath;Coordinate information is converted to the call parameters received when map application is called;Page link is generated, page link includes ground Scheme the call address and call parameters of application;Based on page link and default alarm text information, warning information is generated, In, when the page link in warning information is clicked, map application is called and map application is based on call parameters on ground The position of user is marked in figure.
In the present embodiment, coordinate information can be the GPS coordinate of user, and the number of programmable button is more than when the user clicks When frequency threshold value, corresponding API can be applied by the GPS for calling the operating system of terminal to provide, obtain user and be presently in The corresponding GPS coordinate in position.It in the present embodiment, can after getting the corresponding GPS coordinate in position that user is presently in With will get GPS coordinate be converted to map application it is called when, the call parameters of reception.Map application can be positioned at third The map application of Fang Pingtai can utilize the call address of the map application of third-party platform offer and GPS coordinate corresponding Call parameters generate page link.
By taking page link links for html (hypertext markup language) as an example, illustrate the position being presently in user on ground The process being labeled in figure:When the user for receiving warning information clicks the html links in the warning information received, meeting It generates html requests and html requests is sent to the server of third-party platform.The server of third-party platform can be to this Html requests are parsed, and the call address and call parameters of map application, then, invocation map application, by map are obtained Using the determining call parameters corresponding position in map, and the position is labeled in map, i.e., it is current to user Location is labeled in map.Finally, will include that the position being presently in the user for sending out warning information exists The map being labeled in map is pushed to the emergency contact for receiving warning information, so that it is determined that sending out the user of warning information Position.
Referring to FIG. 6, it shows the structural schematic diagram of warning information.Warning information includes default alarm text information 601 And page link 602.In page link 602, including the call address and map application of map application receive when called Call parameters.In the present embodiment, warning information can be pushed to emergency contact at interval of preset time period.
With the http in page link 602://api.map.baidu.com/marketLocation=40.056511, For 116.307865&output=html, wherein api.map.baidu.com/mar ket are the calling of map application Location, 40.056511,116.307865 be the call parameters of the corresponding map application of GPS coordinate for the position that user is presently in, When the page link is clicked, html requests can be generated, after being parsed to html requests, can be answered with invocation map With, and the call parameters corresponding position in map is determined by map application, and the position is labeled in map, The position that user is presently in is labeled in map.
In the present embodiment, it is combined by the coordinate information and map application for the position for being presently in user, from And make under the hardware structure based on existing terminal, that is, use GPS applications that terminal is existing and map application (such as the The map application that tripartite's platform provides), you can determine the exact position that user is presently in so that receive the tight of warning information Anxious contact person can accurately determine the position that user is presently in.
Step 503, according to default contact details, warning information is pushed.
In the present embodiment, multiple contact details can be pre-set, it is big to the number of clicks of programmable button when detecting When frequency threshold value, can warning information be pushed by multiple contact details simultaneously, i.e., warning information is pushed to different connection It is the corresponding terminal of information.
From figure 5 it can be seen that unlike embodiment corresponding from Fig. 2, information-pushing method in the present embodiment Flow 500 is highlighted to being based on coordinate information and map application, generates the step 502 of warning information.Pass through step 502, this reality Apply example description scheme may not need by specific hardware structure can to send out warning information user position carry out essence It determines position, further improves the applicability for the alarm function realized based on the alarm mode, and reduce development cost.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides a kind of auto-building html files dresses The one embodiment set, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in fig. 7, the information push-delivery apparatus 700 of the present embodiment includes:Detection unit 701, generation unit 702, push Unit 703.Wherein, detection unit 701 is configured to clicking operation of the detection user to the programmable button in terminal;Generation unit 702 are configured to, when the number of clicking operation within a preset period of time is more than frequency threshold value, generate warning information;Push unit 703 are configured to, according to contact details are preset, push warning information.
In the present embodiment, detection unit 701 can be in the disconnected processing journey that the programmable button in terminal is clicked and is triggered In sequence, the level of the corresponding interrupt pin of detection programmable button, when level is low level, it may be determined that the programmable button is by point It hits.
In the present embodiment, generation unit 702 can count the number that above-mentioned programmable button is clicked in preset time period, When the number is more than frequency threshold value, the corresponding GPS coordinate in position that user is presently in can be obtained, then, is sat based on GPS Mark and preset alarm text information, generate warning information.
In the present embodiment, push unit 703 can push the warning information of above-mentioned generation according to default contact details To the corresponding contact person of above-mentioned default contact details.It is then possible to prompt user's warning information to push away by way of mobile phone vibrations Send success.
In some optional realization methods of the present embodiment, generation unit 702 includes:Subelement (not shown) is obtained, It is configured to obtain the corresponding coordinate information in position of user;Conversion subunit (not shown) is configured to turn coordinate information It is changed to the call parameters received when map application is called;Page link generates subelement (not shown), is configured to generate page Face links, and page link includes the call address and call parameters of map application;Warning information generates subelement (not shown), It is configured to obtain the corresponding coordinate information in position of user;Coordinate information is converted to the tune received when map application is called Use parameter;Page link is generated, page link includes the call address and call parameters of map application;Based on page link with Default alarm text information, generates warning information, wherein when the page link in warning information is clicked, map application quilt Calling and map application mark the position of user based on call parameters in map.
In some optional realization methods of the present embodiment, programmable button is the power button of terminal.
In some optional realization methods of the present embodiment, detection unit 701 includes:Determination subelement (not shown), It is configured to, in response to detecting broadcast message, determine that power button is clicked, wherein broadcast the message as the screen in response to terminal Curtain dispaly state variation and generate.
In some optional realization methods of the present embodiment, default contact details include following one:Telephone number, i.e. When communication account, E-mail address.
It will be understood by those skilled in the art that above- mentioned information pusher 700 further includes some other known features, such as Processor, memory etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures are not shown in the figure 7.
Fig. 8 shows the structure of the computer system suitable for the terminal device or server that are used for realizing the embodiment of the present application Schematic diagram.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and Execute various actions appropriate and processing.In RAM 803, also it is stored with system 800 and operates required various programs and data. CPU 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to always Line 804.
It is connected to I/O interfaces 805 with lower component:Importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 808 including hard disk etc.; And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because The network of spy's net executes communication process.Driver 810 is also according to needing to be connected to I/O interfaces 805.Detachable media 811, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 810, as needed in order to be read from thereon Computer program be mounted into storage section 808 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 tangibly embodied in machine readable Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed by communications portion 809 from network, and/or from removable Medium 811 is unloaded to be mounted.
Flow chart in attached drawing and block diagram, it is illustrated that 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 for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer The combination of order is realized.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;Can also be Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when one or more of programs are executed by an equipment so that the equipment:Detection Clicking operation of the user to the programmable button in terminal;When the number of the clicking operation within a preset period of time is more than number threshold When value, warning information is generated;According to default contact details, the warning information is pushed.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member 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 the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of information-pushing method, which is characterized in that the method includes:
Detect clicking operation of the user to the programmable button in terminal;
When the number of the clicking operation within a preset period of time is more than frequency threshold value, warning information is generated;
According to default contact details, the warning information is pushed;
The detection user to the clicking operation of the programmable button in terminal, including:
In response to detecting broadcast message, determine that the programmable button is clicked, wherein the broadcast message is in response to terminal State variation and generate.
2. according to the method described in claim 1, it is characterized in that, the generation warning information includes:
Obtain the corresponding coordinate information in position of user;
The coordinate information is converted to the call parameters received when map application is called;
Page link is generated, the page link includes the call address of the map application and the call parameters;
Based on the page link and default alarm text information, the warning information is generated, wherein when in the warning information Page link when being clicked, the map application is called and the map application is based on the call parameters on ground The position of the user is marked in figure.
3. according to the method described in one of claim 1-2, which is characterized in that the programmable button is that the power supply of the terminal is pressed Key.
4. according to the method described in claim 3, it is characterized in that, click of the detection user to the programmable button in terminal Operation includes:
In response to detecting broadcast message, determine that the power button is clicked, wherein the broadcast message is in response to described The variation of the dispaly state of the screen of terminal and generate.
5. according to the method described in claim 4, it is characterized in that, the default contact details include following one:Phone number Code, instant messaging account, E-mail address.
6. a kind of information push-delivery apparatus, which is characterized in that described device includes:
Detection unit is configured to clicking operation of the detection user to the programmable button in terminal;
Generation unit is configured to, when the number of the clicking operation within a preset period of time is more than frequency threshold value, generate and accuse Alert information;
Push unit is configured to, according to contact details are preset, push the warning information;
The detection unit is further configured to:It broadcasts the message in response to detecting, determines that the programmable button is clicked, In, the broadcast message is to be generated in response to the variation of the state of terminal.
7. device according to claim 6, which is characterized in that the generation unit includes:
Subelement is obtained, is configured to obtain the corresponding coordinate information in position of user;
Conversion subunit is configured to the coordinate information being converted to the call parameters received when map application is called;
Page link generates subelement, is configured to generate page link, the page link includes the tune of the map application With address and the call parameters;
Warning information generates subelement, is configured to, based on the page link and default alarm text information, generate the announcement Alert information, wherein when the page link in the warning information is clicked, the map application is called and described Map application marks the position of the user based on the call parameters in map.
8. according to the device described in one of claim 6-7, which is characterized in that the programmable button is that the power supply of the terminal is pressed Key.
9. device according to claim 8, which is characterized in that the detection unit includes:
Determination subelement is configured to, in response to detecting broadcast message, determine that the power button is clicked, wherein described Broadcast message is to be generated in response to the variation of the dispaly state of the screen of the terminal.
10. device according to claim 9, which is characterized in that the default contact details include following one:Phone number Code, instant messaging account, E-mail address.
CN201510771903.4A 2015-11-12 2015-11-12 Information-pushing method and device Active CN105376719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510771903.4A CN105376719B (en) 2015-11-12 2015-11-12 Information-pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510771903.4A CN105376719B (en) 2015-11-12 2015-11-12 Information-pushing method and device

Publications (2)

Publication Number Publication Date
CN105376719A CN105376719A (en) 2016-03-02
CN105376719B true CN105376719B (en) 2018-09-21

Family

ID=55378440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510771903.4A Active CN105376719B (en) 2015-11-12 2015-11-12 Information-pushing method and device

Country Status (1)

Country Link
CN (1) CN105376719B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021077B (en) * 2016-05-17 2019-05-21 北京小米移动软件有限公司 The alarming method for power and device of terminal
CN105939395A (en) * 2016-07-12 2016-09-14 天维尔信息科技股份有限公司 Method for acquiring target address and terminal
CN106131343A (en) * 2016-08-25 2016-11-16 北京奇虎科技有限公司 SOS method and device
CN109040288A (en) * 2018-08-27 2018-12-18 四川长虹电器股份有限公司 The method and system of one key transmission short message
CN109405199B (en) * 2018-11-05 2021-02-23 广东美的暖通设备有限公司 Controller control method and device, controller and air conditioner
CN110580211A (en) * 2019-08-23 2019-12-17 鹏城实验室 Monitoring method, device, keyboard and storage medium
CN112907926B (en) * 2019-12-04 2022-07-29 惠州视维新技术有限公司 Control method of remote control equipment, storage medium and remote control equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4788711A (en) * 1985-11-25 1988-11-29 Cellular Communications Corporation Apparatus and method for a cellular freeway emergency telephone service
US5479482A (en) * 1993-08-30 1995-12-26 At&T Corp. Cellular terminal for providing public emergency call location information
CN101227650A (en) * 2008-01-25 2008-07-23 中兴通讯股份有限公司 System and method for implementing ask for help by mobile terminal
CN201319669Y (en) * 2008-12-23 2009-09-30 卢中江 Key-press multiplex alarm mobile phone
CN101604013A (en) * 2008-06-11 2009-12-16 周毅 A kind of method for tracking and positioning and device
CN101771979A (en) * 2008-12-31 2010-07-07 卢中江 Digital alarm receiving system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4788711A (en) * 1985-11-25 1988-11-29 Cellular Communications Corporation Apparatus and method for a cellular freeway emergency telephone service
US5479482A (en) * 1993-08-30 1995-12-26 At&T Corp. Cellular terminal for providing public emergency call location information
CN101227650A (en) * 2008-01-25 2008-07-23 中兴通讯股份有限公司 System and method for implementing ask for help by mobile terminal
CN101604013A (en) * 2008-06-11 2009-12-16 周毅 A kind of method for tracking and positioning and device
CN201319669Y (en) * 2008-12-23 2009-09-30 卢中江 Key-press multiplex alarm mobile phone
CN101771979A (en) * 2008-12-31 2010-07-07 卢中江 Digital alarm receiving system

Also Published As

Publication number Publication date
CN105376719A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105376719B (en) Information-pushing method and device
CN107515764B (en) Application page opening method, terminal and computer readable storage medium
US11210047B2 (en) Accessory device operation with user mobile device over network connection
AU2014200155B2 (en) Method of displaying icons according to service usage states and mobile terminal supporting the same
CN110781408B (en) Information display method and device
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN109218410B (en) Message display method and terminal equipment
CN107800891A (en) The electronic equipment and method of notice of wiring back service
CN108885739A (en) Intelligent personal assistants are as contact person
US20140082611A1 (en) Apparatus and method for monitoring application permissions
CN104639423A (en) Information interaction method, information interaction device and terminals
CN104881304B (en) Resource downloading method and device
CN109314733A (en) The notice of coordination
CN105653316B (en) Monitor the method and device that software is unloaded
CN105142184A (en) Flow control method and electronic device
CN112270015A (en) Data protection method and device, electronic equipment and readable storage medium
CN107171927B (en) Information processing method and electronic equipment
CN104427285B (en) A kind of prompt message generation method and device
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN104639973B (en) Information pushing method and device
US20230401377A1 (en) Document creation method and apparatus, and device and storage medium
CN112929254A (en) Message processing method and device and electronic equipment
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
KR20190080981A (en) Information display method, terminal, and server
CN112866094A (en) Message receiving prompting method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190822

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer 2

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100091 C, block, building No. 4, Zhongguancun Software Park, No. 8, West flourishing West Road, Beijing, China 1-03

Patentee before: Pacify a Heng Tong (Beijing) Science and Technology Ltd.

TR01 Transfer of patent right