WO2017121278A1 - Information-pushing device, method, client and machine-readable storage medium - Google Patents

Information-pushing device, method, client and machine-readable storage medium Download PDF

Info

Publication number
WO2017121278A1
WO2017121278A1 PCT/CN2017/070210 CN2017070210W WO2017121278A1 WO 2017121278 A1 WO2017121278 A1 WO 2017121278A1 CN 2017070210 W CN2017070210 W CN 2017070210W WO 2017121278 A1 WO2017121278 A1 WO 2017121278A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
push information
client
push
custom
Prior art date
Application number
PCT/CN2017/070210
Other languages
French (fr)
Chinese (zh)
Inventor
伍中联
Original Assignee
广州市动景计算机科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州市动景计算机科技有限公司 filed Critical 广州市动景计算机科技有限公司
Publication of WO2017121278A1 publication Critical patent/WO2017121278A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Definitions

  • the present invention relates to the field of information push technology, and in particular, to an information push device, an information push method, and a client.
  • Electronic devices such as smart phones, mobile Internet devices (MIDs), personal digital assistants (PDAs), and tablets have become indispensable communication and entertainment tools in people's daily work and life.
  • Many electronic devices support user-defined installation of various applications (Application, App) to meet different user needs.
  • the background of the application can periodically provide the user with the push function of the information when new information or news is generated.
  • most electronic device operating systems such as Android, Android
  • the display content of the push notification bar can only be Simple text content. The user may feel boring when seeing the display content of the push notification bar, which reduces the user's willingness to open the push information for viewing.
  • an object of embodiments of the present invention is to provide an information pushing apparatus, method, client, and machine readable storage medium.
  • An information pushing apparatus is provided to a client, where the apparatus includes: a push information receiving module, configured to receive first push information sent by the server; and a character extracting module, configured to extract the a character encoded in the first push information according to the preset Unicode encoding standard;
  • the character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons.
  • the information pushing device further includes a view rendering module, configured to perform view rendering on the second push information to generate a bitmap including the second push information, and an information pushing module, configured to include the The bitmap of the second push information is displayed through the display window of the client.
  • a view rendering module configured to perform view rendering on the second push information to generate a bitmap including the second push information
  • an information pushing module configured to include the The bitmap of the second push information is displayed through the display window of the client.
  • the view rendering module performs standard view rendering according to the text attribute of the first push information, where the text attribute includes a text font size and a spacing between characters in the first push information.
  • the information pushing module displays the bitmap including the second push information through the display window by calling a picture display control supported by the system in the client.
  • the custom emoticons are stored in a custom emoticon package, and each of the custom emoticons has a one-to-one mapping relationship with the characters encoded according to the preset unified character encoding standard.
  • the information pushing apparatus further includes: an emoticon updating module, configured to receive emoticon update information, and store the emoticon update information into the database, the emoticon update information including newly added customization The emoji and the mapping relationship between the custom emoji and the characters encoded by the Unicode standard.
  • an emoticon updating module configured to receive emoticon update information, and store the emoticon update information into the database, the emoticon update information including newly added customization The emoji and the mapping relationship between the custom emoji and the characters encoded by the Unicode standard.
  • the client is installed with an application downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system.
  • An information pushing method is provided to the client, and the method includes: receiving the first push information sent by the server; and extracting, according to the preset, the first push information included in the first push information a character encoded by the Unicode character standard; and replacing the extracted character with a corresponding custom emoticon to generate second push information including a custom emoticon.
  • the method further includes: performing view rendering on the second push information to generate a bitmap including the second push information; and passing the bitmap containing the second push information through a display window of the client Display.
  • the step of performing view rendering on the second push information comprises:
  • the text attribute including a text font size in the first push information, and a spacing between characters.
  • the step of displaying the bitmap containing the second push information through the display window of the client comprises:
  • a bitmap including the second push information is displayed through the display window by calling a picture display control supported by the system in the client.
  • the information pushing method further includes: the information pushing device receives the emoticon update information, and stores the emoticon update information into the database, the emoticon update information includes a newly added custom emoticon and the A mapping relationship between a custom emoticon and a character encoded by the Unicode standard.
  • the information push device comprising one or more modules stored in the memory and executed by the processor, the information push device comprising:
  • a push information receiving module configured to receive first push information sent by the server
  • a character extraction module configured to extract characters included in the first push information and encoded according to the preset Unicode encoding standard
  • the character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons. ;
  • the client may further include: a view rendering module, configured to perform view rendering on the second push information, generate a bitmap including the second push information; and an information push module, configured to include the The bitmap of the second push information is displayed through the display window of the client.
  • a view rendering module configured to perform view rendering on the second push information, generate a bitmap including the second push information
  • an information push module configured to include the The bitmap of the second push information is displayed through the display window of the client.
  • the client may further include: a database storing a custom emoticon package, the custom emoticon package storing at least one custom emoticon, each custom emoticon and performing according to a preset Unicode standard
  • the encoded characters have a one-to-one mapping relationship.
  • An embodiment of the present invention provides a non-transitory machine readable storage medium having executable code stored thereon, and when the executable code is executed by a processor, causing the processor to execute the information pushing method.
  • the information pushing device, the method, the client and the machine readable storage medium provided by the embodiments of the present invention can implement information push including the content of the customized emoji, and increase the attraction of the push information to the user. Increased clickthrough rate for push messages. At the same time, a consistent user experience is provided for all users by using a unified custom emoji.
  • FIG. 1 is a schematic diagram of a client interacting with a server according to a preferred embodiment of the present invention.
  • FIG. 2 is a block diagram of the client shown in FIG. 1.
  • FIG. 3 is a functional block diagram of the information pushing apparatus of the client shown in FIG. 2 according to a preferred embodiment of the present invention.
  • FIG. 4 is a flowchart of an information pushing method applied to the client shown in FIG. 3 according to a preferred embodiment of the present invention.
  • FIG. 1 it is a schematic diagram of a client 200 interacting with a server 100 according to a preferred embodiment of the present invention.
  • the server 100 is in communication with one or more clients 200 over a network for data communication or interaction.
  • the server 100 can provide at least one installation package of an application (Application, APP) suitable for various operating systems for the client 200 to download.
  • an installation package of an application suitable for the operating system of the client 200 can be downloaded from the server 100 through the network to install the application to the server.
  • the client 200 may periodically receive the push information about the application that is pushed by the server 100.
  • the client is installed with an application program downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system.
  • the application is preferably a browser, such as a UC browser.
  • the server 100 may be, but not limited to, a network (web) server, a ftp (file transfer protocol) server, a database server, and the like.
  • the client 200 can be, but is not limited to, a smartphone, a tablet, a smart wearable device, and the like.
  • the operating system of the client 200 may be, but not limited to, an Android system, an IOS system, a Windows Phone system, and the like.
  • the operating system of the electronic device 100 is an Android system.
  • FIG. 2 shows a block schematic diagram of client 200.
  • the client 200 includes an information push device 10, a memory 20, and a processor 30.
  • the memory 20 and the processor 30 are electrically connected directly or indirectly to each other to implement data transmission or interaction.
  • electrical connections can be made to one another via one or more communication buses or signal lines.
  • the memory 20 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the memory 20 is used to store a program, and the processor 30 executes the program after receiving an execution instruction.
  • the illustrated processor 30 may be an integrated circuit chip with signal processing capabilities.
  • the processor 30 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • NP processor network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor 30 may be any conventional processor or the like.
  • the information push device 10 includes at least one or more software function modules that can be stored in the memory 20 or are solidified in an operating system (OS) of the client 200 in the form of software or firmware. .
  • the processor 30 is configured to execute an executable module stored in the memory 20, such as the information pushing device 10 software functional modules or computer programs included.
  • the client is installed with an application downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system.
  • the information push device 10 may be a separate application installed on the client 200 or a part (such as a functional module) of the downloaded application downloaded from the server 100.
  • FIG. 3 is a functional block diagram of the information pushing apparatus 10 of the client 200 shown in FIG. 2 according to a preferred embodiment of the present invention.
  • the information pushing apparatus 10 may include a database 101, a push information receiving module 102, a character extracting module 103, a character replacement module character replacing module 104, a view rendering module 105, an information pushing module 106, and an emoji updating module 107.
  • the database 101 stores a custom emoticon package, where the custom emoticon package stores at least one custom emoticon, and each of the custom emoticons has a one-to-one mapping with characters encoded according to a preset Unicode standard. relationship.
  • Emoji is widely used in common communication or social software. Users can express emotions or describe the characteristics of things more vividly through emoji.
  • the custom emoticon is a picture format, and thus the emoticon package is an emoticon picture package.
  • the custom emoticons may be currently common emoticons (such as emoji emoticons), or other newly designed emoticons.
  • each custom emoticon has a corresponding Unicode encoded character corresponding thereto.
  • the mapping relationship between the custom emoticons and the Unicode-encoded characters can be set in advance before being added to the database 101, and can be modified at any time as needed.
  • the push information receiving module 102 is configured to receive the first push information sent by the server 100.
  • the server 100 When the server 100 has notification information (such as news) that needs to be pushed, the first push information is sent to the client 200, and the push information receiving module 102 receives the information.
  • the server 100 transmits the first push information, and may include characters encoded by Unicode in addition to the text information.
  • the first push information sent by the server 100 includes "hello" text information and Unicode-encoded characters corresponding to the "smiley" emoji.
  • the server 100 may also store the same custom emoticons as in the database 101, and the custom emoticons and Unicode stored in the server 100.
  • the mapping between encoded characters Specifically, the database 101 can be automatically decompressed into the client 200 when the client 200 downloads and installs the application from the server 100.
  • the character extraction module 103 is configured to extract, according to the preset unified character encoding standard, the characters included in the first push information.
  • the Unicode encoded characters in the first push information are extracted.
  • the Unicode-encoded characters in the first push information may be arranged in multiple consecutive rows, or may be discretely distributed among other text information.
  • the order and position of the characters in the first push information are recorded to ensure that the notification content that needs to be pushed when the subsequent operation is performed is not changed or the order is not upset.
  • the character replacement module 104 is configured to replace the extracted characters with corresponding custom emoticons, and generate second push information including the customized emoticons.
  • the custom emoticon replaces the Unicode encoded character in the first push message.
  • the found custom emoticons are sequentially replaced in the extracted order to the original Unicode encoded characters in the first push information.
  • the bit width of the custom emoticon instead of the original Unicode encoded character and the distance from other text information are the same as the bit width of the original Unicode encoded character and the distance from other text information.
  • the view rendering module 105 is configured to perform view rendering on the generated second push information to generate a bitmap including the second push information.
  • View rendering operations can be invoked by functions that have view rendering capabilities.
  • the view rendering module 105 performs standard view rendering according to the text attribute of the first push information, where the text attributes include, but are not limited to, the first push The font size of the text in the message, the spacing between adjacent characters Wait.
  • the standard view rendering means that the space between the text and the text seen by the bitmap generated after the view is rendered, the text character size, and the like are not changed compared with the original first push information. That is, the view is rendered according to the original text font size of the first push information and the spacing between the characters, and the values of the relevant parameters in the text attribute in the first push information are retained, and the rendering result is exported to a bitmap, and the result is obtained. a bitmap of the second push information.
  • the information pushing module 106 is configured to display the generated bitmap including the second push information through a display window of the client 200.
  • the information pushing module 106 may display a bitmap including the second push information through the display window by calling a picture display control supported by the system in the client 200 (such as an Imageview of the notification in the Android system). .
  • the image display control supported by the system in the client 200 is invoked. Displaying, for the client 200 using a different operating system, the bitmap displayed finally is the same.
  • the server 100 pushes the notification, the same first push information can be sent, and the information can be pushed to different clients 200, and each client is implemented. 200 The consistency of the notification content that is finally displayed.
  • the emoji update module 107 is configured to receive emoji update information, and store the emoji update information into the database 101, where the emoji update information includes a newly added custom emoji and the custom emoji A mapping relationship between characters encoded with the Unicode standard.
  • the emoticons in the database 101 can be updated at any time, and the update operation is completed by receiving the emoticon update information.
  • the emoji update information may be transmitted by the server 100 connected to the client 200 or directly at the client 200.
  • the custom emoticon package in the database 101 may be updated together with the version of the application upon receiving the application version update sent by the server 100.
  • FIG. 4 is a flow chart showing an information push method applied to the client 200 shown in FIG. 3 according to a preferred embodiment of the present invention. The specific processes and steps shown in FIG. 4 will be described in detail below.
  • Step S401 the push information receiving module 102 receives the first push information sent by the server 100.
  • the server 100 sends the first push information to the client 200 connected thereto.
  • the client 200 senses that the server 100 has the push, the client 200 obtains the text content of the first push information pushed by the server 100.
  • step S402 the character extraction module 103 extracts characters that are encoded according to the preset Unicode encoding standard existing in the first push information.
  • the first push information includes content of two parts of text information and Unicode encoded characters
  • the character extraction module 103 extracts the character portion of the Unicode code.
  • Step S403 the character replacement module 104 replaces the extracted characters with the corresponding custom emoticons, and generates second push information including the customized emoticons.
  • the difference between the second push information and the first push information is that the Unicode encoded character in the first push information has been replaced with the corresponding custom emoticon in the second push information.
  • the content of the text information portion of the second push information is not changed by the custom emoticon replacing the Unicode encoded character.
  • Step S404 the view rendering module 105 performs view rendering on the generated second push information to generate a bitmap including the second push information.
  • the specific manner of performing the view rendering on the second push information is: performing standard view rendering according to the text attribute of the first push information, where the text attribute includes a text font size and a character in the first push information. The spacing between the two. While the text attribute of the first push information is retained, the generated bitmap is consistent with the second push information content.
  • step S405 the information pushing module 106 displays the generated bitmap including the second push information through the display window of the client 200.
  • the information pushing module 106 displays the bitmap including the second push information through the display window by calling a picture display control supported by the system in the client 200. Since the generated bitmap is consistent with the content of the second push information, even if The picture display controls are different, and the content displayed on the client 200 display window is also the same.
  • Step S406 the emoticon update module 107 receives the emoticon update information, and stores the emoticon update information in the database 101.
  • the emoji update information includes a newly added custom emoji and a mapping relationship between the custom emoji and characters encoded by the Unicode standard.
  • the custom emoticon already stored in the database 101 can be modified, or the custom emoticon and the Unicode can be modified.
  • the above technical concept of the present invention can also be embodied as a computing device including a processor and a non-transitory machine readable storage medium.
  • the non-transitory machine readable storage medium stores executable code thereon.
  • the processor is caused to perform some or all of the steps of the information pushing method described in the above method embodiments.
  • the client 200 downloads an application (such as a browser) from the server and installs, and the information push device 10 is downloaded and installed in the smart device.
  • a part of the function module of the browser of the mobile phone, and the server 100 is a background server of the browser.
  • the server 100 transmits the first push information including the Unicode encoded characters to each smart phone, and the browser installed by each smart phone receives the first push. After the information, the text content of the first push information is obtained, and the Unicode encoded character existing in the first push information is extracted.
  • the database 101 is a local database 101 of the browser, wherein the saved custom emoticons are emoji emoticons, and each emoji emoticon corresponds to a pre-set Unicode encoded character.
  • the browser performs a replacement operation through a control having a text replacement function (such as performing a span replacement operation of the TextView), and replaces the extracted Unicode encoded characters with the corresponding emoji expressions to obtain a second push information.
  • a text replacement function such as performing a span replacement operation of the TextView
  • the function with view rendering function according to The text attribute of the first push information performs standard view rendering on the second push information, and stores the rendered content in the bitmap to obtain a bitmap of the second push information.
  • Notification supports the push function of information, and the display content of the push notification bar can only be simple text.
  • bitmap file is handed over to a picture display control (such as Notification ImageView) supported by the system for processing.
  • the bitmap is displayed to the push notification bar of the smartphone through ImageView, so that the user can view the push notification including the emoji expression.
  • the information pushing method provided by the embodiment of the present invention performs the replacement operation of the Unicode encoded characters in the first push information by the information pushing device 10, and makes all versions of the system according to the same custom emoticons and mapping relationships.
  • the final push notification is displayed. Since the emoticons stored in the database 101 are custom emoticons, the custom emoticons in the database 101 can be updated at any time.
  • the information push device, the information push method, and the client provided by the implementation of the present invention first replace the characters in the push information with the custom emoticons according to the predefined mapping relationship when performing information push, and then The replaced push information is rendered as a bitmap and displayed through the display window of the client 200.
  • the information push including the content of the custom emoji can be realized, the attraction of the push information to the user is increased, the click rate of the push information is improved, and the activity level of the user is effectively improved.
  • a consistent user experience is provided for all users by using a unified custom emoji.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block in the block diagrams and/or flowcharts, as well as the blocks in the block diagrams and/or flowcharts The combination of blocks may be implemented by a special hardware-based system that performs the specified functions or actions, or may be implemented in a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

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

An information-pushing device and method supporting user-defined expression in pushed information, the method comprising: when performing information pushing, replacing, on the basis of a predefined mapping relationship, a character defined according to a unified character coding standard in the pushed information with a user-defined emoticon and then rendering the pushed information, with the replaced character therein, as a bitmap, and displaying the bitmap in a client display. The present invention can push information comprising user-defined emoticon content and boost attractiveness of pushed information to users, increasing click-through rates of pushed information.

Description

信息推送装置、方法、客户端及机器可读存储介质Information push device, method, client and machine readable storage medium 技术领域Technical field
本发明涉及信息推送技术领域,具体而言,涉及信息推送装置、信息推送方法以及客户端。The present invention relates to the field of information push technology, and in particular, to an information push device, an information push method, and a client.
背景技术Background technique
智能手机、移动上网设备(Mobile Internet Device,MID)以及个人数字助理(Personal Digital Assistant,PDA)、平板电脑等电子设备已成为人们日常工作和生活中不可或缺的通讯和娱乐工具。许多的电子设备都支持用户自定义安装各种应用程序(Application,App),以满足不同的用户需求。电子设备在安装对应的应用程序之后,所述应用程序的后台在有新的信息或新闻产生时,可定时为用户提供信息的推送功能。然而,大多数的电子设备的操作系统(例如Android,安卓系统)中对信息的推送功能(Notification)做出了严格的系统限制,通过Notification进行信息推送时,推送通知栏的显示内容只能是单纯的文字内容。导致用户在看到推送通知栏的显示内容时可能感觉枯燥,降低了用户打开推送信息进行查看的意愿。Electronic devices such as smart phones, mobile Internet devices (MIDs), personal digital assistants (PDAs), and tablets have become indispensable communication and entertainment tools in people's daily work and life. Many electronic devices support user-defined installation of various applications (Application, App) to meet different user needs. After the electronic device installs the corresponding application, the background of the application can periodically provide the user with the push function of the information when new information or news is generated. However, most electronic device operating systems (such as Android, Android) have strict system restrictions on the information notification function. When the information is pushed through Notification, the display content of the push notification bar can only be Simple text content. The user may feel boring when seeing the display content of the push notification bar, which reduces the user's willingness to open the push information for viewing.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的在于提供一种信息推送装置、方法、客户端及机器可读存储介质。In view of this, an object of embodiments of the present invention is to provide an information pushing apparatus, method, client, and machine readable storage medium.
本发明实施例提供的一种信息推送装置,应用于客户端,所述装置包括:推送信息接收模块,用于接收所述服务器发送的第一推送信息;字符提取模块,用于提取出所述第一推送信息中包括的按照所述预设的统一字符编码标准进行编码的字符;以及 An information pushing apparatus is provided to a client, where the apparatus includes: a push information receiving module, configured to receive first push information sent by the server; and a character extracting module, configured to extract the a character encoded in the first push information according to the preset Unicode encoding standard;
字符替换模块,用于将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。The character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons.
优选地,所述信息推送装置还包括视图渲染模块,用于将所述第二推送信息进行视图渲染,生成包含该第二推送信息的位图;及信息推送模块,用于将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示。Preferably, the information pushing device further includes a view rendering module, configured to perform view rendering on the second push information to generate a bitmap including the second push information, and an information pushing module, configured to include the The bitmap of the second push information is displayed through the display window of the client.
优选地,所述视图渲染模块根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括所述第一推送信息中的文本字体大小、字符之间的间距。Preferably, the view rendering module performs standard view rendering according to the text attribute of the first push information, where the text attribute includes a text font size and a spacing between characters in the first push information.
优选地,所述信息推送模块通过调用所述客户端中系统支持的一个图片显示控件将包括所述第二推送信息的位图通过所述显示窗口进行显示。Preferably, the information pushing module displays the bitmap including the second push information through the display window by calling a picture display control supported by the system in the client.
优选地,所述自定义表情符号存储在自定义表情包中,每个自定义表情符号与所述按照预设的统一字符编码标准进行编码的字符具有一一对应的映射关系。Preferably, the custom emoticons are stored in a custom emoticon package, and each of the custom emoticons has a one-to-one mapping relationship with the characters encoded according to the preset unified character encoding standard.
优选地,所述信息推送装置还包括:表情符号更新模块,用于接收表情符号更新信息,并将所述表情符号更新信息储存到所述数据库,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。Preferably, the information pushing apparatus further includes: an emoticon updating module, configured to receive emoticon update information, and store the emoticon update information into the database, the emoticon update information including newly added customization The emoji and the mapping relationship between the custom emoji and the characters encoded by the Unicode standard.
优选地,所述客户端安装有从所述服务器下载的适用于所述客户端的操作系统的应用程序,所述操作系统为安卓系统。Preferably, the client is installed with an application downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system.
本发明实施例提供的一种信息推送方法,应用于客户端,所述方法包括:接收所述服务器发送的第一推送信息;提取出所述第一推送信息中包括的按照所述预设的统一字符编码标准进行编码的字符;以及将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。An information pushing method is provided to the client, and the method includes: receiving the first push information sent by the server; and extracting, according to the preset, the first push information included in the first push information a character encoded by the Unicode character standard; and replacing the extracted character with a corresponding custom emoticon to generate second push information including a custom emoticon.
优选地,所述方法还包括:将所述第二推送信息进行视图渲染,生成包含该第二推送信息的位图;及将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示。Preferably, the method further includes: performing view rendering on the second push information to generate a bitmap including the second push information; and passing the bitmap containing the second push information through a display window of the client Display.
优选地,所述将所述第二推送信息进行视图渲染的步骤包括: Preferably, the step of performing view rendering on the second push information comprises:
根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括所述第一推送信息中的文本字体大小、字符之间的间距。Performing standard view rendering according to the text attribute of the first push information, the text attribute including a text font size in the first push information, and a spacing between characters.
优选地,所述将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示的步骤包括:Preferably, the step of displaying the bitmap containing the second push information through the display window of the client comprises:
通过调用所述客户端中系统支持的一个图片显示控件将包括所述第二推送信息的位图通过所述显示窗口进行显示。A bitmap including the second push information is displayed through the display window by calling a picture display control supported by the system in the client.
优选地,所述信息推送方法还包括:信息推送装置接收表情符号更新信息,并将所述表情符号更新信息储存到所述数据库,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。Preferably, the information pushing method further includes: the information pushing device receives the emoticon update information, and stores the emoticon update information into the database, the emoticon update information includes a newly added custom emoticon and the A mapping relationship between a custom emoticon and a character encoded by the Unicode standard.
本发明实施例提供的一种客户端,包括:A client provided by an embodiment of the present invention includes:
存储器;处理器;以及信息推送装置,所述信息推送装置包括一个或多个存储于所述存储器并由所述处理器执行的模块,所述信息推送装置包括:a memory; a processor; and an information push device, the information push device comprising one or more modules stored in the memory and executed by the processor, the information push device comprising:
推送信息接收模块,用于接收所述服务器发送的第一推送信息;a push information receiving module, configured to receive first push information sent by the server;
字符提取模块,用于提取出所述第一推送信息中包括的按照所述预设的统一字符编码标准进行编码的字符;以及a character extraction module, configured to extract characters included in the first push information and encoded according to the preset Unicode encoding standard;
字符替换模块,用于将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。;The character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons. ;
优选地,所述客户端还可以包括:视图渲染模块,用于将所述第二推送信息进行视图渲染,生成包含该第二推送信息的位图;及信息推送模块,用于将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示。Preferably, the client may further include: a view rendering module, configured to perform view rendering on the second push information, generate a bitmap including the second push information; and an information push module, configured to include the The bitmap of the second push information is displayed through the display window of the client.
优选地,所述客户端还可以包括:数据库,存储有自定义表情包,该自定义表情包存储有至少一个自定义表情符号,每个自定义表情符号与按照预设的统一字符编码标准进行编码的字符具有一一对应的映射关系。Preferably, the client may further include: a database storing a custom emoticon package, the custom emoticon package storing at least one custom emoticon, each custom emoticon and performing according to a preset Unicode standard The encoded characters have a one-to-one mapping relationship.
本发明实施例提供的一种非暂时性机器可读存储介质,其上存储有可执行代码,当所述可执行代码被处理器执行时,使所述处理器执行上述信息推送方法。 An embodiment of the present invention provides a non-transitory machine readable storage medium having executable code stored thereon, and when the executable code is executed by a processor, causing the processor to execute the information pushing method.
与现有技术相比,本发明实施例提供的信息推送装置、方法、客户端及机器可读存储介质可以实现包含有自定义表情符号内容的信息推送,增加了推送信息对用户的吸引力,提高了推送信息的点击率。同时,通过使用统一的自定义表情符号,为所有用户提供了内容一致的用户体验。Compared with the prior art, the information pushing device, the method, the client and the machine readable storage medium provided by the embodiments of the present invention can implement information push including the content of the customized emoji, and increase the attraction of the push information to the user. Increased clickthrough rate for push messages. At the same time, a consistent user experience is provided for all users by using a unified custom emoji.
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。The above described objects, features and advantages of the present invention will become more apparent from the aspects of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It should be understood that the following drawings show only certain embodiments of the present invention, and therefore It should be seen as a limitation on the scope, and those skilled in the art can obtain other related drawings according to these drawings without any creative work.
图1为本发明较佳实施例提供的客户端与服务器进行交互的示意图。FIG. 1 is a schematic diagram of a client interacting with a server according to a preferred embodiment of the present invention.
图2为图1所示的客户端的方框图。2 is a block diagram of the client shown in FIG. 1.
图3为本发明较佳实施例提供的图2所示的客户端的信息推送装置的功能模块框图。FIG. 3 is a functional block diagram of the information pushing apparatus of the client shown in FIG. 2 according to a preferred embodiment of the present invention.
图4为本发明较佳实施例提供的应用于图3所示的客户端的信息推送方法的流程图。FIG. 4 is a flowchart of an information pushing method applied to the client shown in FIG. 3 according to a preferred embodiment of the present invention.
主要元件符号说明Main component symbol description
服务器                 100 Server 100
客户端                 200 Client 200
信息推送装置           10 Information push device 10
存储器                 20 Memory 20
处理器                 30 Processor 30
数据库                 101 Database 101
推送信息接收模块       102Push information receiving module 102
字符提取模块           103 Character extraction module 103
字符替换模块            104 Character replacement module 104
视图渲染模块            105View rendering module 105
信息推送模块            106 Information Push Module 106
表情符号更新模块        107 Emoji Update Module 107
具体实施方式detailed description
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of the embodiments of the invention, which are generally described and illustrated in the figures herein, may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Also, in the description of the present invention, the terms "first", "second", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
如图1所示,是本发明较佳实施例提供的客户端200与服务器100进行交互的示意图。所述服务器100通过网络与一个或多个客户端200进行通信连接,以进行数据通信或交互。所述服务器100可以提供至少一个适用于各种操作系统的应用程序(Application,APP)的安装包供所述客户端200下载。所述客户端200通过所述网络访问所述服务器100后,可通过所述网络从服务器100下载适用于该客户端200的操作系统的应用程序的安装包,以将所述应用程序安装到所述客户端200中。本实施例中,所述客户端200在安装所述应用程序之后,所述客户端200可定时收到所述服务器100推送的有关所述应用程序的推送信息。本较佳实施例中,所述客户端安装有从所述服务器下载的适用于所述客户端的操作系统的应用程序,所述操作系统为安卓系统。所述应用程序优选为浏览器,如UC浏览器。 As shown in FIG. 1 , it is a schematic diagram of a client 200 interacting with a server 100 according to a preferred embodiment of the present invention. The server 100 is in communication with one or more clients 200 over a network for data communication or interaction. The server 100 can provide at least one installation package of an application (Application, APP) suitable for various operating systems for the client 200 to download. After the client 200 accesses the server 100 through the network, an installation package of an application suitable for the operating system of the client 200 can be downloaded from the server 100 through the network to install the application to the server. In the client 200. In this embodiment, after the client 200 installs the application, the client 200 may periodically receive the push information about the application that is pushed by the server 100. In the preferred embodiment, the client is installed with an application program downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system. The application is preferably a browser, such as a UC browser.
所述服务器100可以是,但不限于,网络(Web)服务器、ftp(file transfer protocol,文件传输协议)服务器、数据库服务器等。所述客户端200可以是,但不限于,智能手机、平板电脑、智能穿戴设备等。所述客户端200的操作系统可以是,但不限于,安卓(Android)系统、IOS系统、Windows Phone系统等。优选地,本实施例中,所述电子设备100的操作系统为安卓系统。The server 100 may be, but not limited to, a network (web) server, a ftp (file transfer protocol) server, a database server, and the like. The client 200 can be, but is not limited to, a smartphone, a tablet, a smart wearable device, and the like. The operating system of the client 200 may be, but not limited to, an Android system, an IOS system, a Windows Phone system, and the like. Preferably, in this embodiment, the operating system of the electronic device 100 is an Android system.
图2示出了客户端200的方框示意图。所述客户端200包括信息推送装置10、存储器20以及处理器30。FIG. 2 shows a block schematic diagram of client 200. The client 200 includes an information push device 10, a memory 20, and a processor 30.
所述存储器20以及处理器30相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,相互之间可通过一条或多条通讯总线或信号线实现电性连接。The memory 20 and the processor 30 are electrically connected directly or indirectly to each other to implement data transmission or interaction. For example, electrical connections can be made to one another via one or more communication buses or signal lines.
其中,存储器20可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器20用于存储程序,所述处理器30在接收到执行指令后,执行所述程序。The memory 20 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory 20 is used to store a program, and the processor 30 executes the program after receiving an execution instruction.
所示处理器30可能是一种集成电路芯片,具有信号的处理能力。上述的处理器30可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器30也可以是任何常规的处理器等。The illustrated processor 30 may be an integrated circuit chip with signal processing capabilities. The processor 30 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor 30 may be any conventional processor or the like.
所述信息推送装置10包括至少一个或多个可以软件或固件(firmware)的形式存储于所述存储器20中或固化在所述客户端200的操作系统(operating system,OS)中的软件功能模块。所述处理器30用于执行存储器20中存储的可执行模块,例如所述信息推送装置 10包括的软件功能模块或计算机程序。在本实施例中,所述客户端安装有从所述服务器下载的适用于所述客户端的操作系统的应用程序,所述操作系统为安卓系统。所述信息推送装置10可以是安装于客户端200的一个单独的应用程序,或者是从服务器100下载安装的应用程序的一个部分(如一个功能模块)。The information push device 10 includes at least one or more software function modules that can be stored in the memory 20 or are solidified in an operating system (OS) of the client 200 in the form of software or firmware. . The processor 30 is configured to execute an executable module stored in the memory 20, such as the information pushing device 10 software functional modules or computer programs included. In this embodiment, the client is installed with an application downloaded from the server and adapted to the operating system of the client, and the operating system is an Android system. The information push device 10 may be a separate application installed on the client 200 or a part (such as a functional module) of the downloaded application downloaded from the server 100.
图3示出了本发明较佳实施例提供的图2所示的客户端200的信息推送装置10的功能模块框图。所述信息推送装置10可以包括数据库101、推送信息接收模块102、字符提取模块103、字符替换模块字符替换模块104、视图渲染模块105、信息推送模块106以及表情符号更新模块107。FIG. 3 is a functional block diagram of the information pushing apparatus 10 of the client 200 shown in FIG. 2 according to a preferred embodiment of the present invention. The information pushing apparatus 10 may include a database 101, a push information receiving module 102, a character extracting module 103, a character replacement module character replacing module 104, a view rendering module 105, an information pushing module 106, and an emoji updating module 107.
所述数据库101存储有一自定义表情包,该自定义表情包存储有至少一个自定义表情符号,每个自定义表情符号与按照预设的统一字符编码标准进行编码的字符具有一一对应的映射关系。The database 101 stores a custom emoticon package, where the custom emoticon package stores at least one custom emoticon, and each of the custom emoticons has a one-to-one mapping with characters encoded according to a preset Unicode standard. relationship.
表情符号在常见的通信或者社交软件中应用得非常广泛,用户通过表情符号能够更生动的表达感情或描述事物的特征。在本实施例中,自定义表情符号为图片格式,因此所述表情包为一个表情图片包。所述自定义表情符号可以是目前常见的表情符号(如emoji表情符号),也可以是其他新设计的表情符号。在数据库101中,每一个自定义表情符号都存在对应的Unicode编码的字符与之对应。自定义表情符号与Unicode编码的字符的映射关系可在加入所述数据库101之前预先进行设置,之后也可以根据需要随时进行修改。Emoji is widely used in common communication or social software. Users can express emotions or describe the characteristics of things more vividly through emoji. In this embodiment, the custom emoticon is a picture format, and thus the emoticon package is an emoticon picture package. The custom emoticons may be currently common emoticons (such as emoji emoticons), or other newly designed emoticons. In the database 101, each custom emoticon has a corresponding Unicode encoded character corresponding thereto. The mapping relationship between the custom emoticons and the Unicode-encoded characters can be set in advance before being added to the database 101, and can be modified at any time as needed.
所述推送信息接收模块102用于接收所述服务器100发送的第一推送信息。The push information receiving module 102 is configured to receive the first push information sent by the server 100.
当服务器100有通知信息(如新闻)需要推送时,将第一推送信息发送到客户端200,由推送信息接收模块102进行接收。服务器100发送第一推送信息中,除了文本信息以外,还可以包括由Unicode编码的字符。例如,服务器100发送的第一推送信息包括“你好”的文本信息以及与“笑脸”表情符号对应的Unicode编码的字符。为了保证映射关系的统一,服务器100也可保存有与所述数据库101中相同的自定义表情符号,且保存于服务器100的自定义表情符号与Unicode 编码的字符之间的映射关系。具体,所述数据库101可以在所述客户端200将所述应用程序从服务器100中下载安装时自动解压到所述客户端200中。When the server 100 has notification information (such as news) that needs to be pushed, the first push information is sent to the client 200, and the push information receiving module 102 receives the information. The server 100 transmits the first push information, and may include characters encoded by Unicode in addition to the text information. For example, the first push information sent by the server 100 includes "hello" text information and Unicode-encoded characters corresponding to the "smiley" emoji. In order to ensure the unification of the mapping relationship, the server 100 may also store the same custom emoticons as in the database 101, and the custom emoticons and Unicode stored in the server 100. The mapping between encoded characters. Specifically, the database 101 can be automatically decompressed into the client 200 when the client 200 downloads and installs the application from the server 100.
所述字符提取模块103用于提取出所述第一推送信息包括的按照所述预设的统一字符编码标准进行编码的字符。The character extraction module 103 is configured to extract, according to the preset unified character encoding standard, the characters included in the first push information.
接收到第一推送信息后,首先确认第一推送信息中是否存在Unicode编码的字符。如果存在,则将第一推送信息中的Unicode编码的字符进行提取。第一推送信息中的Unicode编码的字符可能是多个连续排列的,也可能是离散的分布于其他文本信息之间。作为本实施的优选实施方式,在提取Unicode编码的字符时,对其在第一推送信息中的顺序和位置进行记录,确保后续操作进行时需要推送的通知内容不会被改变或顺序不会被打乱。After receiving the first push information, it is first confirmed whether there is a Unicode encoded character in the first push information. If present, the Unicode encoded characters in the first push information are extracted. The Unicode-encoded characters in the first push information may be arranged in multiple consecutive rows, or may be discretely distributed among other text information. As a preferred embodiment of the present embodiment, when extracting Unicode-encoded characters, the order and position of the characters in the first push information are recorded to ensure that the notification content that needs to be pushed when the subsequent operation is performed is not changed or the order is not upset.
所述字符替换模块104用于将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。The character replacement module 104 is configured to replace the extracted characters with corresponding custom emoticons, and generate second push information including the customized emoticons.
从第一推送信息中提取出Unicode编码的字符后,根据数据库101中自定义表情符号与Unicode编码的字符的映射关系,查找提取出的Unicode编码的字符对应的自定义表情符号,以查找到的自定义表情符号替换第一推送信息中的Unicode编码的字符。优选地,在记录了提取的Unicode编码的字符在第一推送信息中的顺序和位置的基础上,按照提取的顺序依次将找到的自定义表情符号替换到第一推送信息中原Unicode编码的字符所在的位置处,得到第二推送信息。第二推送信息中,代替原Unicode编码的字符的自定义表情符号所占的位宽以及与其他文本信息的距离,都与原Unicode编码的字符所占的位宽以及与其他文本信息的距离相同。After extracting the Unicode encoded characters from the first push information, searching for the custom emoticons corresponding to the extracted Unicode encoded characters according to the mapping relationship between the custom emoticons and the Unicode encoded characters in the database 101, to find the The custom emoticon replaces the Unicode encoded character in the first push message. Preferably, on the basis of recording the order and position of the extracted Unicode encoded characters in the first push information, the found custom emoticons are sequentially replaced in the extracted order to the original Unicode encoded characters in the first push information. At the location, get the second push information. In the second push information, the bit width of the custom emoticon instead of the original Unicode encoded character and the distance from other text information are the same as the bit width of the original Unicode encoded character and the distance from other text information. .
所述视图渲染模块105用于将上述生成的第二推送信息进行视图渲染,生成包含该第二推送信息的位图。The view rendering module 105 is configured to perform view rendering on the generated second push information to generate a bitmap including the second push information.
视图渲染的操作可以调用具有视图渲染功能的函数执行。具体地,对第二推送信息进行视图渲染时,所述视图渲染模块105根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括,但不限于,所述第一推送信息中的文本字体大小、相邻字符之间的间距 等。其中,进行标准的视图渲染是指,视图渲染后生成的位图所看到的文本与文本之间的间距、文本字符大小等与原始的第一推送信息相比都没有发生变化。即根据第一推送信息原本的文本字体大小和字符之间的间距进行视图渲染,保留第一推送信息中文本属性中各项相关参数的取值,将渲染结果导出到位图(bitmap)中,得到所述第二推送信息的位图。View rendering operations can be invoked by functions that have view rendering capabilities. Specifically, when view rendering the second push information, the view rendering module 105 performs standard view rendering according to the text attribute of the first push information, where the text attributes include, but are not limited to, the first push The font size of the text in the message, the spacing between adjacent characters Wait. The standard view rendering means that the space between the text and the text seen by the bitmap generated after the view is rendered, the text character size, and the like are not changed compared with the original first push information. That is, the view is rendered according to the original text font size of the first push information and the spacing between the characters, and the values of the relevant parameters in the text attribute in the first push information are retained, and the rendering result is exported to a bitmap, and the result is obtained. a bitmap of the second push information.
所述信息推送模块106用于将上述生成的包含所述第二推送信息的位图通过所述客户端200的显示窗口进行显示。The information pushing module 106 is configured to display the generated bitmap including the second push information through a display window of the client 200.
具体地,所述信息推送模块106可通过调用客户端200中系统支持的一个图片显示控件(如安卓系统中notification的Imageview)将包括所述第二推送信息的位图通过所述显示窗口进行显示。Specifically, the information pushing module 106 may display a bitmap including the second push information through the display window by calling a picture display control supported by the system in the client 200 (such as an Imageview of the notification in the Android system). .
由于第二推送信息中的自定义表情符号是来自于所述数据库101中预先保存的自定义表情包,将第二推送信息进行视图渲染后,再调用客户端200中系统支持的一个图片显示控件进行显示,对于使用了不同操作系统的客户端200,其最终显示的位图也是相同的。Since the custom emoticon in the second push information is from the pre-saved custom emoticon package in the database 101, after the second push information is rendered in the view, the image display control supported by the system in the client 200 is invoked. Displaying, for the client 200 using a different operating system, the bitmap displayed finally is the same.
当多个使用不同操作系统的客户端200与服务器100连接时,服务器100推送通知时,只需发送相同的第一推送信息,即可对不同客户端200进行信息推送,实现了每个客户端200最终显示的通知内容的一致性。When a plurality of clients 200 using different operating systems are connected to the server 100, when the server 100 pushes the notification, the same first push information can be sent, and the information can be pushed to different clients 200, and each client is implemented. 200 The consistency of the notification content that is finally displayed.
所述表情符号更新模块107用于接收表情符号更新信息,并将所述表情符号更新信息储存到所述数据库101,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。所述数据库101中的表情符号可以随时更新,通过接收表情符号更新信息来完成更新操作。表情符号更新信息可以由与客户端200连接的服务器100发送,也可以在客户端200直接录入。或者,所述数据库101中的自定义表情包可以在收到服务器100发送的应用程序版本更新时与应用程序的版本一并进行更新。通过对数据库101中自定义表情符号的不断更新,增加了自定义表情符号的多样性,进一步提高了用户的体验。 The emoji update module 107 is configured to receive emoji update information, and store the emoji update information into the database 101, where the emoji update information includes a newly added custom emoji and the custom emoji A mapping relationship between characters encoded with the Unicode standard. The emoticons in the database 101 can be updated at any time, and the update operation is completed by receiving the emoticon update information. The emoji update information may be transmitted by the server 100 connected to the client 200 or directly at the client 200. Alternatively, the custom emoticon package in the database 101 may be updated together with the version of the application upon receiving the application version update sent by the server 100. By continuously updating the custom emoticons in the database 101, the diversity of the custom emoticons is increased, and the user experience is further improved.
图4示出了本发明较佳实施例提供的应用于图3所示的客户端200的信息推送方法的流程图。下面将对图4所示的具体流程和步骤进行详细阐述。FIG. 4 is a flow chart showing an information push method applied to the client 200 shown in FIG. 3 according to a preferred embodiment of the present invention. The specific processes and steps shown in FIG. 4 will be described in detail below.
步骤S401,所述推送信息接收模块102接收所述服务器100发送的第一推送信息。Step S401, the push information receiving module 102 receives the first push information sent by the server 100.
在本实施例中,所述服务器100将第一推送信息发送到与之连接的客户端200,客户端200感知到服务器100有推送时,获得服务器100推送的第一推送信息的文本内容。In this embodiment, the server 100 sends the first push information to the client 200 connected thereto. When the client 200 senses that the server 100 has the push, the client 200 obtains the text content of the first push information pushed by the server 100.
步骤S402,所述字符提取模块103提取出所述第一推送信息中存在的按照所述预设的统一字符编码标准进行编码的字符。In step S402, the character extraction module 103 extracts characters that are encoded according to the preset Unicode encoding standard existing in the first push information.
在本实施例中,第一推送信息包括文字信息和Unicode编码的字符两个部分的内容,所述字符提取模块103提取出Unicode编码的字符部分。In the present embodiment, the first push information includes content of two parts of text information and Unicode encoded characters, and the character extraction module 103 extracts the character portion of the Unicode code.
步骤S403,所述字符替换模块104将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。Step S403, the character replacement module 104 replaces the extracted characters with the corresponding custom emoticons, and generates second push information including the customized emoticons.
第二推送信息和第一推送信息的区别在于,第一推送信息中的Unicode编码的字符在第二推送信息中已经替换为对应的自定义表情符号。第二推送信息中的文字信息部分的内容没有因自定义表情符号替换Unicode编码的字符而产生变化。The difference between the second push information and the first push information is that the Unicode encoded character in the first push information has been replaced with the corresponding custom emoticon in the second push information. The content of the text information portion of the second push information is not changed by the custom emoticon replacing the Unicode encoded character.
步骤S404,所述视图渲染模块105将上述生成的第二推送信息进行视图渲染,生成包含该第二推送信息的位图。Step S404, the view rendering module 105 performs view rendering on the generated second push information to generate a bitmap including the second push information.
其中,对第二推送信息进行视图渲染的具体方式为,根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括所述第一推送信息中的文本字体大小、字符之间的间距。在保留第一推送信息的文本属性的同时,生成的位图与第二推送信息内容保持一致。The specific manner of performing the view rendering on the second push information is: performing standard view rendering according to the text attribute of the first push information, where the text attribute includes a text font size and a character in the first push information. The spacing between the two. While the text attribute of the first push information is retained, the generated bitmap is consistent with the second push information content.
步骤S405,所述信息推送模块106将上述生成的包含所述第二推送信息的位图通过所述客户端200的显示窗口进行显示。In step S405, the information pushing module 106 displays the generated bitmap including the second push information through the display window of the client 200.
具体地,所述信息推送模块106通过调用客户端200中系统支持的一个图片显示控件将包括所述第二推送信息的位图通过所述显示窗口进行显示。由于生成的位图与第二推送信息内容保持一致,即使采 用的图片显示控件不同,显示到客户端200显示窗口上的内容也是相同的。Specifically, the information pushing module 106 displays the bitmap including the second push information through the display window by calling a picture display control supported by the system in the client 200. Since the generated bitmap is consistent with the content of the second push information, even if The picture display controls are different, and the content displayed on the client 200 display window is also the same.
步骤S406,所述表情符号更新模块107接收表情符号更新信息,并将所述表情符号更新信息储存到所述数据库101。Step S406, the emoticon update module 107 receives the emoticon update information, and stores the emoticon update information in the database 101.
表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。作为优选的实施方式,对于自定义表情符号的更新,除了添加新的自定义表情符号以外,还可以对已经储存在数据库101中的自定义表情符号进行修改,或者是修改自定义表情符号与Unicode编码的字符之间的映射关系。The emoji update information includes a newly added custom emoji and a mapping relationship between the custom emoji and characters encoded by the Unicode standard. As a preferred embodiment, for the update of the custom emoticon, in addition to adding a new custom emoticon, the custom emoticon already stored in the database 101 can be modified, or the custom emoticon and the Unicode can be modified. The mapping between encoded characters.
本发明的上述技术构思还可以被实施为一种计算设备,该计算设备包括处理器和非暂时性机器可读存储介质。该非暂时性机器可读存储介质上存储有可执行代码。当该可执行代码被该处理器执行时,使该处理器执行上述方法实施例中记载的信息推送方法的部分或全部步骤。The above technical concept of the present invention can also be embodied as a computing device including a processor and a non-transitory machine readable storage medium. The non-transitory machine readable storage medium stores executable code thereon. When the executable code is executed by the processor, the processor is caused to perform some or all of the steps of the information pushing method described in the above method embodiments.
下面通过一个具体的例子对本发明提供的信息推送方法进行进一步详细的说明。The information push method provided by the present invention will be further described in detail below by way of a specific example.
例如,假设有多个客户端200为分别装有不同种类安卓(Android)系统的智能手机,客户端200从服务器下载应用程序(如浏览器)并安装,信息推送装置10为下载并安装于智能手机的浏览器的一部分功能模块,所述服务器100为该浏览器的后台服务器。当有新的通知需要推送时(如刚发生的热点新闻),服务器100将包括有Unicode编码的字符的第一推送信息发送到各个智能手机,各智能手机安装的浏览器在接收到第一推送信息后,获得第一推送信息的文本内容,提取出第一推送信息中存在的Unicode编码的字符。所述数据库101为浏览器的本地数据库101,其中保存的自定义表情符号为emoji表情,每个emoji表情都对应有预先设置的Unicode编码的字符。浏览器通过具有文本替换功能的控件执行替换操作(如执行TextView的span替换操作),将提取的Unicode编码的字符替换为对应的emoji表情,得到第二推送信息。然后再调用具有视图渲染功能的函数,根据所述 第一推送信息的文本属性对第二推送信息进行标准的视图渲染,并将渲染的内容存储在bitmap中,得到第二推送信息的位图。在安卓系统中,Notification支持信息的推送功能,推送通知栏的显示内容只能是单纯的文字。为了克服这一问题,将位图文件交给系统支持的一个图片显示控件(如Notification的ImageView)进行处理。通过ImageView将位图显示到智能手机的推送通知栏,使得用户可以查看到包括emoji表情的推送通知。For example, suppose that there are a plurality of clients 200 for smartphones respectively loaded with different kinds of Android systems, the client 200 downloads an application (such as a browser) from the server and installs, and the information push device 10 is downloaded and installed in the smart device. A part of the function module of the browser of the mobile phone, and the server 100 is a background server of the browser. When there is a new notification that needs to be pushed (such as the hot news that just happened), the server 100 transmits the first push information including the Unicode encoded characters to each smart phone, and the browser installed by each smart phone receives the first push. After the information, the text content of the first push information is obtained, and the Unicode encoded character existing in the first push information is extracted. The database 101 is a local database 101 of the browser, wherein the saved custom emoticons are emoji emoticons, and each emoji emoticon corresponds to a pre-set Unicode encoded character. The browser performs a replacement operation through a control having a text replacement function (such as performing a span replacement operation of the TextView), and replaces the extracted Unicode encoded characters with the corresponding emoji expressions to obtain a second push information. Then call the function with view rendering function, according to The text attribute of the first push information performs standard view rendering on the second push information, and stores the rendered content in the bitmap to obtain a bitmap of the second push information. In Android, Notification supports the push function of information, and the display content of the push notification bar can only be simple text. To overcome this problem, the bitmap file is handed over to a picture display control (such as Notification ImageView) supported by the system for processing. The bitmap is displayed to the push notification bar of the smartphone through ImageView, so that the user can view the push notification including the emoji expression.
本发明实施例提供的信息推送方法,对第一推送信息中的Unicode编码的字符的替换操作,是由信息推送装置10完成,并且根据相同的自定义表情符号以及映射关系,使得所有版本的系统最终显示的是相同的推送通知。由于保存在数据库101中的表情符号是自定义表情符号,可以随时对数据库101中的自定义表情包进行更新。The information pushing method provided by the embodiment of the present invention performs the replacement operation of the Unicode encoded characters in the first push information by the information pushing device 10, and makes all versions of the system according to the same custom emoticons and mapping relationships. The final push notification is displayed. Since the emoticons stored in the database 101 are custom emoticons, the custom emoticons in the database 101 can be updated at any time.
综上所述,本发明实施提供的信息推送装置、信息推送方法以及客户端,在进行信息推送时,首先根据预先定义的映射关系,将推送信息中的字符替换为自定义表情符号,然后将替换后的推送信息渲染为位图,通过客户端200的显示窗口进行显示。如此,可以实现包含有自定义表情符号内容的信息推送,增加了推送信息对用户的吸引力,提高了推送信息的点击率,有效提高用户的活跃程度。同时,通过使用统一的自定义表情符号,为所有用户提供了内容一致的用户体验。In summary, the information push device, the information push method, and the client provided by the implementation of the present invention first replace the characters in the push information with the custom emoticons according to the predefined mapping relationship when performing information push, and then The replaced push information is rendered as a bitmap and displayed through the display window of the client 200. In this way, the information push including the content of the custom emoji can be realized, the attraction of the push information to the user is increased, the click rate of the push information is improved, and the activity level of the user is effectively improved. At the same time, a consistent user experience is provided for all users by using a unified custom emoji.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方 框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and functionality of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. operating. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. Also note that each block in the block diagrams and/or flowcharts, as well as the blocks in the block diagrams and/or flowcharts The combination of blocks may be implemented by a special hardware-based system that performs the specified functions or actions, or may be implemented in a combination of dedicated hardware and computer instructions.
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。The functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. . It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (17)

  1. 一种信息推送装置,应用于客户端,所述装置包括:推送信息接收模块,用于接收服务器发送的第一推送信息;An information pushing device is applied to a client, and the device includes: a push information receiving module, configured to receive first push information sent by the server;
    字符提取模块,用于提取出所述第一推送信息中包括的按照预设的统一字符编码标准进行编码的字符;以及a character extraction module, configured to extract characters included in the first push information and encoded according to a preset Unicode encoding standard;
    字符替换模块,用于将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。The character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons.
  2. 根据权利要求1所述的装置,还包括:The apparatus of claim 1 further comprising:
    视图渲染模块,用于将所述第二推送信息进行视图渲染,生成包含第二推送信息的位图;及a view rendering module, configured to perform view rendering on the second push information to generate a bitmap including second push information; and
    信息推送模块,用于将所述包含第二推送信息的位图通过客户端的显示窗口进行显示。The information pushing module is configured to display the bitmap including the second push information through a display window of the client.
  3. 根据权利要求2所述的装置,其中,所述视图渲染模块根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括所述第一推送信息中的文本字体大小、字符之间的间距。The apparatus according to claim 2, wherein the view rendering module performs standard view rendering according to a text attribute of the first push information, the text attribute including a text font size and a character in the first push information The spacing between them.
  4. 根据权利要求2所述的装置,其中,所述信息推送模块通过调用所述客户端中系统支持的一个图片显示控件将包括所述第二推送信息的位图通过所述显示窗口进行显示。The apparatus according to claim 2, wherein said information pushing module displays a bitmap including said second push information through said display window by calling a picture display control supported by said system in said client.
  5. 根据权利要求1所述的装置,其中,所述自定义表情符号存储在自定义表情包中,每个自定义表情符号与所述按照预设的统一字符编码标准进行编码的字符具有一一对应的映射关系。The device according to claim 1, wherein the custom emoticons are stored in a custom emoticon package, and each of the custom emoticons has a one-to-one correspondence with the characters encoded according to a preset unified character encoding standard. Mapping relationship.
  6. 根据权利要求1所述的装置,还包括: The apparatus of claim 1 further comprising:
    表情符号更新模块,用于接收表情符号更新信息,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。The emoji update module is configured to receive emoji update information, where the emoji update information includes a newly added custom emoticon and a mapping relationship between the custom emoticon and a character encoded by the Unicode standard.
  7. 根据权利要求1所述的装置,其中,所述客户端安装有从所述服务器下载的适用于所述客户端的操作系统的应用程序,所述操作系统为安卓系统。The apparatus according to claim 1, wherein said client is installed with an application downloaded from said server and adapted to an operating system of said client, said operating system being an Android system.
  8. 一种信息推送方法,应用于客户端,An information push method applied to a client,
    所述方法包括:The method includes:
    接收服务器发送的第一推送信息;Receiving the first push information sent by the server;
    提取出所述第一推送信息中包括的按照预设的统一字符编码标准进行编码的字符;以及Extracting characters included in the first push information and encoding according to a preset Unicode encoding standard;
    将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。The extracted characters are replaced with corresponding custom emoticons to generate second push information including custom emoticons.
  9. 根据权利要求8所述的方法,还包括:The method of claim 8 further comprising:
    将所述第二推送信息进行视图渲染,生成包含第二推送信息的位图;及Performing view rendering on the second push information to generate a bitmap including the second push information; and
    将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示。The bitmap containing the second push information is displayed through the display window of the client.
  10. 根据权利要求9所述的方法,其中,所述将第二推送信息进行视图渲染的步骤包括:The method of claim 9, wherein the step of rendering the second push information for view comprises:
    根据所述第一推送信息的文本属性进行标准的视图渲染,所述文本属性包括所述第一推送信息中的文本字体大小、字符之间的间距。Performing standard view rendering according to the text attribute of the first push information, the text attribute including a text font size in the first push information, and a spacing between characters.
  11. 根据权利要求9所述的方法,其中,所述将包含第二推送信息的位图通过所述客户端的显示窗口进行显示的步骤包括: The method of claim 9, wherein the step of displaying the bitmap containing the second push information through the display window of the client comprises:
    通过调用所述客户端中系统支持的一个图片显示控件将包括所述第二推送信息的位图通过所述显示窗口进行显示。A bitmap including the second push information is displayed through the display window by calling a picture display control supported by the system in the client.
  12. 根据权利要求8所述的方法,还包括:The method of claim 8 further comprising:
    接收表情符号更新信息,并将所述表情符号更新信息储存到所述数据库,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。Receiving emoji update information and storing the emoji update information to the database, the emoji update information including a newly added custom emoji and characters of the custom emoji encoded with the Unicode standard Mapping relations.
  13. 一种客户端,包括:A client that includes:
    存储器;Memory
    处理器;以及Processor;
    信息推送装置,所述信息推送装置包括一个或多个存储于所述存储器并由所述处理器执行的模块,所述信息推送装置包括:推送信息接收模块,用于接收所述服务器发送的第一推送信息;An information pushing device, the information pushing device comprising one or more modules stored in the memory and executed by the processor, the information pushing device comprising: a push information receiving module, configured to receive the first Push information;
    字符提取模块,用于提取出所述第一推送信息中包括的按照预设的统一字符编码标准进行编码的字符;以及a character extraction module, configured to extract characters included in the first push information and encoded according to a preset Unicode encoding standard;
    字符替换模块,用于将提取出的字符替换为对应的自定义表情符号,生成包含有自定义表情符号的第二推送信息。The character replacement module is configured to replace the extracted characters with the corresponding custom emoticons, and generate second push information including the customized emoticons.
  14. 根据权利要求13所述的客户端,还包括:The client according to claim 13, further comprising:
    视图渲染模块,用于将所述第二推送信息进行视图渲染,生成包含第二推送信息的位图;及a view rendering module, configured to perform view rendering on the second push information to generate a bitmap including second push information; and
    信息推送模块,用于将所述包含第二推送信息的位图通过所述客户端的显示窗口进行显示。The information pushing module is configured to display the bitmap including the second push information through a display window of the client.
  15. 根据权利要求13所述的客户端,还包括:The client according to claim 13, further comprising:
    表情符号更新模块,用于接收表情符号更新信息,所述表情符号更新信息包括新添加的自定义表情符号以及该自定义表情符号与统一字符编码标准进行编码的字符的映射关系。 The emoji update module is configured to receive emoji update information, where the emoji update information includes a newly added custom emoticon and a mapping relationship between the custom emoticon and a character encoded by the Unicode standard.
  16. 根据权利要求13所述的客户端,还包括:The client according to claim 13, further comprising:
    数据库,存储有自定义表情包,该自定义表情包存储有至少一个自定义表情符号,每个自定义表情符号与按照预设的统一字符编码标准进行编码的字符具有一一对应的映射关系。The database stores a custom emoticon package, and the custom emoticon package stores at least one custom emoticon, and each of the custom emoticons has a one-to-one mapping relationship with characters encoded according to a preset unified character encoding standard.
  17. 一种非暂时性机器可读存储介质,其上存储有可执行代码,当所述可执行代码被处理器执行时,使所述处理器执行根据权利要求8-12中任何一项所述的方法。 A non-transitory machine-readable storage medium having stored thereon executable code that, when executed by a processor, causes the processor to perform the method of any of claims 8-12 method.
PCT/CN2017/070210 2016-01-14 2017-01-05 Information-pushing device, method, client and machine-readable storage medium WO2017121278A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610029606.7 2016-01-14
CN201610029606.7A CN105718534B (en) 2016-01-14 2016-01-14 Information pushing apparatus, information pushing method and client

Publications (1)

Publication Number Publication Date
WO2017121278A1 true WO2017121278A1 (en) 2017-07-20

Family

ID=56147693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070210 WO2017121278A1 (en) 2016-01-14 2017-01-05 Information-pushing device, method, client and machine-readable storage medium

Country Status (2)

Country Link
CN (1) CN105718534B (en)
WO (1) WO2017121278A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113393A (en) * 2019-04-18 2019-08-09 北京奇艺世纪科技有限公司 A kind of information push method, device, electronic equipment and medium
CN110971693A (en) * 2019-12-03 2020-04-07 迈普通信技术股份有限公司 Event issuing method and device

Families Citing this family (8)

* Cited by examiner, † Cited by third party
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 中国银联股份有限公司 For the device and method of virtual expression to be presented in a personalized manner at the 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 for displaying color expression using QML, server 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 for displaying notification bar message and mobile terminal
WO2024046275A1 (en) * 2022-09-02 2024-03-07 华为技术有限公司 Display method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
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
CN104065565A (en) * 2014-06-12 2014-09-24 北京奇虎科技有限公司 Information pushing method, server, client-side device and system
CN105160033A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Expression character string processing method and device
CN105718534A (en) * 2016-01-14 2016-06-29 广州市动景计算机科技有限公司 Information pushing apparatus, information pushing method and client

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100346338C (en) * 2001-07-12 2007-10-31 捷讯研究有限公司 System and method for providing remote data access and transcoding for a mobile communication device
CN103916369A (en) * 2013-01-04 2014-07-09 中国移动通信集团公司 Service information pushing and receiving method and devices thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN104065565A (en) * 2014-06-12 2014-09-24 北京奇虎科技有限公司 Information pushing method, server, client-side device and system
CN105160033A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Expression character string processing method and device
CN105718534A (en) * 2016-01-14 2016-06-29 广州市动景计算机科技有限公司 Information pushing apparatus, information pushing method and client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Pushing APP Messages based on Demand Rather than Desire", NETEASE NEWS, 6 January 2016 (2016-01-06), pages 2, Retrieved from the Internet <URL:http://help.3g.163.com/16/0106/11/BCL3CHRF00964KDF.html> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113393A (en) * 2019-04-18 2019-08-09 北京奇艺世纪科技有限公司 A kind of information push method, device, electronic equipment and medium
CN110971693A (en) * 2019-12-03 2020-04-07 迈普通信技术股份有限公司 Event issuing method and device
CN110971693B (en) * 2019-12-03 2023-09-15 迈普通信技术股份有限公司 Event release method and device

Also Published As

Publication number Publication date
CN105718534B (en) 2017-05-03
CN105718534A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
WO2017121278A1 (en) Information-pushing device, method, client and machine-readable storage medium
CN109815028B (en) System, method, apparatus and computer storage medium for data synchronization
CN110708346B (en) Information processing system and method
US20190166216A1 (en) Information pushing method and device
CN108432200B (en) Method for protecting and controlling access to private personal information
US10911565B2 (en) Method, device and system for associating a service account
US11829588B2 (en) Method, apparatus, and system for generating resource value transfer request
WO2018024116A1 (en) Card-based information displaying method and apparatus, and information displaying service processing method and apparatus
WO2018053594A1 (en) Emoji images in text messages
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
CN107465601B (en) Push information processing method and device
CN113568699A (en) Content display method, device, equipment and storage medium
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN106897202B (en) Method and apparatus for outputting data
CN107171927B (en) Information processing method and electronic equipment
CN108777632B (en) Data processing method, client, service platform and configuration platform
CN111381819A (en) List creation method and device, electronic equipment and computer-readable storage medium
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
KR20170076430A (en) Electronic apparatus and control method thereof
CN111078219B (en) Page display method, device and system, electronic equipment and storage medium
US20130151945A1 (en) Processing Published and Subscribed Events
EP3188417B1 (en) Information display method, terminal and server
CN107918552B (en) Light application calling method and device, client device and electronic equipment
CN107544796B (en) Notification bar message display method and device and user terminal
CN111181836B (en) Message pushing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17738092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17738092

Country of ref document: EP

Kind code of ref document: A1