CN105718534B - Information pushing apparatus, information pushing method and client - Google Patents
Information pushing apparatus, information pushing method and client Download PDFInfo
- Publication number
- CN105718534B CN105718534B CN201610029606.7A CN201610029606A CN105718534B CN 105718534 B CN105718534 B CN 105718534B CN 201610029606 A CN201610029606 A CN 201610029606A CN 105718534 B CN105718534 B CN 105718534B
- Authority
- CN
- China
- Prior art keywords
- information
- emoticon
- self
- pushed information
- character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000009877 rendering Methods 0.000 claims abstract description 39
- 230000014509 gene expression Effects 0.000 claims abstract description 31
- 238000013507 mapping Methods 0.000 claims abstract description 21
- 238000000605 extraction Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 229940104697 arixtra Drugs 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- KANJSNBRCNMZMV-ABRZTLGGSA-N fondaparinux Chemical compound O[C@@H]1[C@@H](NS(O)(=O)=O)[C@@H](OC)O[C@H](COS(O)(=O)=O)[C@H]1O[C@H]1[C@H](OS(O)(=O)=O)[C@@H](O)[C@H](O[C@@H]2[C@@H]([C@@H](OS(O)(=O)=O)[C@H](O[C@H]3[C@@H]([C@@H](O)[C@H](O[C@@H]4[C@@H]([C@@H](O)[C@H](O)[C@@H](COS(O)(=O)=O)O4)NS(O)(=O)=O)[C@H](O3)C(O)=O)O)[C@@H](COS(O)(=O)=O)O2)NS(O)(=O)=O)[C@H](C(O)=O)O1 KANJSNBRCNMZMV-ABRZTLGGSA-N 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000004247 hand Anatomy 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiments of the invention provide an information pushing apparatus and method that support user-defined expressions in pushed information. The information pushing method provided by the embodiment of the invention comprises the steps of firstly, according to a pre-defined mapping relationship, replacing characters based on unified character encoding standards in the pushed information with user-defined expression symbols; and secondly, rendering the replaced pushed information to be a bit map and performing display through a display window of the client. According to the method and apparatus, the information with the content of the user-defined expression symbols can be pushed, so that the attraction of the pushed information to users is enhanced and the click rate of the pushed information is increased.
Description
Technical field
The present invention relates to information advancing technique field, in particular to information push-delivery apparatus, information-pushing method and
Client.
Background technology
Smart mobile phone, mobile internet surfing equipment (Mobile Internet Device, MID) and personal digital assistant
The electronic equipment such as (Personal Digital Assistant, PDA), panel computer has become in people's routine work and life
Indispensable communication and converter tools.Many electronic equipments all support that User Defined installs various application programs
(Application, App), to meet different user's requests.Electronic equipment is described after corresponding application program is installed
The backstage of application program can regularly provide the user the push function of information when having new information or news is produced.However, big
Push function in the operating system (such as Android, Android system) of most electronic equipments to information
(Notification) it is made that strict system is limited, when carrying out information pushing by Notification, sending out notice hurdle
Display content can only be simple word content.User is caused to feel withered when the display content on sending out notice hurdle is seen
It is dry, reduce user and open the wish that pushed information is checked.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of information push-delivery apparatus, information-pushing method and visitor
Family end.
A kind of information push-delivery apparatus provided in an embodiment of the present invention, are applied to the client being connected with a server communication,
Described information pusher includes:
Data base, be stored with a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined emoticon
Number, each self-defined emoticon has one-to-one with the character encoded according to default unicode
Mapping relations;
Pushed information receiver module, for receiving the first pushed information that the server sends;
Character extraction module, for extracting that first pushed information includes according to the default uniform character
The character that coding standard is encoded;
Character replacement module, for the character for extracting to be replaced with into corresponding self-defined emoticon, generation includes
Second pushed information of self-defined emoticon;
View rendering module, for the second pushed information of above-mentioned generation to be carried out into view rendering, generate comprising this second
The bitmap of pushed information;And
Info push module, for by the bitmap comprising second pushed information of above-mentioned generation by the client
Display window shown.
Preferably, the view rendering module carries out the view wash with watercolours of standard according to the text attribute of first pushed information
Dye, the text attribute includes the spacing between test font size, character in first pushed information.
Preferably, the picture that system is supported during described information pushing module is by calling the client shows control
To be shown by the display window including the bitmap of second pushed information.
Preferably, described information pusher also includes:Emoticon update module, for receiving emoticon letter is updated
Breath, and the emoticon fresh information is stored into into the data base, the emoticon fresh information includes new addition
The mapping relations of the character that self-defined emoticon and the self-defined emoticon are encoded with unicode.
Preferably, the client is provided with from the operating system suitable for the client of server download
Application program, the operating system is Android system.
A kind of information-pushing method provided in an embodiment of the present invention, is applied to the client being connected with a server communication,
The client includes data base, and the database purchase has a self-defined expression bag, and the self-defined expression bag is stored with least
One self-defined emoticon, each self-defined emoticon and the word encoded according to default unicode
Symbol has one-to-one mapping relations;Described information method for pushing includes:
Receive the first pushed information that the server sends;
Extract that first pushed information includes is encoded according to the default unicode
Character;
The character for extracting is replaced with into corresponding self-defined emoticon, generation includes the of self-defined emoticon
Two pushed informations;
Second pushed information of above-mentioned generation is carried out into view rendering, the bitmap comprising second pushed information is generated;And
The bitmap comprising second pushed information of above-mentioned generation is shown by the display window of the client
Show.
Preferably, it is described to include the step of second pushed information of above-mentioned generation is carried out into view rendering:
The view rendering of standard is carried out according to the text attribute of first pushed information, the text attribute includes described
The spacing between test font size, character in first pushed information.
Preferably, the display that the bitmap comprising second pushed information of above-mentioned generation is passed through into the client
The step of window is shown includes:
The picture that system is supported in by calling the client shows that control will be including second pushed information
Bitmap shown by the display window.
Preferably, described information method for pushing also includes:
Information push-delivery apparatus receive emoticon fresh information, and the emoticon fresh information is stored into into the number
According to storehouse, the emoticon fresh information includes the self-defined emoticon of new addition and the self-defined emoticon and unification
The mapping relations of the character that character encoding standard is encoded.
A kind of client provided in an embodiment of the present invention, including:
Memorizer;
Processor;And
Information push-delivery apparatus, described information pusher is stored in the memorizer and by described including one or more
The module that reason device is performed, described information pusher includes:
Data base, be stored with a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined emoticon
Number, each self-defined emoticon has one-to-one with the character encoded according to default unicode
Mapping relations;
Pushed information receiver module, for receiving the first pushed information that the server sends;
Character extraction module, for extracting that first pushed information includes according to the default uniform character
The character that coding standard is encoded;
Character replacement module, for the character for extracting to be replaced with into corresponding self-defined emoticon, generation includes
Second pushed information of self-defined emoticon;
View rendering module, for the second pushed information of above-mentioned generation to be carried out into view rendering, generate comprising this second
The bitmap of pushed information;And
Info push module, for by the bitmap comprising second pushed information of above-mentioned generation by the client
Display window shown.
Compared with prior art, information push-delivery apparatus provided in an embodiment of the present invention, information-pushing method and client,
Can realize including the information pushing of self-defined expression symbol content, increased captivation of the pushed information to user, improve
The clicking rate of pushed information.Meanwhile, by using unified self-defined emoticon, provide content for all users consistent
Consumer's Experience.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to what is used needed for embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this
A little accompanying drawings obtain other related accompanying drawings.
The schematic diagram that Fig. 1 is interacted for the client that present pre-ferred embodiments are provided with server.
Fig. 2 is the block diagram of the client shown in Fig. 1.
The functional module frame of the information push-delivery apparatus of the client shown in Fig. 2 that Fig. 3 is provided for present pre-ferred embodiments
Figure.
The flow process of the information-pushing method for being applied to the client shown in Fig. 3 that Fig. 4 is provided for present pre-ferred embodiments
Figure.
Main element symbol description
Server | 100 |
Client | 200 |
Information push-delivery apparatus | 10 |
Memorizer | 20 |
Processor | 30 |
Data base | 101 |
Pushed information receiver module | 102 |
Character extraction module | 103 |
Character replacement module | 104 |
View rendering module | 105 |
Info push module | 106 |
Emoticon update module | 107 |
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Generally exist
Herein the component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations.Cause
This, below the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, being the client 200 that present pre-ferred embodiments are provided and the signal that server 100 is interacted
Figure.The server 100 is communicatively coupled by network with one or more clients 200, to enter row data communication or friendship
Mutually.The server 100 can provide at least one application program (Application, APP) for being applied to various operating systems
Installation kit download for the client 200.After the client 200 is by server 100 described in the network access, can lead to
The installation kit that the network downloads the application program of the operating system for being applied to the client 200 from server 100 is crossed, by institute
State application program to be installed in the client 200.In the present embodiment, the client 200 install the application program it
Afterwards, the client 200 can regularly receive the pushed information of the relevant described application program of the push of the server 100.This compared with
In good embodiment, the client is provided with the application of the operating system suitable for the client downloaded from the server
Program, the operating system is Android system.The application program is preferably browser, such as UC browsers.
The server 100 may be, but not limited to, network (Web) server, ftp (file transfer
Protocol, file transfer protocol (FTP)) server, database server etc..The client 200 may be, but not limited to, intelligence
Mobile phone, panel computer, Intelligent worn device etc..The operating system of the client 200 may be, but not limited to, ARIXTRA
(Android) system, IOS systems, Windows Phone systems etc..Preferably, in the present embodiment, the electronic equipment 100
Operating system is Android system.
As shown in Fig. 2 being the block diagram of the client 200.The client 200 includes information push-delivery apparatus
10th, memorizer 20 and processor 30.
The memorizer 20 and processor 30 are directly or indirectly electrically connected with each other, to realize the transmission of data
Or interaction.For example, can realize being electrically connected with by one or more communication bus or holding wire each other.
Wherein, memorizer 20 may be, but not limited to, random access memory (Random Access Memory,
RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memorizer 20 is used for storage program, and the processor 30 performs described program after execute instruction is received.
A kind of possibly IC chip of shown processor 30, the disposal ability with signal.Above-mentioned processor 30
Can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), special IC (ASIC),
Ready-made programmable gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hard
Part component.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor
Can be microprocessor or the processor 30 can also be any conventional processor etc..
Described information pusher 10 can be deposited including at least one or more in the form of software or firmware (firmware)
It is stored in the memorizer 20 or is solidificated in and is in the operating system of the client 200 (operating system, OS) soft
Part functional module.The processor 30 is used to perform the executable module stored in memorizer 20, and such as described information pushes dress
Put 10 software function modules for including or computer program.In the present embodiment, the client is provided with from the server
The application program of the operating system suitable for the client downloaded, the operating system is Android system.Described information is pushed away
Send device 10 to be mounted to a single application program of client 200, or download what is installed from server 100
One part (such as One function module) of application program.
Refer to Fig. 3, be present pre-ferred embodiments provide Fig. 2 shown in client 200 information push-delivery apparatus 10
Functional block diagram.Described information pusher 10 includes that data base 101, pushed information receiver module 102, character extract mould
Block 103, character replacement module character replacement module 104, view rendering module 105, info push module 106 and emoticon
Update module 107.
The data base 101 is stored with a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined
Emoticon, each self-defined emoticon has one by one with the character encoded according to default unicode
Corresponding mapping relations.
Emoticon is applied widely in common communication or social software, and user can by emoticon
The more lively feature for giving expression to one's sentiment or describing things.In the present embodiment, self-defined emoticon is picture format, therefore institute
It is an expression picture bag to state expression bag.The self-defined emoticon can be emoticon common at present (such as emoji tables
Feelings symbol), or other newly-designed emoticons.In data base 101, each self-defined emoticon is present
The character of corresponding Unicode codings is corresponded to therewith.Self-defined emoticon can with the mapping relations of the character of Unicode codings
It was configured in advance before the data base 101 is added, can also modifies at any time as needed afterwards.
The pushed information receiver module 102 is used to receive the first pushed information of the transmission of the server 100.
When server 100 has announcement information (such as news) to need to push, the first pushed information is sent to into client
200, received by pushed information receiver module 102.Server 100 send the first pushed information in, except text message with
Outward, the character encoded by Unicode can also be included.For example, the first pushed information that server 100 sends includes " hello "
The character of text message and Unicode corresponding with " smiling face " emoticon codings.In order to ensure the unification of mapping relations, clothes
Business device 100 also can be preserved and the self-defined emoticon of identical in the data base 101, and be stored in server 100 oneself
Define the mapping relations between the character of emoticon and Unicode codings.Specifically, the data base 101 can be in the visitor
The application program is downloaded from server 100 and is unziped to automatically in the client 200 when installing in family end 200.
The character extraction module 103 is used to extracting that first pushed information to include according to the default unification
The character that character encoding standard is encoded.
After receiving the first pushed information, first confirm that in the first pushed information with the presence or absence of the character of Unicode codings.
If it is present the character of the Unicode codings in the first pushed information is extracted.In first pushed information
The character of Unicode codings is probably multiple continuously arranged, it is also possible to which discrete is distributed between other text messages.Make
For the preferred implementation that this is implemented, when the character of Unicode codings is extracted, to its order in the first pushed information and
Position is recorded, it is ensured that need the content of announcement for pushing not to be changed when subsequent operation is carried out or order will not be disturbed.
The character replacement module 104 is used to for the character for extracting to replace with corresponding self-defined emoticon, generates
Include the second pushed information of self-defined emoticon.
After the character of Unicode codings is extracted from the first pushed information, according to self-defined emoticon in data base 101
Number with Unicode coding character mapping relations, search extract Unicode coding the corresponding self-defined expression of character
Symbol, the character of the Unicode codings in the first pushed information is replaced with the self-defined emoticon for finding.Preferably, exist
On the basis of have recorded the order and position of the character in the first pushed information of Unicode codings of extraction, according to what is extracted
The position that order is successively located the character that the self-defined emoticon for finding is substituted into the first pushed information Central Plains Unicode codings
Place is put, the second pushed information is obtained.In second pushed information, replace the self-defined emoticon of the character of original Unicode codings
Shared bit wide and the distance with other text messages, all with the bit wide shared by the character of former Unicode codings and and its
His distance of text message is identical.
The view rendering module 105 is used to for the second pushed information of above-mentioned generation to carry out view rendering, and generation is included
The bitmap of second pushed information.
The operation of view rendering can call the function with view rendering function to perform.Specifically, letter is pushed to second
When breath carries out view rendering, the view rendering module 105 carries out standard according to the text attribute of first pushed information
View rendering, the text attribute includes, but not limited to test font size, the adjacent character in first pushed information
Between spacing etc..Wherein, the view rendering for carrying out standard refers to, the text that the bitmap generated after view rendering is seen and text
Spacing, text character size between this etc. does not all change compared with the first original pushed information.I.e. according to first
Spacing between the test font size and character of pushed information script carries out view rendering, retains the first pushed information Chinese version
The value of every relevant parameter, rendering result is exported in bitmap (bitmap) in attribute, obtains second pushed information
Bitmap.
Described information pushing module 106 is used for the bitmap comprising second pushed information of above-mentioned generation by described
The display window of client 200 is shown.
Specifically, described information pushing module 106 can by calling client 200 in system support a picture show
Control (such as the Imageview of notification in Android system) will pass through described including the bitmap of second pushed information
Display window is shown.
Self-defined emoticon in due to the second pushed information come from being pre-saved in the data base 101 from
Definition expression bag, the second pushed information is carried out after view rendering, is recalled the picture that system is supported in client 200 and is shown
Show that control is shown, for the client 200 for having used different operating system, its final bitmap for showing is also identical.
When the client 200 of multiple use different operating systems is connected with server 100, the sending out notice of server 100
When, only need to send the pushed information of identical first, you can information pushing is carried out to different clients 200, each client is realized
The concordance of the final content of announcement for showing in end 200.
The emoticon update module 107 is used to receive emoticon fresh information, and the emoticon is updated
Information is stored into the data base 101, and the emoticon fresh information includes the self-defined emoticon of new addition and is somebody's turn to do
The mapping relations of the character that self-defined emoticon is encoded with unicode.Table in the data base 101
Feelings symbol can update at any time, complete to update operation by receiving emoticon fresh information.Emoticon fresh information can
To be sent by the server 100 being connected with client 200, it is also possible to directly enter in client 200.Or, the data base
Self-defined expression bag in 101 can when the application version for receiving the transmission of server 100 updates with the version of application program
This is updated in the lump.By the continuous renewal to self-defined emoticon in data base 101, self-defined emoticon is increased
Multiformity, further increase the experience of user.
Fig. 4 is referred to, is the information pushing of the client 200 being applied to shown in Fig. 3 that present pre-ferred embodiments are provided
The flow chart of method.The idiographic flow and step shown in Fig. 4 will be described in detail below.
Step S401, the pushed information receiver module 102 receives the first pushed information of the transmission of the server 100.
In the present embodiment, the first pushed information is sent to the server 100 client 200 being attached thereto, visitor
When family end 200 perceives server 100 and has push, the content of text of the first pushed information that server 100 is pushed is obtained.
Step S402, the character extraction module 103 is extracted present in first pushed information according to described pre-
If the character that encoded of unicode.
In the present embodiment, the first pushed information includes the interior of two parts of character that Word message and Unicode are encoded
Hold, the character extraction module 103 extracts the character portion of Unicode codings.
The character for extracting is replaced with corresponding self-defined emoticon by step S403, the character replacement module 104,
Generation includes the second pushed information of self-defined emoticon.
The difference of the second pushed information and the first pushed information is, the word of the Unicode codings in the first pushed information
Symbol has replaced with corresponding self-defined emoticon in the second pushed information.Word message part in second pushed information
Content do not have because self-defined emoticon replace Unicode coding character produce change.
Second pushed information of above-mentioned generation is carried out view rendering by step S404, the view rendering module 105, is generated
Bitmap comprising second pushed information.
Wherein, it is to the concrete mode that the second pushed information carries out view rendering, according to the text of first pushed information
This attribute carries out the view rendering of standard, and the text attribute includes test font size, the word in first pushed information
Spacing between symbol.While the text attribute of the first pushed information is retained, the bitmap of generation and the second pushed information content
It is consistent.
Step S405, described information pushing module 106 leads to the bitmap comprising second pushed information of above-mentioned generation
The display window for crossing the client 200 is shown.
Specifically, the picture that system is supported during described information pushing module 106 is by calling client 200 shows control
Part will be shown including the bitmap of second pushed information by the display window.Because the bitmap for generating is pushed away with second
Send information content to be consistent, though using picture show that control is different, the content being shown on the display window of client 200
It is also identical.
Step S406, the emoticon update module 107 receives emoticon fresh information, and by the emoticon
Fresh information is stored into the data base 101.
Emoticon fresh information includes the self-defined emoticon of new addition and the self-defined emoticon and unification
The mapping relations of the character that character encoding standard is encoded.As preferred embodiment, for self-defined emoticon
Update, in addition to adding new self-defined emoticon, can also be to the self-defined expression in already stored in data base 101
Symbol is modified, or changes the mapping relations between the character of self-defined emoticon and Unicode codings.
The information-pushing method that the present invention is provided is described in more detail below by a specific example.
For example, it is assumed that there is multiple client 200 to be the intelligent handss for being respectively provided with variety classes ARIXTRA (Android) system
Machine, client 200 is downloaded application program (such as browser) and is installed from server, and information push-delivery apparatus 10 are to download and be installed on
The part of functions module of the browser of smart mobile phone, the server 100 is the background server of the browser.It is new when having
(such as the hot news for just having occurred) when notice needs to push, server 100 is pushed away include the character of Unicode codings first
Breath of delivering letters is sent to each smart mobile phone, and the browser that each smart mobile phone is installed obtains the after the first pushed information is received
The content of text of one pushed information, extracts the character of the codings of Unicode present in the first pushed information.The data base
101 is the local data base 101 of browser, wherein the self-defined emoticon for preserving is emoji expressions, each emoji expression
Character all to there is the Unicode for pre-setting codings.Browser performs replacement by the control with text replacement function
Operation (the span replacement operations as performed TextView), by the character that the Unicode of extraction is encoded corresponding emoji is replaced with
Expression, obtains the second pushed information.Then the function with view rendering function is recalled, according to first pushed information
Text attribute carries out the view rendering of standard to the second pushed information, and the content for rendering is stored in bitmap, obtains
The bitmap of two pushed informations.In Android system, Notification supports the push function of information, the display on sending out notice hurdle
Content can only be simple word.In order to overcome this problem, the picture that bitmap file gives system support is shown into control
Part (such as the ImageView of Notification) is processed.Bitmap is shown to by ImageView for the push of smart mobile phone
Informing so that user can view the sending out notice including emoji expressions.
Information-pushing method provided in an embodiment of the present invention, the character that the Unicode in the first pushed information is encoded
Replacement operation, is completed by information push-delivery apparatus 10, and according to the self-defined emoticon of identical and mapping relations so that
The system of all versions is finally shown identical sending out notice.Emoticon in due to being stored in data base 101 is certainly
Define emoticon, can at any time to data base 101 in self-defined expression bag be updated.
In sum, the present invention implements information push-delivery apparatus, information-pushing method and the client for providing, and is carrying out letter
When breath is pushed, first according to predefined mapping relations, the character in pushed information is replaced with into self-defined emoticon, so
Afterwards the pushed information after replacement is rendered into into bitmap, is shown by the display window of client 200.So, it is possible to achieve
Include the information pushing of self-defined expression symbol content, increased captivation of the pushed information to user, improve push letter
The clicking rate of breath, effectively improves the active degree of user.Meanwhile, by using unified self-defined emoticon, by useful
Family provides the consistent Consumer's Experience of content.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through
Other modes are realized.Device embodiment described above is only schematic, for example, the flow chart and block diagram in accompanying drawing
Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of module, program segment or a code
Part a, part for the module, program segment or code is used to realize holding for the logic function of regulation comprising one or more
Row instruction.It should also be noted that at some as in the implementations replaced, the function of being marked in square frame can also be being different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, and they are sometimes
Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can be with the special base of the function or action for performing regulation
Realize in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is realized and as independent production marketing or when using using in the form of software function module, can be with
In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply these entities or there is any this reality between operating
The relation or order on border.And, term " including ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that a series of process, method, article or equipment including key elements is not only including those key elements, but also including
Other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.
In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists
Similar terms is represented in figure below, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing
It is further defined and is explained.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of information push-delivery apparatus, are applied to the client being connected with a server communication, it is characterised in that described information is pushed away
Device is sent to include:
Data base, be stored with a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined emoticon, often
Individual self-defined emoticon has one-to-one mapping with the character encoded according to default unicode
Relation;
Pushed information receiver module, for receiving the first pushed information that the server sends;
Character extraction module, for extracting that first pushed information includes according to the default Unicode
The character that standard is encoded;
Character replacement module, for the character for extracting to be replaced with into corresponding self-defined emoticon, generation includes to be made by oneself
Second pushed information of adopted emoticon;
View rendering module, for the second pushed information of above-mentioned generation to be carried out into view rendering, generates comprising second push
The bitmap of information;And
Info push module, for the showing by the client by the bitmap comprising second pushed information of above-mentioned generation
Show that window is shown.
2. information push-delivery apparatus according to claim 1, it is characterised in that the view rendering module is according to described first
The text attribute of pushed information carries out the view rendering of standard, and the text attribute includes the text in first pushed information
Spacing between font size, character.
3. information push-delivery apparatus according to claim 1, it is characterised in that described information pushing module is described by calling
The picture that system is supported in client shows that control will pass through the display window including the bitmap of second pushed information
Mouth is shown.
4. information push-delivery apparatus according to claim 1, it is characterised in that described information pusher also includes:
Emoticon update module, for receiving emoticon fresh information, and the emoticon fresh information is stored into
The data base, the emoticon fresh information includes the self-defined emoticon and the self-defined emoticon of new addition
The mapping relations of the character encoded with unicode.
5. information push-delivery apparatus according to claim 1, it is characterised in that the client is provided with from the server
The application program of the operating system suitable for the client downloaded, the operating system is Android system.
6. a kind of information-pushing method, is applied to the client being connected with a server communication, it is characterised in that the client
Including data base, the database purchase has a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined
Emoticon, each self-defined emoticon has one by one with the character encoded according to default unicode
Corresponding mapping relations;
Described information method for pushing includes:
Receive the first pushed information that the server sends;
Extract the word encoded according to the default unicode that first pushed information includes
Symbol;
The character for extracting is replaced with into corresponding self-defined emoticon, generation includes the second of self-defined emoticon and pushes away
Deliver letters breath;
Second pushed information of above-mentioned generation is carried out into view rendering, the bitmap comprising second pushed information is generated;And
The bitmap comprising second pushed information of above-mentioned generation is shown by the display window of the client.
7. information-pushing method according to claim 6, it is characterised in that second pushed information by above-mentioned generation
The step of carrying out view rendering includes:
The view rendering of standard is carried out according to the text attribute of first pushed information, the text attribute includes described first
The spacing between test font size, character in pushed information.
8. information-pushing method according to claim 6, it is characterised in that it is described by above-mentioned generation comprising described second
The step of bitmap of pushed information is shown by the display window of the client includes:
The picture that system is supported in by calling the client shows control by including the position of second pushed information
Figure is shown by the display window.
9. information-pushing method according to claim 6, it is characterised in that described information method for pushing also includes:
Emoticon fresh information is received, and the emoticon fresh information is stored into into the data base, the emoticon
Number fresh information includes that the self-defined emoticon and the self-defined emoticon of new addition enters with unicode
The mapping relations of the character of row coding.
10. a kind of client, it is characterised in that the client includes:
Memorizer;
Processor;And
Information push-delivery apparatus, described information pusher is stored in the memorizer and by the processor including one or more
The module of execution, described information pusher includes:
Data base, be stored with a self-defined expression bag, and the self-defined expression bag is stored with least one self-defined emoticon, often
Individual self-defined emoticon has one-to-one mapping with the character encoded according to default unicode
Relation;
Pushed information receiver module, for receiving the first pushed information that the server sends;
Character extraction module, for extracting that first pushed information includes according to the default Unicode
The character that standard is encoded;
Character replacement module, for the character for extracting to be replaced with into corresponding self-defined emoticon, generation includes to be made by oneself
Second pushed information of adopted emoticon;
View rendering module, for the second pushed information of above-mentioned generation to be carried out into view rendering, generates comprising second push
The bitmap of information;And
Info push module, for the showing by the client by the bitmap comprising second pushed information of above-mentioned generation
Show that window is shown.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029606.7A CN105718534B (en) | 2016-01-14 | 2016-01-14 | Information pushing apparatus, information pushing method and client |
PCT/CN2017/070210 WO2017121278A1 (en) | 2016-01-14 | 2017-01-05 | Information-pushing device, method, client and machine-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029606.7A CN105718534B (en) | 2016-01-14 | 2016-01-14 | Information pushing apparatus, information pushing method and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718534A CN105718534A (en) | 2016-06-29 |
CN105718534B true CN105718534B (en) | 2017-05-03 |
Family
ID=56147693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610029606.7A Active CN105718534B (en) | 2016-01-14 | 2016-01-14 | Information pushing apparatus, information pushing method and client |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105718534B (en) |
WO (1) | WO2017121278A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718534B (en) * | 2016-01-14 | 2017-05-03 | 广州市动景计算机科技有限公司 | Information pushing apparatus, information pushing method and client |
CN106209587B (en) * | 2016-07-08 | 2019-11-22 | 中国银联股份有限公司 | Device and method for presenting virtual emoticons in a personalized manner on a terminal |
CN110019885B (en) * | 2017-08-01 | 2021-10-15 | 北京搜狗科技发展有限公司 | Expression data recommendation method and device |
CN109902277B (en) * | 2017-12-07 | 2023-05-26 | 珠海金山办公软件有限公司 | Document editing method and device, electronic equipment and readable storage medium |
CN108614805B (en) * | 2018-05-02 | 2022-03-25 | 武汉斗鱼网络科技有限公司 | Method and system, server and medium for displaying colorful expressions using QML |
CN110113393B (en) * | 2019-04-18 | 2022-04-22 | 北京奇艺世纪科技有限公司 | Message pushing method and device, electronic equipment and medium |
CN110198380A (en) * | 2019-06-12 | 2019-09-03 | 广东佳米科技有限公司 | A kind of method and system for making window client support Emoji expression |
CN110750204B (en) * | 2019-10-25 | 2021-04-02 | 维沃移动通信有限公司 | Method and mobile terminal for displaying message in notification bar |
CN110971693B (en) * | 2019-12-03 | 2023-09-15 | 迈普通信技术股份有限公司 | Event release method and device |
WO2024046275A1 (en) * | 2022-09-02 | 2024-03-07 | 华为技术有限公司 | Display method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1554059A (en) * | 2001-07-12 | 2004-12-08 | ��Ѷ�о�����˾ | System and method for pushing data from an information source to a mobile communication device including transcoding of the data |
CN103916369A (en) * | 2013-01-04 | 2014-07-09 | 中国移动通信集团公司 | Service information pushing and receiving method and devices thereof |
CN105160033A (en) * | 2015-09-30 | 2015-12-16 | 北京奇虎科技有限公司 | Expression character string processing method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070283047A1 (en) * | 2002-10-01 | 2007-12-06 | Theis Ronald L A | System and method for processing alphanumeric characters for display on a data processing device |
CN103412870A (en) * | 2013-07-09 | 2013-11-27 | 北京深思洛克软件技术股份有限公司 | News pushing method of mobile terminal device news client side software |
CN104065565B (en) * | 2014-06-12 | 2017-04-05 | 北京奇虎科技有限公司 | The method of PUSH message, server, client terminal device and system |
CN105718534B (en) * | 2016-01-14 | 2017-05-03 | 广州市动景计算机科技有限公司 | Information pushing apparatus, information pushing method and client |
-
2016
- 2016-01-14 CN CN201610029606.7A patent/CN105718534B/en active Active
-
2017
- 2017-01-05 WO PCT/CN2017/070210 patent/WO2017121278A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1554059A (en) * | 2001-07-12 | 2004-12-08 | ��Ѷ�о�����˾ | System and method for pushing data from an information source to a mobile communication device including transcoding of the data |
CN103916369A (en) * | 2013-01-04 | 2014-07-09 | 中国移动通信集团公司 | Service information pushing and receiving method and devices thereof |
CN105160033A (en) * | 2015-09-30 | 2015-12-16 | 北京奇虎科技有限公司 | Expression character string processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105718534A (en) | 2016-06-29 |
WO2017121278A1 (en) | 2017-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105718534B (en) | Information pushing apparatus, information pushing method and client | |
US10795629B2 (en) | Text and custom format information processing method, client, server, and computer-readable storage medium | |
CN111368180B (en) | Page display method and device and electronic equipment | |
CN105005568B (en) | Web page front end processing device and method based on template | |
CN105165069A (en) | Method for accessing Wi-Fi hotspot device, Wi-Fi hotspot device, and user equipment | |
CN104243273A (en) | Method and device for displaying information on instant messaging client and information display system | |
CN107122343A (en) | A kind of online contract template edit methods and system | |
CN103164114A (en) | Method and device for classifying icons on terminal operation interface | |
CN104951544A (en) | User data processing method and system and method and system for providing user data | |
CN107911227B (en) | Breakpoint data follow-up method, electronic device and computer-readable storage medium | |
CN108363684A (en) | List creation method, device and server | |
CN105357204A (en) | Method and apparatus for generating terminal identifying information | |
CN105260084A (en) | Processing method and device of input sequences | |
CN104765746A (en) | Data processing method and device for mobile communication terminal browser | |
CN106919406A (en) | A kind of desktop application component issue, update method and device | |
CN107729063A (en) | Call method, device and the terminal of SDK | |
CN112784152A (en) | Method and device for marking user | |
CN104657668A (en) | Terminal | |
CN110708423A (en) | Message content display method and device and storage medium | |
CN113377473A (en) | Task creation method and device, electronic equipment and computer readable storage medium | |
CN103544150A (en) | Method and system for providing recommendation information for mobile terminal browser | |
CN106682014B (en) | Game display data generation method and device | |
CN108334481A (en) | Document processing method and device | |
CN105243131B (en) | Path query method and device | |
CN104331405A (en) | Method and device for processing a data report |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200618 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |