CN107682433A - Information pushing method, device, equipment and medium - Google Patents
Information pushing method, device, equipment and medium Download PDFInfo
- Publication number
- CN107682433A CN107682433A CN201710914451.XA CN201710914451A CN107682433A CN 107682433 A CN107682433 A CN 107682433A CN 201710914451 A CN201710914451 A CN 201710914451A CN 107682433 A CN107682433 A CN 107682433A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal device
- identification card
- country code
- national title
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4588—Network directories; Name-to-address mapping containing mobile subscriber information, e.g. home subscriber server [HSS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/186—Processing of subscriber group data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an information pushing method, an information pushing device, information pushing equipment and a medium, wherein the method comprises the steps of detecting whether terminal equipment is provided with a user identity identification card or not; if the user identity identification card is detected, calling a preset application programming interface to acquire a pre-registered mobile equipment country code from the user identity identification card; sending a country name corresponding to the country code of the mobile equipment to a corresponding application server according to the use condition of an application program on the terminal equipment; and receiving feedback information, wherein the feedback information is information which is determined by the application server to meet the allowable pushing condition after screening the feedback information according to a preset content pushing rule corresponding to the country name. Therefore, the country of the terminal equipment can be accurately known, information pushing is carried out according to the country of the terminal equipment, and the fact that the information pushing is inconsistent with the actual country of the terminal equipment is avoided.
Description
Technical field
The present invention relates to field of information security technology, more particularly to a kind of information-pushing method, device, equipment and medium.
Background technology
At present, service is provided for the ease of management of the country to information security or preferably, service provider usually requires root
Enter push of row information etc. according to the country one belongs to of terminal device.For example according to national security requirement, set for some national terminal
Standby push meets the relevant information of law.
In correlation technique, according to the country set in the IP address of terminal device or terminal device, terminal device institute is judged
The country at place, and be push that the terminal device enters row information etc. according to the country of judgement.
However, work as user by VPN (Virtual Private Network, VPN), or, agency's clothes
Business device, or, the country set in terminal device is changed, then service provider can be caused can not accurately to determine the residing of terminal device
Country, so as to which server may give the Information Push Service of mistake, cause push not meet state's laws residing for terminal device
Content etc..
The content of the invention
It is contemplated that at least solves one of above-mentioned technical problem to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of information-pushing method, with solution in the prior art, due to
The identification of terminal device the country one belongs to is inaccurate and causes the technical problem of information push mistake..
Second object of the present invention is to propose a kind of information push-delivery apparatus.
Third object of the present invention is to propose a kind of terminal device.
Fourth object of the present invention is to propose a kind of computer program product.
The 5th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of information-pushing method, comprises the following steps:
Whether detection terminal equipment has subscriber identification card;If detecting with subscriber identification card, default answer is called
Mobile device country code registered in advance is obtained from the subscriber identification card with Program Interfaces;According to the terminal
The service condition of application program sends state corresponding with the mobile device country code to corresponding application server in equipment
Family's title;Feedback information is received, wherein, the feedback information is the application server according to the default and national title
The satisfaction that corresponding content push rule determines after being screened to feedback information allows the information of pushing condition.
Whether the information-pushing method of the embodiment of the present invention, detection terminal equipment have subscriber identification card, if detection
To with subscriber identification card, then default application programming interface is called to be obtained from subscriber identification card registered in advance
Mobile device country code, and then, the service condition of application program on terminal device is taken to corresponding application according to user
Business device sends national title corresponding with mobile device country code, so that application server is according to default and national title pair
The content push rule answered is screened to feedback information, and the final application server that receives is according to default corresponding with national title
Content push rule, treat push Content Selection after send satisfaction allow pushing condition feedback information.Thus, can be accurate
Know the country where terminal device, and row information push is entered by the country according to where terminal device, avoids information push and end
The actually located country of end equipment is not inconsistent.
In addition, the information-pushing method of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, in addition to:
The Function Identification for being not allowed to use is received, wherein, the Function Identification is the application server according to default
The mark that determines of function restriction rule corresponding with the national title;
The application function according to corresponding to closing the Function Identification for being not allowed to use.
Alternatively, the service condition according to application program on the terminal device is sent to corresponding application server
National title corresponding with the mobile device country code, including:
The information acquisition request sent during application program is used is obtained, then is sent to corresponding application server
National title corresponding with the mobile device country code;And/or;
According to the application program of the permission active push information pre-set, to corresponding application server send with it is described
National title corresponding to mobile device country code.
Alternatively, before whether the detection terminal equipment has subscriber identification card, in addition to:
Obtain the currently used IP address of the terminal device;
Obtain default national title in the terminal device;
Mismatch, start based on use if detecting the default national title national title corresponding with the IP address
The national title detection function of family identification card.
Alternatively, in addition to:
Mobile device country code described in database purchase in the terminal device, detect that the terminal is set to work as
For when not having the subscriber identification card, the mobile device country code is obtained from the database.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of information push-delivery apparatus, including:Detect mould
Block, whether there is subscriber identification card for detection terminal equipment;First acquisition module, for detecting with user's body
During part identification card, call default application programming interface to obtain movement registered in advance from the subscriber identification card and set
Standby country code;Sending module, for the service condition according to application program on the terminal device to corresponding application service
Device sends national title corresponding with the mobile device country code;Receiving module, for receiving feedback information, wherein, institute
State feedback information for the application server according to default content push rule corresponding with the national title to feedback letter
The satisfaction that breath determines after being screened allows the information of pushing condition.
Whether the information push-delivery apparatus of the embodiment of the present invention, detection terminal equipment have subscriber identification card, if detection
To with subscriber identification card, then default application programming interface is called to be obtained from subscriber identification card registered in advance
Mobile device country code, and then, the service condition of application program on terminal device is taken to corresponding application according to user
Business device sends national title corresponding with mobile device country code, so that application server is according to default and national title pair
The content push rule answered is screened to feedback information, and the final application server that receives is according to default corresponding with national title
Content push rule, treat push Content Selection after send satisfaction allow pushing condition feedback information.Thus, can be accurate
Know the country where terminal device, and row information push is entered by the country according to where terminal device, avoids information push and end
The actually located country of end equipment is not inconsistent.
In addition, the information-pushing method of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, the receiving module, it is additionally operable to receive the Function Identification for being not allowed to use, wherein, the function mark
Know the mark determined for the application server according to default function restriction rule corresponding with the national title;
Closedown module, for be not allowed to according to the Function Identification that uses close corresponding to application function.
Alternatively, the sending module is specifically used for:
The information acquisition request sent during application program is used is obtained, then is sent to corresponding application server
National title corresponding with the mobile device country code;And/or;
According to the application program of the permission active push information pre-set, to corresponding application server send with it is described
National title corresponding to mobile device country code.
Alternatively, in addition to:
Second acquisition module, the IP address currently used for obtaining the terminal device;
Second acquisition module, it is additionally operable to obtain default national title in the terminal device;
Starting module, for detecting the default national title national title mismatch corresponding with the IP address
When, start the national title detection function based on subscriber identification card.
Alternatively, in addition to:
Memory module, for mobile device country code described in the database purchase in the terminal device, so as to when inspection
When measuring the terminal device and not having the subscriber identification card, mobile device country generation is obtained from the database
Code.For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of terminal device, including memory, processor and deposits
On a memory and the computer program that can run on a processor, during the computing device described program, realization is as above for storage
State the information-pushing method described in embodiment.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of computer program product, when described
When instruction processing unit in computer program product performs, a kind of information-pushing method as described in above-mentioned embodiment is performed.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory
Medium, when the instruction in the storage medium is performed by processor, enabling perform the letter as described in above-mentioned embodiment
Cease method for pushing.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of information-pushing method according to an embodiment of the invention;
Fig. 2 is the flow chart of information-pushing method in accordance with another embodiment of the present invention;
Fig. 3 is the flow chart according to the information-pushing method of another embodiment of the invention;
Fig. 4 is the structural representation of information push-delivery apparatus according to an embodiment of the invention;
Fig. 5 is the structural representation of information push-delivery apparatus in accordance with another embodiment of the present invention;
Fig. 6 is the structural representation according to the information push-delivery apparatus of another embodiment of the invention;
Fig. 7 is the structural representation according to the information push-delivery apparatus of further embodiment of the present invention;
And
Fig. 8 is the structural representation of terminal device according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings breath method for pushing, device, equipment and the medium of the embodiment of the present invention are described.
Wherein, the information-pushing method of the embodiment of the present invention is applied in the terminal device with operating system, wherein, should
Terminal device can be that the hardware that mobile phone, tablet personal computer, personal digital assistant, Wearable etc. have various operating systems is set
Standby, the Wearable can be Intelligent bracelet, intelligent watch, intelligent glasses etc..
Fig. 1 is the flow chart of information-pushing method according to an embodiment of the invention, as shown in figure 1, this method includes:
Step 101, whether detection terminal equipment has subscriber identification card.
It is appreciated that subscriber identification card has uniqueness, Subscriber Identity Module and terminal device separation, user identity are known
Include mobile device country code registered in advance in other code, individual can not change, and can accurately determine terminal device the country one belongs to
Whether family, therefore, in an embodiment of the present invention, have identification card in detection terminal equipment, in order to further basis
The identification card determines the actual the country one belongs to of terminal device.
It should be noted that according to the difference of application scenarios, can in different ways, whether detection terminal equipment has
Subscriber identification card, illustrate as follows:
As a kind of possible implementation, the subscriber identification card neck of detection terminal equipment, pass through test card slot
In whether be provided with whether corresponding card detection terminal equipment has subscriber identification card.
As alternatively possible implementation, the function services that are connected in detection terminal equipment with communication networks such as GNSS
Whether can show that there is subscriber identification card in terminal device with normal operation, if normal operation.
As another possible implementation, in the system in terminal device, for example in Android/iOS, pass through
Coherent detection code detection whether there is subscriber identification card.
Certainly, in one embodiment of the invention, in order to further improve the determination to terminal device the country one belongs to
Efficiency, before whether detection terminal equipment has subscriber identification card, judge whether terminal device has country's setting not
The problem of accurate, only in inaccuracy, just perform the present embodiment determines terminal device place by subscriber identification card
Country.
Specifically, as shown in Fig. 2 before above-mentioned steps 101, information-pushing method of the invention also includes following step
Suddenly:
Step 201, the currently used IP address of terminal device is obtained.
Step 202, the default national title in terminal device is obtained.
Wherein, in order to select terminal device to provide language serviced etc., possible user can set country on the terminal device
Title, or system automatically select national title of acquiescence etc..
Specifically, if terminal device it is currently used IP address it is consistent with default national title, very likely eventually
The country of end equipment, which is not present, deliberately distorts or the problem of Wrong localization etc., thus, at this point it is possible to directly according to terminal device
Currently used IP address, or, user's default national title in terminal device determines terminal device the country one belongs to.
Step 203, if the default national title of detection national title corresponding with IP address mismatches, start based on use
The national title detection function of family identification card.
Specifically, if the default national title of detection national title corresponding with IP address mismatches, show directly
Determine terminal device the country one belongs to according to default national title or with IP address, may misjudgment, now start base
In the national title detection function of subscriber identification card.
Step 102, if detecting with subscriber identification card, default application programming interface is called from user
Identification card obtains mobile device country code registered in advance.
Wherein, mobile device country code is to be defined in International Telecommunication Union E.212 according to country, and its purpose is in telecommunications
Terminal device base is used in identification in network.
Specifically, if detected with subscriber identification card, default application programming interface is called, such as
Telephony Manager API, mobile device country code registered in advance is obtained from subscriber identification card, should with basis
Mobile device country code determines terminal device the country one belongs to, such as, movement registered in advance is obtained from subscriber identification card
Equipment country code is 404, then the country according to corresponding to knowing is the U.S..
Step 103, sent and movement to corresponding application server according to the service condition of application program on terminal device
National title corresponding to equipment country code.
Step 104, feedback information is received, wherein, feedback information is application server according to default and national title pair
The satisfaction that the content push rule answered determines after being screened to feedback information allows the information of pushing condition.
Wherein, application server provides the server of related service for service provider for terminal device.
Specifically, because the information that application server pushes to different national users is different, such as, to A states
The terminal device push of family is the information for meeting the national relevant laws and regulations of A, and what the terminal device of B countries was pushed is symbol
Information of relevant laws and regulations of B countries etc. is closed, thus, in the present embodiment, in order to avoid wrong to terminal device pushed information
By mistake, sent and mobile device country code pair to corresponding application server according to the service condition of application program on terminal device
The national title answered, so that application server enters according to default content push rule corresponding with national title to feedback information
Row screening, wherein, default content push rule corresponding with national title includes state's laws regulation etc., and then, receiving should
With server according to default content push rule corresponding with national title, treat the satisfaction sent after push Content Selection and permit
Perhaps the feedback information of pushing condition.
Wherein, the feedback information screened is the relevant information fed back according to the service condition of current application program, such as
In the service condition of fruit application program, the request of transmission is information acquisition request, then the relevant information fed back is for the information
Obtain the feedback information of request.
It should be noted that according to the difference of application scenarios, different implementations can be used, is realized according to terminal device
The service condition of upper application program sends country name corresponding with the mobile device country code to corresponding application server
Claim:
As a kind of possible implementation, the information acquisition request sent during application program is used is obtained,
Such as the information acquisition request that user sends during application program is used, then send and move to corresponding application server
National title corresponding to dynamic equipment country code, to cause application server to be pushed away according to default content corresponding with national title
Rule is sent to screen feedback information corresponding to the information acquisition request.
That is, in the present embodiment, enter row information push to terminal device by the way of passive, only receiving
To the information acquisition request sent during application program is used, just mobile device country code is sent to application server
Corresponding national title.
As alternatively possible implementation, according to the application program of the permission active push information pre-set, to
Corresponding application server sends national title corresponding with mobile device country code.
That is, in the present embodiment, enter row information push to terminal device by the way of active, according to setting in advance
That puts allows the application program of push, directly sends country corresponding with mobile device country code to corresponding application server
Title, in order to which application server is according to default content push rule corresponding with national title, to the permission pre-set
The application program of push enters row information push, and then, application server is received according to default content corresponding with national title
Push rule, treating the satisfaction sent after push Content Selection allows the feedback information of pushing condition.
Based on above description, it is also necessary to, it is emphasized that under application scenes, may not detect in terminal device
Subscriber identification card, now, in order to improve the flexibility of information-pushing method of the present invention, using other modes obtain move
Equipment country code.
As a kind of possible implementation, in advance in the database purchase mobile device country code of terminal device, with
When box lunch detects that terminal device does not have subscriber identification card, mobile device country code is obtained from database.
In summary, whether the information-pushing method of the embodiment of the present invention, detection terminal equipment have user identity identification
Card, if detecting with subscriber identification card, calls default application programming interface to be obtained from subscriber identification card
Mobile device country code registered in advance is taken, and then, according to user to the service condition of application program on terminal device to right
The application server answered sends national title corresponding with mobile device country code so that application server according to default and
Content push rule is screened to feedback information corresponding to national title, and the final application server that receives is according to default and state
Content push rule corresponding to family's title, treating the satisfaction sent after push Content Selection allows the feedback information of pushing condition.
Thus, the country where terminal device can accurately be known, and row information push is entered by the country according to where terminal device, avoids letter
Breath push and the actually located country of terminal device are not inconsistent.
Based on above example, it should be appreciated that above-described embodiment is only different with terminal device the country one belongs to, push
Information difference illustrate, but in actual applications, terminal device the country one belongs to is different, the function clothes that service provider is provided
Business also differs, such as, for the terminal device in national A, service provider must not open the function services for including violence property
Deng.
Specifically, Fig. 3 be according to the flow chart of the information-pushing method of another of the invention embodiment, as shown in figure 3,
The information-pushing method of the embodiment of the present invention also includes:
Step 301, the Function Identification for being not allowed to use is received, wherein, the Function Identification is application server according to pre-
If function restriction corresponding with national title rule determine mark.
Wherein, under different application scenarios, Function Identification includes different contents, such as, can include function code,
Function keyword etc..
In one embodiment of the invention, corresponding pass of the national title with corresponding function restriction rule is prestored
System, so as to after national title corresponding with mobile device country code is obtained, inquire about above-mentioned corresponding relation, receive application clothes
Device be engaged according to the regular Function Identification for being not allowed to use fed back of default function restriction corresponding with national title, to know
In the national confined concrete function service of terminal device.
Step 302, the application function according to corresponding to closing the Function Identification for being not allowed to use.
Specifically, after the Function Identification for being not allowed to use is obtained, closed according to the Function Identification for being not allowed to use
Corresponding application function, thus, the actual national correlation function limitation rule where the application function and terminal device of the closing
It is then consistent.
In summary, the information-pushing method of the embodiment of the present invention, application server is received according to default and country name
The Function Identification for being not allowed to use of function restriction rule feedback, is closed according to the Function Identification for being not allowed to use corresponding to title
Close corresponding application function.Thus, the country where terminal device can accurately be known, and the country according to where terminal device enters
Row function services, the actually located country for the function and terminal device being turned on and off is avoided not to be inconsistent.
In order to realize above-described embodiment, the invention also provides a kind of information push-delivery apparatus, Fig. 4 is according to of the invention one
The structural representation of the information push-delivery apparatus of embodiment, as shown in figure 4, the information push-delivery apparatus includes:Detection module 100, obtain
Modulus block 200, sending module 300 and receiving module 400.
Wherein, detection module 100, whether there is subscriber identification card for detection terminal equipment.
First acquisition module 200, for when detecting with subscriber identification card, calling default application program to compile
Journey interface obtains mobile device country code registered in advance from subscriber identification card.
Certainly, in one embodiment of the invention, in order to further improve the determination to terminal device the country one belongs to
Efficiency, before whether detection terminal equipment has subscriber identification card, judge whether terminal device has country's setting not
The problem of accurate, only in inaccuracy, just perform the present embodiment determines terminal device place by subscriber identification card
Country.
Specifically, as shown in figure 5, on the basis of as shown in Figure 4, the information push-delivery apparatus also includes:Second obtains
Module 500 and starting module 600.
Wherein, the second acquisition module 500, the IP address currently used for obtaining terminal device.
Second acquisition module 500, it is additionally operable to obtain default national title in terminal device.
Starting module 600, for when the default national title of detection national title corresponding with IP address mismatches, opening
The dynamic national title detection function based on subscriber identification card.Sending module 300, for according to application program on terminal device
Service condition send corresponding with mobile device country code national title to corresponding application server.
In one embodiment of the invention, sending module 300 obtains the letter sent during application program is used
Breath obtains request, then sends national title corresponding with mobile device country code to corresponding application server.
In another embodiment of the present invention, sending module 300 is according to the permission active push information pre-set
Application program, national title corresponding with mobile device country code is sent to corresponding application server.Receiving module 400,
For receiving feedback information, wherein, feedback information is application server according to default content push corresponding with national title
The satisfaction that rule determines after being screened to feedback information allows the information of pushing condition.
Based on above description, it is also necessary to, it is emphasized that under application scenes, may not detect in terminal device
Subscriber identification card, now, in order to improve the flexibility of information-pushing method of the present invention, using other modes obtain move
Equipment country code.
Specifically, as shown in fig. 6, on the basis of as shown in Figure 4, the information push-delivery apparatus also includes memory module
700, wherein, memory module 700 is used for the database purchase mobile device country code in terminal device, and end is detected to work as
When end equipment does not have subscriber identification card, mobile device country code is obtained from database.It is it should be noted that foregoing right
The description of embodiment of the method, the device of the embodiment of the present invention is also applied for, its realization principle is similar, will not be repeated here.
The division of modules is only used for for example, in other embodiments, will can believe in above- mentioned information pusher
Breath pusher is divided into different modules as required, to complete all or part of function of above- mentioned information pusher.
In summary, whether the information push-delivery apparatus of the embodiment of the present invention, detection terminal equipment have user identity identification
Card, if detecting with subscriber identification card, calls default application programming interface to be obtained from subscriber identification card
Mobile device country code registered in advance is taken, and then, according to user to the service condition of application program on terminal device to right
The application server answered sends national title corresponding with mobile device country code so that application server according to default and
Content push rule is screened to feedback information corresponding to national title, and the final application server that receives is according to default and state
Content push rule corresponding to family's title, treating the satisfaction sent after push Content Selection allows the feedback information of pushing condition.
Thus, the country where terminal device can accurately be known, and row information push is entered by the country according to where terminal device, avoids letter
Breath push and the actually located country of terminal device are not inconsistent.
Based on above example, it should be appreciated that above-described embodiment is only different with terminal device the country one belongs to, push
Information difference illustrate, but in actual applications, terminal device the country one belongs to is different, the function clothes that service provider is provided
Business also differs, such as, for the terminal device in national A, service provider must not open the function services for including violence property
Deng.
Specifically, Fig. 7 is the structural representation of information push-delivery apparatus in accordance with another embodiment of the present invention, such as Fig. 7
Shown, on the basis of as shown in Figure 4, the information push-delivery apparatus also includes:Closedown module 800.
Wherein, receiving module 400, it is additionally operable to receive the Function Identification for being not allowed to use, wherein, the Function Identification is should
The mark determined with server according to default function restriction rule corresponding with national title.
Closedown module 800, for the application function according to corresponding to the Function Identification closing for being not allowed to use.
It should be noted that the foregoing description to embodiment of the method, is also applied for the device of the embodiment of the present invention, it is realized
Principle is similar, will not be repeated here.
The division of modules is only used for for example, in other embodiments, will can believe in above- mentioned information pusher
Breath pusher is divided into different modules as required, to complete all or part of function of above- mentioned information pusher.
In summary, the information push-delivery apparatus of the embodiment of the present invention, application server is received according to default and country name
The Function Identification for being not allowed to use of function restriction rule feedback, is closed according to the Function Identification for being not allowed to use corresponding to title
Close corresponding application function.Thus, the country where terminal device can accurately be known, and the country according to where terminal device enters
Row function services, the actually located country for the function and terminal device being turned on and off is avoided not to be inconsistent.
In order to realize above-described embodiment, the invention also provides a kind of terminal device, Fig. 8 is according to one implementation of the present invention
The structural representation of the terminal device of example.As shown in figure 8, memory 21, processor 22 and being stored on memory 21 and can be
The computer program run on processor 22.
Processor 22 realizes the information push processing method provided in above-described embodiment when performing described program.Wherein, believe
Breath method for pushing comprises the following steps:
Whether detection terminal equipment has subscriber identification card;
If detecting with subscriber identification card, default application programming interface is called from the user identity
Identification card obtains mobile device country code registered in advance;
Sent and the movement to corresponding application server according to the service condition of application program on the terminal device
National title corresponding to equipment country code;
Feedback information is received, wherein, the feedback information is the application server according to the default and country name
The satisfaction that content push rule corresponding to title determines after being screened to feedback information allows the information of pushing condition.Further
Ground, terminal device also include:
Communication interface 23, for the communication between memory 21 and processor 22.
Memory 21, for depositing the computer program that can be run on processor 22.
Memory 21 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Processor 22, the information-pushing method described in above-described embodiment is realized during for performing described program.
If memory 21, processor 22 and the independent realization of communication interface 23, communication interface 21, memory 21 and processing
Device 22 can be connected with each other by bus and complete mutual communication.The bus can be industry standard architecture
(Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral
Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard
Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, controlling bus etc..
For ease of representing, only represented in Fig. 8 with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 21, processor 22 and communication interface 23, are integrated in chip piece
Upper realization, then memory 21, processor 22 and communication interface 23 can complete mutual communication by internal interface.
Processor 22 is probably a central processing unit (Central Processing Unit, referred to as CPU), or
Specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or by with
It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces
When instruction in product is by computing device, perform information-pushing method as described above, wherein, information-pushing method include with
Lower step:
Whether detection terminal equipment has subscriber identification card;
If detecting with subscriber identification card, default application programming interface is called from the user identity
Identification card obtains mobile device country code registered in advance;
Sent and the movement to corresponding application server according to the service condition of application program on the terminal device
National title corresponding to equipment country code;
Feedback information is received, wherein, the feedback information is the application server according to the default and country name
The satisfaction that content push rule corresponding to title determines after being screened to feedback information allows the information of pushing condition..
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, when described
When instruction in storage medium is performed by processor, enabling the information-pushing method as described in above-mentioned embodiment is performed,
Wherein, information-pushing method comprises the following steps:
Whether detection terminal equipment has subscriber identification card;
If detecting with subscriber identification card, default application programming interface is called from the user identity
Identification card obtains mobile device country code registered in advance;
Sent and the movement to corresponding application server according to the service condition of application program on the terminal device
National title corresponding to equipment country code;
Feedback information is received, wherein, the feedback information is the application server according to the default and country name
The satisfaction that content push rule corresponding to title determines after being screened to feedback information allows the information of pushing condition..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from
Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of information-pushing method, it is characterised in that comprise the following steps:
Whether detection terminal equipment has subscriber identification card;
If detecting with subscriber identification card, default application programming interface is called from the user identity identification
Card obtains mobile device country code registered in advance;
Sent and the mobile device to corresponding application server according to the service condition of application program on the terminal device
National title corresponding to country code;
Feedback information is received, wherein, the feedback information is the application server according to the default and national title pair
The satisfaction that the content push rule answered determines after being screened to feedback information allows the information of pushing condition.
2. the method as described in claim 1, it is characterised in that also include:
Receive and be not allowed to the Function Identification that uses, wherein, the Function Identification be the application server according to it is default with
The mark that function restriction rule corresponding to the national title determines;
The application function according to corresponding to closing the Function Identification for being not allowed to use.
3. the method as described in claim 1, it is characterised in that the use feelings according to application program on the terminal device
Condition sends national title corresponding with the mobile device country code to corresponding application server, including:
The information acquisition request sent during application program is used is obtained, then to the transmission of corresponding application server and institute
State national title corresponding to mobile device country code;And/or;
According to the application program of the permission active push information pre-set, sent and the movement to corresponding application server
National title corresponding to equipment country code.
4. the method as described in claim 1, it is characterised in that whether there is user identity identification in the detection terminal equipment
Before card, in addition to:
Obtain the currently used IP address of the terminal device;
Obtain default national title in the terminal device;
If detecting the default national title national title corresponding with the IP address to mismatch, startup is based on user's body
The national title detection function of part identification card.
5. the method as described in claim 1-4 is any, it is characterised in that also include:
Mobile device country code described in database purchase in the terminal device, the terminal device is detected not to work as
During with the subscriber identification card, the mobile device country code is obtained from the database.
A kind of 6. information push-delivery apparatus, it is characterised in that including:
Detection module, whether there is subscriber identification card for detection terminal equipment;
First acquisition module, for when detecting with subscriber identification card, calling default application programming interface
Mobile device country code registered in advance is obtained from the subscriber identification card;
Sending module, for the service condition according to application program on the terminal device to corresponding application server send with
National title corresponding to the mobile device country code;
Receiving module, for receiving feedback information, wherein, the feedback information is the application server according to default and institute
Stating the satisfaction that content push rule corresponding to national title determines after being screened to feedback information allows the information of pushing condition.
7. device as claimed in claim 6, it is characterised in that
The receiving module, it is additionally operable to receive the Function Identification for being not allowed to use, wherein, the Function Identification is the application
The mark that server determines according to default function restriction rule corresponding with the national title;
Closedown module, for be not allowed to according to the Function Identification that uses close corresponding to application function.
8. device as claimed in claim 6, it is characterised in that the sending module is specifically used for:
The information acquisition request sent during application program is used is obtained, then to the transmission of corresponding application server and institute
State national title corresponding to mobile device country code;And/or;
According to the application program of the permission active push information pre-set, sent and the movement to corresponding application server
National title corresponding to equipment country code.
9. a kind of terminal device, it is characterised in that including memory, processor and storage on a memory and can be on a processor
The computer program of operation, during the computing device described program, realize that the information as described in claim any one of 1-5 pushes away
Delivery method.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the calculating
The information-pushing method as any one of claim 1-5 is realized when machine program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710914451.XA CN107682433A (en) | 2017-09-30 | 2017-09-30 | Information pushing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710914451.XA CN107682433A (en) | 2017-09-30 | 2017-09-30 | Information pushing method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107682433A true CN107682433A (en) | 2018-02-09 |
Family
ID=61139394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710914451.XA Pending CN107682433A (en) | 2017-09-30 | 2017-09-30 | Information pushing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682433A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194734A (en) * | 2018-08-29 | 2019-01-11 | 北京小米移动软件有限公司 | Information push method, device, server and readable storage medium storing program for executing |
CN111885677A (en) * | 2020-07-28 | 2020-11-03 | Oppo广东移动通信有限公司 | Content pushing method and device, electronic equipment and storage medium |
CN112149072A (en) * | 2020-09-22 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Identity authentication method, device, equipment and medium for platform user |
CN114827347A (en) * | 2022-04-18 | 2022-07-29 | 北京小米移动软件有限公司 | Method and device for processing area information in terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1770795A (en) * | 2004-10-26 | 2006-05-10 | 展讯通信(上海)有限公司 | Security method and cellular phone with security feature |
CN1798433A (en) * | 2004-12-23 | 2006-07-05 | 华为技术有限公司 | Method for implementing function of keeping secret of scene |
CN102802240A (en) * | 2012-08-31 | 2012-11-28 | 天翼电信终端有限公司 | Multimode mobile terminal and network selection method thereof |
WO2015126050A1 (en) * | 2014-02-21 | 2015-08-27 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling transmission of push messages |
CN105430071A (en) * | 2015-11-11 | 2016-03-23 | 北京麒麟合盛网络技术有限公司 | Method and device for pushing information |
-
2017
- 2017-09-30 CN CN201710914451.XA patent/CN107682433A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1770795A (en) * | 2004-10-26 | 2006-05-10 | 展讯通信(上海)有限公司 | Security method and cellular phone with security feature |
CN1798433A (en) * | 2004-12-23 | 2006-07-05 | 华为技术有限公司 | Method for implementing function of keeping secret of scene |
CN102802240A (en) * | 2012-08-31 | 2012-11-28 | 天翼电信终端有限公司 | Multimode mobile terminal and network selection method thereof |
WO2015126050A1 (en) * | 2014-02-21 | 2015-08-27 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling transmission of push messages |
CN105430071A (en) * | 2015-11-11 | 2016-03-23 | 北京麒麟合盛网络技术有限公司 | Method and device for pushing information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194734A (en) * | 2018-08-29 | 2019-01-11 | 北京小米移动软件有限公司 | Information push method, device, server and readable storage medium storing program for executing |
CN111885677A (en) * | 2020-07-28 | 2020-11-03 | Oppo广东移动通信有限公司 | Content pushing method and device, electronic equipment and storage medium |
CN111885677B (en) * | 2020-07-28 | 2022-10-28 | Oppo广东移动通信有限公司 | Content pushing method and device, electronic equipment and storage medium |
CN112149072A (en) * | 2020-09-22 | 2020-12-29 | 北京达佳互联信息技术有限公司 | Identity authentication method, device, equipment and medium for platform user |
CN114827347A (en) * | 2022-04-18 | 2022-07-29 | 北京小米移动软件有限公司 | Method and device for processing area information in terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107682433A (en) | Information pushing method, device, equipment and medium | |
CN104023141B (en) | The display packing of communication contact person information and client and electronic equipment | |
CN100536500C (en) | Transmission of personal data combined with private sign | |
CN109272381A (en) | Business recommended method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN109327627A (en) | Telephone number recognition methods, device and storage medium based on block chain | |
TWI696975B (en) | Communication establishment method and communication terminal | |
CN109769244B (en) | Abnormal telephone card identification method, device, equipment and readable storage medium | |
CN104301875B (en) | SMS processing and device | |
CN107798509A (en) | Employee's bootstrap method and device | |
CN107404589A (en) | Kind identification method, device and the terminal device of call number | |
CN109446904A (en) | Queuing number-taking method, apparatus, computer equipment and storage medium | |
CN110222265A (en) | A kind of method, system, user terminal and the server of information push | |
CN105162977A (en) | Excuse recommendation method and device | |
CN111382252B (en) | Method, device, equipment and medium for determining problem category based on user request | |
CN108255936A (en) | A kind of edit methods of webpage, system and editing machine | |
CN109767526A (en) | Safety protection method, device, computer equipment and storage medium | |
US20190347441A1 (en) | Patient privacy de-identification in firewall switches forming VLAN segregation | |
CN108234549A (en) | Policy information checking method and device | |
CN106888446B (en) | Methods, devices and systems for verification information recipient's property right identity | |
CN104700038B (en) | A kind of information processing method and device | |
CN107527290A (en) | Insurance document increases method and apparatus newly | |
CN111179023B (en) | Order identification method and device | |
US20170126885A1 (en) | Caller identification apparatus, caller identification method, and recording medium on which caller identification program has been stored | |
CN106485520A (en) | Across channel communicating control method and server | |
CN105530386B (en) | The determination method and its application process and system of a kind of communication identifier type of number |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201113 Address after: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing 100025 Applicant after: Beijing LEMI Technology Co.,Ltd. Address before: 100085 Beijing City, Haidian District Road 33, two floor East Xiaoying Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |