[go: up one dir, main page]

WO2016124074A1 - 一种信息处理方法、客户端及服务器、计算机存储介质 - Google Patents

一种信息处理方法、客户端及服务器、计算机存储介质 Download PDF

Info

Publication number
WO2016124074A1
WO2016124074A1 PCT/CN2016/071177 CN2016071177W WO2016124074A1 WO 2016124074 A1 WO2016124074 A1 WO 2016124074A1 CN 2016071177 W CN2016071177 W CN 2016071177W WO 2016124074 A1 WO2016124074 A1 WO 2016124074A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
information
format information
parsing
system message
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.)
Ceased
Application number
PCT/CN2016/071177
Other languages
English (en)
French (fr)
Inventor
肖斯予
于小雨
周梦莎
林炯超
任立斌
黎勇杰
戴政
郜翼
黄铎楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Publication of WO2016124074A1 publication Critical patent/WO2016124074A1/zh
Priority to US15/664,263 priority Critical patent/US10795629B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2101Auditing as a secondary aspect
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Definitions

  • the present invention relates to communication technologies, and in particular, to an information processing method, a client and a server, and a computer storage medium.
  • embodiments of the present invention are intended to provide an information processing method, a client, and a service.
  • the computer storage medium solves at least the problems of the prior art.
  • An embodiment of the present invention provides an information processing method, where the method is applied to a client, and the method includes:
  • the user logs in to the client to send a first request, and after the first request is verified, a communication connection is established between the client and the server;
  • the user receives the system message sent by the server on the currently logged in user interface
  • the system message is generated by the server and supports at least display of text format information.
  • An embodiment of the present invention further provides a client, where the client includes:
  • a communication establishing unit configured to send a first request by the user to log in to the client, and establish a communication connection between the client and the server after the first request is verified;
  • the receiving unit is configured to receive a system message sent by the server on the currently logged-in user interface; the system message is generated by the server, and at least supports display of text format information.
  • the communication establishing unit when the processing unit performs processing, may use a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array (FPGA, Field-Programmable). Gate Array) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA programmable logic array
  • FPGA Field-Programmable Gate Array
  • An embodiment of the present invention further provides an information processing method, where the method is applied to a server, and the method includes:
  • Generating a system message the system message supporting at least display of text format information on the client;
  • the embodiment of the invention further provides a server, the server comprising:
  • the verification unit is configured to receive the first request sent by the first user to log in to the client, the first request After the verification is passed, a communication connection is established between the client and the server;
  • Generating a unit configured to generate a system message, where the system message supports at least display of text format information on the client;
  • a sending unit configured to send the system message.
  • the verification unit, the generating unit, and the sending unit may use a central processing unit (CPU), a digital signal processor (DSP, Digital Singnal Processor) or a programmable logic array (FPGA) when performing processing. , Field-Programmable Gate Array) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA programmable logic array
  • Embodiments of the present invention also provide a computer storage medium in which computer executable instructions are stored for executing the above information processing method.
  • the information processing method of the embodiment of the present invention includes: the user logs in to the client to send a first request, and after the first request is verified, a communication connection is established between the client and the server; the user receives the system delivered by the server on the currently logged-in user interface.
  • the message is generated by the server and supports at least the display of text format information.
  • the generated system message is sent by the server, so that the system message is directly displayed to the direct user after being parsed by the client, and the third party is not required to display the information after the transfer, saving resources and improving information push.
  • the current login interface can directly receive the information and see the final display of the information, without the prompt of the notification message to jump out of the current login interface to another page to receive information, It saves resources and avoids multi-level operation of the client side and multiple interactions with the server, so that the user can get the final operation result as soon as possible.
  • Embodiment 1 is a schematic flowchart of an implementation process of Embodiment 1 of the present invention.
  • Embodiment 2 is a schematic flowchart of an implementation process of Embodiment 2 of the method according to the present invention
  • FIG. 3 is a schematic structural diagram of a first embodiment of a client according to the present invention.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a system according to the present invention.
  • FIG. 6 is a schematic diagram of a hardware entity of a client or a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a red packet receiving notification message in a multi-level user interface of a prior art application scenario
  • FIG. 8 is a schematic diagram of a user interface of a prior art application scenario
  • FIG. 9 is a schematic diagram of a system message composition in a first-level user interface obtained by applying an application scenario according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a first-level user interface obtained by applying an application scenario of an embodiment of the present invention.
  • FIG. 1 An information processing method of the embodiment of the present invention is as shown in FIG. 1 , the method is applied to a client, and the method includes:
  • Step 101 The user logs in to the client to send a first request, and after the first request is verified, a communication connection is established between the client and the server;
  • the first request may be a login request. If the first user does not log out after successfully logging in through the account and password for the first time, the next time the user enters the client again without logging in, directly using the established communication connection to the client. It is sufficient to establish an interaction between the server and the server. In this case, this step can be omitted.
  • Step 102 The user receives a system message sent by the server on the currently logged in user interface.
  • Step 103 The system message is generated by a server, and at least supports display of text format information.
  • the steps 102-103 can be used to directly receive the information on the current login interface and see the final display result of the information. Jump through the current message by the prompt of the notification message Recording the interface to another page to receive information saves resources, avoids multi-level operation of the client side and multiple interactions with the server, so that the user gets the final operation result as soon as possible, and the received server is directly under the server.
  • the system message that supports at least the text format information is displayed on the client.
  • the system message is a newly constructed system message including a custom tag field, which is different from a system message that only supports plain text information.
  • the newly constructed system message is generated and delivered by the server, so that the system message can be directly displayed to the direct user after being parsed by the client, and the third party is not required to display the information after the relay is transferred, thereby saving resources.
  • the server so that the system message can be directly displayed to the direct user after being parsed by the client, and the third party is not required to display the information after the relay is transferred, thereby saving resources.
  • the system message supports display of the customized format information in addition to supporting the display of the text format information.
  • An information processing method is provided in the embodiment of the present invention. As shown in FIG. 2, the method is applied to a client, and the method includes:
  • Step 201 The user logs in to the client to send a first request, and after the first request is verified, a communication connection is established between the client and the server.
  • the first request may be a login request. If the first user does not log out after successfully logging in through the account and password for the first time, the next time the user enters the client again without logging in, directly using the established communication connection to the client. It is sufficient to establish an interaction between the server and the server. In this case, this step can be omitted.
  • Step 202 The user receives a system message sent by the server on the currently logged in user interface.
  • Step 203 The system message is generated by a server, and at least supports display of text format information.
  • Step 204 Obtain the system message, and distinguish the text format information and the customized format information in the system message.
  • Step 205 Perform parsing on the text format information by using a first parsing mode to obtain a first Parsing the result, the first parsing result is a specific content of the text format information;
  • the parsing of the plain text format information can be implemented by using a conventional text information parsing means
  • Step 206 Extract the preset parsing rule corresponding to the preset encoding rule of the server from the local, and perform decoding and matching based on the preset parsing rule, and parse the second parsing mode to obtain the second parsing.
  • the second parsing result is a specific content of the custom format information
  • the decoding and matching are performed based on the preset parsing rule, and parsing is performed by using the second parsing mode, which may be implemented according to a corresponding rule agreed by the client and the server, such as a mapping relationship; the mapping relationship may be similar.
  • Step 207 Display the first parsing result and the second parsing result on the currently logged in user interface.
  • step 202-203 can implement the final display result of the information directly on the current login interface and see the information on the current login interface.
  • step 202-203 can implement the final display result of the information directly on the current login interface and see the information on the current login interface.
  • the newly constructed system message is generated and delivered by the server, so that the system message can be directly displayed to the direct user after being parsed by the client, and no additional third party is required.
  • the display after the transfer of the information, saving resources, improving the efficiency of the information pushed to the user, in line with the rapid demand of the results directly.
  • Steps 204-207 are used to distinguish different types of information in the system message, and different parsing modes are used for parsing.
  • the client parses the custom format information with the parsing rules of the corresponding encoding rules agreed with the server in advance. And finally obtaining the first parsing result and the second parsing result on the currently logged in user interface.
  • the customized format information includes at least one of scene identification type picture information and interactive information.
  • the scene identification class picture information may be an ICON of a WeChat red packet receiving scenario
  • the interactive information may be an interactive page control that supports entering a WeChat red packet detail page to receive a user operation to enter another WeChat red packet detail page.
  • the method further includes:
  • Step 301 The specific content of the text format information obtained by parsing the system message, the specific content of the scene identification type picture information, and the specific content of the interactive information are displayed on the currently logged-in user interface.
  • Step 302 Trigger a first operation that is performed on the specific content of the interactive information.
  • Step 303 In response to the first operation, jump to a first page indicated or linked by the specific content of the interactive information, where the first page includes content that is described in the details of the sharing information, such as described in a specific application scenario. Details page of WeChat red envelope.
  • a client of the embodiment of the present invention includes:
  • the communication establishing unit 11 is configured to send a first request by the user to log in to the client, and establish a communication connection between the client and the server after the first request is verified;
  • the receiving unit 12 is configured to receive, by the user, a system message sent by the server on the currently logged-in user interface; the system message is generated by the server, and at least supports display of text format information.
  • the system message supports display of the customized format information in addition to supporting the display of the text format information.
  • the client further includes:
  • a distinguishing unit configured to acquire the system message, and distinguish the text format information and the customized format information in the system message
  • the first parsing unit is configured to parse the text format information by using a first parsing mode to obtain a first parsing result, where the first parsing result is a text format information specific content;
  • the second parsing unit is configured to extract a preset parsing rule from the local to the custom format information, perform matching based on the preset parsing rule, parse the second parsing mode, and obtain a second parsing result, where the The second parsing result is the specific content of the custom format information;
  • a display unit configured to display the first parsing result and the second parsing result on the currently logged-on user interface.
  • the customized format information includes at least one of scene identification type picture information and interactive information.
  • the display unit is further configured to display the specific content of the text format information and the specific content of the scene identification type picture information obtained after parsing the system message on the currently logged user interface. Interacting information specific content;
  • the client also includes:
  • a triggering unit configured to trigger a first operation on a specific content of the interactive information
  • the response unit is configured to, in response to the first operation, jump to a first page indicated or linked by the specific content of the interactive information, where the first page includes content that is described in the sharing information details.
  • An information processing method according to an embodiment of the present invention, as shown in FIG. 4, the method is applied to a server, and the method includes:
  • Step 401 Receive a first request sent by the first user to log in to the client, where the first request is verified. Afterwards, a communication connection is established between the client and the server;
  • Step 402 Generate a system message, where the system message supports at least display of text format information on the client.
  • Step 403 Send the system message.
  • the system message supports displaying the customized format information on the client in addition to displaying the text format information on the client.
  • the generating system message includes:
  • Step 501 Acquire a specific content of the text format information, and generate a corresponding text format information by using the first coding mode, where the first coding mode corresponds to the first analysis mode;
  • the first coding mode may adopt an existing text information coding means
  • Step 502 Obtain the specific content of the customized format information, extract the preset encoding rule from the local, and generate the corresponding customized format information by using the second encoding mode, where the second encoding mode corresponds to the second parsing mode, and the preset encoding rule Corresponds to the preset parsing rules.
  • the preset encoding rule may adopt an encoding rule of a rich text control.
  • the customized format information includes at least one of scene identification type picture information and interactive information.
  • the embodiment of the present invention is composed of a client and a server.
  • the communication establishing unit 11, the receiving unit 12, the distinguishing unit 13, the first analyzing unit 14, the second analyzing unit 15, and the display unit 16 are included on the client side.
  • the communication establishing unit 11 is configured to send a first request by the user to log in to the client, and establish a communication connection between the client and the server after the first request is verified; and the receiving unit 12 is configured to receive the server under the currently logged-in user interface.
  • System message sent; the system message is served by The server generates, at least supports the display of the text format information; the distinguishing unit 13 is configured to acquire the system message, and distinguish the text format information and the customized format information in the system message; the first parsing unit 14 And configured to parse the text format information by using a first parsing mode, to obtain a first parsing result, where the first parsing result is specific content of the text format information; and the second parsing unit 15 is configured to be configured to the custom format.
  • the verifying unit 21 is configured to receive the first request sent by the first user to log in to the client.
  • the generating unit 22 is configured to generate a system message, The system message at least supports the display of the text format information on the client;
  • the sending unit 23 is configured to send the system message;
  • the first encoding sub-unit 221 is configured to obtain the specific content of the text format information, and generate the corresponding text format by using the first encoding mode.
  • the first encoding mode corresponds to the first parsing mode
  • the second encoding sub-unit 222 is configured to obtain the specific content of the customized format information, extract the preset encoding rule from the local, and generate the corresponding customized format by using the second encoding mode.
  • the second encoding mode corresponds to the second parsing mode
  • the preset encoding rule corresponds to a preset parsing rule.
  • the above-mentioned client can be an electronic device such as a PC, and can also be a portable electronic device such as a PAD, a tablet computer or a laptop computer, or a smart mobile terminal such as a mobile phone, and is not limited to the description herein.
  • the server may be an electronic device that is configured by a cluster system and integrated into one or each unit function to implement each unit function, and the client and the server at least include a database for storing data and for data processing.
  • the processor includes either a storage medium set in the server or a separately set storage medium.
  • a microprocessor when performing processing, a microprocessor, a central processing unit (CPU), a digital signal processor (DSP, a digital Singnal Processor or a Field-Programmable Gate Array (FPGA); for a storage medium, an operation instruction, which may be a computer executable code, by which the present invention is implemented.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the apparatus includes a processor 31, a storage medium 32, and at least one external communication interface 33; the processor 31, the storage medium 32, and the external communication interface 33 are all connected by a bus 34.
  • the system message supports displaying the customized format information on the client in addition to displaying the text format information on the client.
  • the customized format information includes at least one of scene identification type picture information and interactive information.
  • the social network tool of the embodiment of the present invention is a scenario of a red text system message based on a rich text control in a WeChat, where the system involves a system message and a red packet receiving notification message, wherein the system message is: the server is sent to the client through the WeChat The type of message delivered does not depend on other users.
  • the red envelope receiving notification message is: after the issued WeChat red envelope is received by the person, the red envelope person receives a notification to inform which friend received the red envelope at what time.
  • a template message is sent to the redistributed person by introducing a third party "WeChat Red Packet" public number, and the template message is the red packet receiving notification message, which belongs to the PUSH message type.
  • Each red envelope of a personal red envelope will be sent through the public number template message to receive the notification; the group red envelope will issue the first three and the last template message.
  • the current login interface 601 of the user receives a template message pushed by the "WeChat Red Packet" public number in the status bar or any position of the current login interface 601 of the user, and the template message is the red packet receiving notification message, the user By clicking the message to enter another red packet receiving situation page 603, the case where each user receives the red envelope is displayed on the red packet receiving situation page 603.
  • the multi-level page interaction existing in the prior art can be used to see the final operation result displayed, and the user needs to click the notification message to enter, increase the user interaction, occupy the client resource, push the information through the third party, and the information interaction needs to be transferred.
  • the information push result is incomplete, which is not conducive to the fast demand of information sharing.
  • the more the transfer the more problems in the middle of the information and the need for the server to review the push information, the server resources are used, and the information is not directly pushed by the server. Then, whether the information is credible information and so on are all exposed and cannot be solved.
  • the system message custom tag field is added to replace the original normal text system message.
  • the first field is customized for each scene ID
  • the picture of the class is not limited to the scene of the current WeChat red envelope, but also the scene of other various social network tools such as the hand Q red envelope;
  • the second field is a text message;
  • the third field is a custom text color, which is different from the first
  • the display mode of the text message in the two fields for example, the third field and the second field are different in color, or the font is different, or the font size is different, etc., as long as the second field and the third field are distinguishable when displayed.
  • the third field is interactive information, allowing the user to click on the interactive information to access another page related to the WeChat red envelope details.
  • the client parses the system message custom label text sent by the server, uses the regular expression to search and match locally on the client, extracts the information used in the text to specialize the message style, and then implements the style according to the corresponding information.
  • Specialized display the first field is a customized image for each scene identification class, not limited to the current WeChat red envelope scene, but also can be a scene of other various social network tools such as Q red envelope; the second field Is a text message; the third field is a custom text color, different from the way the text message is displayed in the second field, such as the third field and the second field are different in color, or the font is different, or the font size is different, etc.
  • the user can click on the interactive information to enter another page about the details of the WeChat red envelope. To see how many WeChat red envelopes, how many red envelopes the user can receive, and the amount of the letter .
  • the page of the embodiment of the present invention supports the customized message format, so that the constructed new system message is more in line with the usage scenario, is easy to identify, and reduces the operation of the user, and finally the result is directly displayed on the chat interface currently registered by the user. Mixed with chat information, but it is still possible to identify at the first glance which message context is appropriate for which application scenario.
  • the newly reconstructed new system message that is, the red envelope system message
  • the red envelope icon is added in the message header to facilitate the user to distinguish the system message type; at the same time, the color character at the end of the message, such as The word "orange red envelope" supports direct jump to the red envelope details page.
  • the user no longer needs to find the red envelope bubble and clicks to see the details, so that the red envelope in any chat scene is notified, and is sent in the current chat scene. The user does not have to leave the chat to confirm whether the red envelope is received.
  • FIG. 9 is a first-level user interface obtained by applying an application scenario of the embodiment of the present invention.
  • a schematic diagram of a system message including three fields of a new system message parsed and displayed in a WeChat red envelope scenario, respectively ICON, pure text information and interactive information, the new system message being displayed on the user login interface 603, by acting on the The user operation on the interactive information can enter the red bag detail collection page, and the page displays several contents similar to those shown in FIG. 9;
  • FIG. 10 is a schematic diagram of the user interface applied to the scenario of the embodiment of the present invention, which can be seen intuitively The content described above will not be described.
  • the integrated modules described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media containing computer usable program code, including but not limited to a USB flash drive, a mobile hard drive, a read only memory ( ROM, Read-Only Memory), disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention further provides a computer storage medium, wherein computer executable instructions are stored, and the computer executable instructions are used to execute the foregoing information processing method of the embodiment of the present invention.
  • the generated system message is sent by the server, so that the system message is directly displayed to the direct user after being parsed by the client, and the third party is not required to display the information after the transfer, saving resources and improving information push.
  • the current login interface can directly receive the information and see the final display of the information, without the prompt of the notification message to jump out of the current login interface to another page to receive information, It saves resources and avoids multi-level operation of the client side and multiple interactions with the server, so that the user can get the final operation result as soon as possible.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Accounting & Taxation (AREA)
  • Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种信息处理方法、客户端及服务器,其中,所述方法包括:用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服务器生成,至少支持文本格式信息的展示。

Description

一种信息处理方法、客户端及服务器、计算机存储介质 技术领域
本发明涉及通讯技术,尤其涉及一种信息处理方法、客户端及服务器、计算机存储介质。
背景技术
本申请发明人在实现本申请实施例技术方案的过程中,至少发现相关技术中存在如下技术问题:
随着互联网技术的发展,大数据时代的信息爆炸层出不穷,出于公众信息分享的需要,目前的信息处理技术会以社交网络工具为依托,比如,微信,微博等等,有大量的信息会在社交网络中进行分享,信息分享的展现形式日趋多样化,而不同的展现方式会影响到用户在客户端的操作处理效率和操作结果,且通过用户在客户端的操作处理,会导致客户端与服务器交互中的信息传输,信息通知都有所不同,用户在客户端的操作越多,触发客户端与服务器间的交互越多,都会大量占用客户端和服务器侧的系统资源,及大量的交互也会浪费网络带宽资源。另外,有些信息展现形式的基础不是基于在直接用户与服务器之间进行信息交互,还需要引入第三方介入来中转信息交互。
综上所述,采用现有技术,对于如何尽量减少用户操作,减少客户端与服务器的交互,无需第三方介入也能高效的展现信息,使得用户尽快得到最终的操作结果的问题,尚无有效解决方案。
发明内容
有鉴于此,本发明实施例希望提供一种信息处理方法、客户端及服务 器、计算机存储介质,至少解决了现有技术存在的问题。
本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种信息处理方法,所述方法应用于客户端,所述方法包括:
用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
用户在当前登录的用户界面接收服务器下发的系统消息;
所述系统消息由服务器生成,至少支持文本格式信息的展示。
本发明实施例还提供了一种客户端,所述客户端包括:
通信建立单元,配置为用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
接收单元,配置为用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服务器生成,至少支持文本格式信息的展示。
所述通信建立单元,所述接收单元在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
本发明实施例还提供了一种信息处理方法,所述方法应用于服务器,所述方法包括:
收到第一用户登录客户端发送的第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;
发送所述系统消息。
本发明实施例还提供了一种服务器,所述服务器包括:
验证单元,配置为收到第一用户登录客户端发送的第一请求,第一请 求验证通过后在客户端与服务器间建立通信连接;
生成单元,配置为生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;
发送单元,配置为发送所述系统消息。
所述验证单元,所述生成单元,所述发送单元在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
本发明实施例还提供一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令用于执行上述信息处理方法。
本发明实施例的信息处理方法包括:用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服务器生成,至少支持文本格式信息的展示。
采用本发明实施例,由服务器下发其生成的系统消息,使得系统消息在客户端解析后直接展示给直接用户,不需要额外引入第三方进行信息中转后的展示,节约资源,提高了信息推送到用户的效率,符合结果直接展现的快捷需求,在当前登录界面就可以直接接收信息并看到信息的最终展示结果,不需要通过通知消息的提示跳出当前登录界面到另一个页面来接收信息,节约了资源,避免了客户端侧的用户多级操作和与服务器的多次交互,使得用户尽快得到最终的操作结果。
附图说明
图1为本发明方法实施例一的一个实现流程示意图;
图2为本发明方法实施例二的一个实现流程示意图;
图3为本发明客户端实施例一的一个组成结构示意图;
图4为本发明方法实施例三的一个实现流程示意图;
图5为本发明系统实施例一的一个组成结构示意图;
图6为本发明实施例客户端或服务器一个硬件实体的示意图;
图7为现有技术应用场景的多级用户界面中红包领取通知消息的示意图;
图8为现有技术应用场景的用户界面的示意图;
图9为应用本发明实施例的一应用场景得到的一级用户界面中系统消息构成的示意图;
图10应用本发明实施例的一应用场景得到的一级用户界面的示意图。
具体实施方式
下面结合附图对技术方案的实施作进一步的详细描述。
方法实施例一:
本发明实施例的一种信息处理方法,如图1所示,所述方法应用于客户端,所述方法包括:
步骤101、用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
这里,所述第一请求可以是登录请求,如果第一用户初次通过账号和密码登录成功后并未退出该客户端,下一次再次进入该客户端无需登录,直接利用已经建立的通信连接在客户端与服务器之间建立交互即可,这种情况下,这个步骤可以省略。
步骤102、用户在当前登录的用户界面接收服务器下发的系统消息;
步骤103、所述系统消息由服务器生成,至少支持文本格式信息的展示。
采用本发明实施例,通过步骤101建立客户端与服务器的通信连接后,通过步骤102-103能实现在当前登录界面在当前登录界面就可以直接接收信息并看到信息的最终展示结果,不需要通过通知消息的提示跳出当前登 录界面到另一个页面来接收信息,节约了资源,避免了客户端侧的用户多级操作和与服务器的多次交互,使得用户尽快得到最终的操作结果,而且,所接收的是服务器直接下发的至少支持文本格式信息在客户端的展示的系统消息,该系统消息是本发明实施例新构造的包含自定义标签字段的系统消息,有别于只支持纯文本信息的系统消息。
本发明实施例中,该新构造的系统消息由服务器生成和下发,使得系统消息在客户端解析后能直接展示给直接用户,不需要额外引入第三方进行信息中转后的展示,节约资源,提高了信息推送到用户的效率,符合结果直接展现的快捷需求。
在本发明实施例一实施方式中,所述系统消息除了支持所述文本格式信息的展示,还支持自定义格式信息的展示。
方法实施例二:
本发明实施例的一种信息处理方法,如图2所示,所述方法应用于客户端,所述方法包括:
步骤201、用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
这里,所述第一请求可以是登录请求,如果第一用户初次通过账号和密码登录成功后并未退出该客户端,下一次再次进入该客户端无需登录,直接利用已经建立的通信连接在客户端与服务器之间建立交互即可,这种情况下,这个步骤可以省略。
步骤202、用户在当前登录的用户界面接收服务器下发的系统消息;
步骤203、所述系统消息由服务器生成,至少支持文本格式信息的展示。
步骤204、获取所述系统消息,区分出所述系统消息中的所述文本格式信息和所述自定义格式信息;
步骤205、对所述文本格式信息采用第一解析模式进行解析,得到第一 解析结果,所述第一解析结果为文本格式信息具体内容;
这里,对于纯文本格式信息的解析可以采用常规的文本信息解析手段实现;
步骤206、对所述自定义格式信息,从本地提取对应服务器侧预设编码规则的预设解析规则,基于所述预设解析规则进行解码匹配,采用第二解析模式进行解析,得到第二解析结果,所述第二解析结果为自定义格式信息具体内容;
这里,所述基于所述预设解析规则进行解码匹配,采用第二解析模式进行解析,可以是根据客户端和服务器事先约定好的一种对应规则,比如映射关系来实现;映射关系的可以类似于:在服务器设置A=A1;B=B1;C=C1…..等等的关系;在客户端也有A=A1;B=B1;C=C1…..等等的关系,则客户端接收到A、B、C…..等等自定义的标签,就可以通过这种关系匹配得到解析结果为:A1、B1、C1…..等等。
步骤207、将所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上。
采用本发明实施例,通过步骤201建立客户端与服务器的通信连接后,通过步骤202-203能实现在当前登录界面在当前登录界面就可以直接接收信息并看到信息的最终展示结果,不需要通过通知消息的提示跳出当前登录界面到另一个页面来接收信息,节约了资源,避免了客户端侧的用户多级操作和与服务器的多次交互,使得用户尽快得到最终的操作结果,而且,所接收的是服务器直接下发的至少支持文本格式信息在客户端的展示的系统消息,该系统消息是本发明实施例新构造的包含自定义标签字段的系统消息,有别于只支持纯文本信息的系统消息。
本发明实施例中,该新构造的系统消息由服务器生成和下发,使得系统消息在客户端解析后能直接展示给直接用户,不需要额外引入第三方进 行信息中转后的展示,节约资源,提高了信息推送到用户的效率,符合结果直接展现的快捷需求。
通过步骤204-207,对系统消息中不同类型的信息进行区分后,分别采用不同的解析模式进行解析,特别,客户端对于自定义格式信息采用与服务器事先约定好对应编码规则的解析规则进行解析,最终将得到的所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上。
在本发明实施例一实施方式中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
这里,所述场景标识类图片信息可以是微信红包领取场景的ICON,可交互信息可以是支持进入微信红包详情页面的可交互页面控件,以接收用户操作进入另一个微信红包的详情页面。
在本发明实施例一实施方式中,所述方法还包括:
步骤301、在所述当前登录的用户界面展示有解析所述系统消息后得到的文本格式信息具体内容、场景标识类图片信息具体内容、可交互信息具体内容;
步骤302、触发作用于所述可交互信息具体内容上的第一操作;
步骤303、响应所述第一操作,跳转至所述可交互信息具体内容所指示或链接的第一页面,所述第一页面包括分享信息详情介绍的内容,比如后续具体应用场景中描述的微信红包的详情页面。
客户端实施例一:
本发明实施例的一种客户端,如图3所示,所述客户端包括:
通信建立单元11,配置为用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
接收单元12,配置为用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服务器生成,至少支持文本格式信息的展示。
在本发明实施例一实施方式中,所述系统消息除了支持所述文本格式信息的展示,还支持自定义格式信息的展示。
在本发明实施例一实施方式中,所述客户端还包括:
区分单元,配置为获取所述系统消息,区分出所述系统消息中的所述文本格式信息和所述自定义格式信息;
第一解析单元,配置为对所述文本格式信息采用第一解析模式进行解析,得到第一解析结果,所述第一解析结果为文本格式信息具体内容;
第二解析单元,配置为对所述自定义格式信息,从本地提取预设解析规则,基于所述预设解析规则进行匹配,采用第二解析模式进行解析,得到第二解析结果,所述第二解析结果为自定义格式信息具体内容;
显示单元,配置为将所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上。
在本发明实施例一实施方式中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
在本发明实施例一实施方式中,所述显示单元,还配置为在所述当前登录的用户界面展示有解析所述系统消息后得到的文本格式信息具体内容、场景标识类图片信息具体内容、可交互信息具体内容;
所述客户端还包括:
触发单元,配置为触发作用于所述可交互信息具体内容上的第一操作;
响应单元,配置为响应所述第一操作,跳转至所述可交互信息具体内容所指示或链接的第一页面,所述第一页面包括分享信息详情介绍的内容。
方法实施例三:
本发明实施例的一种信息处理方法,如图4所示,所述方法应用于服务器,所述方法包括:
步骤401、收到第一用户登录客户端发送的第一请求,第一请求验证通 过后在客户端与服务器间建立通信连接;
步骤402、生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;
步骤403、发送所述系统消息。
在本发明实施例一实施方式中,所述系统消息除了支持所述文本格式信息在客户端的展示,还支持自定义格式信息在客户端的展示。
在本发明实施例一实施方式中,所述生成系统消息包括:
步骤501、获取文本格式信息具体内容,采用第一编码模式生成对应的文本格式信息,所述第一编码模式对应第一解析模式;
这里,第一编码模式可以采用现有的文本信息编码手段;
步骤502、获取自定义格式信息具体内容,从本地提取预设编码规则,采用第二编码模式生成对应的自定义格式信息,所述第二编码模式对应第二解析模式,所述预设编码规则对应预设解析规则。
这里,预设编码规则可以采用富文本控件的编码规则。
在本发明实施例一实施方式中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
系统实施例一:
本发明实施例由客户端和服务器构成,如图5所示,包括客户端侧的通信建立单元11、接收单元12、区分单元13、第一解析单元14、第二解析单元15、显示单元16,以及服务器侧的验证单元21、生成单元22、发送单元23;其中,生成单元22还包括:第一编码子单元221和第二编码子单元222。
通信建立单元11,配置为用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;接收单元12,配置为用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服 务器生成,至少支持文本格式信息的展示;区分单元13,配置为获取所述系统消息,区分出所述系统消息中的所述文本格式信息和所述自定义格式信息;第一解析单元14,配置为对所述文本格式信息采用第一解析模式进行解析,得到第一解析结果,所述第一解析结果为文本格式信息具体内容;第二解析单元15,配置为对所述自定义格式信息,从本地提取预设解析规则,基于所述预设解析规则进行匹配,采用第二解析模式进行解析,得到第二解析结果,所述第二解析结果为自定义格式信息具体内容;显示单元16,配置为将所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上;验证单元21,配置为收到第一用户登录客户端发送的第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;生成单元22,配置为生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;发送单元23,配置为发送所述系统消息;第一编码子单元221,配置为获取文本格式信息具体内容,采用第一编码模式生成对应的文本格式信息,所述第一编码模式对应第一解析模式;第二编码子单元222,配置为获取自定义格式信息具体内容,从本地提取预设编码规则,采用第二编码模式生成对应的自定义格式信息,所述第二编码模式对应第二解析模式,所述预设编码规则对应预设解析规则。
这里需要指出的是,上述客户端可以为PC这种电子设备,还可以为如PAD,平板电脑,手提电脑这种便携电子设备、还可以为如手机这种智能移动终端,不限于这里的描述;所述服务器可以是通过集群系统构成的,为实现各单元功能而合并为一或各单元功能分体设置的电子设备,客户端和服务器都至少包括用于存储数据的数据库和用于数据处理的处理器,或者包括设置于服务器内的存储介质或独立设置的存储介质。
其中,对于用于数据处理的处理器而言,在执行处理时,可以采用微处理器、中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP, Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现;对于存储介质来说,包含操作指令,该操作指令可以为计算机可执行代码,通过所述操作指令来实现上述本发明实施例信息处理方法流程中的各个步骤。
该客户端和该服务器作为硬件实体的一个示例如图6所示。所述装置包括处理器31、存储介质32以及至少一个外部通信接口33;所述处理器31、存储介质32以及外部通信接口33均通过总线34连接。
在本发明实施例一实施方式中,所述系统消息除了支持所述文本格式信息在客户端的展示,还支持自定义格式信息在客户端的展示。
在本发明实施例一实施方式中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
这里需要指出的是:以上涉及客户端和服务器项的描述,与上述方法描述是类似的,同方法的有益效果描述,不做赘述。对于本发明客户端和服务器实施例中未披露的技术细节,请参照本发明方法实施例的描述。
以一个现实应用场景为例对本发明实施例阐述如下:
应用本发明实施例的社交网络工具为微信时基于富文本控件的红包系统消息的场景,该场景中涉及系统消息和红包领取通知消息,其中,所述系统消息为:微信内通过服务器向客户端下发的消息类型,不依赖与其他使用者。所述红包领取通知消息为:发出的微信红包被人领取之后,发红包人收到的通知,告知哪一位好友在什么时间领取了红包。
现有技术中,对于这个场景的处理,是通过引入第三方的“微信红包”公众号下发一条模版消息给发红包人,该模版消息即为所述红包领取通知消息,属于PUSH消息类型,个人红包每一个红包被领取都会通过公众号模版消息完成领取通知的下发;群红包会下发前三条和最后一条模版消息。
图7为采用现有技术应用场景的多级用户界面中红包领取通知消息的 示意图,用户当前登录界面601,收到通过“微信红包”公众号推送在用户当前登录界面601状态栏或者任意位置显示所推送的一个模版消息,该模版消息即为所述红包领取通知消息,用户通过点击该消息进入另一个红包领取情况的页面603,在该红包领取情况的页面603中显示各个用户领取红包的情况。
图8为在用户登录界面603显示的一个系统消息的内容,如图8所示,爱系统消息的构成只有纯粹的文本信息“请警惕任何向你获取…..及官方链接”的组成部分。
分析上述内容可知:1.在某一个用户当前登录页面,如一个聊天页面场景中的红包被领取消息,却需要跳出该聊天场景外到另一个领取红包情况的页面才能收到和展示具体情况;2.需要借助第三方--“微信红包”公众号推送信息,该公众号频繁发消息对用户有骚扰嫌疑,尤其是在新年红包收发频繁的场景下;3.即便为了减少公众号模版消息骚扰,群红包只会下发前三条和最后一条,消息提醒并不完整,且容易给用户带来疑惑。采用现有技术存在的多级页面交互才可以看到所展示的最终操作结果,需要用户点击通知消息才可以进入,增加用户的交互,占用客户端资源,通过第三方推送信息,信息交互需要中转,且信息推送结果不完整,都不利于信息分享的快捷需求,中转越多,信息在中间出问题和需服务器对推送信息进行审核的流程越多,占用服务器的资源,信息不是由服务器直接推送,那么该信息是否为可信的信息等等问题都暴露出来无法解决。
本应用场景应用本发明实施例,包括以下两部分内容:
一、服务器下发系统消息的时候增加系统消息自定义标签字段,取代原先的正常文本系统消息。具体到红包系统消息中,系统消息可以被区分为3个字段下发:<img src=……>+系统消息文本+<_we_custom_link_color=……>。第一个字段为自定义的用于各个场景标识 类的图片,不限于当前微信红包的场景,还可以是手Q红包等其他各种社交网络工具的场景;第二个字段是文字消息;第三个字段是自定义的文本颜色,区别于第二字段中文字消息的显示方式,比如第三个字段和第二字段颜色不同,或者字体不同,或者字号不同等等,总归只要是在展示时能醒目地区分开第二个字段和第三个字段就可以,且第三个字段是可交互信息,支持用户点击该可交互信息,可以进入另一个有关微信红包详情介绍的页面的功能。
二.客户端对服务器下发的系统消息自定义标签文本进行解析,利用正则表达式在客户端本地进行查找和匹配,并提取文本中用以特殊化消息样式的信息,然后根据对应信息实现样式的特殊化展示,第一个字段为自定义的用于各个场景标识类的图片,不限于当前微信红包的场景,还可以是手Q红包等其他各种社交网络工具的场景;第二个字段是文字消息;第三个字段是自定义的文本颜色,区别于第二字段中文字消息的显示方式,比如第三个字段和第二字段颜色不同,或者字体不同,或者字号不同等等,总归只要是在展示时能醒目地区分开第二个字段和第三个字段就可以,且第三个字段是可交互信息,用户点击该可交互信息,可以进入另一个有关微信红包详情介绍的页面,来查看具体的微信红包有多少个,用户能领取多少红包的上限和金额等等具体信息。
这里需要指出的是,对应微信红包场景来说,微信从前的系统消息都只支持如图8所示的纯文本格式,这样的系统消息无法让用户做任何的交互行为,也无法在样式上对不同场景的系统消息做任何区分,也就是说,当这种系统消息出现在用户登录的一个聊天界面中,用户是无法识别出这个消息是要起什么作用的,而采用本发明实施例,对这个微信红包场景,是对系统消息增加自定义标签字段,得到重新构造的新系统消息,从而,当这种新系统消息出现在用户登录的一个聊天界面中,用户是很快能识别 出这个消息是要起什么作用的,比如,看到第一字段的微信红包ICON,就知道这是个微信红包的应用场景,而不是普通的通知消息,还能支持点击该新系统消息末尾的第三个字段,如可以是区别于该新系统消息第二个字段的普通纯文本信息颜色的一个彩色字符或气泡等用于跳转到微信客户端内其他页面的控件,进入另一个红包详情介绍页面,本发明实施例通过这种支持自定义消息格式,让构造的新系统消息更符合使用场景,便于辨认,也减少了用户的操作,最终展现结果就直接显示于用户当前登录的聊天界面,与聊天信息混在一起,但是依然可以第一眼就识别出是符合哪个应用场景的消息提示。
这里,在微信红包场景中,具体可以利用富文本技术实现重新构造的新系统消息,即红包系统消息,支持在消息头部添加红包icon以方便用户区分系统消息类型;同时消息末尾彩色字符,如“橙色红包”二字支持直接跳转到红包详情页,用户不再需要找到红包气泡点击进去看详情,从而在任何一个聊天场景下的红包被领取通知,就在当前该聊天场景中下发,用户不必再离开该聊天去确认红包是否被领取。这种全新的系统消息展示形式,使得红包被领取通知区分于微信聊天内的普通系统消息,更加醒目,更有气氛,图9为应用本发明实施例的一应用场景得到的一级用户界面中系统消息构成的示意图,包括微信红包场景下解析展示的新系统消息的三个字段,分别为ICON,纯粹文本信息和可交互信息,该新系统消息展示于用户登录界面603,通过作用于所述可交互信息上的用户操作,能进入红包详情领取页面,页面上显示有类似图9所示例的几个内容;图10为应用本发明实施例场景的用户界面的示意图,能很直观的看出上面描述的内容,不做赘述。
本发明实施例所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。 基于这样的理解,本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式,所述存储介质包括但不限于U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁盘存储器、CD-ROM、光学存储器等。
本申请是根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知 了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
相应的,本发明实施例还提供一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例的上述信息处理方法。
工业实用性
采用本发明实施例,由服务器下发其生成的系统消息,使得系统消息在客户端解析后直接展示给直接用户,不需要额外引入第三方进行信息中转后的展示,节约资源,提高了信息推送到用户的效率,符合结果直接展现的快捷需求,在当前登录界面就可以直接接收信息并看到信息的最终展示结果,不需要通过通知消息的提示跳出当前登录界面到另一个页面来接收信息,节约了资源,避免了客户端侧的用户多级操作和与服务器的多次交互,使得用户尽快得到最终的操作结果。

Claims (19)

  1. 一种信息处理方法,所述方法应用于客户端,所述方法包括:
    用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
    用户在当前登录的用户界面接收服务器下发的系统消息;
    所述系统消息由服务器生成,至少支持文本格式信息的展示。
  2. 根据权利要求1所述的方法,其中,所述系统消息除了支持所述文本格式信息的展示,还支持自定义格式信息的展示。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    获取所述系统消息,区分出所述系统消息中的所述文本格式信息和所述自定义格式信息;
    对所述文本格式信息采用第一解析模式进行解析,得到第一解析结果,所述第一解析结果为文本格式信息具体内容;
    对所述自定义格式信息,从本地提取对应服务器侧预设编码规则的预设解析规则,基于所述预设解析规则进行解码匹配,采用第二解析模式进行解析,得到第二解析结果,所述第二解析结果为自定义格式信息具体内容;
    将所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上。
  4. 根据权利要求2或3所述的方法,其中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    在所述当前登录的用户界面展示有解析所述系统消息后得到的文本格式信息具体内容、场景标识类图片信息具体内容、可交互信息具体内容;
    触发作用于所述可交互信息具体内容上的第一操作;
    响应所述第一操作,跳转至所述可交互信息具体内容所指示或链接的第一页面,所述第一页面包括分享信息详情介绍的内容。
  6. 一种客户端,所述客户端包括:
    通信建立单元,配置为用户登录所述客户端发送第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
    接收单元,配置为用户在当前登录的用户界面接收服务器下发的系统消息;所述系统消息由服务器生成,至少支持文本格式信息的展示。
  7. 根据权利要求6所述的客户端,其中,所述系统消息除了支持所述文本格式信息的展示,还支持自定义格式信息的展示。
  8. 根据权利要求7所述的客户端,其中,所述客户端还包括:
    区分单元,配置为获取所述系统消息,区分出所述系统消息中的所述文本格式信息和所述自定义格式信息;
    第一解析单元,配置为对所述文本格式信息采用第一解析模式进行解析,得到第一解析结果,所述第一解析结果为文本格式信息具体内容;
    第二解析单元,配置为对所述自定义格式信息,从本地提取预设解析规则,基于所述预设解析规则进行匹配,采用第二解析模式进行解析,得到第二解析结果,所述第二解析结果为自定义格式信息具体内容;
    显示单元,配置为将所述第一解析结果和所述第二解析结果展示在所述当前登录的用户界面上。
  9. 根据权利要求7或8所述的客户端,其中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
  10. 根据权利要求9所述的客户端,其中,所述显示单元,还配置为在所述当前登录的用户界面展示有解析所述系统消息后得到的文本格式信息具体内容、场景标识类图片信息具体内容、可交互信息具体内容;
    所述客户端还包括:
    触发单元,配置为触发作用于所述可交互信息具体内容上的第一操作;
    响应单元,配置为响应所述第一操作,跳转至所述可交互信息具体内容所指示或链接的第一页面,所述第一页面包括分享信息详情介绍的内容。
  11. 一种信息处理方法,所述方法应用于服务器,所述方法包括:
    收到第一用户登录客户端发送的第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
    生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;
    发送所述系统消息。
  12. 根据权利要求11所述的方法,其中,所述系统消息除了支持所述文本格式信息在客户端的展示,还支持自定义格式信息在客户端的展示。
  13. 根据权利要求12所述的方法,其中,所述生成系统消息包括:
    获取文本格式信息具体内容,采用第一编码模式生成对应的文本格式信息,所述第一编码模式对应第一解析模式;
    获取自定义格式信息具体内容,从本地提取预设编码规则,采用第二编码模式生成对应的自定义格式信息,所述第二编码模式对应第二解析模式,所述预设编码规则对应预设解析规则。
  14. 根据权利要求12或13所述的方法,其中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
  15. 一种服务器,所述服务器包括:
    验证单元,配置为收到第一用户登录客户端发送的第一请求,第一请求验证通过后在客户端与服务器间建立通信连接;
    生成单元,配置为生成系统消息,所述系统消息至少支持文本格式信息在客户端的展示;
    发送单元,配置为发送所述系统消息。
  16. 根据权利要求15所述的服务器,其中,所述系统消息除了支持所 述文本格式信息在客户端的展示,还支持自定义格式信息在客户端的展示。
  17. 根据权利要求16所述的服务器,其中,所述生成单元,还包括:
    第一编码子单元,配置为获取文本格式信息具体内容,采用第一编码模式生成对应的文本格式信息,所述第一编码模式对应第一解析模式;
    第二编码子单元,配置为获取自定义格式信息具体内容,从本地提取预设编码规则,采用第二编码模式生成对应的自定义格式信息,所述第二编码模式对应第二解析模式,所述预设编码规则对应预设解析规则。
  18. 根据权利要求16或17所述的服务器,其中,所述自定义格式信息包括:场景标识类图片信息、可交互信息中的至少一种信息。
  19. 一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令用于执行所述权利要求1至5、权利要求11至14任一项所述的方法。
PCT/CN2016/071177 2015-02-05 2016-01-18 一种信息处理方法、客户端及服务器、计算机存储介质 Ceased WO2016124074A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/664,263 US10795629B2 (en) 2015-02-05 2017-07-31 Text and custom format information processing method, client, server, and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510063805.5A CN104618488B (zh) 2015-02-05 2015-02-05 一种信息处理方法、客户端及服务器
CN201510063805.5 2015-02-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/664,263 Continuation US10795629B2 (en) 2015-02-05 2017-07-31 Text and custom format information processing method, client, server, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2016124074A1 true WO2016124074A1 (zh) 2016-08-11

Family

ID=53152763

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071177 Ceased WO2016124074A1 (zh) 2015-02-05 2016-01-18 一种信息处理方法、客户端及服务器、计算机存储介质

Country Status (3)

Country Link
US (1) US10795629B2 (zh)
CN (1) CN104618488B (zh)
WO (1) WO2016124074A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115525445A (zh) * 2022-07-29 2022-12-27 招商局金融科技有限公司 消息智能分发处理方法、系统、装置、设备及介质

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618488B (zh) * 2015-02-05 2016-10-19 腾讯科技(深圳)有限公司 一种信息处理方法、客户端及服务器
CN106888404A (zh) * 2015-12-16 2017-06-23 天脉聚源(北京)科技有限公司 一种微信摇电视实时互动切换方法及系统
KR102104934B1 (ko) * 2015-12-22 2020-04-27 후아웨이 테크놀러지 컴퍼니 리미티드 압력을 사용하여 대상을 필터링하기 위한 방법 및 장치
CN106100976A (zh) * 2016-07-05 2016-11-09 孔尧 红包发送方法及装置
CN106453048B (zh) * 2016-10-09 2019-05-31 北京小米移动软件有限公司 消息显示方法及装置
CN107888392A (zh) * 2017-11-28 2018-04-06 维沃移动通信有限公司 一种信息处理方法、服务器及移动终端
CN110347303A (zh) * 2018-04-04 2019-10-18 腾讯科技(深圳)有限公司 一种信息处理方法及相关设备
KR102077580B1 (ko) * 2018-07-04 2020-02-17 라인플러스 주식회사 복사된 메시지 리스트를 제공하는 방법과 시스템 및 비-일시적인 컴퓨터 판독가능한 기록 매체
CN110879733B (zh) * 2018-09-06 2023-10-03 Oppo广东移动通信有限公司 电子红包的检测方法、装置、终端及计算机可读存储介质
CN109471690B (zh) * 2018-10-15 2022-03-11 维沃移动通信有限公司 一种消息显示方法及终端设备
CN111049867B (zh) * 2018-10-15 2023-01-20 飞救医疗科技(赣州)有限公司 一种消息推送方法、系统及存储介质
CN115776418A (zh) * 2019-03-25 2023-03-10 上海盛付通电子支付服务有限公司 一种在群会话中推送消息的方法与设备
CN112698774A (zh) * 2020-12-29 2021-04-23 中南大学 一种基于WebGIS的B/S架构多专家在线协商标绘系统
CN112907134B (zh) * 2021-03-26 2024-04-19 北京赛博云睿智能科技有限公司 不同业务场景的人机可视化交互分析与操控系统及方法
CN113257407A (zh) * 2021-05-31 2021-08-13 康键信息技术(深圳)有限公司 医疗公众号消息的处理方法、装置、设备及存储介质
CN114205406B (zh) * 2021-12-07 2023-06-30 建信金融科技有限责任公司 红包收发方法、装置、设备、存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002056566A1 (en) * 2001-01-15 2002-07-18 Netpcs Networks Inc. Method and system for internet connection
CN1777186A (zh) * 2005-11-30 2006-05-24 蒋晓海 移动即时通信的信息和应用服务实现方法
CN102158431A (zh) * 2003-05-16 2011-08-17 谷歌公司 提供和进行即时消息方法、机器可读介质及图形用户界面
CN104618488A (zh) * 2015-02-05 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端及服务器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263526B1 (en) * 1996-10-30 2007-08-28 Avaya Technology Corp. Method and apparatus for embedding chat functions in a web page
US20020126135A1 (en) * 1998-10-19 2002-09-12 Keith Ball Image sharing for instant messaging
US20120150729A1 (en) * 2010-12-14 2012-06-14 Moneyhoney Llc System and method for processing group gift cards using a temporary, limited scope social networking entity
US9262531B2 (en) * 2010-07-23 2016-02-16 Applied Minds, Llc System and method for chat message prioritization and highlighting
CN102447788A (zh) * 2012-01-13 2012-05-09 北京宽连十方数字技术有限公司 一种通过手机浏览器阅读彩信的方法及装置
US10402794B2 (en) * 2014-10-31 2019-09-03 Square, Inc. Money transfer in a forum using a payment proxy

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002056566A1 (en) * 2001-01-15 2002-07-18 Netpcs Networks Inc. Method and system for internet connection
CN102158431A (zh) * 2003-05-16 2011-08-17 谷歌公司 提供和进行即时消息方法、机器可读介质及图形用户界面
CN1777186A (zh) * 2005-11-30 2006-05-24 蒋晓海 移动即时通信的信息和应用服务实现方法
CN104618488A (zh) * 2015-02-05 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端及服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115525445A (zh) * 2022-07-29 2022-12-27 招商局金融科技有限公司 消息智能分发处理方法、系统、装置、设备及介质

Also Published As

Publication number Publication date
CN104618488B (zh) 2016-10-19
US10795629B2 (en) 2020-10-06
US20170329565A1 (en) 2017-11-16
CN104618488A (zh) 2015-05-13

Similar Documents

Publication Publication Date Title
WO2016124074A1 (zh) 一种信息处理方法、客户端及服务器、计算机存储介质
CN102737080B (zh) 隐藏档案真实路径以进行云端处理的方法
RU2569066C2 (ru) Способ и устройство для отображения сообщений мгновенного обмена сообщениями
US20180131779A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
CN111401416A (zh) 异常网站的识别方法、装置和异常对抗行为的识别方法
CN114039801B (zh) 一种短链接生成方法、解析方法和系统、设备、存储介质
CN104468531A (zh) 敏感数据的授权方法、装置和系统
CN104767775A (zh) 网页应用消息推送方法及系统
CN107395647A (zh) 验证系统、方法和装置
HK1202731A1 (zh) 即时通讯客户端显示信息的方法及设备和信息显示系统
CN104202345A (zh) 验证码生成方法、装置及系统
CN112311654A (zh) 即时通讯消息的处理方法、装置、介质及电子设备
CN112286815A (zh) 一种接口测试脚本的生成方法及其相关设备
CN116820635A (zh) 一种文档块分享方法、装置、系统及存储介质
CN111787154A (zh) 一种信息处理方法及电子设备
CN106331331A (zh) 终端信息的显示方法、生成方法、显示装置及服务器
CN104142975A (zh) 一种基于微博消息的推广方法、装置及系统
US11038789B2 (en) System and method for automated generation of web decoding templates
CN112994900B (zh) 文件会签方法、装置、客户端、服务端和存储介质
CN105786834A (zh) 一种社交类网页结构化摘要的生成方法和系统
CN102025738B (zh) 一种交易报文的处理方法、设备和系统
CN112347382A (zh) 产品页面分享方法、装置及电子设备
CN113722642B (zh) 网页页面的转换方法、装置、电子设备以及存储介质
CN116226070A (zh) 基于跨系统的日志跟踪查询方法及系统
US20180189118A1 (en) Systems and methods for transforming applications

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: 16746069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/01/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16746069

Country of ref document: EP

Kind code of ref document: A1