Information processing method and device, computer equipment, storage medium and computer program product
By constructing a composite message transmission method in the financial business processing system, the problem of the single function of traditional communication is solved, and diversified information display is realized to meet the diverse expression needs of users.
Patent Information
- Application Number
- CN202411037102.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional instant messaging functions in financial business processing systems only support basic text, image, and voice message transmission, which cannot meet the increasingly diverse expression needs of users.
By responding to message sending requests for multiple contents to be transmitted, obtaining message transmission addresses, determining the information type and semantics of each content to be transmitted, constructing a basic message structure, determining the nesting relationship of information, and assembling composite messages according to the nesting relationship for transmission, the transmission of diverse composite messages is supported.
It enables the display of multiple information types within a single message, meeting users' diverse expression needs and improving the richness and efficiency of information transmission.
Smart Images

Figure CN118972356A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to an information processing method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] With the rapid development of online business processing of financial institutions, such as the gradual maturity of online banking business processing procedures, most financial institutions will develop corresponding financial business processing systems, such as mobile banking applications launched by banks, or corresponding banking business systems, etc. Users can directly understand the relevant business content of financial institutions through the financial business processing system.
[0003] Financial business processing systems are generally equipped with instant messaging functions to facilitate business managers to communicate directly with users, such as recommending corresponding financial products to users directly through mobile banking. Traditional instant messaging functions generally only support basic single-form message transmission such as text, images, and voice, which cannot meet the growing diversified expression needs of users. Summary of the invention
[0004] Based on this, it is necessary to provide an information processing method, device, computer equipment, computer-readable storage medium and computer program product that can realize effective transmission of diverse composite messages in response to the above technical problems.
[0005] In a first aspect, the present application provides an information processing method, comprising:
[0006] In response to a message sending request triggered for a plurality of contents to be transmitted, obtaining a configured message transmission address;
[0007] Based on the information type of each of the contents to be transmitted, determining a message component element corresponding to each of the information types and a basic message structure including each of the message component elements;
[0008] Determine the information nesting relationship between the contents to be transmitted according to the display timing information of each of the message component elements in the basic message structure and the information semantics of each of the contents to be transmitted; the information nesting relationship is used to characterize the display timing of each of the contents to be transmitted;
[0009] Assembling the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted;
[0010] The composite message is transmitted according to the message transmission address.
[0011] In a second aspect, the present application further provides an information processing device, comprising:
[0012] A request response module, configured to obtain a configured message transmission address in response to a message sending request triggered for a plurality of contents to be transmitted;
[0013] An element and structure determination module, used to determine, based on the information type of each of the contents to be transmitted, a message component element corresponding to each of the information types, and a basic message structure containing each of the message component elements;
[0014] A nested relationship determination module, used to determine the information nested relationship between the contents to be transmitted according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted; the information nested relationship is used to characterize the display timing of each content to be transmitted;
[0015] A message assembly module, used for assembling the messages of the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted;
[0016] The message transmission module is used to transmit the composite message according to the message transmission address.
[0017] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned information processing method when executing the computer program.
[0018] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned information processing method are implemented.
[0019] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned information processing method when executed by a processor.
[0020] According to the above-mentioned information processing method, apparatus, computer equipment, computer-readable storage medium and computer program product, if the administrator needs to send multiple contents to be transmitted of different information types to the user, he only needs to trigger a message sending request for multiple contents to be transmitted. The communication server can respond to the message sending request, obtain the configured message transmission address, and determine the message component elements corresponding to each information type and the basic message structure containing each message component element based on the information type of each content to be transmitted. According to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted, the information nesting relationship between each content to be transmitted is determined. Based on the information nesting relationship, the display timing of each content to be transmitted in the composite message can be determined. The communication server can assemble the messages of each content to be transmitted according to the display timing of each content to be transmitted represented by the information nesting relationship, obtain a composite message containing each content to be transmitted, and finally transmit the composite message according to the acquired message transmission address. By assembling and transmitting multiple contents to be transmitted according to the information nesting relationship between each content to be transmitted, the transmission of diverse composite messages can be realized. Only one message can be used to display information content of various different information types to users, meeting the users' growing needs for diversified expression. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0022] FIG1 is a diagram of an application environment of an information processing method in one embodiment;
[0023] FIG2 is a schematic diagram of a flow chart of an information processing method in one embodiment;
[0024] 3 is a flow chart of determining the information nesting relationship between contents to be transmitted according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted in one embodiment;
[0025] 4 is a schematic diagram of a flow chart of determining the information display mode of each content to be transmitted based on the message transmission address and the information type of each content to be transmitted in one embodiment;
[0026] FIG5 is a schematic diagram of a process of transmitting a composite message according to a message transmission address in one embodiment;
[0027] FIG6 is a block diagram of a communication server in one embodiment;
[0028] FIG7 is a schematic flow chart of an information processing method in another embodiment;
[0029] FIG8 is a block diagram of an information processing device in one embodiment;
[0030] FIG. 9 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0032] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0033] The information processing method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the communication server 102 communicates with the sending terminal 104 and the receiving terminal 106 respectively through the network. The data storage system can store the data that the communication server 102 needs to process. The data storage system can be integrated on the communication server 102, or it can be placed on the cloud or other network servers. The sending terminal 104 triggers a message sending request for multiple contents to be transmitted, and the communication server 102 responds to the message sending request, obtains the configured message transmission address, and determines the information nesting relationship between each content to be transmitted based on the information type and information semantics of each content to be transmitted, wherein the information nesting relationship is used to characterize the display timing of each content to be transmitted. The communication server 102 assembles the messages of each content to be transmitted according to the information nesting relationship, obtains a composite message containing each content to be transmitted, and transmits the composite message according to the message transmission address.
[0034] Among them, the communication server 102 is a server installed in the financial service processing system of a financial institution, such as a banking service system, for providing instant messaging services for the financial service processing system. The communication server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The sending terminal 104 is a user terminal used by business management personnel who have message sending needs, such as a business management terminal, and the receiving terminal 106 is a user terminal used by users who have message receiving needs. It can be understood that the sending terminal 104 and the receiving terminal 106 can be, but are not limited to, various personal computers, laptops, smart phones, tablets, portable wearable devices, and portable wearable devices can be smart watches, smart bracelets, etc.
[0035] In some embodiments, as shown in FIG. 2 , an information processing method is provided, which is described by taking the method applied to the communication server 102 in FIG. 1 as an example, and includes the following steps:
[0036] S202: In response to a message sending request triggered by a plurality of contents to be transmitted, obtain a configured message transmission address.
[0037] The content to be transmitted is the content information that the administrator needs to transmit and display to the user. The specific content information of the content to be transmitted can be determined according to the actual transmission needs of the administrator. For example, when a business recommendation is required, the content to be transmitted can include the relevant business content of the business to be recommended. When the user needs to participate in a business activity, the content to be transmitted can include the relevant activity content of the business activity. It can be understood that the information types of multiple contents to be transmitted can be the same or different. For example, multiple contents to be transmitted can be of the same information type, such as video information, or of multiple information types. For example, multiple contents to be transmitted can include video information, text information, voice information, interactive information, etc.
[0038] The message sending request is a request information used by the sending terminal to request the communication server to send a message to the receiving terminal. The message sending request may carry the message transmission address configured by the sending terminal. The message transmission address is the terminal address corresponding to the receiving terminal, for example, the IP address corresponding to the receiving terminal. The message transmission address is configured by the sending terminal when generating the message sending request.
[0039] Specifically, the sending terminal triggers a message sending request for multiple contents to be transmitted, and sends the message sending request to the communication server. The communication server obtains the message transmission address configured by the sending terminal in response to the message sending request.
[0040] In some of the embodiments, the administrator may trigger the generation based on a plurality of contents to be transmitted displayed on the sending terminal.
[0041] In some embodiments, the message sending request may also carry multiple contents to be transmitted and respective configuration information of each content to be transmitted. The configuration information may include the information type and information semantics of each content to be transmitted.
[0042] In some embodiments, the message sending request may also carry content identifiers corresponding to the contents to be transmitted. The communication server may then directly determine the contents to be transmitted, as well as the information type and information semantics of the contents to be transmitted, based on the content identifiers corresponding to the contents to be transmitted.
[0043] S204: Based on the information types of the contents to be transmitted, determine the message components corresponding to the information types and the basic message structure including the message components.
[0044] Among them, the information type is a type parameter used to distinguish the message form of the content to be transmitted. It can be understood that different information types of the content to be transmitted have different corresponding message forms. For example, when the information type of the content to be transmitted is a video type, the corresponding message form is a message form with video as the information carrier. When the information type of the content to be transmitted is a text type, the corresponding message form is a message form with text as the information carrier.
[0045] Message component elements refer to message elements that can be used to compose a composite message. When the various contents to be transmitted are composed into a composite message, the various contents to be transmitted can correspond to the message component elements in the composite message. For example, the message component elements of a composite message may include but are not limited to the main message, attachments, interactive elements, etc.
[0046] In some of the embodiments, the main message can be a plain text message that carries the core content, and can use lightweight markup languages such as Markdown and rich text to enhance the expressiveness. Attachments can include multiple types of multimedia files, such as JPEG and PNG format images, MP3 and AAC format audio, MP4 and WebM format videos, and PDF, DOCX and other documents. Interactive elements can be dynamic interactive components embedded in messages, such as questionnaires, voting, grabbing red envelopes, mini-games, etc., to enrich the user interaction experience.
[0047] It is understandable that the information type of the content to be transmitted is different, and the corresponding message component elements are also different. For example, when the information type of the content to be transmitted is a video type, the corresponding message component element may be an attachment, when the information type of the content to be transmitted is a text type, the corresponding message component element may be a main message, and when the information type of the content to be transmitted is an interactive component type, the corresponding message component element may be an interactive element. It is understandable that the number and types of message components required to form a composite message are related to the number of contents to be transmitted and the transmission content.
[0048] Among them, the basic message structure is the structural information containing the display timing information of each message component element. It can be understood that the corresponding composite message types can be considered different if the message components are different, and the basic message structure of the composite message will naturally be different. For example, if the message components are the main message and attachments, the composite message can be considered as an introductory message, and the corresponding basic message structure can be main message 1, attachment 1, main message 2, attachment 2...main message n, attachment n. If the message components are the main message, attachment and interactive element, the composite message can be considered as an interactive message, and the corresponding basic message structure can be main message 1, attachment 1, main message 2, attachment 2...main message n, attachment n, interactive element 1, interactive element 2...interactive element 3.
[0049] Specifically, after receiving the message sending request, the communication server can determine the information type of each content to be transmitted, and then based on the information type of each content to be transmitted, determine the message component elements corresponding to each information type and the basic message structure containing each message component element.
[0050] In one embodiment, the communication server may extract configuration information of each content to be transmitted, and determine the information type of each content to be transmitted.
[0051] In one embodiment, the communication server may determine the information type that matches the content identifier of each content to be transmitted according to the content identifier of each content to be transmitted and the preset correspondence between the content identifier and the information type.
[0052] In one embodiment, S204, based on the information type of each content to be transmitted, determining the message component elements corresponding to each information type and the basic message structure containing each message component element includes: based on the information type of each content to be transmitted and the preset correspondence between the information type and the message component element, determining the message component element corresponding to each content to be transmitted in the composite message. According to the message component elements corresponding to each content to be transmitted and the preset correspondence between the message component element and the basic message structure, determining the basic message structure containing each message component element.
[0053] Among them, the preset corresponding relationship between the information type and the message component elements, and the preset corresponding relationship between the message component elements and the basic message structure can be preset by the designer and configured in the communication server.
[0054] Specifically, after determining the information type of each content to be transmitted, the communication server can call the preset correspondence between the information type and the message component element, and based on the information type of each content to be transmitted, search for the message component element corresponding to the information type of each content to be transmitted, and obtain the message component element of each content to be transmitted in the composite message. Subsequently, the preset correspondence between the message component element and the basic message structure is called, and the basic message structure containing each message component element is searched according to the message component element of each content to be transmitted in the composite message. By presetting the correspondence between the information type and the message component element, and the correspondence between the message component element and the basic message structure, the efficiency and accuracy of determining the basic message structure can be effectively improved.
[0055] S206: Determine the information nesting relationship between the contents to be transmitted according to the display timing information of the message components in the basic message structure and the information semantics of the contents to be transmitted.
[0056] The information nesting relationship is used to characterize the display sequence of each content to be transmitted, which is the display order of each content to be transmitted when the receiving terminal displays the message. It can be understood that since each content to be transmitted will eventually be combined into one message for transmission, the receiving terminal will eventually receive only one composite message, and how to display multiple contents to be transmitted to the user in one composite message needs to be determined according to the display sequence of each content to be transmitted.
[0057] Information semantics is the semantic information used to characterize the specific content information of the content to be transmitted. Through information semantics, we can roughly understand the content information to be conveyed by the content to be transmitted.
[0058] Specifically, after determining the basic message structure including each message component element, the communication server can determine the information nesting relationship between each content to be transmitted according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted.
[0059] In some of the embodiments, the communication server may extract configuration information of each content to be transmitted, and determine the information semantics of each content to be transmitted.
[0060] In some of the embodiments, the communication server may determine the information semantics matching the content identifier of each content to be transmitted based on the content identifier of each content to be transmitted and the preset correspondence between the content identifier and the information semantics.
[0061] In some of the embodiments, after obtaining the information type and information semantics of each content to be transmitted, the communication server can determine the display timing of each content to be transmitted based on the information type and information semantics, and the preset correspondence between the information nesting relationship and the information type and information semantics.
[0062] In some of the embodiments, the communication server can determine the association relationship between each content to be transmitted according to the information semantics of each content to be transmitted, and determine the information nesting relationship between each content to be transmitted based on the association relationship between each content to be transmitted and the display timing information of each message component element. For example, if the manager needs to recommend business product 1 and business product 2 included in a new business to the user, and business product 1 and business product 2 correspond to business product 1 introduction text, business product 2 introduction text, and business product 1 introduction video, business product 2 introduction video, the manager can trigger a message sending request for business product 1 introduction text, business product 2 introduction text, business product 1 introduction video, and business product 2 introduction video. At this time, each content to be transmitted is business product 1 introduction text, business product 2 introduction text, business product 1 introduction video, and business product 2 introduction video. The communication server can determine the message composition of the composite message. The components include a main message and attachments, and then the display timing information of the basic message structure including the main message and the attachments is determined to be main message 1, attachment 1, main message 2, attachment 2…main message n, attachment n. Then the communication server can determine, based on the information semantics of each content to be transmitted, that the business product 1 introduction text and the business product 1 introduction video are the introduction information of the same business product, and the business product 2 introduction text and the business product 2 introduction video are the introduction information of the same business product. Therefore, the communication server can determine the information nesting relationship as business product 1 introduction text, business product 1 introduction video, business product 2 introduction text, and business product 2 introduction video.
[0063] S208, assembling the contents to be transmitted according to the information nesting relationship to obtain a composite message including the contents to be transmitted.
[0064] The message assembly of each content to be transmitted refers to the process of assembling each content to be transmitted into a composite message.
[0065] Specifically, after determining the information nesting relationship between the contents to be transmitted, the communication server can assemble the messages of the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted. It can be understood that after receiving the composite message, the display timing of the contents to be transmitted is consistent with the display timing specified by the information nesting relationship.
[0066] S210: Transmit the composite message according to the message transmission address.
[0067] Specifically, after obtaining the composite message, the communication server may transmit the composite message according to the acquired message transmission address.
[0068] In the above information processing method, if the administrator needs to send multiple contents to be transmitted of different information types to the user, he only needs to trigger a message sending request for the multiple contents to be transmitted. The communication server can respond to the message sending request, obtain the configured message transmission address, and determine the information nesting relationship between the contents to be transmitted based on the information type and information semantics of each content to be transmitted. Based on the information nesting relationship, the display sequence of each content to be transmitted in the composite message can be determined. The communication server can assemble the messages of each content to be transmitted according to the display sequence of each content to be transmitted represented by the information nesting relationship, obtain a composite message containing each content to be transmitted, and finally transmit the composite message according to the obtained message transmission address. By assembling and transmitting multiple contents to be transmitted according to the information nesting relationship between the contents to be transmitted, the transmission of multi-modal composite messages can be realized. Only one message can be used to display information content of multiple different information types to the user, meeting the user's growing demand for diversified expression.
[0069] Furthermore, in some embodiments, as shown in FIG. 3 , according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted, the information nesting relationship between the contents to be transmitted is determined, including:
[0070] S302: Determine the display position of each content to be transmitted in the basic message structure according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted.
[0071] Specifically, after determining the basic message structure of each content to be transmitted, the communication server can determine the display position of each content to be transmitted in the basic message structure according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted.
[0072] For example, if the manager needs to recommend a new business product 1 to the user, and business product 1 corresponds to a business product 1 introduction text and a business product 1 introduction video, the manager can trigger the generation of a message sending request for the business product 1 introduction text, the business product 1 introduction video, and a questionnaire survey component used to determine the user's product demand. At this time, the content to be transmitted is the business product 1 introduction text, the business product 1 introduction video, and the questionnaire survey component. The communication server can determine that the message components of the composite message include the main message, the attachment, and the interactive element, and then determine the display timing information of the basic message structure containing the main message, the attachment, and the interactive element as main message 1, attachment 1, main message 2, attachment 2...main message n, attachment n, interactive element 1,..., interactive element n. Then, the communication server can determine the display position of each content to be transmitted in the basic message structure according to the information semantics of each content to be transmitted as business product 1 introduction text: first display position, business product 1 introduction video: second display position, and questionnaire survey component: third display position.
[0073] S304: Determine the information display mode of each content to be transmitted based on the message transmission address and the information type of each content to be transmitted.
[0074] Among them, the information display method is the corresponding display method when each content to be transmitted is displayed on the receiving terminal. It can be understood that the information type of the content to be transmitted is different, and the corresponding information display method is also different. At the same time, the terminal configuration of the receiving terminal is different, which will also have a certain impact on the information display method. For example, the screen size, display direction, resolution, etc. of the receiving terminal are different, and the information display method required for the best display effect may not be the same.
[0075] Specifically, the communication server may determine, based on the message transmission address and the information type of each content to be transmitted, an information display method for each content to be transmitted that can achieve the best display effect on the receiving terminal.
[0076] In some of the embodiments, the communication server is pre-configured with a correspondence between the message transmission address, information type and information display method, and a matching information display method can be directly found from the correspondence based on the message transmission address and the information type of each content to be transmitted.
[0077] In some other embodiments, as shown in FIG. 4 , S304, based on the message transmission address and the information type of each content to be transmitted, determining the information display mode of each content to be transmitted includes:
[0078] S402: Acquire display configuration information of the receiving terminal based on the message transmission address.
[0079] Among them, the display configuration information of the receiving terminal is information used to reflect the display performance of the receiving terminal. The display configuration information may include but is not limited to the terminal type of the receiving terminal, such as mobile phone, tablet, desktop computer, etc., screen size, screen display direction, screen resolution, etc.
[0080] Specifically, the communication server determines the display configuration information matching the message transmission address based on the message transmission address and the preset correspondence between the message transmission address and the display configuration information, and determines the display configuration information as the display configuration information of the receiving terminal.
[0081] S404: Determine an initial display mode of each content to be transmitted according to the information type of each content to be transmitted.
[0082] The initial display mode of the content to be transmitted refers to the basic display mode corresponding to the information type of the content to be transmitted. For example, when the information type of the content to be transmitted is a video type, the corresponding initial display mode is MP4 playback.
[0083] Specifically, the communication server determines the initial display mode of each content to be transmitted according to the information type of each content to be transmitted.
[0084] S406: Determine the information display mode of each content to be transmitted based on the display configuration information and the initial display mode of each content to be transmitted.
[0085] Specifically, the communication server can adaptively adjust the initial display mode of each content to be transmitted based on the display configuration information to obtain an information display mode that better matches the display performance of the receiving terminal, and determine the information display mode as the information display mode of the content to be transmitted.
[0086] S306, for each content to be transmitted, fill the information display mode of the content to be transmitted into the display position of the content to be transmitted in the basic message structure, and obtain the information nesting relationship between the contents to be transmitted.
[0087] Specifically, for each content to be transmitted, after obtaining the information display mode of the content to be transmitted, the communication server can fill the information display mode into the display position of the content to be transmitted in the basic message structure, so as to obtain the information nesting relationship between the contents to be transmitted.
[0088] For example, the communication server determines that the information display method of the business product 1 introduction text is method 1, the information display method of the business product 1 introduction video is method 2, and the information display method of the questionnaire component is method 3. Then the information display method can be filled in the display position of the content to be transmitted in the basic message structure, and the information nesting relationship between the contents to be transmitted is obtained: the first display position: business product 1 introduction text, method 1 display; the second display position: business product 1 introduction video, method 2 display; the third display position: questionnaire component, method 3 display.
[0089] In the above embodiment, the communication server first determines the display position of each content to be transmitted in the basic message structure, and then fills the best display method of each content to be transmitted into the corresponding display position, so as to obtain the information nesting relationship between the contents to be transmitted. This can make the subsequent composite message assembled based on the information nesting relationship have a higher matching rate with the receiving terminal. When the receiving terminal subsequently receives the composite message, the composite message can display the contents to be transmitted in an orderly, accurate and effective manner, thereby improving the display accuracy and display effect of the composite message.
[0090] Assembling the contents to be transmitted is an important step in generating a composite message. In some embodiments, S206, assembling the contents to be transmitted according to the information nesting relationship to obtain a composite message including the contents to be transmitted includes: assembling the contents to be transmitted according to the information nesting relationship to obtain assembled information. According to a preset data processing method, data processing is performed on the assembled information to obtain a composite message including the contents to be transmitted.
[0091] Specifically, after obtaining the information nesting relationship between the contents to be transmitted, the communication server can first assemble the contents to be transmitted according to the information nesting relationship to obtain assembled information. In order to further improve the transmission effect of the composite message, the communication server can perform corresponding data processing on the assembled information based on the actual transmission requirements to obtain a composite message containing the contents to be transmitted.
[0092] The following will use several embodiments to illustrate how to perform corresponding data processing on the assembly information to obtain composite information.
[0093] In some embodiments, the data processing method includes data format processing. According to a preset data processing method, data processing is performed on the assembly information to obtain a composite message containing various contents to be transmitted, including: data formatting is performed on the assembly information to obtain unified format assembly information. Based on a preset encoding method, the unified format assembly information is encoded and serialized to obtain a composite message containing various contents to be transmitted.
[0094] Among them, data format processing refers to a data processing method that unifies the data format of assembled information to ensure the compatibility of composite messages across platforms and devices.
[0095] Specifically, after obtaining the assembly information, the communication server first formats the assembly information to obtain the assembly information in a unified format, for example, the format of the assembly information can be unified into a JSON object to facilitate subsequent module processing. Subsequently, the communication server can encode and serialize the assembly information in the unified format based on a preset encoding method to obtain a composite message that ultimately contains the contents to be transmitted.
[0096] In some of the embodiments, the communication server may serialize binary data to be transmitted, such as multimedia files or encrypted content, in accordance with encoding rules such as Base64 and URL-safe Base64.
[0097] In the above embodiment, by performing data format processing on the assembly information, the final composite message obtained by assembly can have a standard data exchange format, thereby ensuring the compatibility of the composite message across platforms and devices, and effectively reducing the risk of information loss due to incompatible data formats.
[0098] In addition to data format processing, in other embodiments, the data processing method includes data compression processing. According to a preset data processing method, the assembled information is processed to obtain a composite message containing various contents to be transmitted, including: based on a preset data compression method, the assembled information is processed to obtain a composite message containing various contents to be transmitted.
[0099] Among them, data compression processing refers to a data processing method that compresses the information volume of assembled information to improve transmission efficiency.
[0100] Specifically, after obtaining the assembled information, the communication server may perform data compression processing on the assembled information according to a preset data compression method to obtain a composite message containing various contents to be transmitted.
[0101] It is understandable that a variety of data compression methods can be used when performing data compression processing on the assembly information. For example, the communication server can determine the data compression method to be used based on the display method of each content to be transmitted in the assembly information. For example, for multimedia data such as images, audio, and video, JPEG2000, WebP, Opus, HEVC, and other compression algorithms that are specifically optimized for specific media formats can be used, combined with quality and bit rate adjustments to ensure maximum data compression without affecting the user experience.
[0102] In some embodiments, the communication server may also use a multi-level data compression strategy to compress the assembled information. For example, the assembled information may be compressed at multiple levels using a general compression method, a specific type compression method, a differential compression method, etc., so as to improve the data compression rate of the assembled information, minimize the message size, and improve the transmission efficiency.
[0103] In the above embodiment, by performing data compression processing on the assembled information, the message size of the final composite message can be effectively reduced, the transmission efficiency of the composite message can be improved, and the instantaneous rate of communication between the sending terminal and the receiving terminal can be improved.
[0104] It is understandable that the communication server can perform data format processing and data compression processing on the assembly information at the same time. For example, the communication server can first perform data format processing on the assembly information, and then perform data compression processing on the assembled information after data format processing to obtain the final composite message.
[0105] As is known to all, in the financial field, the security of information transmission is one of the most concerning issues. Therefore, in some embodiments, as shown in FIG. 5 , S210 transmits the composite message according to the message transmission address, including:
[0106] S502: Determine, according to the message transmission address, a receiving terminal that matches the message transmission address.
[0107] Specifically, the communication server can quickly determine the receiving terminal that matches the message transmission address based on the message transmission address distributed by the sending terminal and the corresponding relationship between the message transmission address and the terminal.
[0108] S504: Determine an encryption method to be used for the composite message based on the receiving terminal.
[0109] Specifically, after determining the receiving terminal that matches the message transmission address according to the message transmission address, the communication server can determine the encryption method that the sending terminal and the receiving terminal implement according to the sending terminal and the receiving terminal.
[0110] S506, encrypt the composite message according to the encryption method to obtain an encrypted message.
[0111] Specifically, the communication server may encrypt the composite message according to a determined encryption method to obtain an encrypted message.
[0112] S508: Send the encrypted message to the receiving terminal.
[0113] Specifically, the communication server can send the encrypted message to the receiving terminal. After receiving the encrypted message, the receiving terminal can decrypt the encrypted message based on the decryption method agreed in advance with the sending terminal to obtain the composite message to be displayed.
[0114] In some of the embodiments, the sending terminal can set whether encrypted transmission is required when generating a message sending request. The communication server can encrypt the composite message before transmitting based on the type of message sending request, for example, if the message sending request is an encrypted message sending request.
[0115] In some embodiments, the communication server can determine whether it is necessary to encrypt the composite message for transmission based on the terminal authority of the sending terminal and / or the receiving terminal. If it is determined that encrypted transmission is necessary, the composite message can be encrypted for transmission using the above method. If encrypted transmission is not necessary, the composite message can be directly sent to the receiving terminal based on the general message transmission method.
[0116] In some of the embodiments, the sending terminal may also directly determine the encrypted information as the content to be transmitted for message transmission. In this case, the communication server will not decrypt the encrypted information, but will process it as ordinary content to be transmitted.
[0117] In the above embodiment, by encrypting the composite message in an encryption manner before transmission, the security of the composite message during transmission can be effectively improved, the possibility of message leakage can be reduced, and the user experience can be improved.
[0118] In some embodiments, an information processing method is provided, and the method is described by taking the application of the method in a communication server as shown in FIG. 6 as an example.
[0119] As shown in Figure 6, the communication server contains five modules, namely, composite message format and parsing engine module, message transmission optimization module, terminal rendering and interaction module, security and privacy protection module, and scalability and compatibility guarantee module. The following is a brief description of the functions that each module can achieve and how to achieve the functions:
[0120] Among them, the functions that can be achieved by the composite message format and parsing engine module mainly include:
[0121] First, composite message format design: construct a highly structured composite message format, which consists of three key components: "main message", "attachment" and "interactive element". Among them, the "main message" is usually a plain text message that carries the core content, and can use lightweight markup languages such as Markdown and rich text to enhance the expressiveness; "attachment" covers various multimedia files, such as pictures in JPEG and PNG formats, audio in MP3 and AAC formats, videos in MP4 and WebM formats, and documents such as PDF and DOCX; "interactive elements" refer to dynamic interactive components embedded in messages, such as questionnaires, voting, grabbing red envelopes, and mini-games, to enrich the user's interactive experience. Among them, each sub-message contains fields such as type identifier, content data, and metadata. The type identifier is used to quickly identify the sub-message category; the content data stores the actual message content, such as text strings, binary file data, or interactive action definitions; metadata includes auxiliary information such as file size, resolution, duration, author information, copyright information, expiration time, and permission settings, which provide necessary context for message processing and display.
[0122] Second, efficient parsing engine development: Build a high-performance message parsing engine with the following features:
[0123] Identification and parsing: The engine can accurately identify the format of composite messages, and use algorithms such as recursive parsing and loop traversal to parse the main message, attachments, interactive elements and other sub-messages layer by layer. For complex nested structures, the engine manages the parsing status through stack or queue data structures to ensure that the message nesting relationship is correctly handled.
[0124] Data structuring: The parsed sub-messages are converted into a unified data structure (such as a JSON object) to facilitate processing by subsequent modules. The data structure includes raw data, metadata, and auxiliary information related to rendering and interaction.
[0125] Encoding and decoding: The engine supports encoding and decoding of messages, using standard data exchange formats such as JSON and Protocol Buffers to ensure cross-platform and cross-device compatibility. For binary data that needs to be transmitted, such as multimedia files or encrypted content, the engine follows encoding rules such as Base64 and URL-safe Base64 for serialization.
[0126] Encryption support: For encrypted messages, the parsing engine is only responsible for delivering encrypted data packets and does not decrypt the encrypted content. After the engine recognizes the encrypted message, it treats it as a special attachment and decrypts it using the local private key after the client receives the message.
[0127] Among them, the functions that the message transmission optimization module can achieve mainly include:
[0128] First, network transmission protocol optimization: select modern network protocols such as QUIC and WebSocket. These protocols have the characteristics of low latency, high reliability, multiplexing, fast connection establishment, flow control, etc., which can effectively reduce network transmission delay and improve message delivery efficiency.
[0129] Second, data compression strategy: Implement multi-level data compression strategy to reduce message size and improve transmission efficiency:
[0130] General compression: Apply general compression algorithms such as GZIP and Brotli to message content (including JSON structured data, text content, etc.), use Huffman coding, LZ77 and other principles to remove redundancy and reduce the amount of transmitted data.
[0131] Specific type compression: For multimedia data such as images, audio, and video, compression algorithms optimized for specific media formats, such as JPEG 2000, WebP, Opus, and HEVC, are used, combined with quality and bit rate adjustments to ensure maximum data compression without affecting the user experience.
[0132] Differential compression: For similar content that is sent frequently (such as continuous chat emoticons and continuous voice clips), differential compression technologies such as RLE and Delta encoding are used to transmit only the changed parts, further saving bandwidth.
[0133] Third, cache mechanism: Introduce a cache mechanism to reduce repeated transmission and reduce bandwidth consumption:
[0134] Client cache: Store frequently used emoticons, received multimedia files and their thumbnails locally on the client. When the same resource is encountered again, it is directly loaded from the local to avoid re-downloading.
[0135] Edge caching: Using CDN (Content Delivery Network) services, popular or shared multimedia resources are cached at edge nodes close to users, shortening the distance users have to go to to obtain resources and improving loading speeds.
[0136] Fourth, server performance improvement: Enhance server processing capabilities through a variety of technical means to ensure rapid processing and forwarding of messages in high-concurrency scenarios:
[0137] Load balancing: Deploy a load balancer to dynamically distribute requests based on server load conditions, avoid single-point overload, and ensure stable system operation.
[0138] Distributed computing: Using a microservice architecture, message processing, storage, routing and other functions are split into independent services, distributed across multiple nodes, and message processing is completed through collaboration between services.
[0139] Asynchronous processing: For time-consuming operations (such as uploading large files and processing complex interactive elements), use asynchronous task queues to avoid blocking the main thread and ensure that message transmission is not affected.
[0140] Among them, the functions that the terminal rendering and interaction module can achieve mainly include:
[0141] First, layout engine design: Develop a flexible layout engine that dynamically generates user interface layouts that adapt to various screen sizes, orientations, and resolutions based on the structure of composite messages and the characteristics of terminal devices (such as mobile phones, tablets, and desktop computers). The layout engine supports the following key technologies:
[0142] Adaptive grid system: Flexible grid layout based on CSS Grid or Flexbox, automatically adjusting the position and size of content blocks to ensure visual consistency on different screen sizes.
[0143] Responsive design: Apply Media Queries to define different CSS style rules based on device viewport width, height, pixel density and other attributes to provide the best display effect for different devices.
[0144] Scroll loading and virtual list: For long message lists, scroll loading or virtual list technology is used to render only the messages within the current viewport, improving page scrolling performance and reducing memory usage.
[0145] Second, multimedia player component implementation: Integrate or develop multimedia player components to support local decoding and playback of common media formats, with the following functions:
[0146] Basic control: Provides basic control functions such as pause, play, stop, fast forward, fast rewind, volume adjustment, full screen, etc.
[0147] Advanced features: Supports advanced features such as video buffering, clarity switching, subtitle loading, picture-in-picture mode, automatic play and mute to meet user personalized needs.
[0148] Cross-platform compatibility: Encapsulate or select appropriate HTML5 Video, Audio tags or third-party libraries (such as Video.js, HLS.js) for different operating systems (such as Android, iOS, Windows, macOS) and browser environments to ensure cross-platform multimedia playback capabilities.
[0149] Third, interactive logic processor development: build an interactive logic processor, parse the received interactive element messages, generate the corresponding interactive interface, and update the interactive status in real time according to user operations to trigger background events. The processor includes the following functions:
[0150] Interactive element parsing: Parse the action definition, option list, reward rules and other information in the interactive element message to generate an interactive interface template.
[0151] User interaction processing: monitor user operations on interactive elements (such as answer submission, voting selection, and red envelope collection), verify input validity, update local interaction status, and send interaction results to the server through the API.
[0152] Event triggering and feedback: Based on the interaction results, background events are triggered (such as issuing rewards, counting results, updating rankings), and timely feedback is given to users, such as displaying prompts of successful receipt, updating voting statistics, etc.
[0153] Among them, the functions that the security and privacy protection module can achieve mainly include:
[0154] First, end-to-end encryption: Use advanced encryption algorithms such as AES, RSA, and ECC to achieve end-to-end encryption and ensure the security of sensitive information during transmission. The specific steps are as follows:
[0155] Key generation and exchange: The client generates a public-private key pair, the private key is securely stored locally, and the public key is sent to the server through a secure channel for key exchange between users. The server only acts as a relay for key distribution and does not store user private keys.
[0156] Message encryption and decryption: The message is encrypted at the sender using the receiver's public key, and decrypted at the receiver using the local private key. The intermediate links cannot access the plaintext content, ensuring that the information cannot be stolen.
[0157] Second, key management system: Build a strict key management system that covers the entire life cycle of key generation, storage, update, and revocation to ensure key security:
[0158] Key generation: Follow cryptographic best practices and use a sufficiently strong random number source to generate keys to ensure that the keys are unpredictable.
[0159] Key storage: Private keys are stored in a secure area of the device (such as iOS's Keychain and Android's Keystore), or are physically isolated and stored using a hardware security module (HSM) to prevent key leakage.
[0160] Key update and revocation: Supports regular or on-demand key updates, and old keys are discarded in a secure manner. When a device is lost or the user changes the device, support remote key revocation to prevent the old device from continuing to access encrypted messages.
[0161] Third, permission control system: Implement a fine-grained permission control system to define permission rules based on dimensions such as roles, user groups, message types, and operation types to ensure that only authorized users can access specific messages or perform specific operations:
[0162] Permission model design: Build RBAC (Role-Based Access Control), ABAC (Attribute-Based Access Control) or a hybrid model to determine the user's permission to operate on messages based on comprehensive factors such as user identity, role, attributes, and context conditions.
[0163] Permission management interface: Provides a user-friendly permission management interface or API, allowing administrators or users to set and modify permission rules, such as specifying the viewing scope of a message, setting editing permissions for specific roles, etc.
[0164] Permission verification mechanism: Before sending, receiving, viewing, editing, deleting, etc., the system automatically verifies permissions. If the user does not have sufficient permissions, the system rejects the operation and returns a corresponding prompt.
[0165] Fourth, user identity authentication and anti-counterfeiting: Use multi-factor authentication (MFA), biometric recognition, OAuth, OpenIDConnect and other technologies to ensure the authenticity and uniqueness of user identities and prevent impersonation and fraud:
[0166] Multi-factor authentication: Combines passwords, SMS verification codes, biometrics (fingerprints, facial recognition), hardware tokens and other authentication methods to improve account login security.
[0167] Biometric recognition: Integrate the built-in biometric modules of the device, such as Touch ID, Face ID, and Windows Hello, to provide a convenient and secure authentication method.
[0168] OAuth and OpenID Connect: Supports integration with third-party identity providers (such as Google and Facebook), and performs authentication and authorization through the OAuth 2.0 authorization framework and OpenID Connect protocol, simplifying the login process while ensuring user data privacy.
[0169] Fifth, anti-spam and malicious information detection: Use machine learning, deep learning, rule engines and other technologies to monitor, filter, and intercept spam, malicious links, illegal content, etc. in real time to maintain a good platform ecological environment:
[0170] Text content analysis: Train text classification models to identify spam, insults, advertisements, pornography, and other content in messages, and filter them using keyword blacklists, regular expressions, and other rules.
[0171] Link security detection: Scan the URL in the message in real time to detect whether the web page it points to contains risks such as malware, phishing websites, illegal content, etc., and use the reputation database and third-party security services to assist in judgment.
[0172] User behavior monitoring: Monitor user message sending frequency, content characteristics, reporting records and other behavioral indicators, identify abnormal behavior patterns, such as sending spam in batches and frequently posting illegal content, and take measures such as warnings, sending restrictions, and account bans to respond.
[0173] Among them, the functions that can be achieved by the scalability and compatibility assurance module mainly include:
[0174] First, modular architecture design: Adopting microservice, componentization, plug-in and other architectural design concepts, the system is divided into multiple independent, loosely coupled services or modules to facilitate function expansion, version iteration and fault isolation:
[0175] Microservice architecture: core functions such as message processing, storage, user management, permission control, and interaction logic are split into microservices. Each service communicates through an API interface, making it easy to scale horizontally and upgrade versions.
[0176] Component-based design: Encapsulate front-end functions such as user interface, multimedia player, and interactive elements into reusable components, which are dynamically loaded through configuration files or interfaces to facilitate adding or replacing components and achieving functional expansion.
[0177] Plug-in mechanism: Support third-party developers to develop and access new interactive elements, message types, and service plug-ins through SDK or API to enrich platform functions and meet diverse needs.
[0178] Second, standardize interfaces and protocols: follow the RESTful API design principles, formulate unified interface specifications, use standardized data formats such as JSON and Protobuf, and ensure seamless connection between different services, clients, and third-party applications:
[0179] Interface documentation: Provides detailed API documentation, including interface address, request method, parameter description, response format, error code definition, etc., to facilitate developers to quickly integrate.
[0180] Version management: Perform version control on the API, maintain compatibility with the old version when the new version is released, and provide a clear upgrade guide to ensure a smooth transition.
[0181] Cross-platform SDK: Provides multi-platform SDKs such as iOS, Android, and Web, encapsulating complex logic such as underlying network communication, message parsing, and interaction logic to simplify client development.
[0182] Third, compatibility testing and adaptation: Carry out comprehensive compatibility testing to ensure that the system runs stably in different operating system versions, browser versions, device models, and network environments:
[0183] Device matrix: Build a test matrix covering the brands, models, operating system versions, screen sizes, and resolutions of mainstream devices to simulate real user environments for testing.
[0184] Browser compatibility: Test the support of mainstream browsers (Chrome, Firefox, Safari, Edge, etc.) and their different versions for HTML5, CSS3, and JavaScript features to ensure correct interface rendering and interaction logic.
[0185] Network environment simulation: simulate different network conditions (such as 2G / 3G / 4G / 5G, Wi-Fi, weak network, packet loss, high latency) to verify the system stability and user experience under network fluctuations.
[0186] As shown in FIG7 , the information processing method specifically includes the following steps:
[0187] First, the administrator triggers a message sending request for each content to be transmitted based on the sending terminal. The communication server responds to the message sending request and obtains the configured message transmission address.
[0188] Subsequently, the composite message format and parsing engine module in the communication server can obtain the information type and information semantics of each content to be transmitted, and based on the information type of each content to be transmitted, determine the message component elements corresponding to each information type and the basic message structure containing each message component element; according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted, determine the display position of each content to be transmitted in the basic message structure.
[0189] The terminal rendering and interaction module in the communication server can obtain the display configuration information of the receiving terminal based on the message transmission address, determine the initial display method of each content to be transmitted according to the information type of each content to be transmitted, and determine the information display method of each content to be transmitted based on the display configuration information and the initial display method of each content to be transmitted.
[0190] Then, the composite message format and parsing engine module fills the information display method of each content to be transmitted into the display position of the content to be transmitted in the basic message structure, obtains the information nesting relationship between the contents to be transmitted, and assembles the messages of each content to be transmitted according to the information nesting relationship to obtain the assembly information containing each content to be transmitted.
[0191] The message transmission optimization module in the communication server can perform data formatting on the assembly information to obtain unified format assembly information, and then encode and serialize the unified format assembly information based on a preset encoding method to obtain intermediate assembly information, and then compress the intermediate assembly information according to a preset data compression method to obtain a composite message containing all the contents to be transmitted.
[0192] The security and privacy protection module in the communication server encrypts the composite message according to the preset encryption methods of the receiving terminal and the sending terminal to obtain an encrypted message, and sends the encrypted message to the receiving terminal.
[0193] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0194] Based on the same inventive concept, the embodiment of the present application also provides an information processing device for implementing the above-mentioned information processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more information processing device embodiments provided below can refer to the limitations on the information processing method above, and will not be repeated here.
[0195] In some embodiments, as shown in FIG8 , an information processing device 800 is provided, including: a request response module 801, an element and structure determination module 802, a nested relationship determination module 803, a message assembly module 804 and a message transmission module 805, wherein:
[0196] The request response module 801 is used to obtain a configured message transmission address in response to a message sending request triggered for multiple contents to be transmitted.
[0197] The element and structure determination module 802 is used to determine, based on the information type of each of the contents to be transmitted, the message component elements corresponding to each of the information types and the basic message structure containing each of the message component elements.
[0198] The nested relationship determination module 803 is used to determine the information nesting relationship between each content to be transmitted based on the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted; the information nesting relationship is used to characterize the display timing of each content to be transmitted.
[0199] The message assembly module 804 is used to assemble the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted.
[0200] The message transmission module 805 is used to transmit the composite message according to the message transmission address.
[0201] In some embodiments, the element and structure determination module is used to: determine the message component elements corresponding to each content to be transmitted in the composite message based on the information type of each content to be transmitted and the preset correspondence between the information type and the message component elements; determine the basic message structure containing each message component element according to the message component elements corresponding to each content to be transmitted and the preset correspondence between the message component elements and the basic message structure.
[0202] In some embodiments, the nested relationship determination unit is used to: determine the display position of each content to be transmitted in the basic message structure according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted; determine the information display method of each content to be transmitted based on the message transmission address and the information type of each content to be transmitted; for each content to be transmitted, fill the information display method of the content to be transmitted into the display position of the content to be transmitted in the basic message structure to obtain the information nested relationship between the contents to be transmitted.
[0203] In some embodiments, the nested relationship determination unit is used to: obtain display configuration information of the receiving terminal based on the message transmission address; determine the initial display method of each content to be transmitted according to the information type of each content to be transmitted; determine the information display method of each content to be transmitted based on the display configuration information and the initial display method of each content to be transmitted.
[0204] In some embodiments, the message assembly module is used to:
[0205] A message organization unit is used to assemble messages of various contents to be transmitted according to information nesting relationships to obtain assembled information;
[0206] The data processing unit is used to process the assembled information according to a preset data processing method to obtain a composite message containing various contents to be transmitted.
[0207] In some embodiments, the data processing method includes data format processing; the data processing unit includes: performing data formatting processing on the assembly information to obtain unified format assembly information; based on a preset encoding method, encoding and serializing the unified format assembly information to obtain a composite message containing various contents to be transmitted.
[0208] In some embodiments, the data processing method includes data compression processing; the data processing unit is used to: based on a preset data compression method, perform data compression processing on the assembly information to obtain a composite message containing various contents to be transmitted.
[0209] In some embodiments, the message transmission module includes:
[0210] A receiving terminal determining unit, configured to determine a receiving terminal matching the message transmission address according to the message transmission address;
[0211] an encryption mode determination unit, configured to determine an encryption mode to be used for the composite message based on a receiving terminal;
[0212] A message encryption unit, used for encrypting the composite message according to the encryption method to obtain an encrypted message;
[0213] The encryption transmission unit is used to send the encrypted message to the receiving terminal.
[0214] Each module in the above information processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0215] In some embodiments, a computer device is provided, which may be a communication server, and its internal structure diagram may be shown in FIG9. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as message sending requests, message transmission addresses, information types, information semantics, information nesting relationships, and composite messages. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an information processing method is implemented.
[0216] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0217] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the specific implementation steps of the above-mentioned information processing method when executing the computer program.
[0218] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the specific implementation steps of the above-mentioned information processing method are realized.
[0219] In one embodiment, a computer program product is provided, including a computer program, which implements the specific implementation steps of the above information processing method when executed by a processor.
[0220] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0221] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0222] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An information processing method, characterized in that: The method comprises: In response to a message sending request triggered for a plurality of contents to be transmitted, obtaining a configured message transmission address; Based on the information type of each of the contents to be transmitted, determining a message component element corresponding to each of the information types and a basic message structure including each of the message component elements; Determine the information nesting relationship between the contents to be transmitted according to the display timing information of each of the message component elements in the basic message structure and the information semantics of each of the contents to be transmitted; the information nesting relationship is used to characterize the display timing of each of the contents to be transmitted; Assembling the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted; The composite message is transmitted according to the message transmission address.
2. The method according to claim 1, characterized in that The determining, based on the information type of each of the contents to be transmitted, message component elements corresponding to each of the information types and a basic message structure including each of the message component elements comprises: Determine the message component element corresponding to each of the contents to be transmitted in the composite message based on the information type of each of the contents to be transmitted and the preset correspondence between the information type and the message component element; According to the message component elements corresponding to the contents to be transmitted and the preset correspondence between the message component elements and the basic message structure, a basic message structure including the message component elements is determined.
3. The method according to claim 1, characterized in that: Determining the information nesting relationship between the contents to be transmitted according to the display timing information of each of the message components in the basic message structure and the information semantics of each of the contents to be transmitted includes: Determine the display position of each of the to-be-transmitted contents in the basic message structure according to the display timing information of each of the message component elements in the basic message structure and the information semantics of each of the to-be-transmitted contents; Determining, based on the message transmission address and the information type of each of the contents to be transmitted, an information display mode of each of the contents to be transmitted; For each of the contents to be transmitted, the information display mode of the contents to be transmitted is filled into the display position of the contents to be transmitted in the basic message structure, so as to obtain the information nesting relationship between the contents to be transmitted.
4. The method according to claim 3, characterized in that The determining, based on the message transmission address and the information type of each of the contents to be transmitted, the information display mode of each of the contents to be transmitted includes: Based on the message transmission address, obtaining display configuration information of the receiving terminal; Determining an initial display mode of each of the contents to be transmitted according to the information type of each of the contents to be transmitted; Based on the display configuration information and the initial display mode of each of the to-be-transmitted contents, an information display mode of each of the to-be-transmitted contents is determined.
5. The method according to any one of claims 1 to 4, characterized in that: The step of assembling the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted includes: Assembling the messages of the contents to be transmitted according to the information nesting relationship to obtain assembly information; According to a preset data processing method, the assembly information is processed to obtain a composite message containing the contents to be transmitted.
6. The method according to claim 5, characterized in that The data processing method includes data format processing; The step of performing data processing on the assembly information according to a preset data processing method to obtain a composite message containing the contents to be transmitted includes: Performing data formatting processing on the assembly information to obtain assembly information in a unified format; Based on a preset encoding method, the unified format assembly information is encoded and serialized to obtain a composite message containing each of the contents to be transmitted.
7. The method according to claim 5, characterized in that The data processing method includes data compression processing; The step of performing data processing on the assembly information according to a preset data processing method to obtain a composite message containing the contents to be transmitted includes: Based on a preset data compression method, the assembly information is subjected to data compression processing to obtain a composite message containing the contents to be transmitted.
8. The method according to claim 1, characterized in that: The transmitting the composite message according to the message transmission address includes: According to the message transmission address, determining a receiving terminal matching the message transmission address; determining, based on the receiving terminal, an encryption method to be used for the composite message; Encrypt the composite message according to the encryption method to obtain an encrypted message; The encrypted message is sent to the receiving terminal.
9. An information processing device, characterized in that: The device comprises: A request response module, configured to obtain a configured message transmission address in response to a message sending request triggered for a plurality of contents to be transmitted; An element and structure determination module, used to determine, based on the information type of each of the contents to be transmitted, a message component element corresponding to each of the information types, and a basic message structure containing each of the message component elements; A nested relationship determination module, used to determine the information nested relationship between the contents to be transmitted according to the display timing information of each message component element in the basic message structure and the information semantics of each content to be transmitted; the information nested relationship is used to characterize the display timing of each content to be transmitted; A message assembly module, used for assembling the messages of the contents to be transmitted according to the information nesting relationship to obtain a composite message containing the contents to be transmitted; The message transmission module is used to transmit the composite message according to the message transmission address.
10. The device according to claim 9, characterized in that The element and structure determination module is used to: determine the message component elements corresponding to each of the contents to be transmitted in the composite message based on the information type of each of the contents to be transmitted and the preset correspondence between the information type and the message component elements; determine the basic message structure containing each of the message component elements according to the message component elements corresponding to each of the contents to be transmitted and the preset correspondence between the message component elements and the basic message structure.
11. The device according to claim 9, characterized in that The nested relationship determination unit is used to determine the display position of each of the to-be-transmitted contents in the basic message structure according to the display timing information of each of the message component elements in the basic message structure and the information semantics of each of the to-be-transmitted contents; Determining, based on the message transmission address and the information type of each of the contents to be transmitted, an information display mode of each of the contents to be transmitted; For each of the contents to be transmitted, the information display mode of the contents to be transmitted is filled into the display position of the contents to be transmitted in the basic message structure, so as to obtain the information nesting relationship between the contents to be transmitted.
12. The device according to claim 11, characterized in that The nested relationship determination unit is used to: obtain display configuration information of the receiving terminal based on the message transmission address; determine the initial display mode of each content to be transmitted according to the information type of each content to be transmitted; Based on the display configuration information and the initial display mode of each of the to-be-transmitted contents, an information display mode of each of the to-be-transmitted contents is determined.
13. The device according to any one of claims 9 to 12, characterized in that The message assembly module is used for: A message organizing unit, configured to assemble the contents to be transmitted according to the information nesting relationship to obtain assembled information; The data processing unit is used to perform data processing on the assembly information according to a preset data processing method to obtain a composite message containing each of the contents to be transmitted.
14. The device according to claim 13, characterized in that The data processing method includes data format processing; the data processing unit includes: performing data formatting processing on the assembly information to obtain unified format assembly information; based on a preset encoding method, encoding and serializing the unified format assembly information to obtain a composite message containing each of the contents to be transmitted.
15. The device according to claim 13, characterized in that The data processing method includes data compression processing; the data processing unit is used to: based on a preset data compression method, perform data compression processing on the assembly information to obtain a composite message containing each of the contents to be transmitted.
16. The device according to claim 9, characterized in that The message transmission module includes: a receiving terminal determining unit, configured to determine, according to the message transmission address, a receiving terminal matching the message transmission address; an encryption mode determining unit, configured to determine an encryption mode to be used for the composite message based on the receiving terminal; A message encryption unit, used to encrypt the composite message according to the encryption method to obtain an encrypted message; The encryption transmission unit is used to send the encrypted message to the receiving terminal.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
