CN107749861A - Information-pushing method, device, terminal device and storage medium - Google Patents
Information-pushing method, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN107749861A CN107749861A CN201711134066.XA CN201711134066A CN107749861A CN 107749861 A CN107749861 A CN 107749861A CN 201711134066 A CN201711134066 A CN 201711134066A CN 107749861 A CN107749861 A CN 107749861A
- Authority
- CN
- China
- Prior art keywords
- information
- short chain
- target push
- target
- pushed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims abstract description 19
- 230000004044 response Effects 0.000 claims description 35
- 239000000872 buffer Substances 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 22
- 230000010365 information processing Effects 0.000 claims description 3
- 230000004087 circulation Effects 0.000 description 16
- 230000005540 biological transmission Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 229910002056 binary alloy Inorganic materials 0.000 description 5
- 238000002372 labelling Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- 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/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention discloses a kind of information-pushing method, device, terminal device and storage medium.The information-pushing method includes:Information generation instruction is obtained, described information generation instruction includes information model ID and ID;Based on described information template ID and the ID, information to be pushed is obtained, the information to be pushed includes long link and the information content;Short chain algorithm is turned using long-chain capable conversion is tapped into the long-chain, obtained short chain and connect;Connect and described information content, acquisition target push information based on the short chain;The target push information is sent to the client corresponding with the ID.The information-pushing method solves the problems, such as the poor user experience that customer resources is currently obtained by pushed information, and enhances Consumer's Experience, saves and sends cost.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of information-pushing method, device, terminal device and storage to be situated between
Matter.
Background technology
With the development of information age, in the financial institutions such as bank, security, insurance or other service organizations, mostly
Customer resources (abbreviation short message obtains visitor) is obtained by the way of short message pushed information, wherein the information pushed include the information content and
Info Link.For short message obtains this mode of visitor, if Info Link links for length, the information of push can be caused long,
More than the maximum number of words of short message so that information may split into two information and be sent to user, influence Consumer's Experience.Also,
When one information is split into two information transmissions, information traffic volume can be caused excessive, not only increase sends cost, and may
There is overload problem, cause server to produce abnormal.
The content of the invention
The embodiment of the present invention supplies a kind of information-pushing method, device, terminal device and storage medium, currently transmitted to solve
Information the problem of information traffic volume may being caused excessive when long link be present.
In a first aspect, the embodiment of the present invention provides a kind of information-pushing method, including:
Information generation instruction is obtained, described information generation instruction includes information model ID and ID;
Based on described information template ID and the ID, information to be pushed is obtained, the information to be pushed includes long-chain
Connect and the information content;
Short chain algorithm is turned using long-chain capable conversion is tapped into the long-chain, obtained short chain and connect;
Connect and described information content, acquisition target push information based on the short chain;
The target push information is sent to the client corresponding with the ID.
Second aspect, the embodiment of the present invention provide a kind of information push-delivery apparatus, including:
Information generates instruction module, and for obtaining information generation instruction, described information generation instruction includes information model ID
And ID;
Information to be pushed acquisition module, for based on described information template ID and the ID, obtaining information to be pushed,
The information to be pushed includes long link and the information content;
Short chain connects acquisition module, and capable conversion is tapped into the long-chain for turning short chain algorithm using long-chain, short chain is obtained and connects;
Target push information acquisition module, for being connect and described information content, acquisition target push letter based on the short chain
Breath;
Target push information sending module, it is corresponding with the ID for the target push information to be sent to
Client.
The third aspect, the embodiment of the present invention provide a kind of terminal device, including memory, processor and are stored in described
In memory and the computer program that can run on the processor, realized described in the computing device during computer program
The step of described information method for pushing.
Fourth aspect, the embodiment of the present invention provide a kind of computer-readable recording medium, the computer-readable storage medium
The step of matter is stored with computer program, and the computer program realizes described information method for pushing when being executed by processor.
In information-pushing method provided in an embodiment of the present invention, device, terminal device and storage medium, information life is first obtained
Into instruction, information generation instruction includes information model ID and ID, based on information model ID and ID, to obtain and
The corresponding information to be pushed of user, the information to be pushed include the information content and long link.The instruction generated according to information is adjusted
Information model is taken, the process saves the time without human-edited so that information pushes more efficient.Then turned using long-chain
Short chain algorithm taps into capable conversion to long-chain, obtains short chain and connects.Finally, target push information is sent to corresponding with ID
Client.When the information-pushing method, device, terminal device and storage medium enter row information push, avoid long super because linking
Cross short message restricted codes number and information segmenting need to be sent to user, advantageously reduce information traffic volume, save and send cost.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a flow chart of the information-pushing method provided in the embodiment of the present invention 1.
Fig. 2 is a specific schematic diagram of step S20 in Fig. 1.
Fig. 3 is a specific schematic diagram of step S30 in Fig. 1.
Fig. 4 is a flow chart of the information-pushing method provided in the embodiment of the present invention 1.
Fig. 5 is a flow chart of the information-pushing method provided in the embodiment of the present invention 1.
Fig. 6 is a flow chart of the information-pushing method provided in the embodiment of the present invention 1.
Fig. 7 is the theory diagram of the information push-delivery apparatus provided in the embodiment of the present invention 2.
Fig. 8 is a schematic diagram of the terminal device provided in the embodiment of the present invention 4.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Embodiment 1
Fig. 1 shows the flow chart of information-pushing method in the present embodiment.The information-pushing method can be applicable to bank, card
In the terminal device of the financial institutions such as certificate, insurance or other mechanisms, by believing to client push such as mobile phones corresponding to client
Breath, to obtain customer resources.Using the information-pushing method to client push information, it can effectively avoid information traffic volume excessive
The problems of, preferably lift user experience.It is to be appreciated that the terminal device includes but is not limited in the present embodiment
Server.As shown in figure 1, the information-pushing method comprises the following steps:
S10:Information generation instruction is obtained, information generation instruction includes information model ID and ID.
Wherein, information generation instruction is the instruction for terminal device generation information.Information model ID is to be used to uniquely know
The mark of other information model.ID is the mark for unique identification targeted customer, and the ID can be targeted customer's
Cell-phone number.The targeted customer refers to the user corresponding to information to be pushed.Specifically, different business is being sent to targeted customer
, it is necessary to formulate different information models for different types of service during information, and by information model storage in the server,
The corresponding information model ID of each information model.
S20:Based on information model ID and ID, information to be pushed is obtained, information to be pushed includes long link and information
Content.
Wherein, information to be pushed refers to undressed information before information push.The information to be pushed is included in information
Hold and at least one length links.The length links the web page address for referring to business corresponding to information to be pushed, such as inhomogeneity in bank
Web page address corresponding to the credit society of type.The information content refers to the information content that specific transactions are directed in information to be pushed.This reality
Apply in example, information model ID and ID in instruction can be generated according to information, obtain long link and letter in information to be pushed
Cease content.
As shown in Fig. 2 in step S20, based on information model ID and ID, information to be pushed, information to be pushed are obtained
Including long link and the information content, specifically comprise the following steps:
S21:Based on information model ID, information model is obtained.
Wherein, information model refers to the template for being used to generate information previously according to corresponding service configuration, the information model
It is stored in advance in database, and is associated with unique information model ID, to obtain corresponding letter based on template ID inquiries
Cease template.In the present embodiment, information model includes but is not limited to subscriber information module, link module and information content module.Should
Subscriber information module is associated with user profile, for filling different user profile.The link module is to be used to store accordingly
The module of the web page address of business.Information content module is the module for storage information content, i.e. the letter for specific transactions
Cease content.It is to be appreciated that the link module and information content module in each information model match, i.e., in link module
Long link may link to the web page address related to the information content in information content module.In information i.e. in the information model
Molar block is pre-charged with the information content, and link module is pre-charged with long link.
In the present embodiment, database prestores the information model corresponding to different service types, each information model pair
Answer an information model ID so that subsequently to targeted customer send pushed information when, based on information generation instruction in information model
ID directly invokes corresponding information model, saves the time, improves efficiency.
S22:Based on ID, the user profile corresponding with ID is obtained.
Wherein, the user profile corresponding with ID includes but is not limited to name, sex, cell-phone number, the identity of user
The information such as card number.The user profile is stored in advance in database, when terminal device needs pushed information, can from database base
Different user profile is transferred respectively in different IDs, to form information to be pushed using the user profile.
In the present embodiment, user in advance the application program on the mobile terminal such as mobile phone or flat board (i.e. (Application,
Abbreviation APP) on complete registration so that server corresponding to application program can obtain corresponding user and identify (i.e. ID), this
User identify (i.e. ID) can for user cell-phone number or identification card number etc. can unique identification user mark.Mobile terminal
After obtaining the information filled in during user's registration, during the user profile is uploaded onto the server, so that server deposits user profile
Storage makes each user profile identify (ID) associated storage with a user in the databases such as MySQL, Oracle.It is based on
The user identifies (i.e. ID), and user profile acquisition process is simple and convenient.
S23:Based on information model and user profile, information to be pushed is obtained.
In the present embodiment, the information model that is obtained in step S21 carries long link and the information content, then by step S22
The user profile got is filled into by the subscriber information module in the information model that is obtained in step S21, you can to obtain
Information to be pushed so that the information to be pushed carries long link and the information content.The process of the acquisition information to be pushed is without people
Work is interfered, and saves the time.
S30:Short chain algorithm is turned using long-chain capable conversion is tapped into long-chain, obtained short chain and connect.
It is to switch through long-chain to change the algorithm that short chain connects into that long-chain, which turns short chain algorithm,.It is by webpage corresponding to long link that short chain, which connects,
Address obtains more brief web page address after carrying out conversion process.Turn short chain algorithm using long-chain in step S30 to switch through long-chain
Change short chain into connect, to avoid, because the network address character string of long link is long, causing the character of pushed information to exceed limitation, often tearing open
It is divided into the phenomenon that two information are sent respectively to targeted customer to occur, so as to save transmission cost, is advantageous to improve Consumer's Experience.
As shown in figure 3, in step S30, short chain algorithm is turned using long-chain capable conversion is tapped into long-chain, obtained short chain and connect, have
Body comprises the following steps:
S31:Long link is spliced with default key value, obtains raw bytes string.
Wherein, raw bytes string is long link and byte serial resulting after the splicing of default key value.Default key value is
Customized byte serial, the abbreviation that the default key value includes but is not limited to user name is alphabetical or the small letter of user name is complete
Spell.Specifically, long link is carried out into splicing with default key value to specifically refer to directly merge long link with default key value, i.e.,
The corresponding byte serial of long link is added with the byte serial corresponding to default key value and can obtain raw bytes string, this splicing side
Method is simple, it is easy to accomplish.
S32:Raw bytes string is encrypted using md5-challenge, obtains target byte string.
Wherein, information-summary (message-digest algorithm, hereinafter referred to as MD) algorithm is exactly arbitrarily long
Input bit string is changing into a kind of function of the output string of regular length, is generally used for producing informative abstract, key encryption etc..This
In embodiment, using the 5th version of MD algorithms, i.e. MD5 algorithms, MD5 has the characteristics of safe so that user profile is not
Easily leakage, protect privacy of user.Wherein, target byte string refers to use md5-challenge by the original word without regular length
Section string is converted to the byte serial i.e. target byte string of regular length (128 binary systems).
Specifically, because MD5 is grouped to handle the information of input with 512 (i.e. 512 binary systems), and each packet is again
It is divided into 16 32 seats packets.Therefore, in step S22, raw bytes string is encrypted using MD5, to obtain
Target byte string specifically comprises the following steps:
S321:By the length of raw bytes string divided by 512, current remainder is obtained.
S322:Judge whether current remainder is 448.
S323:If current remainder is not 448, byte number to be filled is determined based on current remainder, and in raw bytes string
Middle filling consistent with byte number quantity to be filled individual 0, to obtain intermediary bytes string.Then one is added behind intermediary bytes string again
The byte of padding (in units of bit) of individual 64 binary representations, obtain the intermediary bytes string after renewal, the centre after the renewal
Byte serial is (N+1) * 512, is 512 multiple.Wherein, byte of padding is the fixed byte pre-set.
S324:If current remainder is 448, it need not be filled, directly using raw bytes string as the centre after renewal
Byte serial.
S325:Four-wheel loop computation is carried out to middle byte serial, obtains target byte string.
There are four 32 numeric parameters for being referred to as link variable (Chaining Variable) in MD5, in the present embodiment
It is set to:A=0x01234567, B=0x89abcdef, C=0xfedcba98, D=0x76543210.When setting this four chains
After connecing variable, the four-wheel loop computation into MD5 algorithms is begun to, the number of circulation is the number of 512 information blocks in information
Mesh, N+1 times.
Further, the operation of four-wheel loop computation includes being subdivided into 16 groups, each group 32 by every one 512
Position;Aforementioned four link variable is copied in four additional variable (a, b, c, d), i.e. A to a, B to b, C to c, D to d.Master follows
Ring has four-wheel, and the operation for often taking turns circulation is all much like.Each round carry out 16 times operation, every time operation in a, b, c and d wherein
Three variables make a logical operation, and acquired results then are added into the 4th variable (subgroup in text and one
Constant), four circulations are then carried out again, obtain new A, B, C and D this four link variables, the order levels by it according to ABCD
Join and export to obtain the MD5 values i.e. target byte string of 128 binary systems (16 byte).Specifically, the calculating knot that will be operated every time
Fruit ring shift right 4, then carry out next operation.A, B, C and D are added into a, b, c and d respectively after often wheel circulation, entered back into down
One wheel circulation.
Specifically, the logical operation formula of each round logical operation is as follows:First round logical operation formula is F (x, y, z)
=(x&y) | ((~x) &z);Second wheel logical operation formula is G (x, y, z)=(x&z) | (y& (~z));Third round logic is transported
Calculation formula is H (x, y, z)=x ∧ y ∧ z;Fourth round logical operation formula is I (X, Y, Z)=y ∧ (x | (~z)).Wherein, accord with
Number & is represented and computing, and symbol~represent negated computing, symbol ∧ represents XOR.With computing, negated computing and XOR
It is a kind of basic logical operation mode in computer.It is with operation rule:0&0=0,0&1=0,1&0=0,1&1=1,
I.e. two are simultaneously " 1 ", are just as a result " 1 ", are otherwise 0.The operation rule of negated computing is~0=1 ,~1=0;I.e. " 0 " is tied
Fruit is " 1 ", and non-" 1 " result is " 0 ".The operation rule of XOR is 0^0=0,0^1=1,1^0=1,1^1=0;I.e. two
It is all mutually " 1 ", is not all " 0 ".
In the present embodiment, the operation of four-wheel loop computation can use equation below to represent:FF(a,b,c,d,Mj,s,
Ti), a=b+ ((a+F (b, c, d)+M are representedj+ti)<<<s));GG(a,b,c,d,Mj, s, ti), expression a=b+ ((a+G (b, c,
d)+Mj+ti)<<<s);HH(a,b,c,d,Mj, s, ti), represent a=b+ ((a+H (b, c, d)+Mj+ti)<<<s);II(a,b,c,
d,Mj, s, ti), represent a=b+ ((a+I (b, c, d)+Mj+ti)<<<s).Wherein MjJ-th of packet in 16 groups is represented,
“<<<S " represents ring shift left s positions, and ti represents the constant in the i-th step, as 232* abs (sin (i)) integer part, i's takes
It is worth for 1-64, i unit is radian.In the present embodiment, each round circulation in, all will according to preset group s (loopy moving
Displacement), circulated successively according to array order and choose s values, until every wheel circulation terminates.It is to be appreciated that in each round circulation
S arrays be it is different, the first round circulation in, s={ 7,12,17,22 }, second wheel circulation in, s={ 5,9,14,20 }, the 3rd
In wheel circulation, s={ 4,11,16,23 }, in fourth round circulation, s={ 6,10,15,21 }.Due to the security of md5 encryption algorithm
It is high so that the pushed information comprising user profile sent in the present embodiment is relatively reliable, is not easy to reveal userspersonal information
So as to ensure the individual interest of user.
S33:Character type conversion is carried out to target byte string, obtains target string.
Wherein, target string refers to target byte string (128 binary systems) being converted to hexadecimal character string.By
Processing in computer to character string is usually that hexadecimal string is handled, therefore, by target byte string (i.e.
128 binary MD5 values) be converted to hexadecimal string (i.e. 32 target strings.
Specifically, that target byte string is converted into target string detailed process is as follows:By the target of 16 bytes (128)
Byte serial circulation is taken out and each byte of taking-up is changed, to obtain hexadecimal character, because each byte represents 8
Position binary system, therefore, need first to be changed high four in each byte, then turn low four in each byte
Change, the character for finally obtaining each byte conversion exports, to obtain target string.It is hexadecimal by each byte conversion
The specific conversion formula of character is hexDigits [byte0>>>4&0xf], hexDigits [byte0&0xf], symbol>>>Represent
Ring shift right, symbol & represent step-by-step and computing, and hexDigits [] (hexadecimal) refers to byte serial being converted to hexadecimal
The algorithm of character string.In the present embodiment, target byte string is converted into hexadecimal target string, can effectively avoid being based on
There is mess code phenomenon in the target byte string that MD5 is obtained, so as to effectively improve follow-up processing speed, improve efficiency.
S34:Target string step-by-step is divided, obtains eight hexadecimal numbers.
Wherein, the step-by-step division to target string specifically refers to the target string (32 ten that will be obtained in step S32
Senary) carry out equal length division, i.e., target string is divided by eight one group, to obtain 4 groups of character string groups, often
Eight hexadecimal numbers are all included in group character string group, are easy to calculate.
S35:Eight hexadecimal numbers and hexadecimal first preset value are subjected to step-by-step and computing, obtain the first subscript
Value.
Wherein, the first preset value is customized hexadecimal number.In the present embodiment, the first preset value is hexadecimal number
0x3FFFFFFF, by the four group octet hexadecimal numbers got in step S34 respectively with the first preset value i.e. 0x3FFFFFFF
Step-by-step and computing are carried out, because obtained operation result is the effective length of 32, therefore, low 30 of result after computing need to be chosen
The numerical value of position removes above two, to obtain the first subscript value.Specifically, step-by-step and computing are a kind of basic in computer
Logical operation mode, symbol are expressed as, and its operation rule is:0&0=0,0&1=0,1&0=0,1&1=1;I.e. two simultaneously
For " 1 ", just it is as a result " 1 ", is otherwise 0.
S36:First subscript value and hexadecimal second preset value are subjected to step-by-step and computing, obtain the second subscript value.
Wherein, the second preset value is customized hexadecimal number.Further, first will got by step S35
Subscript value and the second preset value carry out step-by-step and computing.In the present embodiment, the second preset value is hexadecimal number 0x0000003D,
First subscript value and 0x0000003D are subjected to step-by-step and obtain the second subscript value with computing.
S37:The character corresponding with the second subscript value is obtained from preset characters array, short chain is formed and connects.
Wherein, preset characters array is pre-defined character type array, and it, which is included, is used to generate the character that short chain connects.This
In embodiment, the preset characters array includes but is not limited to capitalization English character, small English alphabet and Arabic numerals, and (0 arrives
9).The second subscript value got by step S36, obtain the index of preset characters array.Rope based on preset characters array
Draw, circulation selection and the character corresponding to the second subscript value from preset characters array, circulation is all by the character phase of taking-up every time
Add, then move right again 5, circulated into next time, obtain candidate's short chain and connect.A short chain is randomly selected from candidate link
Connect, connect with the short chain needed for obtaining.Specifically, the index based on preset characters array, 6 times is circulated and is taken out in preset characters array
Character, obtain 6 characters, that is, obtain candidate's short chain and connect, due to 4 loop computations in step S324 be present, each time
Circulation all obtains candidate's short chain and connect, and will eventually get 4 candidate's short chains and connects.Finally, selected at random in being connect from 4 candidate's short chains
Take candidate's short chain to connect to connect as final short chain.
Specifically, the second subscript value got by step S36, side used by the index of preset characters array is obtained
Method is Index functions.Index functions are the value in return table or region or the reference to value.Index functions have two kinds of forms:
Array form and reform.Array form generally returns to numerical value and (returns to preset characters number using numeric form in the present embodiment
The index of group) or numerical value array;Reform generally returns to reference.
Specifically, during candidate's short chain connects choose short chain connect when, server can judge candidate's short chain connect with server
Whether the short chain of storage connects identical, if candidate's short chain connects identical in connecing with the short chain that server has stored, can directly reject this
Candidate's short chain connects, and is connect in the short chain that remaining server has stored during candidate's short chain for differing connects, randomly selects a candidate
The problem of short chain connects to be connect as final short chain, and the process that the selection short chain connects can effectively avoid repeating so that the information of push
With uniqueness and specific aim.
S40:Connect based on short chain and the information content, obtain target push information.
Wherein, short chain connect be step S30 get link corresponding short chain with long in information to be pushed and connect, information
Content is the information content for specific transactions in the information model that step S20 is got, and the information content is filled into information
Information content module in template, short chain is connect the link module being filled into information model, that is, obtains target push information, and
Target push information is stored in caching server.
Caching server is using the buffered mode storage target push information in including but not limited to the present embodiment.It is slow
Punching storage is that the Web content for needing frequently to access is stored in from user compared near, the faster system of access speed, to improve
A kind of technology of access to content speed.Caching server is exactly the server that storage frequently accesses content so that user accesses letter
The speed of breath faster, lifts Consumer's Experience.
S50:Target push information is sent to the client corresponding with ID.
Wherein, client (Client) or be user terminal, refers to corresponding with server, and local service is provided for client
Terminal.In the present embodiment, ID includes but is not limited to the cell-phone number of targeted customer, correspondingly, corresponding with ID
Client is mobile phone.That is server can be according to the cell-phone number of user in step S50, and the target that step S40 is got pushes letter
Breath is sent in the client (i.e. mobile phone) of user, so that client shows the target push information.
The mode that server sends target push information to client includes but is not limited to timing sending method, can be every
The set time of the fixed dates in week sends, and reads the transmission time and mark the transmission time.Using Date (date) sides
Method, which is read, sends the time, to return to the date and time on the same day.It is to be appreciated that server often sends a target push information
Will send the time to it is marked so that target push information has timing.
In the present embodiment, information generation instruction is first obtained, information generation instruction includes information model ID and ID, with
Just information model ID and ID are based on, obtains the information to be pushed corresponding with user, the information to be pushed is included in information
Hold and length links.The instruction gathering information template generated according to information, the process save the time without human-edited so that letter
Breath pushes more efficient.Then short chain algorithm is turned using long-chain and capable conversion is tapped into long-chain, obtained short chain and connect.Finally, by mesh
Mark pushed information timing, which is sent to the client corresponding with ID and obtained, sends the time so that target push information has more
Timing.When the information-pushing method enters row information push, avoiding need to be by information because linking the long limitation number of words more than short message
Segmentation is sent to user, advantageously reduces information traffic volume, saves and sends cost.
In an embodiment, as shown in figure 4, after step S50, the information-pushing method also includes following step
Suddenly:
S61:Obtain the response message that client is sent.
Specifically, when server sends target push information to client corresponding to ID, client can be
Receive the response message sent during target push information from trend server so that server knows whether client receives
Information, and judge whether that based on response message target push information need to be resend to client.In the present embodiment, server exists
It can read present system time when receiving response message and record, so that its response message sent includes present system time.
S62:Judge whether the current response time for receiving response message exceedes the default response time.
Wherein, it is the response time that system was originally set to preset the response time.The current response time receives for server
The difference of system time (send time) of the system time obtained during response message with sending the target push information, that is, walk
The system time obtained in rapid S61 read when sending target push information with the server obtained in step S40 it is current when
Between difference.
S63:If the current response time exceedes the default response time, target push information is resend and gives ID
Corresponding client.
In the present embodiment, server, can be by institute when target push information is sent into client corresponding with ID row
The target push information caching of transmission in the server, and records the system time for sending the target push information (when sending
Between), to calculate the current response time, the default response time is exceeded in the current response time or more than the default response time
When not receiving response message also, the target push information for directly invoking server buffers storage is sent to client, during saving
Between, improve efficiency.
In an embodiment, in the information-pushing method, also include such as after step S30 and before step S40
Lower step:Short chain is connect and is labeled, so that short chain, which connects, carries short chain mark.Specifically, the step S30 short chains obtained are tapped into
Rower is noted so that short chain, which connects corresponding long link, has a mapping relations, and will carry the short chain that short chain identifies connect and its
Corresponding long link associated storage creates link information table in database, tool is stored with link information table in database
The short chain for having mapping relations connects, long link, short chain mark and long linked contents, so as to can simple and fast based on the link information table
Searching data storehouse is connect according to short chain to obtain corresponding long linked contents.In the present embodiment, long linked contents are included but not
It is limited to and the long web page contents for linking corresponding type of service.
In the embodiment, after step S50, the information-pushing method also includes step S70:Will be with the target
Web page contents are sent to client corresponding to pushed information.As shown in figure 5, step S70 specifically comprises the following steps:
S71:The access request that client is sent is received, access request identifies including short chain.
Specifically, after step S50, the target push information of client meeting display server transmission, target push letter
Breath connects and the information content comprising short chain, when user checks target push information by client, may be in click information it is short
Link checked, now client can receive the short chain access request that connects and input of user's click, and by the access request
Server is sent to, so that server obtains the access request that client is sent.The access request identifies including short chain, so as to base
In long link corresponding to the short chain identifier lookup.
S72:Based on long link corresponding to short chain identifier lookup, obtain and link corresponding web page contents with length.
Specifically, server can connect entrained short chain mark according to short chain and corresponding long-chain is searched in database
Connect.Wherein, link information table is stored with database, the link information table includes but is not limited to long link, short chain connects, short chain mark
Know and link corresponding web page contents (i.e. long linked contents) with length.It is to be appreciated that based on short chain identifier lookup corresponding to
Long link, corresponding web page contents are found further according to long link, and the process is converted to without short chain was connected into conversion method
Long link, long link corresponding to directly finding need to be only identified by short chain, the time is saved, lifts Consumer's Experience.
S73:Web page contents are sent to client.
Wherein, web page contents refer to link corresponding web page contents with long.Server can be based on short chain and identify in data
Corresponding long link is searched in storehouse, finds corresponding web page contents further according to long link, and send it to client.
Wherein, the advance associated storage of server links corresponding web page contents with the length of short chain mark association so that is subsequently passing through length
It is more convenient during web page contents corresponding to link lookup.
In the present embodiment, server receives the access request that client is sent, and to client return short chain connect it is corresponding
Long link web page contents, the web page contents that client can be transmitted by the reception server simultaneously include it in client.Wherein,
Web page contents are specially H5 (HTML, abbreviation HTML5) interface, facilitate user to check.HTML is
An application under standard generalized markup language." hypertext " refers to that picture, link, or even music, journey can be included in the page
The non-legible element such as sequence.The structure of HTML includes " head " part and " main body " part, wherein " head " portion provides pass
The particular content of webpage is provided in information (i.e. the content such as the title of webpage, preamble, explanation) " main body " part of webpage.
In an embodiment, as shown in fig. 6, the information-pushing method also comprises the following steps:
S81:The current cache time and current cache quantity of the target push information of statistical server caching.
Wherein, the current cache time of target push information refer to the target push information that server buffer has been sent when
Between, specially the system time of server pushes the difference of time (sending the time) with sending the target.Current cache quantity
For the quantity of all target push informations sent of server current cache.In the present embodiment, terminal device is built-in with use
In statistics current cache time and the script of current cache quantity, and it is timing operation to set the script, current with programming count
Cache-time and current cache quantity so that this process improves operating efficiency without artificial interference.
Specifically, server can also judge whether current cache time exceedes the preset buffer memory time.Wherein, during preset buffer memory
Between be cache-time that system is pre-set.Server is in one target push information of every transmission, record target push letter
The transmission time of breath, current cache time is determined further according to the system time and the transmission time of server, then judge to work as again
Whether preceding cache-time exceedes the preset buffer memory time.Reservation cache-time as pre-defined is 3 months, target push information
Current cache time is 2 months, then is not above the preset buffer memory time.In the present embodiment, current cache time is exceeded default
A Rule of judgment of the cache-time as the target push information for deleting caching, to reduce caching quantity, is avoided because of buffer memory
It is excessive, the problem of causing server exception.
Specifically, server can also judge whether current cache quantity exceedes preset buffer memory quantity.Wherein, preset buffer memory amount
Refer to the caching quantity that system is pre-set.Current cache quantity refers to all targets sent of server current cache
The quantity of pushed information.In the present embodiment, current cache quantity is exceeded into preset buffer memory quantity and pushed away as the target for deleting caching
Deliver letters another Rule of judgment of breath, can effectively avoid due to the problem of caching quantity overload causes server crash.
S82:If current cache time exceedes the preset buffer memory time, and/or current cache quantity exceedes preset buffer memory quantity,
Then delete target pushed information.
In step S82 there is following three kinds of situations in delete target pushed information:First, current cache time exceedes default delay
Deposit the time and current cache quantity exceedes preset buffer memory quantity, then delete target pushed information.Second, current cache time does not surpass
Spend the preset buffer memory time and current cache quantity exceedes preset buffer memory quantity, then delete target pushed information.Third, current cache
Time exceedes preset buffer memory time but current cache quantity not less than preset buffer memory quantity, then delete target pushed information.
In the present embodiment, if current cache time is A, preset buffer memory time B, current cache quantity is C, preset buffer memory number
Measure D, A>B=0, A<B=1, C<D=1, C>D=0.As (A>B)&&(C>) or (A D<B)&&(C>) or (A D>B)&&(C<
When D), delete target pushed information, to save the memory space of server.Wherein, Fu Hao && is logic and operation, and its computing is advised
It is then 0&&0=0,0&&1=0,1&&0=0,1&&1=1, i.e., when operation result output is 0, needs delete target pushed information.
, therefore, can root because each target push information that server is sent all carries having time mark (i.e. record has the transmission time)
According to the first target push information of time mark erasing time, to reach the memory space for saving server.
In the present embodiment, information generation instruction is first obtained, information generation instruction includes information model ID and ID, with
Just information model ID and ID are based on, obtains the information to be pushed corresponding with user, the information to be pushed is included in information
Hold and length links.Instruction gathering information template is generated according to information, the process saves the time without human-edited so that information
What is pushed is more efficient.Then short chain algorithm is turned using long-chain and capable conversion is tapped into long-chain, obtained short chain and connect, avoid server from sending out
During the target push information sent, information segmenting need to be sent to user because linking the long limitation number of words more than short message, be advantageous to
Information traffic volume is reduced, saves and sends cost, and Consumer's Experience can be lifted.Finally, target push information is sent to and user
Client corresponding ID, current cache time and current cache quantity are obtained, by current cache time and current cache quantity
Judge respectively compared with preset buffer memory time and preset buffer memory quantity, deleting useless target based on multilevel iudge result pushes away
Deliver letters breath, to reach the memory space for saving server, reduce the purpose of the load of server, can effectively avoid because of server mistake
The problem of carrying and causing server crash, lift the performance of server.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment 2
Fig. 7 shows the theory diagram with the one-to-one information push-delivery apparatus of information-pushing method in embodiment 1.Such as Fig. 7
Shown, the information push-delivery apparatus includes information generation instruction module 10, information to be pushed acquisition module 20, short chain and connects acquisition module
30th, target push information acquisition module 40, target push information sending module 50, short chain connect labeling module 90 and web page contents hair
Send module 70.Wherein, information generates instruction module 10, information to be pushed acquisition module 20, short chain connects acquisition module 30, target pushes away
Data obtaining module 40, target push information sending module 50, short chain is sent to connect labeling module 90 and web page contents sending module 70.
Realize that corresponding with information-pushing method in the embodiment step of function corresponds, to avoid repeating, the present embodiment is not one by one
It is described in detail.
Information generate instruction module 10, for obtain information generation instruction, information generation instruction include information model ID with
ID.
Information to be pushed acquisition module 20, for based on information model ID and ID, obtaining information to be pushed, waiting to push
Information is connect including long-chain and the information content.
Short chain connects acquisition module 30, and capable conversion is tapped into long-chain for turning short chain algorithm using long-chain, short chain is obtained and connects.
Target push information acquisition module 40, for being connect and described information content, acquisition target push information based on short chain.
Target push information sending module 50, for target push information to be sent to the client corresponding with ID
End.
Short chain connects labeling module 90, is labeled for being connect to short chain, so that short chain, which connects, carries short chain mark
Web page contents sending module 70, for web page contents corresponding with target push information to be sent into client.
Preferably, information to be pushed acquisition module 20 includes information model acquiring unit 21, user profile acquiring unit 22
With information to be pushed acquiring unit 23.
Information model acquiring unit 21, for based on information model ID, obtaining information model.
User profile acquiring unit 22, for based on information model ID, obtaining information model and being based on ID, obtain and use
User profile corresponding family ID.
Information to be pushed acquiring unit 23, for based on information model and user profile, obtaining information to be pushed.
Preferably, short chain connect acquisition module 30 include raw bytes string acquiring unit 31, target byte string acquiring unit 32,
33, eight hexadecimal number acquiring units 34 of target string acquiring unit, the first subscript value acquiring unit 35, the second subscript value
Acquiring unit 36 and short chain connect acquiring unit 37.
Raw bytes string acquiring unit 31, for long link to be spliced with default key value, obtain raw bytes string.
Target byte string acquiring unit 32, for raw bytes string to be encrypted using md5-challenge, obtain
Take target byte string.
Target string acquiring unit 33, for carrying out character type conversion to target byte string, obtain target string.
Eight hexadecimal number acquiring units 34, for being divided to target string step-by-step, obtain eight hexadecimal numbers.
First subscript value acquiring unit 35, for by eight hexadecimal numbers and hexadecimal first preset value carry out by
Position and computing, obtain the first subscript value.
Second subscript value acquiring unit 36, for by the first subscript value and hexadecimal second preset value carry out step-by-step with
Computing, obtain the second subscript value.
Short chain connects acquiring unit 37, for obtaining the character corresponding with the second subscript value from character array, is formed short
Link.
Preferably, web page contents sending module 70 includes access request receiving unit 71, the and of web page contents acquiring unit 72
Web page contents transmitting element 73.
Access request receiving unit 71, for receiving the access request of client transmission, access request identifies including short chain.
Web page contents acquiring unit 72, for being linked with length corresponding based on long link corresponding to short chain identifier lookup, acquisition
Web page contents.
Web page contents transmitting element 73, for being linked with length corresponding based on long link corresponding to short chain identifier lookup, acquisition
Web page contents.
Preferably, the information push-delivery apparatus also includes response information acquisition unit 61, response time judging unit 62 and mesh
Mark information retransmits unit 63.
Response information acquisition unit 61, for obtaining the response message of client transmission.
Response time judging unit 62, when judging whether the current response time for receiving response message exceedes default response
Between.
Target information retransmits unit 63, exceedes the default response time for the current response time, by target push information
Resend and give the corresponding client of ID.
Preferably, the information push-delivery apparatus also includes statistic unit 81 and target push information processing unit 82.
Statistic unit 81, current cache time and current cache number for the target push information of statistical server caching
Amount.
Target push information processing unit 82, for exceeding the preset buffer memory time in current cache time, and/or it is current slow
Deposit quantity and exceed preset buffer memory quantity, delete target pushed information.
Embodiment 3
The present embodiment provides a computer-readable recording medium, and computer journey is stored with the computer-readable recording medium
Sequence, the computer program realize information-pushing method in embodiment 1 when being executed by processor, no longer superfluous here to avoid repeating
State.Or the computer program realizes the work(of each module/unit of information push-delivery apparatus in embodiment 2 when being executed by processor
Can, to avoid repeating, repeat no more here.
Embodiment 4
Fig. 8 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 8, the terminal of the embodiment is set
Standby 100 include:Processor 101, memory 102 and storage are in the memory 102 and the calculating that can run on processor 101
Machine program 103.Processor 101 realizes the step in above-mentioned each information-pushing method embodiment when performing computer program 103,
Such as the step S10 to S50 shown in Fig. 1.Or realized during the execution computer program 103 of processor 101 in above-described embodiment 2
The function of each module/unit of information push-delivery apparatus.
Exemplary, computer program 103 can be divided into one or more module/units, one or more mould
Block/unit is stored in memory 102, and is performed by processor 101, to complete the present invention.One or more module/units
Can be the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to describe computer program 103
Implementation procedure in terminal device 100.Refer to for example, computer program 103 can be divided into information generation as shown in Figure 7
Make module 10, information to be pushed acquisition module 20, short chain connect acquisition module 30, target push information acquisition module 40, target to push away
Information sending module 50, short chain is sent to connect labeling module 90 and web page contents sending module 70, each module concrete function such as embodiment 2
It is described, do not repeat one by one herein.
Terminal device 100 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
Terminal device may include, but be not limited only to, processor 101, memory 102.It will be understood by those skilled in the art that Fig. 8 is only
It is the example of terminal device 100, does not form the restriction to terminal device 100, can includes than illustrating more or less portions
Part, some parts or different parts are either combined, such as terminal device can also include input-output equipment, network connects
Enter equipment, bus etc..
Alleged processor 101 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
Memory 102 can be the internal storage unit of terminal device 100, such as the hard disk or internal memory of terminal device 100.
Memory 102 can also be the plug-in type hard disk being equipped with the External memory equipment of terminal device 100, such as terminal device 100,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, memory 102 can also both include the internal storage unit of terminal device 100 or including external storage
Equipment.Memory 102 is used to store computer program and other programs and data needed for terminal device.Memory 102 is also
It can be used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
- A kind of 1. information-pushing method, it is characterised in that including:Information generation instruction is obtained, described information generation instruction includes information model ID and ID;Based on described information template ID and the ID, obtain information to be pushed, the information to be pushed include long link and The information content;Short chain algorithm is turned using long-chain capable conversion is tapped into the long-chain, obtained short chain and connect;Connect and described information content, acquisition target push information based on the short chain;The target push information is sent to the client corresponding with the ID.
- 2. information-pushing method as claimed in claim 1, it is characterised in that described to be based on described information template ID and the use Family ID, information to be pushed is obtained, including:Based on described information template ID, information model is obtained;Based on the ID, the user profile corresponding with the ID is obtained;Based on described information template and the user profile, information to be pushed is obtained.
- 3. information-pushing method as claimed in claim 1, it is characterised in that described that short chain algorithm is turned to the length using long-chain Link is converted, and is obtained short chain and is connect, including:The long link is spliced with default key value, obtains raw bytes string;The raw bytes string is encrypted using md5-challenge, obtains target byte string;Character type conversion is carried out to the target byte string, obtains target string;The target string step-by-step is divided, obtains eight hexadecimal numbers;Eight hexadecimal numbers and hexadecimal first preset value are subjected to step-by-step and computing, obtain the first subscript value;First subscript value and hexadecimal second preset value are subjected to step-by-step and computing, obtain the second subscript value;The character corresponding with second subscript value is obtained from preset characters array, the short chain is formed and connects.
- 4. information-pushing method as claimed in claim 1, it is characterised in that described that short chain algorithm is turned to the length using long-chain Link is converted, and is obtained short chain and is connect, also includes afterwards:The short chain is connect and is labeled so that the short chain connect carry it is short Chain identifies;It is described that the target push information is sent to the client corresponding with the ID, also include afterwards:Will with institute State web page contents corresponding to target push information and be sent to client;It is described that web page contents corresponding with the target push information are sent to client, including:The access request that the client is sent is received, the access request identifies including the short chain;Based on long link corresponding to the short chain identifier lookup, obtain and link corresponding web page contents with the length;The web page contents are sent to the client.
- 5. information-pushing method as claimed in claim 1, it is characterised in that it is described by the target push information be sent to The corresponding client of the ID, also includes afterwards:Obtain the response message that the client is sent;Judge whether the current response time for receiving the response message exceedes the default response time;If the current response time exceedes the default response time, the target push information is resend and gives institute State the corresponding client of ID.
- 6. information-pushing method as claimed in claim 1, it is characterised in that described information method for pushing also includes:Count the current cache time and current cache quantity of the target push information of the server buffer;If the current cache time exceedes the preset buffer memory time, and/or the current cache quantity exceedes preset buffer memory quantity, Then delete the target push information.
- A kind of 7. information push-delivery apparatus, it is characterised in that including:Information generates instruction module, and for obtaining information generation instruction, described information generation instruction includes information model ID and use Family ID;Information to be pushed acquisition module, for described based on described information template ID and the ID, acquisition information to be pushed Information to be pushed includes long link and the information content;Short chain connects acquisition module, and capable conversion is tapped into the long-chain for turning short chain algorithm using long-chain, short chain is obtained and connects;Target push information acquisition module, for being connect and described information content, acquisition target push information based on the short chain;Target push information sending module, for the target push information to be sent to the client corresponding with the ID End.
- 8. information-pushing method device as claimed in claim 7, it is characterised in that also include:Statistic unit, for the current cache time and current cache number of the target push information for counting the server buffer Amount;Target push information processing unit, for exceeding preset buffer memory time, and/or current cache in the current cache time Quantity exceedes the preset buffer memory quantity, deletes the target push information.
- 9. a kind of client device, including memory, processor and it is stored in the memory and can be in the processor The computer program of upper operation, it is characterised in that described in the computing device during computer program realize as claim 1 to The step of any one of 6 described information method for pushing.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In the step of realization such as any one of claim 1 to 6 described information method for pushing when the computer program is executed by processor Suddenly.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711134066.XA CN107749861A (en) | 2017-11-16 | 2017-11-16 | Information-pushing method, device, terminal device and storage medium |
PCT/CN2017/112539 WO2019095416A1 (en) | 2017-11-16 | 2017-11-23 | Information pushing method and apparatus, and terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711134066.XA CN107749861A (en) | 2017-11-16 | 2017-11-16 | Information-pushing method, device, terminal device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107749861A true CN107749861A (en) | 2018-03-02 |
Family
ID=61251206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711134066.XA Pending CN107749861A (en) | 2017-11-16 | 2017-11-16 | Information-pushing method, device, terminal device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107749861A (en) |
WO (1) | WO2019095416A1 (en) |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427751A (en) * | 2018-03-13 | 2018-08-21 | 深圳乐信软件技术有限公司 | A kind of short chain connects jump method, device and electronic equipment |
CN109255075A (en) * | 2018-09-07 | 2019-01-22 | 精硕科技(北京)股份有限公司 | Movable method for pushing, device, equipment and computer readable storage medium |
CN109302473A (en) * | 2018-09-28 | 2019-02-01 | 重庆赢者科技有限公司 | A kind of voice SMS transmission system and method |
CN109347898A (en) * | 2018-08-20 | 2019-02-15 | 深圳市梦网科技发展有限公司 | Scene information sending method, display method, server and mobile terminal |
CN109634683A (en) * | 2018-12-05 | 2019-04-16 | 珠海市小源科技有限公司 | The configuration of short message operation frame and method for pushing and device based on enterprise expectations |
CN109871496A (en) * | 2019-01-30 | 2019-06-11 | 重庆神指奇动网络有限公司 | A kind of information-pushing method, information display method, server and display equipment |
CN110134889A (en) * | 2019-04-30 | 2019-08-16 | 中国联合网络通信集团有限公司 | Short link generation method, device and server |
CN110148059A (en) * | 2019-04-15 | 2019-08-20 | 中国平安财产保险股份有限公司 | The method for pushing of vehicle insurance short message, device and system |
CN110191178A (en) * | 2019-05-29 | 2019-08-30 | 深圳市梦网科技发展有限公司 | A kind of message push system and information push method, terminal device |
CN110247963A (en) * | 2019-05-31 | 2019-09-17 | 北京智慧云行科技有限责任公司 | A kind of data push method and system |
CN110442805A (en) * | 2019-07-05 | 2019-11-12 | 深圳壹账通智能科技有限公司 | Data entry method, system, equipment and storage medium |
CN110580633A (en) * | 2018-06-08 | 2019-12-17 | 北京三快在线科技有限公司 | Information pushing method and device and server |
CN110662184A (en) * | 2019-08-15 | 2020-01-07 | 中国平安财产保险股份有限公司 | Information pushing method and device, computer equipment and storage medium |
WO2020113432A1 (en) * | 2018-12-04 | 2020-06-11 | 比特大陆科技有限公司 | Method and device for transmitting list information |
CN112035763A (en) * | 2020-09-01 | 2020-12-04 | 中国银行股份有限公司 | Information processing method, device and system, electronic equipment and storage medium |
CN112307369A (en) * | 2019-07-31 | 2021-02-02 | 腾讯科技(深圳)有限公司 | A short link processing method, device, terminal and storage medium |
CN112612711A (en) * | 2020-12-28 | 2021-04-06 | 中国平安财产保险股份有限公司 | UI automation test method and device through short link |
WO2021072664A1 (en) * | 2019-10-16 | 2021-04-22 | 深圳市欢太科技有限公司 | Information obtaining method and apparatus, system, electronic device, and storage medium |
CN113420238A (en) * | 2021-06-18 | 2021-09-21 | 浙江集享电子商务有限公司 | Short link generation method, device, electronic device and storage medium |
CN113435165A (en) * | 2021-06-23 | 2021-09-24 | 未鲲(上海)科技服务有限公司 | Data processing method, device, server and storage medium |
CN113496111A (en) * | 2020-04-03 | 2021-10-12 | 华为技术有限公司 | Character string processing method and device |
CN113554315A (en) * | 2021-07-26 | 2021-10-26 | 平安消费金融有限公司 | Business data tracking method, device, computer equipment and storage medium |
CN114491324A (en) * | 2022-02-07 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Information push method, device, computer equipment and storage medium |
CN114520741A (en) * | 2022-02-16 | 2022-05-20 | 平安科技(深圳)有限公司 | Information pushing method and related equipment and system |
CN115065721A (en) * | 2022-04-21 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
CN113761406B (en) * | 2021-09-03 | 2024-06-04 | 丰巢网络技术有限公司 | Intelligent cabinet two-dimension code short-chain generation method and device, medium and electronic equipment |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110851748A (en) * | 2019-10-14 | 2020-02-28 | 平安科技(深圳)有限公司 | Short link generation method, server, storage medium and computer equipment |
CN111047413B (en) * | 2019-12-17 | 2023-11-07 | 秒针信息技术有限公司 | Method, device, computer equipment and readable storage medium for acquiring text content |
CN112383584A (en) * | 2020-10-12 | 2021-02-19 | 联通智网科技有限公司 | Message pushing method, message display method and communication system |
CN113157625B (en) * | 2021-04-27 | 2023-12-19 | 百富计算机技术(深圳)有限公司 | Data transmission method, device, terminal equipment and computer-readable storage medium |
CN113312127A (en) * | 2021-05-13 | 2021-08-27 | 深圳市梦网云创科技有限公司 | Information display method, device, server and medium |
CN113220998B (en) * | 2021-05-14 | 2025-05-02 | 深圳市轱辘车联数据技术有限公司 | Information push method, device, electronic device and medium |
CN113221009A (en) * | 2021-05-26 | 2021-08-06 | 东莞市盟大塑化科技有限公司 | Invitation code generation method, device, equipment and storage medium |
CN114640957B (en) * | 2022-02-15 | 2024-03-19 | 深圳市梦网云创科技有限公司 | Short message sending method, system, equipment and computer readable storage medium |
CN114915655B (en) * | 2022-05-06 | 2024-02-09 | 广东保伦电子股份有限公司 | Information pushing method for filtering frequent operation and background server |
CN114710556B (en) * | 2022-06-08 | 2022-09-16 | 深圳市信润富联数字科技有限公司 | Multi-system integrated message pushing method, device, equipment and storage medium |
CN116393381A (en) * | 2023-04-11 | 2023-07-07 | 西安奕斯伟材料科技股份有限公司 | Sorting control method, sorting control device, sorting control equipment, sorting control medium and sorting control product |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674374A (en) * | 2009-09-02 | 2010-03-17 | 优视动景(北京)技术服务有限公司 | Webpage content extraction forwarding system for mobile communication terminal and application method thereof |
US20120047577A1 (en) * | 2010-08-23 | 2012-02-23 | Microsoft Corporation | Safe url shortening |
CN102810089A (en) * | 2011-05-30 | 2012-12-05 | 盛乐信息技术(上海)有限公司 | Content-based short link system and implementation method |
US8499099B1 (en) * | 2011-03-29 | 2013-07-30 | Google Inc. | Converting data into addresses |
CN104080059A (en) * | 2013-03-25 | 2014-10-01 | 中国移动通信集团福建有限公司 | Method, device and system of implementing short message sending and receiving |
CN105306383A (en) * | 2014-06-10 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Message push method, terminal and push server |
CN105933369A (en) * | 2015-12-24 | 2016-09-07 | 中国银联股份有限公司 | Message forwarding method and device |
CN106210161A (en) * | 2016-06-24 | 2016-12-07 | 中国银联股份有限公司 | A kind of short chain delivers a child into method and system |
CN106375189A (en) * | 2016-08-31 | 2017-02-01 | 北京炎黄新星网络科技有限公司 | Long and short link switching method and system |
CN106933854A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | Short linking processing method, device and server |
US20170310651A1 (en) * | 2016-04-25 | 2017-10-26 | Dice Corporation | Authenticated and functional sms links |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601736B (en) * | 2013-10-30 | 2018-10-23 | 腾讯科技(深圳)有限公司 | A kind of implementation method and device of short URL services |
CN105740357B (en) * | 2016-01-26 | 2018-12-28 | 尹子栋 | It is a kind of that the method and apparatus of information are provided |
CN107135283A (en) * | 2017-04-17 | 2017-09-05 | 南京欣网互联信息技术有限公司 | A kind of Chief Web Officer short chain configuring management method |
-
2017
- 2017-11-16 CN CN201711134066.XA patent/CN107749861A/en active Pending
- 2017-11-23 WO PCT/CN2017/112539 patent/WO2019095416A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674374A (en) * | 2009-09-02 | 2010-03-17 | 优视动景(北京)技术服务有限公司 | Webpage content extraction forwarding system for mobile communication terminal and application method thereof |
US20120047577A1 (en) * | 2010-08-23 | 2012-02-23 | Microsoft Corporation | Safe url shortening |
US8499099B1 (en) * | 2011-03-29 | 2013-07-30 | Google Inc. | Converting data into addresses |
CN102810089A (en) * | 2011-05-30 | 2012-12-05 | 盛乐信息技术(上海)有限公司 | Content-based short link system and implementation method |
CN104080059A (en) * | 2013-03-25 | 2014-10-01 | 中国移动通信集团福建有限公司 | Method, device and system of implementing short message sending and receiving |
CN105306383A (en) * | 2014-06-10 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Message push method, terminal and push server |
CN105933369A (en) * | 2015-12-24 | 2016-09-07 | 中国银联股份有限公司 | Message forwarding method and device |
CN106933854A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | Short linking processing method, device and server |
US20170310651A1 (en) * | 2016-04-25 | 2017-10-26 | Dice Corporation | Authenticated and functional sms links |
CN106210161A (en) * | 2016-06-24 | 2016-12-07 | 中国银联股份有限公司 | A kind of short chain delivers a child into method and system |
CN106375189A (en) * | 2016-08-31 | 2017-02-01 | 北京炎黄新星网络科技有限公司 | Long and short link switching method and system |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427751A (en) * | 2018-03-13 | 2018-08-21 | 深圳乐信软件技术有限公司 | A kind of short chain connects jump method, device and electronic equipment |
CN110580633B (en) * | 2018-06-08 | 2021-03-02 | 北京三快在线科技有限公司 | Information pushing method and device and server |
CN110580633A (en) * | 2018-06-08 | 2019-12-17 | 北京三快在线科技有限公司 | Information pushing method and device and server |
CN109347898A (en) * | 2018-08-20 | 2019-02-15 | 深圳市梦网科技发展有限公司 | Scene information sending method, display method, server and mobile terminal |
CN109347898B (en) * | 2018-08-20 | 2021-04-30 | 深圳市梦网科技发展有限公司 | Scene information sending method, scene information display method, server and mobile terminal |
CN109255075A (en) * | 2018-09-07 | 2019-01-22 | 精硕科技(北京)股份有限公司 | Movable method for pushing, device, equipment and computer readable storage medium |
CN109302473A (en) * | 2018-09-28 | 2019-02-01 | 重庆赢者科技有限公司 | A kind of voice SMS transmission system and method |
WO2020113432A1 (en) * | 2018-12-04 | 2020-06-11 | 比特大陆科技有限公司 | Method and device for transmitting list information |
US11838349B2 (en) | 2018-12-04 | 2023-12-05 | Hong Kong Sunstar Technology Co., Limited | Method and device for transmitting list information |
CN109634683A (en) * | 2018-12-05 | 2019-04-16 | 珠海市小源科技有限公司 | The configuration of short message operation frame and method for pushing and device based on enterprise expectations |
CN109871496A (en) * | 2019-01-30 | 2019-06-11 | 重庆神指奇动网络有限公司 | A kind of information-pushing method, information display method, server and display equipment |
CN110148059A (en) * | 2019-04-15 | 2019-08-20 | 中国平安财产保险股份有限公司 | The method for pushing of vehicle insurance short message, device and system |
CN110134889A (en) * | 2019-04-30 | 2019-08-16 | 中国联合网络通信集团有限公司 | Short link generation method, device and server |
CN110134889B (en) * | 2019-04-30 | 2021-08-10 | 中国联合网络通信集团有限公司 | Short link generation method and device and server |
CN110191178A (en) * | 2019-05-29 | 2019-08-30 | 深圳市梦网科技发展有限公司 | A kind of message push system and information push method, terminal device |
CN110247963A (en) * | 2019-05-31 | 2019-09-17 | 北京智慧云行科技有限责任公司 | A kind of data push method and system |
WO2021003979A1 (en) * | 2019-07-05 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Data entry method and system, device and storage medium |
CN110442805A (en) * | 2019-07-05 | 2019-11-12 | 深圳壹账通智能科技有限公司 | Data entry method, system, equipment and storage medium |
CN112307369A (en) * | 2019-07-31 | 2021-02-02 | 腾讯科技(深圳)有限公司 | A short link processing method, device, terminal and storage medium |
CN110662184A (en) * | 2019-08-15 | 2020-01-07 | 中国平安财产保险股份有限公司 | Information pushing method and device, computer equipment and storage medium |
WO2021072664A1 (en) * | 2019-10-16 | 2021-04-22 | 深圳市欢太科技有限公司 | Information obtaining method and apparatus, system, electronic device, and storage medium |
CN114270389B (en) * | 2019-10-16 | 2025-02-11 | 深圳市欢太科技有限公司 | Information acquisition method, device, system, electronic device and storage medium |
CN114270389A (en) * | 2019-10-16 | 2022-04-01 | 深圳市欢太科技有限公司 | Information acquisition method, device, system, electronic device, and storage medium |
CN113496111B (en) * | 2020-04-03 | 2025-06-13 | 华为技术有限公司 | String processing method and device |
CN113496111A (en) * | 2020-04-03 | 2021-10-12 | 华为技术有限公司 | Character string processing method and device |
CN112035763A (en) * | 2020-09-01 | 2020-12-04 | 中国银行股份有限公司 | Information processing method, device and system, electronic equipment and storage medium |
CN112612711A (en) * | 2020-12-28 | 2021-04-06 | 中国平安财产保险股份有限公司 | UI automation test method and device through short link |
CN113420238A (en) * | 2021-06-18 | 2021-09-21 | 浙江集享电子商务有限公司 | Short link generation method, device, electronic device and storage medium |
CN113435165A (en) * | 2021-06-23 | 2021-09-24 | 未鲲(上海)科技服务有限公司 | Data processing method, device, server and storage medium |
CN113554315A (en) * | 2021-07-26 | 2021-10-26 | 平安消费金融有限公司 | Business data tracking method, device, computer equipment and storage medium |
CN113761406B (en) * | 2021-09-03 | 2024-06-04 | 丰巢网络技术有限公司 | Intelligent cabinet two-dimension code short-chain generation method and device, medium and electronic equipment |
CN114491324A (en) * | 2022-02-07 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Information push method, device, computer equipment and storage medium |
CN114520741A (en) * | 2022-02-16 | 2022-05-20 | 平安科技(深圳)有限公司 | Information pushing method and related equipment and system |
CN114520741B (en) * | 2022-02-16 | 2023-07-14 | 平安科技(深圳)有限公司 | Information pushing method, related equipment and system |
CN115065721A (en) * | 2022-04-21 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
CN115065721B (en) * | 2022-04-21 | 2024-06-21 | 北京达佳互联信息技术有限公司 | Message processing method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019095416A1 (en) | 2019-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107749861A (en) | Information-pushing method, device, terminal device and storage medium | |
CN107682397A (en) | Customer resources acquisition methods, device, terminal device and storage medium | |
CN106875303A (en) | The method and apparatus for realizing electronic protocol signing | |
CN108564339A (en) | A kind of account management method, device, terminal device and storage medium | |
CN107800819A (en) | A kind of generation method of file identification, device and server | |
CN110070359A (en) | Verification of data system, method, calculating equipment and storage medium based on block chain | |
CN108038229A (en) | Government affairs information search method, system and terminal device | |
CN111026858A (en) | Project information processing method and device based on project recommendation model | |
CN108829838A (en) | A kind of account information batch processing method and server | |
US11128479B2 (en) | Method and apparatus for verification of social media information | |
CN104392197A (en) | Method for increasing reading rate and encryption of website two-dimensional code tags | |
CN115080651A (en) | Excel data import method, device, electronic device and storage medium | |
CN114793244A (en) | Resource processing method, device, equipment and medium for block chain | |
CN115941352B (en) | Information security interaction method and device based on big data, electronic equipment and storage medium | |
CN109670100A (en) | A kind of page data grasping means and device | |
CN104657359A (en) | Webpage content and style recording method by using website | |
CN108537065A (en) | Reference information processing method | |
CN104679843A (en) | Method and system for inquiring advertisement putting state in real time | |
CN107124265A (en) | A kind of identity identifying method based on Hash hash tables | |
CN106960158A (en) | A kind of method and apparatus for preventing blog from being retrieved by web crawlers | |
CN108156273A (en) | A kind of anonymous ID generation methods, device and electronic equipment | |
CN118820327A (en) | Report generation method and report generation system | |
Zhang et al. | Improved upper bound on the complementary error function | |
CN101516086B (en) | Service matching method for mobile communication | |
CN118138448A (en) | Method, related device and computer program product for providing cloud phone configuration |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180302 |