WO2018000817A1 - Information processing method, device and computer storage medium - Google Patents

Information processing method, device and computer storage medium Download PDF

Info

Publication number
WO2018000817A1
WO2018000817A1 PCT/CN2017/073096 CN2017073096W WO2018000817A1 WO 2018000817 A1 WO2018000817 A1 WO 2018000817A1 CN 2017073096 W CN2017073096 W CN 2017073096W WO 2018000817 A1 WO2018000817 A1 WO 2018000817A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
spliced
cascading
splicing
unit
Prior art date
Application number
PCT/CN2017/073096
Other languages
French (fr)
Chinese (zh)
Inventor
李晓蕾
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018000817A1 publication Critical patent/WO2018000817A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to information processing technologies in the field of computers, and in particular, to an information processing method and apparatus, and a computer storage medium.
  • Instant messaging clients are more and more widely used in our daily life, for example, QQ, WeChat, etc. It is not only a network tool for communication between users, but also a tool for information sharing. For example, when a user establishes a learning group on the WeChat platform, members in the group can share learning resources with each other through the learning group, and the shared learning resources may be in graphic form or audio form.
  • the instant messaging client limits the file size of each piece of audio information sent or received by the user. For example, when the user passes the function control in the WeChat platform, the user shares some reading live broadcasts, expert live lectures or foreign languages.
  • audio information such as oral communication is used, the file of the audio information that is usually sent is relatively large. In this case, the audio information can only be divided into multiple pieces of information for transmission, and the user at the receiving end can only use the point. The form of the segment is listened to or collected, and the received audio content cannot be recognized before listening, which seriously affects the user experience.
  • embodiments of the present invention are expected to provide an information processing method and apparatus, and a computer storage medium, which can splicing multiple pieces of information into one complete piece of information for transmission.
  • an information processing method includes:
  • the cascading information matching the label information is searched, and the information to be spliced is spliced with the cascading information.
  • the method further includes:
  • the method when the information to be spliced is not splicable information, the method further includes:
  • the method further includes:
  • the stitched information is saved, and the cascaded information is replaced with the stitched information.
  • the tag information includes an information feature code
  • the splicing the information to be spliced and the cascading information includes:
  • the splicing the information to be spliced and the cascading information further includes:
  • the new encoded data is written into a new file to obtain the stitched information.
  • the method further includes:
  • the method further includes:
  • an information processing apparatus comprising: an obtaining unit, a first determining unit, a second determining unit, and a processing unit;
  • the acquiring unit is configured to acquire label information and information to be spliced
  • the first determining unit is configured to determine, according to the label information acquired by the acquiring unit, whether the information to be spliced is splicable information;
  • the second determining unit is configured to determine, when the first determining unit determines that the to-be-spliced information is splicable information, whether the information to be spliced is the first piece of information to be spliced;
  • the processing unit is configured to: when the second determining unit determines that the to-be-spliced information is not the first piece of information to be spliced, search for cascading information that matches the tag information, and the information to be spliced and the splicing The cascading information is spliced.
  • the device further includes:
  • a determining unit configured to determine, by the second determining unit, that the information to be spliced is the first piece of information to be spliced, determining that the information to be spliced is cascading information
  • the obtaining unit is further configured to: when the determining unit determines that the information to be spliced is cascading information, acquire the next splicing information to be matched with the label information.
  • the device further includes:
  • a display unit configured to: after the processing unit splices the information to be spliced and the cascading information, display the spliced information.
  • the display unit is further configured to display the information to be spliced when the first determining unit determines that the information to be spliced is not splicable information.
  • the device further includes:
  • a saving unit configured to: after the processing unit splices the information to be spliced and the cascading information, save the spliced information, and replace the cascading information with the spliced information.
  • the tag information acquired by the acquiring unit includes an information feature code
  • the processing unit is further configured to splicing the information to be spliced and the cascading information according to the information feature code.
  • the processing unit is further configured to extract the encoded data in the to-be-spliced information and the concatenated information, and combine the extracted encoded data according to the encoding feature to obtain new encoded data. And writing the new encoded data obtained by the splicing unit into a new file to obtain spliced information.
  • the processing unit is further configured to set a file header for the new file.
  • a computer storage medium storing a computer program configured to execute the above information processing method is provided.
  • An embodiment of the present invention provides an information processing method and apparatus, and a computer storage medium, which obtains label information and information to be spliced, and determines, according to the label information, that the information to be spliced is splicable information, and determines the information to be spliced. Whether it is the first piece of information to be spliced; determining that the information to be spliced is not the first piece of information to be spliced, searching for cascading information that matches the tag information, and the cascading information and the information to be spliced Splicing.
  • the receiving end can splicing the pieces of information matching the tag information into one piece of information and then displaying the information, so that the receiving end user can conveniently save or collect the received information, and can quickly identify the received information according to the tag information.
  • Content that enhances the user experience.
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention; as shown in FIG. 1, the method includes:
  • Step 101 Obtain label information and information to be spliced.
  • the tag information may be that after receiving the information to be spliced sent by the sending end, the receiving end performs information keyword extraction according to the information to be spliced sent by the sending end, and sets the extracted information keyword into tag information;
  • the information may be generated by the sender to extract the information of the information to be spliced, and the label information is generated and sent to the receiving end.
  • the user may also input the description of the splicing information according to the sending end, and generate label information.
  • the information to be spliced may be audio information, text information, or information combined with graphics and text, and the label information acquired by the receiving end is matched with the information to be spliced, and the obtained information is obtained.
  • the label information and the information to be spliced are saved in a memory or a database.
  • the receiving end and the sending end may each be a device such as a mobile phone, and before the receiving end acquires the to-be-spliced information sent by the sending end, the sending end first determines the sending by the sending end user. Whether the information is cascading information, specifically, the sending end user sets whether to send cascading information through a sending user interface (UI, User Interface).
  • UI User Interface
  • the sending end determines that the sending end user does not send the cascading information
  • the sending end sends the information according to the normal information, that is, when the information file to be sent is large, the information is sent according to multiple pieces of information;
  • the cascading mode control is turned on, and the cascading mode is entered; in the cascading mode, there are multiple chat scenarios, and the sending end user can enter the cascading mode according to the splicing to be spliced Information content, selecting and the to-be-spliced letter in the cascade mode The content of the content matches the chat scene.
  • the teaching scene in the cascading mode may be selected; if the content of the information to be spliced is an essay, the essay scene in the cascading mode may be selected.
  • the sending end acquires the information to be spliced according to the chat scenario set by the user of the sending end, and sends the obtained information to be spliced to the receiving end.
  • the label information includes: a cascading information identifier, an information description, an information feature code, and an information serial number, and the label information enables the receiving end to quickly identify the received information after receiving the information.
  • the content is convenient for the user to read, save or collect; and also provides the basis for the receiving end to splicing the plurality of pieces of information to be spliced into one piece of information.
  • the cascading information identifier is used to identify whether the information to be spliced is splicable information. When the value of the cascading information identifier is 1, the information to be spliced is splicable information; When the value of the cascading information identifier is 0, the information to be spliced is not splicable information;
  • the information description is used to describe the information content to be spliced, and the information description may be generated by the sending end by extracting the information to be spliced, or may be set by the sending end user through the sending UI interface;
  • the information feature code is used to distinguish the information to be spliced from the same information description, and is used as a basis for preventing different information sent by the same sender; or the same information sent by different senders is spliced into one piece of information; specifically, the The information feature code can detect, by the sending end, the time difference between the receiving time of the current information to be spliced and the receiving time of the information to be spliced, and determine whether the time difference is greater than a preset time, and randomly generate according to the determination result. For example, the preset time is 10 minutes, and the current information feature code is 1.
  • the sending end When the sending end detects the time difference between the receiving time of the current information to be spliced and the receiving time of the previous information to be spliced, which is greater than the preset time of 10 minutes, it is generated.
  • the information feature code 2, and the currently received information to be spliced is not spliced into a piece of information received by the previous piece to be spliced.
  • the information sequence number is used to mark the time sequence of the received information to be spliced.
  • the label information is sent to the receiving end.
  • the specific label information is shown in Table 1:
  • the content of the tag information is not limited to the one shown in Table 1, and the content thereof may be added, subtracted, modified, etc. according to the user's own needs.
  • Step 102 Determine, according to the label information, whether the information to be spliced is the splicable information, and determine whether the information to be spliced is the first information to be spliced;
  • the tag information is in an initial state, that is, the content in the tag information is empty.
  • the receiving end determines whether the information to be spliced belongs to the splicable information according to the value of the cascading information identifier in the label information; When the value of the joint information identifier is 0, it is determined that the information to be spliced is not splicable information, and the information to be spliced is directly sent to the display unit of the receiving end, for example, the UI interface of the receiving end; when determining the cascading information identifier If the value is 1, the information to be spliced is determined to be splicable information, and then the information to be spliced is determined to be the first information to be spliced according to the information sequence number in the label information.
  • Step 103 Determine, when the information to be spliced is not the first piece of information to be spliced, search for cascading information that matches the tag information, and splicing the spliced information with the cascading information;
  • the receiving end determines, according to the information sequence number in the tag information, whether the information to be spliced is the first piece of information to be spliced.
  • the information sequence number of the information to be spliced is 1, it is determined that the information to be spliced is the first information to be spliced.
  • the receiving end determines that the information to be spliced is cascading information, and saves, and then saves Obtaining the next piece of information to be stitched that matches the tag information.
  • the matching referred to herein refers to the label information except the information serial number. All other information is the same.
  • the information sequence number of the information to be spliced is not 1, determining that the information to be spliced is not the first information to be spliced, searching in the memory for matching other information except the information sequence number in the tag information. Cascading the information, and splicing the information to be spliced with the cascading information, saving the spliced information, and replacing the cascading information with the spliced information.
  • the information feature code in the tag information is used to prevent the same sender from transmitting different information; or the different senders send the same information together, so the receiver may also And the information feature code is used as a basis for splicing the information to be spliced and the cascading information, and splicing the information to be spliced and the cascading information according to the information feature code. After the receiving end has spliced the pieces of information to be spliced into one piece of information according to the label information, the spliced information is displayed to the user through the UI interface of the receiving end.
  • the label information and the information to be spliced are obtained by the server, and the splicing information is sent by the server to the receiving end, and the specific server pairs the multiple
  • the splicing process of the splicing information is substantially the same as the splicing method of the plurality of pieces of information to be spliced at the receiving end, and the similarities are not described herein again. The only difference is that the process of splicing is completed by the server and sent to the receiving end.
  • the splicing of the to-be-spliced information and the concatenated information includes: extracting the to-be-spliced information and the encoded data in the concatenated information; and extracting the extracted encoded data according to
  • the coding feature performs coding data splicing to obtain new coded data; the new coded data is written into a new file to obtain spliced information.
  • the encoded data is the specific data content of the to-be-spliced information and the concatenated information.
  • the encoded data is the a voice frame or an audio frame of the audio information;
  • the encoded data is character data of the text information.
  • the receiving end may also use the preset time to receive the information received in the preset time period as the information to be spliced, or may also pass the receiving end.
  • the user manually selects one or more pieces of information as information to be stitched.
  • the label information of the information to be spliced is used to mark the content of the information to be spliced, and the label information may also be used by the user at the receiving end according to the information to be spliced.
  • the set tag information is directly stored or stored; when it is determined that there are more than two pieces of information to be spliced, the encoded data in each piece of information to be spliced is extracted.
  • the encoded data is the specific data content of the information to be spliced.
  • the encoded data is a voice frame or an audio frame of the audio information;
  • the encoded data is character data of the text information.
  • the encoded format in the extracted encoded data is the same type.
  • the encoding format of the audio information includes an amr format, an MP3 format, and the like.
  • the extracted encoded data is sorted according to the chronological order of the information to be spliced, and then used as an encoding feature of the encoded data, and then the encoded data in each extracted information to be spliced according to the coding feature order.
  • the apparatus includes: an obtaining unit 201, a first determining unit 202, a second determining unit 203, and a processing unit 204;
  • the acquiring unit 201 is configured to acquire label information and information to be spliced
  • the first determining unit 202 is configured to determine, according to the label information acquired by the acquiring unit 201, whether the information to be spliced is splicable information;
  • the second determining unit 203 is configured to determine, when the first determining unit 202 determines that the to-be-spliced information is splicable information, whether the information to be spliced is the first piece of information to be spliced;
  • the processing unit 204 is configured to: when the second determining unit 203 determines that the information to be spliced is not the first piece of information to be spliced, search for the same cascading information as the tag information, and the information to be spliced Splicing with the found cascading information.
  • the device may be a receiving end or a server.
  • the receiving end acquires label information and information to be spliced, and the receiving end is based on the label.
  • the information is spliced at the receiving end to the splicing information;
  • the server obtains the label information and the information to be spliced, and the server aligns the splicing in the service according to the label information.
  • the information is stitched and then the stitched information is sent to the receiving end.
  • the following takes the device as the receiving end as an example for detailed description.
  • the label information may be obtained by the obtaining unit 201 after the information to be spliced sent by the sending end, according to the information to be spliced sent by the sending end, and the information keyword is extracted, and the extracted information keyword is set as the label information.
  • the information key of the information to be spliced is sent by the sending end to generate the label information, and is sent to the receiving end.
  • the user may also input the description of the splicing information according to the sending end, and generate label information, where the label information is specifically
  • the information to be spliced may be audio information, text information, or information combined with graphics and text, and the label information acquired by the obtaining unit 201 and the to-be-spliced The information is matched.
  • the sending end Before the obtaining unit 201 obtains the label information and the information to be spliced, the sending end first determines whether the information sent by the sending end is cascading information, and specifically, the sending end user sets whether to send the cascading through the sending end UI. information.
  • the sending end determines that the sending end user does not send the cascading information
  • the sending end sends the information according to the normal information, that is, when the information file to be sent is large, the information is sent according to multiple pieces of information;
  • the sending end determines the sending end user
  • the cascading mode control is started, and the cascading mode is entered; in the cascading mode, there are multiple chat scenarios, and after the sending end enters the cascading mode, the sending end user can be spliced according to the upcoming splicing Information content, in the cascading mode, selecting a chat scene that matches the content of the information to be spliced.
  • the teaching scene in the cascading mode may be selected; if the content of the information to be spliced is an essay, the essay scene in the cascading mode may be selected.
  • the sending end starts to acquire the information to be spliced to be sent according to the chat scenario set by the user of the sending end, and sends the information to be spliced to the acquiring unit 201 after obtaining the information to be spliced.
  • the label information includes: a concatenation information identifier, an information description, an information feature code, and an information serial number.
  • the label information enables the obtaining unit 201 to quickly recognize the received information after receiving the information.
  • the information content is convenient for the user to read, save or collect; and the processing unit 204 also provides a basis for splicing the plurality of pieces of information to be stitched acquired by the obtaining unit 201 into one piece of information.
  • the cascading information identifier is used to identify whether the information to be spliced is splicable information. When the value of the cascading information identifier is 1, the information to be spliced is splicable information; When the value of the cascading information identifier is 0, the information to be spliced is not splicable information;
  • the information is used to describe a text description of the information to be spliced.
  • the information description may be generated by the sending end by extracting the information to be spliced, or may be set by the sending end user through the sending UI interface.
  • the information feature code is used to distinguish the information to be spliced from the same information description, and is used as a basis for preventing different information sent by the same sender; or the same information sent by different senders is spliced into one piece of information; specifically, the The information feature code may be randomly generated by the sending end to detect whether the time difference between the current receiving time of the information to be spliced and the receiving time of the previous information to be spliced is greater than a preset time. For example, the preset time is 10 minutes, and the current information feature code is 1.
  • the information feature code 2 does not splicing the currently received information to be spliced and the information received by the previous one into a piece of information for transmission.
  • the information sequence number is used to mark the time sequence of the information to be spliced acquired by the obtaining unit 201.
  • the tag information is sent to the acquiring unit 201.
  • the specific label information is shown in Table 1:
  • the content of the tag information is not limited to the one shown in Table 1, and the content thereof may be added, subtracted, modified, etc. according to the user's own needs.
  • the device further includes a saving unit 206.
  • the label information is in an initial state, that is, the content in the label information is empty.
  • the saving unit 206 reports the label information and the information to be spliced to the memory, where the memory may also be a database; the saving unit
  • the first determining unit 202 determines whether the information to be spliced belongs to the splicable information according to the value of the cascading information identifier in the label information.
  • the first determining unit 202 determines When the value of the cascading information identifier is 0, it is determined that the information to be spliced is not splicable information, and the message is sent to the display unit 205, and the information to be spliced is directly displayed by the display unit 205 to the user.
  • the display unit 205 may be a UI interface of the device.
  • the first determining unit 202 determines that the value of the cascading information identifier is 1, it is determined that the information to be spliced is splicable information, and the message is sent to the second judgment.
  • the second determining unit 203 determines whether the information to be spliced is the first piece of information to be spliced according to the information sequence number in the tag information.
  • the second determining unit 203 determines that the information number of the information to be spliced is 1
  • the information to be spliced is determined to be the first piece of information to be spliced, and the information to be spliced that matches the tag information is acquired by the obtaining unit 201.
  • the matching referred to herein means that the information of the tag information is the same except for the information sequence number.
  • the second determining unit 203 determines that the information sequence number of the information to be spliced is not 1, determining that the information to be spliced is not the first piece of information to be spliced, then transmitting the information to the processing unit 204, by the processing
  • the unit 204 searches for a cascading information that matches other information except the information sequence number in the tag information, and splices the information to be spliced and the cascading information, and after the splicing is completed, the saving unit 206 saves the stitched information to the memory and replaces the concatenated information with the stitched information.
  • the processing unit 204 may also use the information.
  • the feature code is used as a basis for splicing the information to be spliced and the cascading information, and splicing the information to be spliced and the cascading information according to the information feature code.
  • the device further includes a display unit 205, configured to display the stitched information after the processing unit 204 splices the information to be spliced and the cascading information.
  • the processing unit 204 has spliced a plurality of pieces of information to be spliced into one piece of information according to the label information, and then sends the information to the display unit 205, and the spliced information is presented to the user by the display unit 205.
  • the processing unit 204 is further configured to: extract the encoded information in the to-be-spliced information and the concatenated information; and combine the extracted encoded data according to the encoding feature to obtain the encoded data.
  • New encoded data; and the new encoded data obtained by the splicing unit is written into a new file to obtain spliced information.
  • the encoded data is the specific data content of the information to be spliced and the cascading information.
  • the encoded data is a voice frame of the audio information or An audio frame;
  • the encoded data is character data of the text information.
  • the processing unit 204 sorts the extracted encoded data according to the chronological order of the information to be spliced, as the coding feature of the encoded data, and then sequentially extracts the extracted to be spliced according to the coding feature sequence.
  • the encoded data in the information and the encoded data in the concatenated information are combined with the encoded data, spliced into one piece of encoded data, and written as a new encoded data into a new file, and a file is set for the new file.
  • the header is used to mark the content of the new folder, complete the processing of the stitched information, and display the stitched information and the set file header.
  • the acquiring unit 201 may also use the preset time to receive the information received in the preset time period as the information to be spliced, or may receive the information.
  • the end user manually selects one or more pieces of information as information to be stitched. And extracting the information to be spliced by using the keyword in the information to be spliced as the label information of the information to be spliced.
  • the second determining unit 203 determines that the information to be spliced is a piece of information to be spliced according to the receiving time of the information to be spliced, when When the second determining unit 203 determines that the information to be spliced is a piece of information to be spliced, the information to be spliced is stored or stored together with the tag information; when the second determining unit 203 determines that the information to be spliced has two When the bar is above, the message is sent to the processing unit 204, and the encoded data in each piece of information to be spliced is extracted by the processing unit 204.
  • the encoded data is specific data content of the information to be spliced, for example,
  • the encoded data is a voice frame or an audio frame of the audio information;
  • the encoded data is the text information.
  • Character data when the information to be spliced is the audio information, the encoding format in the encoded data extracted by the processing unit 204 is the same.
  • the encoding format of the audio information is an amr format, an MP3 format, or the like.
  • the acquiring unit 201 acquires the time sequence of the information to be stitched as the encoding feature of the encoded data, and then, according to the encoding feature sequence, each of the extracted pieces to be stitched.
  • the encoded data in the information is combined with the encoded data, that is, the plurality of encoded data are spliced into one encoded data and used as new encoded data.
  • the processing unit 204 obtains new encoded data, writes the new encoded data into a new file, and sets a file header for the new file, for marking the content of the new folder. The processing of the stitched information is completed, and the user is convenient to save or collect the stitched information.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to execute the information processing method of the embodiment of the present invention.
  • the technical solution of the embodiment of the present invention obtains the label information and the information to be spliced, and determines whether the information to be spliced is the first information to be spliced according to the label information. When it is determined that the information to be spliced is not the first information to be spliced, the cascading information matching the label information is searched, and the cascading information is spliced with the information to be spliced. In this way, the receiving end can splicing the pieces of information matching the tag information into one piece of information and then displaying the information, so that the receiving end user can conveniently save or collect the received information, and can quickly identify the received information according to the tag information. Content that enhances the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An information processing method, device and a computer storage medium, the method comprising: acquiring tag information and information to be jointed (101); when determining, according to the tag information, the information to be jointed can be jointed, determining whether the information to be jointed is a first piece of information to be jointed (102); when determining that the information to be jointed is not the first piece of information to be jointed, searching cascading information matched with the tag information and jointing the information to be jointed with the cascading information (103).

Description

一种信息处理方法及装置、计算机存储介质Information processing method and device, computer storage medium 技术领域Technical field
本发明涉及计算机领域中的信息处理技术,具体涉及一种信息处理方法及装置、计算机存储介质。The present invention relates to information processing technologies in the field of computers, and in particular, to an information processing method and apparatus, and a computer storage medium.
背景技术Background technique
即时通信客户端在我们的日常生活中应用越来越广泛,例如,QQ、微信等,它不但是用户之间沟通交流的网络工具,也是一种信息共享的工具。例如,当用户在微信平台上建立一个学习群组时,群组内的成员可以通过所述学习群组相互分享学习资源,所分享的学习资源可以是图文形式或是音频形式。但现有技术中,即时通信客户端对用户发送或接收的每条音频信息的文件大小均有限制,例如,当用户通过该微信平台中的功能控件,分享一些阅读直播、专家现场讲座或者外语口语的交流等音频信息时,通常所发送的音频信息的文件比较大,此时,只能采用分段的形式将所述音频信息分成多条信息进行发送,而接收端的用户也只能采用分段的形式进行收听或收藏,并且在收听前无法识别接收到的音频内容,严重影响了用户的使用体验。Instant messaging clients are more and more widely used in our daily life, for example, QQ, WeChat, etc. It is not only a network tool for communication between users, but also a tool for information sharing. For example, when a user establishes a learning group on the WeChat platform, members in the group can share learning resources with each other through the learning group, and the shared learning resources may be in graphic form or audio form. However, in the prior art, the instant messaging client limits the file size of each piece of audio information sent or received by the user. For example, when the user passes the function control in the WeChat platform, the user shares some reading live broadcasts, expert live lectures or foreign languages. When audio information such as oral communication is used, the file of the audio information that is usually sent is relatively large. In this case, the audio information can only be divided into multiple pieces of information for transmission, and the user at the receiving end can only use the point. The form of the segment is listened to or collected, and the received audio content cannot be recognized before listening, which seriously affects the user experience.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例期望提供一种信息处理方法及装置、计算机存储介质,能够将多条信息拼接成一条完整的信息进行发送。In order to solve the existing technical problems, embodiments of the present invention are expected to provide an information processing method and apparatus, and a computer storage medium, which can splicing multiple pieces of information into one complete piece of information for transmission.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
根据本发明实施例的一方面,提供一种信息处理方法,所述方法包括: According to an aspect of an embodiment of the present invention, an information processing method is provided, where the method includes:
获取标签信息和待拼接信息;Obtaining label information and information to be stitched;
根据所述标签信息,判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;Determining, according to the label information, whether the information to be spliced is the splicable information, determining whether the information to be spliced is the first information to be spliced;
判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述待拼接信息与所述级联信息进行拼接。When it is determined that the information to be spliced is not the first information to be spliced, the cascading information matching the label information is searched, and the information to be spliced is spliced with the cascading information.
上述方案中,判定所述待拼接信息是第一条待拼接信息时,所述方法还包括:In the above solution, when the information to be spliced is determined to be the first piece of information to be spliced, the method further includes:
确定所述待拼接信息为级联信息,并获取与所述标签信息相匹配的下一条待拼接信息。Determining the information to be spliced as cascading information, and acquiring next splicing information to be matched with the label information.
上述方案中,根据所述标签信息,判定所述待拼接信息不是可拼接信息时,所述方法还包括:In the foregoing solution, when the information to be spliced is not splicable information, the method further includes:
显示所述待拼接信息。Displaying the information to be stitched.
上述方案中,在所述拼接所述待拼接级联信息与所述待拼接信息之后,所述方法还包括:In the foregoing solution, after the splicing the cascading information to be spliced and the information to be spliced, the method further includes:
保存已拼接信息,并将所述级联信息替换为所述已拼接信息。The stitched information is saved, and the cascaded information is replaced with the stitched information.
上述方案中,所述标签信息中包括信息特征码;In the above solution, the tag information includes an information feature code;
所述将所述待拼接信息与所述级联信息进行拼接包括:The splicing the information to be spliced and the cascading information includes:
根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。And splicing the information to be spliced and the cascading information according to the information feature code.
上述方案中,所述将所述待拼接信息与所述级联信息进行拼接还包括:In the above solution, the splicing the information to be spliced and the cascading information further includes:
提取所述待拼接信息和所述级联信息中的编码数据;Extracting the to-be-spliced information and the encoded data in the concatenated information;
将提取到的所述编码数据按照编码特征进行编码数据拼接,得到新的编码数据;Encoding the extracted encoded data according to the encoding feature to obtain new encoded data;
将所述新的编码数据写入新的文件,得到已拼接信息。The new encoded data is written into a new file to obtain the stitched information.
上述方案中,在所述将所述新的编码数据写入新的文件之后,所述方法还包括: In the above solution, after the writing the new encoded data into the new file, the method further includes:
为所述新的文件设置文件头。Set the file header for the new file.
上述方案中,将所述待拼接信息与所述级联信息进行拼接之后,所述方法还包括:In the foregoing solution, after the splicing information and the cascading information are spliced, the method further includes:
显示已拼接信息。Show stitched information.
根据本发明实施例的另一方面,提供一种信息处理装置,所述装置包括:获取单元、第一判断单元、第二判断单元和处理单元;其中,According to another aspect of the present invention, an information processing apparatus is provided, the apparatus comprising: an obtaining unit, a first determining unit, a second determining unit, and a processing unit;
所述获取单元,配置为获取标签信息和待拼接信息;The acquiring unit is configured to acquire label information and information to be spliced;
所述第一判断单元,配置为根据所述获取单元获取到的所述标签信息,判断所述待拼接信息是否为可拼接信息;The first determining unit is configured to determine, according to the label information acquired by the acquiring unit, whether the information to be spliced is splicable information;
所述第二判断单元,配置为所述第一判断单元判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;The second determining unit is configured to determine, when the first determining unit determines that the to-be-spliced information is splicable information, whether the information to be spliced is the first piece of information to be spliced;
所述处理单元,配置为所述第二判断单元判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述待拼接信息与查找出的所述级联信息进行拼接。The processing unit is configured to: when the second determining unit determines that the to-be-spliced information is not the first piece of information to be spliced, search for cascading information that matches the tag information, and the information to be spliced and the splicing The cascading information is spliced.
上述方案中,所述装置还包括:In the above solution, the device further includes:
确定单元,配置为所述第二判断单元判定所述待拼接信息是第一条待拼接信息时,确定所述待拼接信息为级联信息;a determining unit, configured to determine, by the second determining unit, that the information to be spliced is the first piece of information to be spliced, determining that the information to be spliced is cascading information;
所述获取单元,还配置为所述确定单元确定所述待拼接信息为级联信息时,获取与所述标签信息相匹配的下一条待拼接信息。The obtaining unit is further configured to: when the determining unit determines that the information to be spliced is cascading information, acquire the next splicing information to be matched with the label information.
上述方案中,所述装置还包括:In the above solution, the device further includes:
显示单元,配置为所述处理单元将所述待拼接信息与所述级联信息进行拼接后,显示已拼接信息。a display unit configured to: after the processing unit splices the information to be spliced and the cascading information, display the spliced information.
上述方案中,所述显示单元,还配置为所述第一判断单元判定所述待拼接信息不是可拼接信息时,显示所述待拼接信息。In the above solution, the display unit is further configured to display the information to be spliced when the first determining unit determines that the information to be spliced is not splicable information.
上述方案中,所述装置还包括: In the above solution, the device further includes:
保存单元,配置为所述处理单元将所述待拼接信息与所述级联信息进行拼接后,保存已拼接信息,并将所述级联信息替换为所述已拼接信息。a saving unit configured to: after the processing unit splices the information to be spliced and the cascading information, save the spliced information, and replace the cascading information with the spliced information.
上述方案中,所述获取单元获取到的所述标签信息中包括信息特征码;In the above solution, the tag information acquired by the acquiring unit includes an information feature code;
所述处理单元,还配置为根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。The processing unit is further configured to splicing the information to be spliced and the cascading information according to the information feature code.
上述方案中,所述处理单元,还配置为提取所述待拼接信息和所述级联信息中的编码数据;将提取到的所述编码数据按照编码特征进行编码数据拼接,得到新的编码数据;并将所述拼接单元得到的所述新的编码数据写入新的文件,得到已拼接信息。In the above solution, the processing unit is further configured to extract the encoded data in the to-be-spliced information and the concatenated information, and combine the extracted encoded data according to the encoding feature to obtain new encoded data. And writing the new encoded data obtained by the splicing unit into a new file to obtain spliced information.
上述方案中,所述处理单元,还配置为为所述新的文件设置文件头。In the above solution, the processing unit is further configured to set a file header for the new file.
根据本发明实施例的另一方面,提供一种计算机存储介质,该计算机存储介质存储有计算机程序,该计算机程序配置为执行上述信息处理方法。According to another aspect of an embodiment of the present invention, a computer storage medium storing a computer program configured to execute the above information processing method is provided.
本发明实施例提供一种信息处理方法及装置、计算机存储介质,通过获取标签信息和待拼接信息;根据所述标签信息,判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述级联信息与所述待拼接信息进行拼接。如此,接收端通过将标签信息相匹配的多条信息拼接成一条信息后进行显示,能够方便接收端用户对接收到的信息进行保存或收藏,并且根据标签信息,能够快速识别出接收到的信息内容,提高了用户的使用体验。An embodiment of the present invention provides an information processing method and apparatus, and a computer storage medium, which obtains label information and information to be spliced, and determines, according to the label information, that the information to be spliced is splicable information, and determines the information to be spliced. Whether it is the first piece of information to be spliced; determining that the information to be spliced is not the first piece of information to be spliced, searching for cascading information that matches the tag information, and the cascading information and the information to be spliced Splicing. In this way, the receiving end can splicing the pieces of information matching the tag information into one piece of information and then displaying the information, so that the receiving end user can conveniently save or collect the received information, and can quickly identify the received information according to the tag information. Content that enhances the user experience.
附图说明DRAWINGS
图1为本发明实施例一种信息处理方法的流程示意图;1 is a schematic flowchart of an information processing method according to an embodiment of the present invention;
图2为本发明实施例一种信息处理装置的结构组成示意图。 FIG. 2 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative and not restrictive.
图1为本发明实施例一种信息处理方法的流程示意图;如图1所示,该方法包括:1 is a schematic flowchart of an information processing method according to an embodiment of the present invention; as shown in FIG. 1, the method includes:
步骤101,获取标签信息和待拼接信息;Step 101: Obtain label information and information to be spliced.
这里,所述标签信息可以是由接收端在获取到发送端发送的待拼接信息之后,根据发送端发送的待拼接信息,进行信息关键字提取,将提取到的信息关键字设置成标签信息;也可以是由发送端通过提取待拼接信息的信息关键字,生成标签信息,并发送接收端;还可以根据发送端用户自行输入对待拼接信息的描述,生成标签信息,这里对标签信息具体是如何形成的不作限制;所述待拼接信息可以是音频信息、文字信息,或者图文结合的信息,接收端获取到的所述标签信息与所述待拼接信息是相匹配的,并且在获取到所述标签信息和所述待拼接信息后,会将所述标签信息和所述待拼接信息保存到存储器或者数据库中。Here, the tag information may be that after receiving the information to be spliced sent by the sending end, the receiving end performs information keyword extraction according to the information to be spliced sent by the sending end, and sets the extracted information keyword into tag information; The information may be generated by the sender to extract the information of the information to be spliced, and the label information is generated and sent to the receiving end. The user may also input the description of the splicing information according to the sending end, and generate label information. The information to be spliced may be audio information, text information, or information combined with graphics and text, and the label information acquired by the receiving end is matched with the information to be spliced, and the obtained information is obtained. After the label information and the information to be spliced are described, the label information and the information to be spliced are saved in a memory or a database.
在本发明实施例中,所述接收端和所述发送端均可以为手机等设备,接收端在获取所述发送端发送的所述待拼接信息之前,发送端首先要确定发送端用户发送的信息是否为级联信息,具体是由发送端用户通过发送端用户界面(UI,User Interface)来设置是否发送级联信息。当发送端确定发送端用户不发送级联信息时,则按照正常信息进行发送,即正常信息是指当待发送的信息文件较大时,按照多条信息进行发送;当发送端确定发送端用户要发送级联信息时,则开启级联模式控件,并进入级联模式;在所述级联模式中具有多种聊天场景,发送端用户可以在进入级联模式之后,根据即将发送的待拼接信息内容,在所述级联模式中选择与所述待拼接信 息的内容相匹配的聊天场景。例如,待拼接信息的内容为讲授英语,则可以选择所述级联模式中的讲授场景;待拼接信息的内容为一篇文章,则可以选择所述级联模式中的文章场景。发送端根据发送端用户设置的聊天场景,获取待拼接信息,并将获取到的所述待拼接信息发送给所述接收端。In the embodiment of the present invention, the receiving end and the sending end may each be a device such as a mobile phone, and before the receiving end acquires the to-be-spliced information sent by the sending end, the sending end first determines the sending by the sending end user. Whether the information is cascading information, specifically, the sending end user sets whether to send cascading information through a sending user interface (UI, User Interface). When the sending end determines that the sending end user does not send the cascading information, the sending end sends the information according to the normal information, that is, when the information file to be sent is large, the information is sent according to multiple pieces of information; when the sending end determines the sending end user When the cascading information is to be sent, the cascading mode control is turned on, and the cascading mode is entered; in the cascading mode, there are multiple chat scenarios, and the sending end user can enter the cascading mode according to the splicing to be spliced Information content, selecting and the to-be-spliced letter in the cascade mode The content of the content matches the chat scene. For example, if the content of the information to be spliced is English, the teaching scene in the cascading mode may be selected; if the content of the information to be spliced is an essay, the essay scene in the cascading mode may be selected. The sending end acquires the information to be spliced according to the chat scenario set by the user of the sending end, and sends the obtained information to be spliced to the receiving end.
在本发明实施例中,所述标签信息包括:级联信息标识、信息说明、信息特征码和信息序号,通过该标签信息,能够使接收端在接收到信息后,快速识别出接收到的信息内容,便于用户读取、保存或收藏;同时也为接收端将接收到的多条待拼接信息拼接为一条信息提供依据。In the embodiment of the present invention, the label information includes: a cascading information identifier, an information description, an information feature code, and an information serial number, and the label information enables the receiving end to quickly identify the received information after receiving the information. The content is convenient for the user to read, save or collect; and also provides the basis for the receiving end to splicing the plurality of pieces of information to be spliced into one piece of information.
其中,所述级联信息标识,主要用于标识待拼接信息是否是可拼接信息,当所述级联信息标识的取值为1时,说明所述待拼接信息是可拼接信息;当所述级联信息标识的取值为0时,说明所述待拼接信息不是可拼接信息;The cascading information identifier is used to identify whether the information to be spliced is splicable information. When the value of the cascading information identifier is 1, the information to be spliced is splicable information; When the value of the cascading information identifier is 0, the information to be spliced is not splicable information;
所述信息说明,用于对所述待拼接信息内容的描述,该信息说明可以由发送端通过提取待拼接信息关键字生成,也可以由发送端用户通过发送端UI界面进行设置;The information description is used to describe the information content to be spliced, and the information description may be generated by the sending end by extracting the information to be spliced, or may be set by the sending end user through the sending UI interface;
所述信息特征码,用于区分相同信息说明的待拼接信息,并作为防止将同一个发送端发送的不同信息;或者不同发送端发送的相同信息拼接为一条信息的依据;具体地,所述信息特征码可以通过发送端检测当前待拼接信息的接收时间与上一条待拼接信息的接收时间的时间差,并判断所述时间差是否大于预设时间,根据判断结果进行随机生成。例如,预设时间为10分钟,当前信息特征码是1,当发送端检测到当前待拼接信息的接收时间与上一条待拼接信息的接收时间的时间差,大于预设时间10分钟时,就生成信息特征码2,并且不会再将当前接收到的待拼接信息与上一条接收到待拼接信息拼接为一条信息进行发送。The information feature code is used to distinguish the information to be spliced from the same information description, and is used as a basis for preventing different information sent by the same sender; or the same information sent by different senders is spliced into one piece of information; specifically, the The information feature code can detect, by the sending end, the time difference between the receiving time of the current information to be spliced and the receiving time of the information to be spliced, and determine whether the time difference is greater than a preset time, and randomly generate according to the determination result. For example, the preset time is 10 minutes, and the current information feature code is 1. When the sending end detects the time difference between the receiving time of the current information to be spliced and the receiving time of the previous information to be spliced, which is greater than the preset time of 10 minutes, it is generated. The information feature code 2, and the currently received information to be spliced is not spliced into a piece of information received by the previous piece to be spliced.
所述信息序号,用于标记接收到的待拼接信息的时间顺序。 The information sequence number is used to mark the time sequence of the received information to be spliced.
发送端生成标签信息后,将该标签信息发送到接收端。具体的标签信息如表1所示:After the sender generates the label information, the label information is sent to the receiving end. The specific label information is shown in Table 1:
级联信息标识Cascade information identification
信息说明Information description
信息特征码Information signature
信息序号Information serial number
表1Table 1
这里,标签信息的内容并不局限于表1所示,其内容可根据用户的自身需求,进行内容的增、减、修改等。Here, the content of the tag information is not limited to the one shown in Table 1, and the content thereof may be added, subtracted, modified, etc. according to the user's own needs.
步骤102,根据所述标签信息,判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;Step 102: Determine, according to the label information, whether the information to be spliced is the splicable information, and determine whether the information to be spliced is the first information to be spliced;
这里,发送端在启动级联模式后,标签信息均为初始化状态,即标签信息中的内容均为空。当接收端接收到发送端发送的标签信息和待拼接信息后,根据所述标签信息中所述级联信息标识的取值,判断所述待拼接信息是否属于可拼接信息;当判定所述级联信息标识的取值为0时,则确定所述待拼接信息不是可拼接信息,则直接发送所述待拼接信息到接收端的显示单元,例如接收端的UI界面;当判定所述级联信息标识的取值为1时,则确定所述待拼接信息是可拼接信息,则再根据所述标签信息中所述信息序号判断所述待拼接信息是否为第一条待拼接信息。Here, after the transmitting end starts the cascading mode, the tag information is in an initial state, that is, the content in the tag information is empty. After receiving the label information and the information to be spliced sent by the sending end, the receiving end determines whether the information to be spliced belongs to the splicable information according to the value of the cascading information identifier in the label information; When the value of the joint information identifier is 0, it is determined that the information to be spliced is not splicable information, and the information to be spliced is directly sent to the display unit of the receiving end, for example, the UI interface of the receiving end; when determining the cascading information identifier If the value is 1, the information to be spliced is determined to be splicable information, and then the information to be spliced is determined to be the first information to be spliced according to the information sequence number in the label information.
步骤103,判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述待拼接信息与所述级联信息进行拼接;Step 103: Determine, when the information to be spliced is not the first piece of information to be spliced, search for cascading information that matches the tag information, and splicing the spliced information with the cascading information;
这里,接收端根据所述标签信息中的所述信息序号判定所述待拼接信息是否为第一条待拼接信息。当所述待拼接信息的信息序号为1时,确定所述待拼接信息是第一条待拼接信息,此时,所述接收端确定所述待拼接信息为级联信息,并进行保存,然后获取与所述标签信息相匹配的下一条待拼接信息。这里所指的匹配,是指所述标签信息中除了信息序号之外, 其他信息均相同。当所述待拼接信息的信息序号不是1时,则确定所述待拼接信息不是第一条待拼接信息,则在存储器中查找与所述标签信息中除信息序号不同以外的其他信息相匹配的级联信息,并将所述待拼接信息与所述级联信息进行拼接后,保存已拼接信息,并将所述级联信息替换为所述已拼接信息。Here, the receiving end determines, according to the information sequence number in the tag information, whether the information to be spliced is the first piece of information to be spliced. When the information sequence number of the information to be spliced is 1, it is determined that the information to be spliced is the first information to be spliced. At this time, the receiving end determines that the information to be spliced is cascading information, and saves, and then saves Obtaining the next piece of information to be stitched that matches the tag information. The matching referred to herein refers to the label information except the information serial number. All other information is the same. When the information sequence number of the information to be spliced is not 1, determining that the information to be spliced is not the first information to be spliced, searching in the memory for matching other information except the information sequence number in the tag information. Cascading the information, and splicing the information to be spliced with the cascading information, saving the spliced information, and replacing the cascading information with the spliced information.
在本发明实施例中,由于所述标签信息中的信息特征码,是为了防止将同一个发送端发送不同的信息;或不同发送端发送相同的信息拼接在一起,因此,接收端也可以将所述信息特征码作为将所述待拼接信息与所述级联信息进行拼接的依据,并根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。当接收端根据标签信息已将多条待拼接信息拼接为一条信息后,通过接收端的UI界面,将所述已拼接信息显示给用户。In the embodiment of the present invention, the information feature code in the tag information is used to prevent the same sender from transmitting different information; or the different senders send the same information together, so the receiver may also And the information feature code is used as a basis for splicing the information to be spliced and the cascading information, and splicing the information to be spliced and the cascading information according to the information feature code. After the receiving end has spliced the pieces of information to be spliced into one piece of information according to the label information, the spliced information is displayed to the user through the UI interface of the receiving end.
在本发明实施例中,也可以由服务器获取标签信息和待拼接信息,并由所述服务器对多条待拼接信息进行拼接处理后,将已拼接信息发送给接收端,具体服务器对多条待拼接信息的拼接处理与上述接收端对多条待拼接信息的拼接方法大致相同,其相同之处在此不再赘述,其不同之处仅在于处理拼接的过程由服务器完成并发送给接收端。In the embodiment of the present invention, the label information and the information to be spliced are obtained by the server, and the splicing information is sent by the server to the receiving end, and the specific server pairs the multiple The splicing process of the splicing information is substantially the same as the splicing method of the plurality of pieces of information to be spliced at the receiving end, and the similarities are not described herein again. The only difference is that the process of splicing is completed by the server and sent to the receiving end.
在本发明实施例中,将所述待拼接信息与所述级联信息进行拼接包括:提取所述待拼接信息和所述级联信息中的编码数据;将提取到的所述编码数据,按照编码特征进行编码数据拼接,得到新的编码数据;将所述新的编码数据写入新的文件,得到已拼接信息。In the embodiment of the present invention, the splicing of the to-be-spliced information and the concatenated information includes: extracting the to-be-spliced information and the encoded data in the concatenated information; and extracting the extracted encoded data according to The coding feature performs coding data splicing to obtain new coded data; the new coded data is written into a new file to obtain spliced information.
这里,所述编码数据为所述待拼接信息和所述级联信息的具体数据内容,例如,当所述待拼接信息和所述级联信息为音频信息时,所述编码数据即为所述音频信息的语音帧或音频帧;当所述待拼接信息和所述级联信息为文字信息时,所述编码数据即为所述文字信息的字符数据。将提取到的所述编码数据按照所述待拼接信息的时间顺序进行排序后,作为所述编 码数据的编码特征,然后根据所述编码特征顺序对提取到的所述待拼接信息中的编码数据和所述级联信息中的编码数据进行编码数据组合,拼接为一条编码数据,作为新的编码数据写入到一个新的文件中,并为所述新的文件设置文件头,用于标记所述新的文件夹的内容,完成已拼接信息的处理,将已拼接信息和设置的文件头进行显示。Here, the encoded data is the specific data content of the to-be-spliced information and the concatenated information. For example, when the to-be-spliced information and the concatenated information are audio information, the encoded data is the a voice frame or an audio frame of the audio information; when the information to be spliced and the cascading information are text information, the encoded data is character data of the text information. And sorting the extracted encoded data according to the time sequence of the information to be stitched, as the editing Encoding characteristics of the code data, and then combining the encoded data in the extracted information to be stitched and the encoded data in the concatenated information according to the coding feature order, and splicing into one piece of coded data as a new The encoded data is written into a new file, and a file header is set for the new file, used to mark the content of the new folder, complete the processing of the stitched information, and the stitched information and the set file header Display.
在本发明的另一实施例中,接收端在接收到发送端发送的信息后,还可以通过预设时间,将预设的时间段内接收到的信息作为待拼接信息,也可以通过接收端用户手动选择一条或多条信息作为待拼接信息。并通过提取所述待拼接信息中的关键字,作为所述待拼接信息的标签信息,用于标记所述待拼接信息的内容,所述标签信息也可以由接收端用户根据所述待拼接信息的内容进行设置;然后根据所述待拼接信息的接收时间判断所述待拼接信息是否为一条待拼接信息,当判定所述待拼接信息为一条待拼接信息时,则将所述待拼接信息与设置的所述标签信息直接进行存储或收藏;当判定所述待拼接信息有两条以上时,则提取每条待拼接信息中的编码数据。所述编码数据为所述待拼接信息的具体数据内容,例如,当所述待拼接信息为音频信息时,所述编码数据即为所述音频信息的语音帧或音频帧;当所述待拼接信息为文字信息时,所述编码数据即为所述文字信息的字符数据。而当所述待拼接信息为音频信息时,提取到的所述编码数据中的编码格式为同一种,例如,音频信息的编码格式有amr格式、MP3格式等。将提取到的所述编码数据按照所述待拼接信息的时间顺序进行排序后,作为所述编码数据的编码特征,然后根据所述编码特征顺序对提取到的每条待拼接信息中的编码数据进行编码数据组合,即将多条编码数据拼接为一条编码数据,并作为新的编码数据写入到一个新的文件中,并为所述新的文件设置文件头,用于标记所述新的文件夹的内容,完成已拼接信息的处理,将已拼接信息和设置的文件头进行保存或收藏。如此,方便用户后期 查看。In another embodiment of the present invention, after receiving the information sent by the sending end, the receiving end may also use the preset time to receive the information received in the preset time period as the information to be spliced, or may also pass the receiving end. The user manually selects one or more pieces of information as information to be stitched. And the label information of the information to be spliced is used to mark the content of the information to be spliced, and the label information may also be used by the user at the receiving end according to the information to be spliced. And determining, according to the receiving time of the information to be spliced, whether the information to be spliced is a piece of information to be spliced, and when determining that the information to be spliced is a piece of information to be spliced, then the information to be spliced is The set tag information is directly stored or stored; when it is determined that there are more than two pieces of information to be spliced, the encoded data in each piece of information to be spliced is extracted. The encoded data is the specific data content of the information to be spliced. For example, when the information to be spliced is audio information, the encoded data is a voice frame or an audio frame of the audio information; When the information is text information, the encoded data is character data of the text information. When the information to be spliced is audio information, the encoded format in the extracted encoded data is the same type. For example, the encoding format of the audio information includes an amr format, an MP3 format, and the like. And the extracted encoded data is sorted according to the chronological order of the information to be spliced, and then used as an encoding feature of the encoded data, and then the encoded data in each extracted information to be spliced according to the coding feature order. Performing a combination of encoded data, that is, splicing a plurality of pieces of encoded data into one piece of encoded data, and writing the new encoded data into a new file, and setting a file header for the new file for marking the new file The contents of the folder, the processing of the stitched information is completed, and the stitched information and the set file header are saved or collected. So, it is convenient for users later View.
图2为本发明实施例一种信息处理装置的结构组成示意图,如图2所示,所述装置包括:获取单元201、第一判断单元202、第二判断单元203和处理单元204;其中,2 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: an obtaining unit 201, a first determining unit 202, a second determining unit 203, and a processing unit 204;
所述获取单元201,配置为获取标签信息和待拼接信息;The acquiring unit 201 is configured to acquire label information and information to be spliced;
所述第一判断单元202,配置为根据所述获取单元201获取到的所述标签信息,判断所述待拼接信息是否为可拼接信息;The first determining unit 202 is configured to determine, according to the label information acquired by the acquiring unit 201, whether the information to be spliced is splicable information;
所述第二判断单元203,配置为所述第一判断单元202判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;The second determining unit 203 is configured to determine, when the first determining unit 202 determines that the to-be-spliced information is splicable information, whether the information to be spliced is the first piece of information to be spliced;
所述处理单元204,配置为当所述第二判断单元203判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相同的级联信息,并将所述待拼接信息与查找出的所述级联信息进行拼接。The processing unit 204 is configured to: when the second determining unit 203 determines that the information to be spliced is not the first piece of information to be spliced, search for the same cascading information as the tag information, and the information to be spliced Splicing with the found cascading information.
在本发明实施例中,所述装置可以是接收端也可以是服务器,当所述装置是接收端时,则是由接收端获取标签信息和待拼接信息并由所述接收端根据所述标签信息在接收端完成对待拼接信息的拼接;当所述装置是服务器时,则由服务器获取标签信息和待拼接信息并由所述服务器根据所述标签信息在所述服务顺中对所述待拼接信息进行拼接处理,然后将已拼接信息发送给接收端。下面以装置为接收端为例进行详细说明。In the embodiment of the present invention, the device may be a receiving end or a server. When the device is a receiving end, the receiving end acquires label information and information to be spliced, and the receiving end is based on the label. The information is spliced at the receiving end to the splicing information; when the device is a server, the server obtains the label information and the information to be spliced, and the server aligns the splicing in the service according to the label information. The information is stitched and then the stitched information is sent to the receiving end. The following takes the device as the receiving end as an example for detailed description.
这里,所述标签信息可以是由获取单元201在获取到发送端发送的待拼接信息之后,根据发送端发送的待拼接信息,进行信息关键字提取,将提取到的信息关键字设置成标签信息;也可以是由发送端通过提取待拼接信息的信息关键字,生成标签信息,并发送接收端;还可以根据发送端用户自行输入对待拼接信息的描述,生成标签信息,这里对标签信息具体是如何形成的不作限制;;所述待拼接信息可以是音频信息、文字信息,或者图文结合的信息,并且获取单元201获取到的所述标签信息与所述待拼接 信息是相匹配的。获取单元201在获取到所述标签信息和所述待拼接信息之前,发送端首先要确定发送端发送的信息是否为级联信息,具体是由发送端用户通过发送端UI来设置是否发送级联信息。当发送端确定发送端用户不发送级联信息时,则按照正常信息进行发送,即正常信息是指当待发送的信息文件较大时,按照多条信息进行发送;当发送端确定发送端用户要发送级联信息时,开启级联模式控件,并进入级联模式;在所述级联模式中具有多种聊天场景,发送端进入级联模式之后,发送端用户可以根据即将发送的待拼接信息内容,在所述级联模式中选择与所述待拼接信息的内容相匹配的聊天场景。例如,待拼接信息的内容为讲授英语,则可以选择所述级联模式中的讲授场景;待拼接信息的内容为一篇文章,则可以选择所述级联模式中的文章场景。发送端根据发送端用户设置的聊天场景,开始获取待发送的待拼接信息,并且在获取到所述待拼接信息后发送给获取单元201。Here, the label information may be obtained by the obtaining unit 201 after the information to be spliced sent by the sending end, according to the information to be spliced sent by the sending end, and the information keyword is extracted, and the extracted information keyword is set as the label information. Or the information key of the information to be spliced is sent by the sending end to generate the label information, and is sent to the receiving end. The user may also input the description of the splicing information according to the sending end, and generate label information, where the label information is specifically The information to be spliced may be audio information, text information, or information combined with graphics and text, and the label information acquired by the obtaining unit 201 and the to-be-spliced The information is matched. Before the obtaining unit 201 obtains the label information and the information to be spliced, the sending end first determines whether the information sent by the sending end is cascading information, and specifically, the sending end user sets whether to send the cascading through the sending end UI. information. When the sending end determines that the sending end user does not send the cascading information, the sending end sends the information according to the normal information, that is, when the information file to be sent is large, the information is sent according to multiple pieces of information; when the sending end determines the sending end user When the cascading information is to be sent, the cascading mode control is started, and the cascading mode is entered; in the cascading mode, there are multiple chat scenarios, and after the sending end enters the cascading mode, the sending end user can be spliced according to the upcoming splicing Information content, in the cascading mode, selecting a chat scene that matches the content of the information to be spliced. For example, if the content of the information to be spliced is English, the teaching scene in the cascading mode may be selected; if the content of the information to be spliced is an essay, the essay scene in the cascading mode may be selected. The sending end starts to acquire the information to be spliced to be sent according to the chat scenario set by the user of the sending end, and sends the information to be spliced to the acquiring unit 201 after obtaining the information to be spliced.
在本发明实施例中,该标签信息中包括:级联信息标识、信息说明、信息特征码和信息序号,通过该标签信息,能够使获取单元201在接收到信息后,快速识别出接收到的信息内容,便于用户读取、保存或收藏;同时也为处理单元204将获取单元201获取到的多条待拼接信息拼接为一条信息提供依据。In the embodiment of the present invention, the label information includes: a concatenation information identifier, an information description, an information feature code, and an information serial number. The label information enables the obtaining unit 201 to quickly recognize the received information after receiving the information. The information content is convenient for the user to read, save or collect; and the processing unit 204 also provides a basis for splicing the plurality of pieces of information to be stitched acquired by the obtaining unit 201 into one piece of information.
其中,所述级联信息标识,主要用于标识待拼接信息是否是可拼接信息,当所述级联信息标识的取值为1时,说明所述待拼接信息是可拼接信息;当所述级联信息标识的取值为0时,说明所述待拼接信息不是可拼接信息;The cascading information identifier is used to identify whether the information to be spliced is splicable information. When the value of the cascading information identifier is 1, the information to be spliced is splicable information; When the value of the cascading information identifier is 0, the information to be spliced is not splicable information;
所述信息说明,用于对所述待拼接信息内容的一个文字描述,该信息说明可以由发送端通过提取待拼接信息关键字生成,也可以由发送端用户通过发送端UI界面进行设置。 The information is used to describe a text description of the information to be spliced. The information description may be generated by the sending end by extracting the information to be spliced, or may be set by the sending end user through the sending UI interface.
所述信息特征码,用于区分相同信息说明的待拼接信息,并作为防止将同一个发送端发送的不同信息;或者不同发送端发送的相同信息拼接为一条信息的依据;具体地,所述信息特征码可以由发送端检测当前待拼接信息的接收时间与上一条待拼接信息的接收时间的时间差是否大于预设时间,进行随机生成。例如,预设时间为10分钟,当前信息特征码是1,当发送端检测到当前待拼接信息的接收时间与上一条待拼接信息的接收时间的时间差,大于预设时间10分钟时,就生成信息特征码2,则不会将当前接收到的待拼接信息与上一条接收到待拼接信息拼接为一条信息进行发送。The information feature code is used to distinguish the information to be spliced from the same information description, and is used as a basis for preventing different information sent by the same sender; or the same information sent by different senders is spliced into one piece of information; specifically, the The information feature code may be randomly generated by the sending end to detect whether the time difference between the current receiving time of the information to be spliced and the receiving time of the previous information to be spliced is greater than a preset time. For example, the preset time is 10 minutes, and the current information feature code is 1. When the sending end detects the time difference between the receiving time of the current information to be spliced and the receiving time of the previous information to be spliced, which is greater than the preset time of 10 minutes, it is generated. The information feature code 2 does not splicing the currently received information to be spliced and the information received by the previous one into a piece of information for transmission.
所述信息序号,用于标记获取单元201获取到的待拼接信息的时间顺序。The information sequence number is used to mark the time sequence of the information to be spliced acquired by the obtaining unit 201.
发送端生成标签信息后,将该标签信息发送到获取单元201中。具体的标签信息如表1所示:After the sender generates the tag information, the tag information is sent to the acquiring unit 201. The specific label information is shown in Table 1:
级联信息标识Cascade information identification
信息说明Information description
信息特征码Information signature
信息序号Information serial number
表1Table 1
这里,标签信息的内容并不局限于表1所示,其内容可根据用户的自身需求,进行内容的增、减、修改等。Here, the content of the tag information is not limited to the one shown in Table 1, and the content thereof may be added, subtracted, modified, etc. according to the user's own needs.
在本发明实施例中,所述装置还包括保存单元206,发送端在启动级联模式后,标签信息均为初始化状态,即标签信息中的内容均为空。当获取单元201获取到标签信息和待拼接信息后,告之所述保存单元206,由保存单元206保存所述标签信息和待拼接信息到存储器,这里存储器也可以是一个数据库;所述保存单元206保存完所述标签信息和待拼接信息到存储器后,再由第一判断单元202根据所述标签信息中所述级联信息标识的取值,判断所述待拼接信息是否属于可拼接信息;当第一判断单元202判定 所述级联信息标识的取值为0时,确定所述待拼接信息不是可拼接信息,则发送消息到显示单元205,由显示单元205直接显示所述待拼接信息给用户,这里,所述显示单元205可以是所述装置的UI界面;当第一判断单元202判定所述级联信息标识的取值为1时,则确定所述待拼接信息是可拼接信息,发送消息到第二判断单元203,则第二判断单元203根据所述标签信息中所述信息序号判断所述待拼接信息是否为第一条待拼接信息;第二判断单元203判定所述待拼接信息的信息序号为1时,则确定所述待拼接信息是第一条待拼接信息,并由获取单元201获取与所述标签信息相匹配的下一条待拼接信息。这里所指的匹配,是指所述标签信息中除了信息序号之外,其他信息均相同。当所述第二判断单元203判定所述待拼接信息的信息序号不是1时,则确定所述待拼接信息不是第一条待拼接信息,则发送信息到所述处理单元204,由所述处理单元204在存储器中查找与所述标签信息中除信息序号不同以外,其他信息相匹配的级联信息,并将所述待拼接信息与所述级联信息进行拼接,拼接完成后,由保存单元206将已拼接信息保存到存储器中,并将所述级联信息替换为所述已拼接信息。In the embodiment of the present invention, the device further includes a saving unit 206. After the sending end starts the cascading mode, the label information is in an initial state, that is, the content in the label information is empty. After the obtaining unit 201 obtains the label information and the information to be spliced, the saving unit 206 reports the label information and the information to be spliced to the memory, where the memory may also be a database; the saving unit After the label information and the information to be spliced are saved to the memory, the first determining unit 202 determines whether the information to be spliced belongs to the splicable information according to the value of the cascading information identifier in the label information. When the first determining unit 202 determines When the value of the cascading information identifier is 0, it is determined that the information to be spliced is not splicable information, and the message is sent to the display unit 205, and the information to be spliced is directly displayed by the display unit 205 to the user. The display unit 205 may be a UI interface of the device. When the first determining unit 202 determines that the value of the cascading information identifier is 1, it is determined that the information to be spliced is splicable information, and the message is sent to the second judgment. In the unit 203, the second determining unit 203 determines whether the information to be spliced is the first piece of information to be spliced according to the information sequence number in the tag information. The second determining unit 203 determines that the information number of the information to be spliced is 1 The information to be spliced is determined to be the first piece of information to be spliced, and the information to be spliced that matches the tag information is acquired by the obtaining unit 201. The matching referred to herein means that the information of the tag information is the same except for the information sequence number. When the second determining unit 203 determines that the information sequence number of the information to be spliced is not 1, determining that the information to be spliced is not the first piece of information to be spliced, then transmitting the information to the processing unit 204, by the processing The unit 204 searches for a cascading information that matches other information except the information sequence number in the tag information, and splices the information to be spliced and the cascading information, and after the splicing is completed, the saving unit 206 saves the stitched information to the memory and replaces the concatenated information with the stitched information.
这里,由于所述标签信息中的信息特征码,是为了防止将同一个发送端发送不同的信息;或不同发送端发送相同信息拼接在一起,因此,所述处理单元204也可以将所述信息特征码作为将所述待拼接信息与所述级联信息进行拼接的依据,并根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。Here, since the information feature code in the tag information is to prevent the same sender from transmitting different information; or different senders send the same information together, the processing unit 204 may also use the information. The feature code is used as a basis for splicing the information to be spliced and the cascading information, and splicing the information to be spliced and the cascading information according to the information feature code.
在本发明实施例中,所述装置还包括显示单元205,配置为为所述处理单元204将所述待拼接信息与所述级联信息进行拼接后,显示已拼接信息。In the embodiment of the present invention, the device further includes a display unit 205, configured to display the stitched information after the processing unit 204 splices the information to be spliced and the cascading information.
具体地,所述处理单元204根据所述标签信息已将多条待拼接信息已拼接为一条信息后,发送给显示单元205,由显示单元205将已拼接信息呈现给用户。 Specifically, the processing unit 204 has spliced a plurality of pieces of information to be spliced into one piece of information according to the label information, and then sends the information to the display unit 205, and the spliced information is presented to the user by the display unit 205.
在本发明实施例中,所述处理单元204,还配置为提取所述待拼接信息和所述级联信息中的编码数据;将提取到的所述编码数据按照编码特征进行编码数据拼接,得到新的编码数据;并将所述拼接单元得到的所述新的编码数据写入新的文件,得到已拼接信息。In the embodiment of the present invention, the processing unit 204 is further configured to: extract the encoded information in the to-be-spliced information and the concatenated information; and combine the extracted encoded data according to the encoding feature to obtain the encoded data. New encoded data; and the new encoded data obtained by the splicing unit is written into a new file to obtain spliced information.
这里,所述编码数据为所述待拼接信息和所述级联信息的具体数据内容,例如,当所述待拼接信息为音频信息时,所述编码数据即为所述音频信息的语音帧或音频帧;当所述待拼接信息为文字信息时,所述编码数据即为所述文字信息的字符数据。所述处理单元204将提取到的所述编码数据按照所述待拼接信息的时间顺序进行排序后,作为所述编码数据的编码特征,然后根据所述编码特征顺序对提取到的所述待拼接信息中的编码数据和所述级联信息中的编码数据进行编码数据组合,拼接为一条编码数据,并作为新的编码数据写入到一个新的文件中,并为所述新的文件设置文件头,用于标记所述新的文件夹的内容,完成已拼接信息的处理,将已拼接信息和设置的文件头进行显示。Here, the encoded data is the specific data content of the information to be spliced and the cascading information. For example, when the information to be spliced is audio information, the encoded data is a voice frame of the audio information or An audio frame; when the information to be spliced is text information, the encoded data is character data of the text information. The processing unit 204 sorts the extracted encoded data according to the chronological order of the information to be spliced, as the coding feature of the encoded data, and then sequentially extracts the extracted to be spliced according to the coding feature sequence. The encoded data in the information and the encoded data in the concatenated information are combined with the encoded data, spliced into one piece of encoded data, and written as a new encoded data into a new file, and a file is set for the new file. The header is used to mark the content of the new folder, complete the processing of the stitched information, and display the stitched information and the set file header.
本发明的另一实施例中,所述获取单元201在接收到发送端发送的信息后,还可以通过预设时间,将预设时间段内接收到的信息作为待拼接信息,也可以通过接收端用户手动选择一条或多条信息作为待拼接信息。并通过提取所述待拼接信息中的关键字,作为所述待拼接信息的标签信息,用于标记所述待拼接信息内容。将所述待拼接信息和所述标签信息发送给第二判断单元203,由第二判断单元203根据所述待拼接信息的接收时间判断所述待拼接信息是否为一条待拼接信息,当所述第二判断单元203判定所述待拼接信息为一条待拼接信息时,则将所述待拼接信息与所述标签信息一起进行存储或收藏;当第二判断单元203判定所述待拼接信息有两条以上时,则发送消息给处理单元204,由处理单元204提取每条待拼接信息中的编码数据。所述编码数据为所述待拼接信息的具体数据内容,例如, 当所述待拼接信息为音频信息时,所述编码数据即为所述音频信息的语音帧或音频帧;当所述待拼接信息为文字信息时,所述编码数据即为所述文字信息的字符数据。而当所述待拼接信息为音频信息时,所述处理单元204提取到的所述编码数据中的编码格式为同一种。具体地,所述音频信息的编码格式有amr格式、MP3格式等。处理单元204提取到的所述编码数据后,将获取单元201获取到所述待拼接信息的时间顺序作为所述编码数据的编码特征,然后根据所述编码特征顺序对提取到的每条待拼接信息中的编码数据进行编码数据组合,即将多条编码数据拼接为一条编码数据,并作为新的编码数据。所述处理单元204得到新的编码数据后,将所述新的编码数据写入到一个新的文件中,并为所述新的文件设置文件头,用于标记所述新的文件夹的内容,完成已拼接信息的处理,方便用户对所述已拼接信息进行保存或收藏。In another embodiment of the present invention, after receiving the information sent by the sending end, the acquiring unit 201 may also use the preset time to receive the information received in the preset time period as the information to be spliced, or may receive the information. The end user manually selects one or more pieces of information as information to be stitched. And extracting the information to be spliced by using the keyword in the information to be spliced as the label information of the information to be spliced. Sending the information to be spliced and the label information to the second determining unit 203, and determining, by the second determining unit 203, whether the information to be spliced is a piece of information to be spliced according to the receiving time of the information to be spliced, when When the second determining unit 203 determines that the information to be spliced is a piece of information to be spliced, the information to be spliced is stored or stored together with the tag information; when the second determining unit 203 determines that the information to be spliced has two When the bar is above, the message is sent to the processing unit 204, and the encoded data in each piece of information to be spliced is extracted by the processing unit 204. The encoded data is specific data content of the information to be spliced, for example, When the information to be spliced is audio information, the encoded data is a voice frame or an audio frame of the audio information; when the information to be spliced is text information, the encoded data is the text information. Character data. When the information to be spliced is the audio information, the encoding format in the encoded data extracted by the processing unit 204 is the same. Specifically, the encoding format of the audio information is an amr format, an MP3 format, or the like. After the encoding unit 204 extracts the encoded data, the acquiring unit 201 acquires the time sequence of the information to be stitched as the encoding feature of the encoded data, and then, according to the encoding feature sequence, each of the extracted pieces to be stitched. The encoded data in the information is combined with the encoded data, that is, the plurality of encoded data are spliced into one encoded data and used as new encoded data. After the processing unit 204 obtains new encoded data, writes the new encoded data into a new file, and sets a file header for the new file, for marking the content of the new folder. The processing of the stitched information is completed, and the user is convenient to save or collect the stitched information.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序配置为执行本发明实施例的信息处理方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to execute the information processing method of the embodiment of the present invention.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的技术方案,通过获取标签信息和待拼接信息;根据所述标签信息,判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述级联信息与所述待拼接信息进行拼接。如此,接收端通过将标签信息相匹配的多条信息拼接成一条信息后进行显示,能够方便接收端用户对接收到的信息进行保存或收藏,并且根据标签信息,能够快速识别出接收到的信息内容,提高了用户的使用体验。 The technical solution of the embodiment of the present invention obtains the label information and the information to be spliced, and determines whether the information to be spliced is the first information to be spliced according to the label information. When it is determined that the information to be spliced is not the first information to be spliced, the cascading information matching the label information is searched, and the cascading information is spliced with the information to be spliced. In this way, the receiving end can splicing the pieces of information matching the tag information into one piece of information and then displaying the information, so that the receiving end user can conveniently save or collect the received information, and can quickly identify the received information according to the tag information. Content that enhances the user experience.

Claims (17)

  1. 一种信息处理方法,所述方法包括:An information processing method, the method comprising:
    获取标签信息和待拼接信息;Obtaining label information and information to be stitched;
    根据所述标签信息,判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;Determining, according to the label information, whether the information to be spliced is the splicable information, determining whether the information to be spliced is the first information to be spliced;
    判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述待拼接信息与所述级联信息进行拼接。When it is determined that the information to be spliced is not the first information to be spliced, the cascading information matching the label information is searched, and the information to be spliced is spliced with the cascading information.
  2. 根据权利要求1所述的方法,其中,判定所述待拼接信息是第一条待拼接信息时,所述方法还包括:The method of claim 1, wherein when the information to be spliced is the first piece of information to be spliced, the method further comprises:
    确定所述待拼接信息为级联信息,并获取与所述标签信息相匹配的下一条待拼接信息。Determining the information to be spliced as cascading information, and acquiring next splicing information to be matched with the label information.
  3. 根据权利要求1所述的方法,其中,根据所述标签信息,判定所述待拼接信息不是可拼接信息时,所述方法还包括:The method according to claim 1, wherein, when it is determined that the information to be spliced is not splicable information according to the label information, the method further includes:
    显示所述待拼接信息。Displaying the information to be stitched.
  4. 根据权利要求1所述的方法,其中,在所述拼接所述待拼接级联信息与所述待拼接信息之后,所述方法还包括:The method according to claim 1, wherein after the splicing the cascading information to be spliced and the information to be spliced, the method further comprises:
    保存已拼接信息,并将所述级联信息替换为所述已拼接信息。The stitched information is saved, and the cascaded information is replaced with the stitched information.
  5. 根据权利要求1所述的方法,其中,所述标签信息中包括信息特征码;The method according to claim 1, wherein the tag information includes an information feature code;
    所述将所述待拼接信息与所述级联信息进行拼接包括:The splicing the information to be spliced and the cascading information includes:
    根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。And splicing the information to be spliced and the cascading information according to the information feature code.
  6. 根据权利要求1所述的方法,其中,所述将所述待拼接信息与所述级联信息进行拼接还包括:The method according to claim 1, wherein the splicing the information to be spliced and the cascading information further comprises:
    提取所述待拼接信息和所述级联信息中的编码数据;Extracting the to-be-spliced information and the encoded data in the concatenated information;
    将提取到的所述编码数据按照编码特征进行编码数据拼接,得到新的 编码数据;Combining the extracted encoded data according to the coding features to obtain a new data Coded data;
    将所述新的编码数据写入新的文件,得到已拼接信息。The new encoded data is written into a new file to obtain the stitched information.
  7. 根据权利要求6所述的方法,其中,在所述将所述新的编码数据写入新的文件之后,所述方法还包括:The method of claim 6, wherein after the writing the new encoded data to a new file, the method further comprises:
    为所述新的文件设置文件头。Set the file header for the new file.
  8. 根据权利要求1所述的方法,其中,将所述待拼接信息与所述级联信息进行拼接之后,所述方法还包括:The method of claim 1, wherein after the splicing of the information to be spliced and the cascading information, the method further comprises:
    显示已拼接信息。Show stitched information.
  9. 一种信息处理装置,所述装置包括:获取单元、第一判断单元、第二判断单元和处理单元;其中,An information processing apparatus, the apparatus comprising: an obtaining unit, a first determining unit, a second determining unit, and a processing unit; wherein
    所述获取单元,配置为获取标签信息和待拼接信息;The acquiring unit is configured to acquire label information and information to be spliced;
    所述第一判断单元,配置为根据所述获取单元获取到的所述标签信息,判断所述待拼接信息是否为可拼接信息;The first determining unit is configured to determine, according to the label information acquired by the acquiring unit, whether the information to be spliced is splicable information;
    所述第二判断单元,配置为所述第一判断单元判定所述待拼接信息是可拼接信息时,判断所述待拼接信息是否为第一条待拼接信息;The second determining unit is configured to determine, when the first determining unit determines that the to-be-spliced information is splicable information, whether the information to be spliced is the first piece of information to be spliced;
    所述处理单元,配置为所述第二判断单元判定所述待拼接信息不是第一条待拼接信息时,查找与所述标签信息相匹配的级联信息,并将所述待拼接信息与查找出的所述级联信息进行拼接。The processing unit is configured to: when the second determining unit determines that the to-be-spliced information is not the first piece of information to be spliced, search for cascading information that matches the tag information, and the information to be spliced and the splicing The cascading information is spliced.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    确定单元,配置为所述第二判断单元判定所述待拼接信息是第一条待拼接信息时,确定所述待拼接信息为级联信息;a determining unit, configured to determine, by the second determining unit, that the information to be spliced is the first piece of information to be spliced, determining that the information to be spliced is cascading information;
    所述获取单元,还配置为所述确定单元确定所述待拼接信息为级联信息时,获取与所述标签信息相匹配的下一条待拼接信息。The obtaining unit is further configured to: when the determining unit determines that the information to be spliced is cascading information, acquire the next splicing information to be matched with the label information.
  11. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    显示单元,配置为所述处理单元将所述待拼接信息与所述级联信息进 行拼接后,显示已拼接信息。a display unit configured to: the processing unit inputs the information to be spliced and the cascading information After the line is spliced, the stitched information is displayed.
  12. 根据权利要求11所述的装置,其中,所述显示单元,还配置为所述第一判断单元判定所述待拼接信息不是可拼接信息时,显示所述待拼接信息。The device according to claim 11, wherein the display unit is further configured to display the information to be spliced when the first determining unit determines that the information to be spliced is not splicable information.
  13. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    保存单元,配置为所述处理单元将所述待拼接信息与所述级联信息进行拼接后,保存已拼接信息,并将所述级联信息替换为所述已拼接信息。a saving unit configured to: after the processing unit splices the information to be spliced and the cascading information, save the spliced information, and replace the cascading information with the spliced information.
  14. 根据权利要求9所述的装置,其中,所述获取单元获取到的所述标签信息中包括信息特征码;The device according to claim 9, wherein the tag information acquired by the acquiring unit includes an information feature code;
    所述处理单元,还配置为根据所述信息特征码将所述待拼接信息与所述级联信息进行拼接。The processing unit is further configured to splicing the information to be spliced and the cascading information according to the information feature code.
  15. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述处理单元,还配置为提取所述待拼接信息和所述级联信息中的编码数据;将提取到的所述编码数据按照编码特征进行编码数据拼接,得到新的编码数据;并将所述拼接单元得到的所述新的编码数据写入新的文件,得到已拼接信息。The processing unit is further configured to: extract the encoded information in the to-be-spliced information and the concatenated information; and combine the extracted encoded data according to the encoding feature to obtain new encoded data; The new encoded data obtained by the splicing unit is written into a new file to obtain the spliced information.
  16. 根据权利要求15所述的装置,其中,所述处理单元,还配置为为所述新的文件设置文件头。The apparatus of claim 15, wherein the processing unit is further configured to set a file header for the new file.
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1-8任一项所述的信息处理方法。 A computer storage medium having stored therein computer executable instructions configured to perform the information processing method of any of claims 1-8.
PCT/CN2017/073096 2016-07-01 2017-02-08 Information processing method, device and computer storage medium WO2018000817A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610519208.3A CN107562765A (en) 2016-07-01 2016-07-01 A kind of information processing method and device
CN201610519208.3 2016-07-01

Publications (1)

Publication Number Publication Date
WO2018000817A1 true WO2018000817A1 (en) 2018-01-04

Family

ID=60785051

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073096 WO2018000817A1 (en) 2016-07-01 2017-02-08 Information processing method, device and computer storage medium

Country Status (2)

Country Link
CN (1) CN107562765A (en)
WO (1) WO2018000817A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835540A (en) * 2005-03-15 2006-09-20 佳能株式会社 E-mail communication apparatus and data processing method and program
CN101770504A (en) * 2009-12-29 2010-07-07 成都市华为赛门铁克科技有限公司 Data storage method, data reading method, data storage equipment and data reading equipment
CN101877604A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Method and system for transmitting files
US20150172348A1 (en) * 2012-01-17 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Method for sending respectively receiving a media stream
CN104778221A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Music collaborate splicing method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100473012C (en) * 2006-03-28 2009-03-25 腾讯科技(深圳)有限公司 Message recording merging method and user terminal
CN101047880B (en) * 2006-03-31 2010-05-12 华为技术有限公司 Message transmission method and system
CN101938430B (en) * 2009-06-30 2014-01-15 国际商业机器公司 Processing method and processing system of electronic mail
CN101651934B (en) * 2009-09-04 2012-01-25 中兴通讯股份有限公司 Method and system for filtering long short messages
CN101711015A (en) * 2009-12-30 2010-05-19 中兴通讯股份有限公司 Method, system and terminal for transmitting multimedia message
CN101931919B (en) * 2010-08-18 2013-03-20 中国电信股份有限公司 Long short message sending processing method and device, business gateway and communication system
JP5782937B2 (en) * 2011-09-08 2015-09-24 富士通株式会社 Tag management device, tag management system, and tag management program
CN102760157B (en) * 2012-06-05 2015-09-30 百度在线网络技术(北京)有限公司 A kind of for generating the method that release news, device and the equipment corresponding with mobile terminal
CN103516856B (en) * 2012-06-26 2015-10-21 腾讯科技(深圳)有限公司 Information merges method and apparatus
CN104125283B (en) * 2014-07-30 2017-10-03 中国银行股份有限公司 A kind of message queue method of reseptance and system for cluster
CN104219536A (en) * 2014-08-07 2014-12-17 无锡天脉聚源传媒科技有限公司 Fragmented video storage method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835540A (en) * 2005-03-15 2006-09-20 佳能株式会社 E-mail communication apparatus and data processing method and program
CN101770504A (en) * 2009-12-29 2010-07-07 成都市华为赛门铁克科技有限公司 Data storage method, data reading method, data storage equipment and data reading equipment
CN101877604A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Method and system for transmitting files
US20150172348A1 (en) * 2012-01-17 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Method for sending respectively receiving a media stream
CN104778221A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Music collaborate splicing method and device

Also Published As

Publication number Publication date
CN107562765A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
US10613719B2 (en) Generating a form response interface in an online application
WO2019095586A1 (en) Meeting minutes generation method, application server, and computer readable storage medium
CN105812231B (en) The method for quickly identifying and its device of chat record
CN107729526B (en) Text structuring method
US20150172233A1 (en) Method, sending terminal, receiving terminal, and system for classifying emails
US8752204B2 (en) Identifying and redacting privileged information
US20140280186A1 (en) Crowdsourcing and consolidating user notes taken in a virtual meeting
CN107122786B (en) Crowdsourcing learning method and device
CN104811742A (en) Video data storage method and device
CN108446389B (en) Voice message search display method and device, computer equipment and storage medium
US20200067860A1 (en) File sending in instant messaging application
US10650085B2 (en) Providing interactive preview of content within communication
US20190325019A1 (en) Method and apparatus for identifying type of text information, storage medium, and electronic apparatus
CN104915359A (en) Theme label recommending method and device
CN104731874A (en) Evaluation information generation method and device
CN108768835B (en) Mail analysis method, device, server and storage medium
CN114610951A (en) Data processing method and device, electronic equipment and readable storage medium
CN112307318B (en) Content publishing method, system and device
CN110442439B (en) Task process processing method and device and computer equipment
WO2018000817A1 (en) Information processing method, device and computer storage medium
CN105187607A (en) Message processing method and system
CN111427917A (en) Search data processing method and related product
US20160205053A1 (en) Centralized communications controller
WO2021129849A1 (en) Log processing method, apparatus and device, and storage medium
US11165737B2 (en) Information processing apparatus for conversion between abbreviated name and formal name

Legal Events

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

Ref document number: 17818818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17818818

Country of ref document: EP

Kind code of ref document: A1