CN114553968B - Processing method and device of compressed package, electronic equipment and storage medium - Google Patents

Processing method and device of compressed package, electronic equipment and storage medium Download PDF

Info

Publication number
CN114553968B
CN114553968B CN202210173052.3A CN202210173052A CN114553968B CN 114553968 B CN114553968 B CN 114553968B CN 202210173052 A CN202210173052 A CN 202210173052A CN 114553968 B CN114553968 B CN 114553968B
Authority
CN
China
Prior art keywords
scene
decompression
interface
information
viewer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210173052.3A
Other languages
Chinese (zh)
Other versions
CN114553968A (en
Inventor
张敏
贾潇
赵家琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210173052.3A priority Critical patent/CN114553968B/en
Publication of CN114553968A publication Critical patent/CN114553968A/en
Application granted granted Critical
Publication of CN114553968B publication Critical patent/CN114553968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to a method, an apparatus, an electronic device, and a storage medium for processing a compressed packet. The method comprises the following steps: receiving a decompression request sent by an instant messaging client, wherein the decompression request comprises identification information of a compression packet, and the decompression request is generated by triggering the compression packet of a first scene interface displayed on the instant messaging client by a user, wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client; based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs; transmitting a decompression response to the instant messaging client, wherein the decompression response comprises: and the decompressed file is displayed in the first scene interface by the instant communication client. The method can realize online viewing and consumption of the specific content in the compression package under various scenes of the instant communication client.

Description

Processing method and device of compressed package, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer communications technologies, and in particular, to a method and apparatus for processing a compressed packet, an electronic device, and a storage medium.
Background
The application of the instant messaging software is more and more widely developed at any time, and the instant messaging software can not only transmit characters and pictures, but also transmit compression packages, files or folders and the like, thereby greatly facilitating the life and work of users.
In the prior art, the instant messaging software can provide various scenes, such as a conversation scene, a collection scene, a nailing scene, etc., however, a user cannot view and consume specific contents in the compression package on line in the scenes.
Disclosure of Invention
The disclosure provides a processing method, a device, electronic equipment and a storage medium of a compression packet, which can realize online viewing and consumption of specific contents in the compression packet in various scenes of an instant communication client.
In a first aspect, the present disclosure provides a method for processing a compressed packet, including:
receiving a decompression request sent by an instant messaging client, wherein the decompression request comprises identification information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on any first scene interface of the instant messaging client by a user; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
Based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs;
transmitting a decompression response to the instant messaging client, wherein the decompression response comprises: and the decompressed file is displayed in the first scene interface by the instant communication client.
In a second aspect, the present disclosure provides a method for processing a compressed packet, including:
receiving decompression operation of a compression packet triggered by a user in a first scene interface of an instant messaging client, and sending a decompression request to a server, wherein the decompression request comprises: identification information of the compressed packet; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
receiving a decompression response sent by the server, wherein the decompression response comprises the following steps: the decompressed file corresponding to the identification information comprises: files, folders, and/or compression packs;
and displaying the objects contained in the compressed package in the first scene interface based on the decompressed file.
In a third aspect, the present disclosure provides a processing apparatus for compressing packets, including:
The receiving module is used for receiving a decompression request sent by the instant messaging client, wherein the decompression request comprises identification information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
the acquisition module is used for acquiring an decompressed file corresponding to the identification information based on the identification information of the compressed package, wherein the decompressed file comprises: files, folders, and/or compression packs;
the sending module is configured to send a decompression response to the instant messaging client, where the decompression response includes: and the decompressed file is displayed in the first scene interface by the instant communication client.
In a fourth aspect, the present disclosure provides a processing apparatus for compressing packets, including:
the receiving module is used for receiving decompression operation of the compressed packet triggered by a user in a first scene interface of the instant communication client; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
The sending module is used for sending a decompression request to the server, wherein the decompression request comprises the following components: identification information of the compressed packet;
the receiving module is further configured to receive a decompression response sent by the server, where the decompression response includes: the decompressed file corresponding to the identification information comprises: files, folders, and/or compression packs;
and the display module is used for displaying the objects contained in the compressed package in the first scene interface based on the decompressed file.
In a fifth aspect, embodiments of the present disclosure provide an electronic device, including: a processor for executing a computer program stored in a memory, which when executed by the processor implements the steps of any one of the methods provided in the first or second aspects.
In a sixth aspect, embodiments of the present disclosure provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of any one of the methods provided in the first or second aspects.
In a seventh aspect, the presently disclosed embodiments provide a computer program product which, when run on a computer, causes the computer to perform the steps of any of the methods as provided in the first or second aspects.
In the technical scheme provided by the embodiment of the disclosure, by receiving a decompression request sent by an instant messaging client, the decompression request includes identification information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user, wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client; based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs; the method comprises the steps of sending a decompression response to the instant messaging client, wherein the decompression response comprises the following steps: the method comprises the steps that a file is decompressed, so that the instant messaging client displays the decompressed file in a first scene interface, the instant messaging client can acquire the decompressed file in any use scene of instant messaging software, and therefore online checking and consumption of specific content in a compressed package can be achieved under various scenes of the instant messaging client. In addition, based on decompression request triggered by any scene interface of the instant messaging client, and based on response of the same server, the method is convenient for unified management of compression packets in different scenes
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1A is a schematic diagram of an instant messaging client display interface provided in the present disclosure;
fig. 1B is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 1C is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 1D is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 1E is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 2 is a schematic view of an application scenario provided in the present disclosure;
fig. 3A is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
Fig. 3B is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 3C is a schematic diagram of another instant messaging client display interface provided by the present disclosure;
fig. 4 is a flow chart of a processing method of a compressed packet provided in the present disclosure;
FIG. 5 is a flow chart of another method for processing a compressed packet according to the present disclosure;
FIG. 6 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
FIG. 7 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
fig. 8A is a schematic diagram of yet another instant messaging client display interface provided by the present disclosure;
fig. 8B is a schematic diagram of yet another instant messaging client display interface provided by the present disclosure;
FIG. 9 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
fig. 10 is a schematic diagram of yet another instant messaging client display interface provided by the present disclosure;
FIG. 11 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
fig. 12 is a schematic diagram of yet another instant messaging client display interface provided by the present disclosure;
FIG. 13 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
FIG. 14 is a flow chart of yet another method for processing compressed packets provided by the present disclosure;
fig. 15 is a schematic structural view of a processing device for compressed packets provided in the present disclosure;
FIG. 16 is a schematic view of another compressed packet processing device according to the present disclosure;
fig. 17 is a schematic structural diagram of an electronic device provided in the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
The technical scheme of the disclosure can be applied to terminal equipment, wherein the terminal equipment can be a computer, a tablet, a mobile phone or other intelligent electronic equipment and the like. The terminal device has a display screen, wherein the display screen may be a touch screen or a non-touch screen, and for the terminal device with a touch screen, a user may implement an interactive operation with the terminal device through a gesture, a finger, or a touch tool (e.g., a stylus). For a terminal device other than a touch screen, the interactive operation with the terminal device may be implemented through an external device (e.g., a mouse or a keyboard, etc.).
The instant messaging client in the present disclosure may provide various scenarios, such as a conversation scenario, a collection scenario, a nailing scenario, a topic group scenario, a merging forwarding scenario, etc., which is not particularly limited in this embodiment. In the session scene, a first scene interface displayed by the instant messaging client is a session scene interface, as shown in fig. 1A, and a user generates a decompression request of a compressed packet by performing a preset operation on the compressed packet displayed in the session scene interface. In the collection scene, a first scene interface displayed by the instant messaging client is a collection scene interface, and as shown in fig. 1B, a user generates a decompression request of a compression packet displayed in the collection scene interface by performing a preset operation on the compression packet. In the nailing scene, a first scene interface displayed by the instant messaging client is a nailing scene interface, and as shown in fig. 1C, a user generates a decompression request of a compression packet displayed in the nailing scene interface by performing a preset operation on the compression packet. In the topic group scene, a first scene interface displayed by the instant messaging client is a topic group scene interface, and as shown in fig. 1D, a user generates a decompression request of a compressed packet displayed in the topic group scene interface by performing a preset operation on the compressed packet. In the merging and forwarding scenario, a first scenario interface displayed by the instant messaging client is a merging and forwarding scenario interface, as shown in fig. 1E, a user generates a decompression request of a compressed packet displayed in the merging and forwarding scenario interface by performing a preset operation on the compressed packet.
Fig. 2 is a schematic view of an application scenario provided by the present disclosure, as shown in fig. 2, in any scenario provided by an instant messaging client, a decompression request generated by user triggering is sent to the same server, and based on the server, decompressed files corresponding to a compressed packet are obtained, and the instant messaging client displays the decompressed files on a first scenario interface, as shown in fig. 3A-3C. The decompressed file may be at least one of a file, a folder, and a compressed package. Based on triggering the decompressed file displayed in the first scene interface by the instant messaging client, the decompressed file in the compressed package can be checked and/or consumed, and the online check and consumption of the specific content in the compressed package can be realized even in various scenes of the communication client. In addition, no matter which scene interface the communication client triggers the decompression request, the compression packets in different scenes are conveniently and uniformly managed based on the response of the same server.
Fig. 1, 3, 8, 10 and 12 in the present disclosure are only schematic illustrations of display interfaces of an instant messaging application, and are not limited to the positions of display frames in the display interfaces of the instant messaging application and the proportion of the display frames to the whole interface.
The technical scheme of the present disclosure is described in detail below with several specific embodiments:
fig. 4 is a flow chart of a processing method of a compressed packet provided in the present disclosure, as shown in fig. 4, including:
s101, the instant messaging client receives decompression operation of a compression packet triggered by a user in a first scene interface of the instant messaging client.
Wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client.
One or more compression packages are displayed in a first scene interface of the instant messaging client, for example, the first scene interface may be a session scene interface as shown in fig. 1A, a collection scene interface as shown in fig. 1B, a nailing scene interface as shown in fig. 1C, a session group scene interface as shown in fig. 1D, or a merge forwarding scene interface as shown in fig. 1E. The user may select one of the one or more compression packages displayed in the first scene interface to perform a decompression operation, where the decompression operation may be a single click, a double click, a specific gesture with respect to a compression package icon, or select an open option after an operation option is evoked, and the embodiment is not limited in comparison.
S103, the server receives the decompression request sent by the instant messaging client.
The decompression request comprises the following steps: and the identification information of the compressed package. The decompression request is generated by triggering a compressed packet displayed on a first scene interface of the instant messaging client by a user.
The compressed packets displayed in the first scene interface of the instant messaging client correspond to one piece of identification information, and different compressed packets correspond to different pieces of identification information, for example, as shown in fig. 1A-1E, compressed packet a corresponds to identification information P1, and compressed packet B corresponds to identification information P2. For example, based on the above embodiment, for the decompression request with different generated identification information for the decompression operation of the different compression packets, the decompression request Q1 is generated for the decompression operation of the compression packet a shown in fig. 1A to 1E, and the decompression request Q1 includes the identification information P1, and for the decompression operation of the compression packet B shown in fig. 1A to 1E, the decompression request Q2 is generated, and the decompression request Q2 includes the identification information P2.
The instant messaging client can send the generated decompression request to the server, the server can analyze the decompression request sent by the instant messaging client, and identification information included in the decompression request can be obtained. For example, based on the above embodiment, if the instant communication client sends the decompression request Q1, the server parses the decompression request Q1 to obtain the identification information P1; if the instant messaging client sends the decompression request Q2, the server analyzes the decompression request Q2, and the identification information P2 can be obtained.
S105, the server obtains a decompressed file corresponding to the identification information based on the identification information of the compressed package.
The decompressed file comprises the following components: files, folders, and/or compression packs.
The server acquires a decompressed file corresponding to the identification information based on the content stored in the local storage area, and the decompressed file may be at least one of a file, a folder, and a compressed package. If the compression package displayed on the first scene interface of the instant messaging client is obtained based on file compression, at least one file is included in the decompressed file. If the compression package displayed on the first scene interface of the instant messaging client is obtained based on folder compression and the folder comprises a file, the file comprises the folder and the file. If the compression package displayed on the first scene interface of the instant messaging client is obtained based on compression of the compression package, the compression package comprises a folder, and the folder comprises a file, the decompressed file comprises the compression package, the folder and the file.
In this embodiment, only the compressed package displayed on the first scene interface of the instant messaging client is exemplified by the compressed package obtained by compressing the file, the folder or the sub-compressed package. In practical applications, the compression package displayed on the first scene interface of the instant messaging client may also be obtained by compressing a plurality of the compression package, the folder and the file, which is not particularly limited in this embodiment.
For example, based on the above embodiment, the decompressed files obtained by the server according to the identification information P1 are the file F1 and the file F3; the decompressed files obtained by the server according to the identification information P2 are the folders FP1 and FP2.
And S107, the server sends a decompression response to the instant messaging client.
The decompression response comprises the following steps: and decompressing the file.
The server generates a corresponding decompression response according to the acquired decompression file, for example, based on the above embodiment, the server may generate the decompression response R1 based on the file F1 and the file F3, and the server may generate the decompression response R2 based on the folder FP1 and the folder FP2. After the server generates the decompression response, the decompression response can be sent to the instant messaging client.
And S109, the instant messaging client displays the object contained in the compressed package in the first scene interface based on the decompressed file.
The instant messaging client may parse the received decompression response to obtain a corresponding decompressed file, and display the obtained decompressed file in the first scene display interface, as shown in fig. 3A-3C.
For example, based on the above embodiment, the instant messaging client may parse the decompressed response R1 to obtain the file F1 and the file F2, and display the file F1 and the file F2 in the first scene interface, as shown in fig. 3A. The instant messaging client may parse the decompression response R1 to obtain a folder FP1 and a folder FP2, and display the folder FP1 and the folder FP2 in the first scene interface, as shown in fig. 3B, if the folder FP1 includes the file F1 and the file F2, the triggering operation is based on the folder FP1 displayed in the first scene interface, and may further display the file F1 and the file F2, as shown in fig. 3C.
In this embodiment, a decompression request sent by an instant messaging client is received, where the decompression request includes identification information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user, where the first scene interface is any one of a plurality of scene interfaces of the instant messaging client; based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs; the method comprises the steps of sending a decompression response to the instant messaging client, wherein the decompression response comprises the following steps: the method comprises the steps that a file is decompressed, so that the instant communication client displays the decompressed file in a first scene interface, the instant communication client can acquire the decompressed file in any use scene of instant communication software, and therefore online viewing and consumption of specific content in a compressed package can be achieved under various scenes of the instant communication client. In addition, based on the decompression request triggered by any scene interface of the instant messaging client, the same server is used for responding, so that the compressed packets in different scenes can be managed uniformly.
Fig. 5 is a flow chart of another processing method of a compressed packet provided in the present disclosure, and fig. 5 is a specific description of one possible implementation manner when S105 is performed based on the embodiment shown in fig. 4, as follows:
S1051, the server determines whether the decompressed file corresponding to the identification information is stored in the cache.
If yes, executing S1052; if not, S1053 is performed.
After the server analyzes the identification information, whether the decompressed file corresponding to the identification information exists in the cache data of the local cache area is searched, for example, if the server analyzes the identification information P1, whether the decompressed file corresponding to the identification information P1 exists in the local cache area is searched, and if the server analyzes the identification information P2, whether the decompressed file corresponding to the identification information P2 exists in the local cache area is searched.
S1052, the server acquires the decompressed file from the cache.
If the decompressed file corresponding to the identification information exists in the cache data of the local cache area of the server, the decompressed file corresponding to the identification information is directly obtained from the cache data without decompressing the compressed package corresponding to the identification information again, and the computing resource of the server is saved. For example, the server may directly obtain the file F1 and the file F2 from the cache data based on the received decompression request Q1, where the decompressed file corresponding to the identification information P1 exists in the cache data of the local cache area of the server, that is, the file F1 and the file F2 exist. The decompressed file corresponding to the identification information in the cache data can be a decompressed file obtained by decompressing the compressed package based on a previously received decompressed request of the same compressed package, and the currently received decompressed request and the previously received decompressed request can be generated by the instant messaging client in any one of a session scene, a collection scene, a nailing scene, a topic group scene and a merging and forwarding scene.
S1053, the server decompresses the compressed package corresponding to the identification information to obtain the decompressed file, and caches the decompressed file.
If the decompressed file corresponding to the identification information does not exist in the cache data of the local cache area of the server, the compressed package corresponding to the identification information is decompressed, so that the decompressed file corresponding to the identification information is obtained, and the decompressed file is stored in the local cache area, so that the same compressed package is prevented from being decompressed for multiple times, and the computing resources of the server can be saved. For example, the server may decompress the compressed packet B based on the received decompression request Q2 to obtain the folders FP1 and FP2, and store the folders FP1 and FP2 in the local buffer, where the decompressed files corresponding to the identification information P2 do not exist in the cached data of the local buffer of the server, i.e., the folders FP1 and FP2 exist.
In this embodiment, whether the decompressed file corresponding to the identification information is stored in the cache is determined, if so, the decompressed file is obtained from the cache, and if not, the compressed package corresponding to the identification information is decompressed to obtain the decompressed file, and the decompressed file is cached, so that repeated decompression of the compressed package corresponding to the same identification information is not required, and therefore the computing resource of the server can be released, and the decompressed file can be quickly obtained.
Optionally, based on the above embodiment, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
For example, the first scene interface of the instant messaging client may be a session scene interface, as shown in fig. 1A, in which at least one compression packet is displayed; the first scene interface of the instant messaging client may be a collection scene interface, as shown in fig. 1B, in which at least one compression packet is displayed; the first scene interface of the instant messaging client may be a nailing scene interface, as shown in fig. 1C, in which at least one compression packet is displayed; the first scenario interface of the instant messaging client may be a topic group scenario interface, as shown in fig. 1D, in which at least one compression packet is displayed; the first scenario interface of the instant messaging client may also be a merge forwarding scenario interface, as shown in fig. 1E, in which at least one compressed packet is displayed.
Fig. 6 is a flow chart of another processing method of a compressed packet provided in the present disclosure, and fig. 6 is a flowchart of the embodiment shown in fig. 4, further including:
S106, the server acquires the component information of the compressed package decompression viewer corresponding to the scene information based on the scene information.
Illustratively, the decompressing request further includes: the scene information may be, for example, session scene information, collection scene information, nailing scene information, topic group scene information, or merge forwarding scene information. The server analyzes the received decompression request to obtain corresponding scene information, for example, if the decompression request is generated by triggering on a session scene interface, the decompression request comprises the session scene information; if the decompression request is triggered and generated on the collection scene interface, the decompression request comprises collection scene information; if the decompression request is triggered and generated on the nailing scene interface, the decompression request comprises nailing scene information; if the decompression request is generated by triggering the merging forwarding scene interface, the decompression request comprises merging forwarding scene information.
The local end of the server presets different component information aiming at different scene information, for example, the component information of a compressed package decompression viewer corresponding to session scene information is component information 1, the component information of a compressed package decompression viewer corresponding to collection scene information is component information 2, the component information of a compressed package decompression viewer corresponding to nailing scene information is component information 3, the component information of a compressed package decompression viewer corresponding to session group scene information is component information 4, and the component information of a compressed package decompression viewer corresponding to forwarding scene information is component information 5. Therefore, the server can acquire the component information of the corresponding compressed package decompression viewer from the local terminal based on the parsed scene information.
As a specific description of one possible implementation when S109 is performed, as shown in fig. 6:
s1091, the instant messaging client displays a compressed package decompression viewer interface in the first scene interface based on the component information of the compressed package decompression viewer.
Illustratively, the decompression response further includes: the instant messaging client analyzes the decompression response to obtain the component information of the corresponding compression package decompression viewer, and displays the compression package decompression viewer interface based on the component information. For example, if the component information of the compressed package decompression viewer is component information 1, displaying the compressed package decompression viewer interface 1 based on the component information 1; if the component information of the compressed package decompression viewer is the component information 2, displaying a compressed package decompression viewer interface 2 based on the component information 2; if the component information of the compressed package decompression viewer is the component information 3, displaying a compressed package decompression viewer interface 3 based on the component information 3; if the component information of the compressed package decompression viewer is the component information 4, displaying a compressed package decompression viewer interface 4 based on the component information 4; if the component information of the compressed package decompression viewer is the component information 5, displaying the compressed package decompression viewer interface 5 based on the component information 5. In this way, for different scene information, different compression package decompression viewer interfaces can be displayed based on different component information, so that the compression package decompression viewer interfaces can be personalized displayed for different scenes.
And S1092, displaying the objects contained in the compressed package decompression viewer interface.
Based on the above embodiment, the compressed file displayed in the viewer interface can be decompressed in the compressed packages of the various scene interfaces.
It should be noted that, fig. 6 exemplarily illustrates that S106 is performed after S105, and in other embodiments, S106 may also be performed after S103 and before S105.
In this embodiment, the decompression request further includes: the method comprises the steps that scene information, a server obtains component information of a compressed package decompression viewer corresponding to the scene information based on the scene information; the decompression response also includes: the instant messaging client displays the compressed package decompression viewer interface in the first scene interface and displays the objects contained in the compressed package decompression viewer interface based on the component information of the compressed package decompression viewer corresponding to the scene information, so that the compressed package decompression viewer interface can be displayed in a personalized manner for different scenes.
Fig. 7 is a flow chart of another processing method of a compressed packet provided in the present disclosure, and fig. 7 is a specific description of one possible implementation manner when S101 is performed on the basis of the embodiment shown in fig. 6, as follows:
S201, the instant messaging client receives decompression operation of the compressed package triggered by a user in a session scene interface.
As shown in fig. 1A, the first scenario interface of the instant messaging client is a session scenario interface, and the user performs the triggering of the decompression operation on the compressed packet, so that the instant messaging client may generate the decompression request including the session scenario information based on the decompression operation of the compressed packet triggered by the user under the session scenario interface. The server decompresses the assembly information of the viewer based on the session scene information in the decompression request, and the acquired compressed package comprises the following components: view component information, search component information, jump to session component information, and forward component information.
Accordingly, as a specific description of one possible implementation manner when S1091 is performed, as shown in fig. 7:
s202, the instant messaging client displays a compressed package decompression viewer interface in the session scene interface based on the component information of the compressed package decompression viewer.
The instant messaging client displays a compressed package decompression viewer interface in a session scene interface based on viewing component information, searching component information, jumping to session component information and forwarding component information, as shown in fig. 8A, including a viewing component, searching component, jumping to session component and forwarding component. The search component may be a search input box, as shown in fig. 8A, where a user may input search content in the search input box, and the instant messaging client searches for a target compressed package related to the search content in a session corresponding to the current session interface based on the search content input by the user, so as to implement quick search for the compressed package. If the compressed package decompression viewer interface shown in fig. 8A is generated based on the decompression request of the compressed package a shown in fig. 1A, if the search content input by the user in the search input box is "B", searching the compressed package related to "B" in all the session contents corresponding to the current session interface, and displaying the compressed package in the compressed package decompression viewer interface shown in fig. 8B. Based on the triggering of a user to a viewing component of the decompressed file displayed in the compressed package decompression viewer interface, the specific content of the decompressed file can be viewed on line; based on the trigger of the user to jump to the session component of the decompressed file displayed in the compressed package decompression viewer interface, the session frame can be quickly returned, and the user operation is facilitated; the decompressed file may be sent to other users based on user triggers to a forwarding component of the decompressed file displayed in the compressed package decompression viewer interface.
In this embodiment, the instant messaging client receives a decompression operation of a compressed packet triggered by a user in a session scene interface, and at this time, scene information in a generated decompression request is session scene information, and correspondingly, component information of a compressed packet decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; the instant messaging client displays a compression package decompression viewer interface in a session scene interface based on component information of the compression package decompression viewer, and the compression package decompression viewer interface comprises: the system comprises a checking component, a searching component, a jump-to-session component and a forwarding component, so that the purposes of quickly searching a compressed package, checking the specific content of the decompressed file on line, quickly returning to a session frame and forwarding the decompressed file in a session scene can be realized, the requirements of users in the session scene can be met, and the operation efficiency of the users in the session scene can be improved.
Fig. 9 is a flowchart of still another processing method of a compressed packet provided in the present disclosure, and fig. 9 is a specific description of another possible implementation manner when S101 is performed based on the embodiment shown in fig. 6, as follows:
S301, the instant messaging client receives decompression operation of the compression package triggered by a user in a collection scene interface.
As shown in fig. 1B, the user triggers the decompression operation of the compressed package on the collection scene interface that is the first scene interface of the instant messaging client, so that the instant messaging client may generate the decompression request including the collection scene information based on the decompression operation of the compressed package triggered by the user on the collection scene interface. The server decompresses the assembly information of the viewer based on the session scene information in the decompression request, and the acquired compressed package comprises the following components: view component information, and forward component information.
Accordingly, as a specific description of another possible implementation manner when S1091 is performed, as shown in fig. 9:
s302, the instant messaging client displays a compressed package decompression viewer interface in the collection scene interface based on the component information of the compressed package decompression viewer.
The instant messaging client displays a compressed package decompression viewer interface in a collection scenario interface based on the view component information and the forwarding component information, as shown in fig. 10, including the view component and the forwarding component. Based on the triggering of the user to the viewing component of the decompressed file displayed in the compressed package decompressed viewer interface, the specific content of the decompressed file can be viewed online, and based on the triggering of the user to the forwarding component of the decompressed file displayed in the compressed package decompressed viewer interface, the decompressed file can be sent to other users.
In this embodiment, the instant messaging client receives a decompression operation of a compression packet triggered by a user in a collection scene interface, and at this time, scene information in a generated decompression request is collection scene information, and correspondingly, component information of a compression packet decompression viewer includes: checking the component information and forwarding the component information; the instant messaging client displays a compression package decompression viewer interface in a collection scene interface based on component information of the compression package decompression viewer, and the compression package decompression viewer interface comprises: the checking component and the forwarding component can realize the purpose of checking the specific content of the decompressed file and forwarding the decompressed file on line in the collection scene, thereby meeting the requirements of users in the collection scene and improving the operation efficiency of the users in the collection scene.
Fig. 11 is a flowchart of another processing method of a compressed packet provided in the present disclosure, and fig. 11 is a specific description of another possible implementation manner when S101 is performed based on the embodiment shown in fig. 6, as follows:
s401, the instant messaging client receives decompression operation of the compressed package triggered by a user in a nailing scene interface.
As shown in fig. 1C, the first scene interface of the instant messaging client is a nailing scene interface, and the user performs the trigger of the decompression operation on the compressed packet, so that the instant messaging client can generate the decompression request including the nailing scene information based on the decompression operation of the compressed packet triggered by the user under the nailing scene interface. The server decompresses the assembly information of the viewer based on nailing scene information in the decompression request, and the acquired compressed package comprises: view component information, jump to session component information, and forward component information.
Accordingly, as a specific description of still another possible implementation manner when S1091 is performed, as shown in fig. 11:
s402, the instant messaging client displays a compressed package decompression viewer interface in the nailing scene interface based on the component information of the compressed package decompression viewer.
The instant messaging client displays a compressed package decompression viewer interface in a nailer scene interface based on the view component information, the skip-to-session component information, and the forward component information, as shown in fig. 12, including the view component, the skip-to-session component, and the forward component. Based on the trigger of the user to the viewing component of the decompressed file displayed in the compressed package decompressed viewer interface, the specific content of the decompressed file can be viewed online, based on the trigger of the user to the skip to session component of the decompressed file displayed in the compressed package decompressed viewer interface, the session frame can be returned quickly, the user operation is convenient, and based on the trigger of the user to the forwarding component of the decompressed file displayed in the compressed package decompressed viewer interface, the decompressed file can be sent to other users.
In this embodiment, the instant messaging client receives the decompression operation of the compressed package triggered by the user in the nailing scene interface, and the scene information in the generated decompression request is nailing scene information, and correspondingly, the component information of the compressed package decompression viewer includes: checking component information, jumping to session component information and forwarding the component information; the instant messaging client displays a compressed package decompression viewer interface in a nailed scene interface based on component information of the compressed package decompression viewer, and the compressed package decompression viewer interface comprises: the device comprises a checking component, a jump-to-conversation component and a forwarding component, so that in a nailing scene, the purposes of checking the specific content of the decompressed file on line, returning to a conversation frame quickly and forwarding the decompressed file can be achieved, and therefore the requirements of a user in the nailing scene can be met, and the operation efficiency of the user in the nailing scene is improved.
Fig. 13 is a flowchart of another processing method of a compressed packet provided in the present disclosure, and fig. 13 is a specific description of another possible implementation manner when S101 is performed on the basis of the embodiment shown in fig. 6, as follows:
s501, the instant messaging client receives decompression operation of the compressed package triggered by a user in a topic group scene interface.
As shown in fig. 1D, the first scenario interface of the instant messaging client is a topic group scenario interface, and the user triggers the decompression operation of the compressed packet, so that the instant messaging client can generate a decompression request including topic group scenario information based on the decompression operation of the compressed packet triggered by the user in the topic group scenario. The server decompresses the assembly information of the viewer based on topic group scene information in the decompression request, and the acquired compressed package comprises the following components: view component information, search component information, jump to session component information, and forward component information.
Accordingly, as a specific description of still another possible implementation manner when S1091 is performed, as shown in fig. 13:
s502, the instant messaging client displays a compressed package decompression viewer interface in the topic group scene interface based on the component information of the compressed package decompression viewer.
The instant messaging client displays a compressed package decompression viewer interface in a topic group scene interface based on view component information, search component information, skip to session component information and forwarding component information, as shown in fig. 8A, including a view component, a search component, skip to session component and forwarding component. The search component may be a search input box, as shown in fig. 8A, where a user may input search content in the search input box, and the instant messaging client searches for a target compressed package related to the search content in a session corresponding to the current session interface based on the search content input by the user, so as to implement quick search for the compressed package. If the compressed package decompression viewer interface shown in fig. 8A is generated based on the decompression request of the compressed package a shown in fig. 1A, if the search content input by the user in the search input box is "B", searching the compressed package related to "B" in all the session contents corresponding to the current session interface, and displaying the compressed package in the compressed package decompression viewer interface shown in fig. 8B. Based on the triggering of a user to a viewing component of the decompressed file displayed in the compressed package decompression viewer interface, the specific content of the decompressed file can be viewed on line; based on the trigger of the user to jump to the session component of the decompressed file displayed in the compressed package decompression viewer interface, the session frame can be quickly returned, and the user operation is facilitated; the decompressed file may be sent to other users based on user triggers to a forwarding component of the decompressed file displayed in the compressed package decompression viewer interface.
In this embodiment, the instant messaging client receives a decompression operation of a compression packet triggered by a user in a topic group scene interface, and scene information in a generated decompression request at this time is topic group scene information, and correspondingly, component information of a compression packet decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; the instant messaging client displays a compression package decompression viewer interface in a topic group scene interface based on component information of the compression package decompression viewer, wherein the compression package decompression viewer interface comprises: the system comprises a checking component, a searching component, a jump-to-session component and a forwarding component, so that in a topic group scene, the purposes of quickly searching a compressed package, checking the specific content of a decompressed file on line, quickly returning to a session frame and forwarding the decompressed file can be realized, and therefore the requirements of users in the topic group scene can be met, and the operation efficiency of the users in the topic group scene can be improved.
Fig. 14 is a flowchart of another processing method of a compressed packet provided in the present disclosure, and fig. 14 is a specific description of another possible implementation manner when S101 is performed based on the embodiment shown in fig. 6, as follows:
S601, the instant messaging client receives decompression operation of the compressed package triggered by a user in a merging and forwarding scene interface.
As shown in fig. 1E, the first scenario interface of the instant messaging client is a merging forwarding scenario interface, and the user performs the triggering of the decompression operation on the compressed packet, so that the decompression operation of the compressed packet triggered by the user under the merging forwarding scenario interface of the instant messaging client may include the generation of the decompression request of the merging forwarding scenario information. The server decompresses the assembly information of the viewer based on the merging forwarding scene information in the decompression request, and the acquired compressed package comprises the following components: view component information.
Accordingly, as a specific description of still another possible implementation manner when S1091 is performed, as shown in fig. 14:
s602, the instant messaging client displays a compressed package decompression viewer interface in the merging and forwarding scene interface based on the component information of the compressed package decompression viewer.
The instant messaging client displays a compressed package decompression viewer interface in the merge forwarding scenario interface based on the view component information, as shown in fig. 3B, including the view component. Based on the triggering of a user to a viewing component of the decompressed file displayed in the compressed package decompression viewer interface, the specific content of the decompressed file can be viewed online.
In this embodiment, the instant messaging client receives the decompression operation of the compressed packet triggered by the user in the merging and forwarding scene interface, and the scene information in the generated decompression request is the merging and forwarding scene information, and correspondingly, the component information of the compressed packet decompression viewer includes: viewing the component information; the instant messaging client displays a compressed package decompression viewer interface in the merging forwarding scene interface based on the component information of the compressed package decompression viewer, and the compressed package decompression viewer interface comprises: and the checking component can realize the purpose of checking the specific content of the decompressed file on line in the merging and forwarding scene, thereby meeting the requirement of a user in the merging and forwarding scene and improving the operation efficiency of the user in the merging and forwarding scene.
An embodiment of the present disclosure further provides a processing device for a compressed packet, and fig. 15 is a schematic structural diagram of the processing device for a compressed packet provided in the present disclosure, where, as shown in fig. 15, the processing device for a compressed packet includes:
the receiving module 110 is configured to receive a decompression request sent by an instant messaging client, where the decompression request includes identification information of a compression packet, and the decompression request is generated by triggering, by a user, the compression packet displayed on a first scene interface of the instant messaging client, where the first scene interface is any one of a plurality of scene interfaces of the instant messaging client.
The obtaining module 120 is configured to obtain, based on the identification information of the compressed packet, a decompressed file corresponding to the identification information, where the decompressed file includes: files, folders, and/or compression packs.
A sending module 130, configured to send a decompression response to the instant messaging client, where the decompression response includes: and the decompressed file is displayed in the first scene interface by the instant communication client.
Optionally, the obtaining module 120 is further configured to determine whether a decompressed file corresponding to the identification information is stored in the cache, if so, obtain the decompressed file from the cache, and if not, decompress the compressed packet corresponding to the identification information to obtain the decompressed file, and cache the decompressed file.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, the decompression request further includes: scene information.
The obtaining module 120 is further configured to obtain component information of a compressed package decompression viewer corresponding to the scene information based on the scene information.
The decompression response further comprises: and decompressing the component information of the viewer by the compressed package corresponding to the scene information.
The sending module 130 is further configured to send a decompression response to the instant messaging client, so that the instant messaging client displays a compressed package decompression viewer interface in the first scene interface based on the component information of the compressed package decompression viewer.
Optionally, if the scene information includes: session scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information, search component information, jump to session component information, and forward component information.
If the scene information includes: collecting scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information, and forward component information.
If the scene information includes: nailing scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information, jump to session component information, and forward component information.
If the scene information includes: topic group scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information, search component information, jump to session component information, and forward component information.
If the scene information includes: merging forwarding scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information.
The device provided by the embodiment of the invention can execute the steps of the server side in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
An embodiment of the present disclosure further provides another processing device for a compressed packet, and fig. 16 is a schematic structural diagram of another processing device for a compressed packet provided in the present disclosure, where, as shown in fig. 16, the processing device for a compressed packet includes:
the receiving module 210 is configured to receive a decompression operation of a compressed packet triggered by a user in a first scenario interface of an instant messaging client, where the first scenario interface is any one of a plurality of scenario interfaces of the instant messaging client.
A sending module 220, configured to send a decompression request to a server, where the decompression request includes: and the identification information of the compressed package.
The receiving module 210 is further configured to receive a decompression response sent by the server, where the decompression response includes: the decompressed file corresponding to the identification information comprises: files, folders, and/or compression packs.
And the display module 230 is configured to display, in the first scene interface, an object included in the compressed package based on the decompressed file.
Optionally, the decompression request further includes: scene information.
The decompression response further comprises: and decompressing the component information of the viewer by the compressed package corresponding to the scene information.
The display module 230 is further configured to display a compressed package decompression viewer interface in the first scene interface based on the component information of the compressed package decompression viewer, and display an object included in the compressed package decompression viewer interface.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, when the first scene interface is a session scene interface, the compressed package decompression viewer interface displayed in the first scene interface includes: a view component, a search component, a jump to session component, and a forward component.
When the first scene interface is an interface for collecting scenes, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, and a forwarding component.
When the first scene interface is an interface of a nailing scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, a jump to session component, and a forward component.
When the first scene interface is a topic group scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, a search component, a jump to session component, and a forward component.
When the first scene interface is a merging forwarding scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the component is viewed.
The device provided by the embodiment of the invention can execute the steps of the instant messaging client side in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
The present disclosure provides an electronic device, comprising: and the processor is used for executing the computer program stored in the memory, and the steps of the server side or the instant messaging client side in any method embodiment are realized when the processor executes the computer program.
Fig. 17 is a schematic structural diagram of an electronic device provided in the present disclosure, and fig. 17 shows a block diagram of an exemplary electronic device suitable for implementing the embodiment of the present invention. The electronic device shown in fig. 17 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 17, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processors 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any medium that is accessible by electronic device 12 and includes both volatile and non-volatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (commonly referred to as a "hard disk drive"). Disk drives for reading from and writing to removable nonvolatile magnetic disks (e.g., a "floppy disk"), and optical disk drives for reading from and writing to removable nonvolatile optical disks (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The processor 16 executes various functional applications and information processing, such as implementing method embodiments provided by embodiments of the present invention, by running at least one of a plurality of programs stored in the system memory 28. The present disclosure provides a computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the server side or the instant messaging client side of any of the method embodiments described above.
The present disclosure also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described method embodiments.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). The present disclosure provides a computer program product characterized by causing a computer to perform the steps of any of the method embodiments described above when the computer program product is run on the computer.
In a first aspect, the present disclosure provides a method for processing a compressed packet, including:
receiving a decompression request sent by an instant messaging client, wherein the decompression request comprises identification information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs;
transmitting a decompression response to the instant messaging client, wherein the decompression response comprises: and the decompressed file is displayed in the first scene interface by the instant communication client.
Optionally, the obtaining, based on the identification information of the compressed packet, a decompressed file corresponding to the identification information includes:
and determining whether a decompressed file corresponding to the identification information is stored in a cache, if so, acquiring the decompressed file from the cache, and if not, decompressing a compressed packet corresponding to the identification information to obtain the decompressed file, and caching the decompressed file.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, the decompression request further includes: scene information;
the method further comprises the steps of:
acquiring component information of a compressed package decompression viewer corresponding to the scene information based on the scene information;
the decompression response further comprises: the compressed package corresponding to the scene information decompresses the component information of the viewer;
the causing the instant messaging client to display the decompressed file in the first scene interface includes:
and the instant messaging client displays a compressed package decompression viewer interface in the first scene interface based on the component information of the compressed package decompression viewer.
Optionally, if the scene information includes: session scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; if the scene information includes: collecting scene information; accordingly, the component information of the compressed package decompression viewer includes: viewing the component information and forwarding the component information; if the scene information includes: nailing scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, jumping to session component information and forwarding the component information; if the scene information includes: topic group scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; if the scene information includes: merging forwarding scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information.
In a second aspect, the present disclosure provides a method for processing a compressed packet, including:
receiving decompression operation of a compression packet triggered by a user in a first scene interface of an instant messaging client, and sending a decompression request to a server, wherein the decompression request comprises: identification information of the compressed packet; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
receiving a decompression response sent by the server, wherein the decompression response comprises the following steps: the decompressed file corresponding to the identification information comprises: files, folders, and/or compression packs;
and displaying the objects contained in the compressed package in the first scene interface based on the decompressed file.
Optionally, the decompression request further includes: scene information;
the decompression response further comprises: the compressed package corresponding to the scene information decompresses the component information of the viewer;
the displaying the object contained in the compressed package in the first scene interface of the instant communication client comprises:
and displaying a compression package decompression viewer interface in the first scene interface based on the component information of the compression package decompression viewer, and displaying objects contained in the compression package decompression viewer interface.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, when the first scene interface is a session scene interface, the compressed package decompression viewer interface displayed in the first scene interface includes: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component; when the first scene interface is an interface for collecting scenes, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, and a forwarding component; when the first scene interface is an interface of a nailing scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, a jump to session component, and a forward component; when the first scene interface is a topic group scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component; when the first scene interface is a merging forwarding scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the component is viewed.
In a third aspect, the present disclosure provides a processing apparatus for compressing packets, including:
the system comprises a receiving module, a decompression module and a processing module, wherein the receiving module is used for receiving a decompression request sent by an instant messaging client, the decompression request comprises identification information of a compression packet, the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user, and the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
the acquisition module is used for acquiring an decompressed file corresponding to the identification information based on the identification information of the compressed package, wherein the decompressed file comprises: files, folders, and/or compression packs;
the sending module is configured to send a decompression response to the instant messaging client, where the decompression response includes: and the decompressed file is displayed on a compressed package decompressed viewer interface by the instant communication client.
Optionally, the obtaining module is further configured to determine whether a decompressed file corresponding to the identification information is stored in the cache, if so, obtain the decompressed file from the cache, and if not, decompress the compressed packet corresponding to the identification information to obtain the decompressed file, and cache the decompressed file.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, the decompression request further includes: scene information;
the acquisition module is also used for acquiring the component information of the compressed package decompression viewer corresponding to the scene information based on the scene information;
the decompression response further comprises: the compressed package corresponding to the scene information decompresses the component information of the viewer;
the sending module is further configured to send a decompression response to the instant messaging client, so that the instant messaging client displays a compressed package decompression viewer interface in the first scene interface based on the component information of the compressed package decompression viewer.
Optionally, if the scene information includes: session scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; if the scene information includes: collecting scene information; accordingly, the component information of the compressed package decompression viewer includes: viewing the component information and forwarding the component information; if the scene information includes: nailing scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, jumping to session component information and forwarding the component information; if the scene information includes: topic group scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information; if the scene information includes: merging forwarding scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information.
In a fourth aspect, the present disclosure provides a processing apparatus for compressing packets, including:
the receiving module is used for receiving decompression operation of a compressed packet triggered by a user in a first scene interface of an instant messaging client, wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
the sending module is used for sending a decompression request to the server, wherein the decompression request comprises the following components: identification information of the compressed packet;
the receiving module is further configured to receive a decompression response sent by the server, where the decompression response includes: the decompressed file corresponding to the identification information comprises: files, folders, and/or compression packs;
and the display module is used for displaying the objects contained in the compressed package in the first scene interface based on the decompressed file.
Optionally, the decompression request further includes: scene information.
The decompression response further comprises: and decompressing the component information of the viewer by the compressed package corresponding to the scene information.
The display module is further used for displaying a compression package decompression viewer interface in the first scene interface based on the component information of the compression package decompression viewer and displaying objects contained in the compression package decompression viewer interface.
Optionally, the multiple scene interfaces of the instant messaging client include: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
Optionally, when the first scene interface is a session scene interface, the compressed package decompression viewer interface displayed in the first scene interface includes: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component; when the first scene interface is an interface for collecting scenes, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, and a forwarding component; when the first scene interface is an interface of a nailing scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, a jump to session component, and a forward component; when the first scene interface is a topic group scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component; when the first scene interface is a merging forwarding scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the component is viewed.
In a fifth aspect, the present disclosure provides an electronic device comprising: a processor for executing a computer program stored in a memory, which when executed by the processor implements the steps of any one of the methods provided in the first or second aspects.
In a sixth aspect, embodiments of the present disclosure provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of any one of the methods provided in the first or second aspects.
In a seventh aspect, the presently disclosed embodiments provide a computer program product which, when run on a computer, causes the computer to perform the steps of any of the methods as provided in the first or second aspects.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. A method of processing a compressed packet, comprising:
receiving a decompression request sent by an instant messaging client, wherein the decompression request comprises identification information and scene information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
acquiring component information of a compressed package decompression viewer corresponding to the scene information based on the scene information;
based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs;
Transmitting a decompression response to the instant messaging client, wherein the decompression response comprises: the instant messaging client displays a compressed package decompression viewer interface in the first scene interface and displays objects contained in the compressed package decompression viewer interface based on the decompressed file and the component information of the compressed package decompression viewer corresponding to the scene information; the compressed package decompression viewer interface is used for providing personalized display for different scenes.
2. The method according to claim 1, wherein the obtaining, based on the identification information of the compressed packet, the decompressed file corresponding to the identification information includes:
and determining whether a decompressed file corresponding to the identification information is stored in a cache, if so, acquiring the decompressed file from the cache, and if not, decompressing a compressed packet corresponding to the identification information to obtain the decompressed file, and caching the decompressed file.
3. The method of claim 1, wherein the plurality of scene interfaces of the instant messaging client comprises: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
if the scene information includes: session scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information;
if the scene information includes collection scene information; accordingly, the component information of the compressed package decompression viewer includes: viewing the component information and forwarding the component information;
if the scene information includes: nailing scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, jumping to session component information and forwarding the component information;
if the scene information includes: topic group scene information; accordingly, the component information of the compressed package decompression viewer includes: checking component information, searching component information, jumping to session component information and forwarding component information;
if the scene information includes: merging forwarding scene information; accordingly, the component information of the compressed package decompression viewer includes: view component information.
5. A method of processing a compressed packet, comprising:
Receiving decompression operation of a compression packet triggered by a user in a first scene interface of an instant messaging client, and sending a decompression request to a server, wherein the decompression request comprises: the identification information and scene information of the compressed packet; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
receiving a decompression response sent by the server, wherein the decompression response comprises the following steps: the decompressed file corresponding to the identification information and the compressed package corresponding to the scene information decompress the component information of the viewer, and the decompressed file comprises: files, folders, and/or compression packs;
displaying a compression package decompression viewer interface in the first scene interface based on the decompressed file and the component information of the compression package decompression viewer, and displaying objects contained in the compression package decompression viewer interface; the compressed package decompression viewer interface is used for providing personalized display for different scenes.
6. The method of claim 5, wherein the plurality of scene interfaces of the instant messaging client comprises: session scene interface, collection scene interface, nailing scene interface, topic group scene interface, merging and forwarding scene interface.
7. The method of claim 5, wherein the step of determining the position of the probe is performed,
when the first scene interface is a session scene interface, the compressed package decompression viewer interface displayed in the first scene interface comprises: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component;
when the first scene interface is an interface for collecting scenes, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, and a forwarding component;
when the first scene interface is an interface of a nailing scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: a view component, a jump to session component, and a forward component;
when the first scene interface is a topic group scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the system comprises a viewing component, a searching component, a jump-to-session component and a forwarding component;
when the first scene interface is a merging forwarding scene, a compressed package decompression viewer interface displayed in the first scene interface comprises: the component is viewed.
8. A processing apparatus for compressed packets, comprising:
The receiving module is used for receiving a decompression request sent by the instant messaging client, wherein the decompression request comprises identification information and scene information of a compression packet, and the decompression request is generated by triggering the compression packet displayed on a first scene interface of the instant messaging client by a user; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
an acquisition module for:
acquiring component information of a compressed package decompression viewer corresponding to the scene information based on the scene information;
based on the identification information of the compressed package, obtaining a decompressed file corresponding to the identification information, wherein the decompressed file comprises: files, folders, and/or compression packs;
the sending module is configured to send a decompression response to the instant messaging client, where the decompression response includes: the instant messaging client displays a compressed package decompression viewer interface in the first scene interface and displays objects contained in the compressed package decompression viewer interface based on the decompressed file and the component information of the compressed package decompression viewer corresponding to the scene information; the compressed package decompression viewer interface is used for providing personalized display for different scenes.
9. A processing apparatus for compressed packets, comprising:
the receiving module is used for receiving decompression operation of the compressed packet triggered by a user in a first scene interface of the instant communication client; wherein the first scene interface is any one of a plurality of scene interfaces of the instant messaging client;
the sending module is used for sending a decompression request to the server, wherein the decompression request comprises the following components: the identification information and scene information of the compressed packet;
the receiving module is further configured to receive a decompression response sent by the server, where the decompression response includes: the decompressed file corresponding to the identification information and the compressed package corresponding to the scene information decompress the component information of the viewer, and the decompressed file comprises: files, folders, and/or compression packs;
the display module is used for displaying a compression package decompression viewer interface in the first scene interface based on the decompressed file and the component information of the compression package decompression viewer, and displaying objects contained in the compression package decompression viewer interface; the compressed package decompression viewer interface is used for providing personalized display for different scenes.
10. An electronic device, comprising: a processor for executing a computer program stored in a memory, which when executed by a processor performs the steps of the method of any of claims 1-4, or the steps of the method of any of claims 5-7.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any one of claims 1-4, or the steps of the method of any one of claims 5-7.
CN202210173052.3A 2022-02-24 2022-02-24 Processing method and device of compressed package, electronic equipment and storage medium Active CN114553968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210173052.3A CN114553968B (en) 2022-02-24 2022-02-24 Processing method and device of compressed package, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210173052.3A CN114553968B (en) 2022-02-24 2022-02-24 Processing method and device of compressed package, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114553968A CN114553968A (en) 2022-05-27
CN114553968B true CN114553968B (en) 2024-01-23

Family

ID=81676753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210173052.3A Active CN114553968B (en) 2022-02-24 2022-02-24 Processing method and device of compressed package, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114553968B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442556B1 (en) * 1999-12-04 2002-08-27 Inventec Corp. Decompression software package that can store files in assigned storage device
CN1404018A (en) * 2002-09-29 2003-03-19 西安交通大学 Intelligent scene drawing system and drawing & processing method in computer network environment
CN101398807A (en) * 2008-10-21 2009-04-01 北京无线恒远科技有限公司 Method and device for decompressing mobile terminal zip file
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal
CN103581130A (en) * 2012-07-30 2014-02-12 优视科技有限公司 Data compression processing method, system and device
CN103929449A (en) * 2013-01-14 2014-07-16 华为终端有限公司 Data transmission method, web server and terminal
CN104065681A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Method and system for previewing encryption compression packet in appendix
CN104572964A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Zip file unzipping method and device
US9311317B1 (en) * 2012-05-14 2016-04-12 Symantec Corporation Injecting custom data into files in zip format containing apps, without unzipping, resigning or re-zipping the files
CN108848082A (en) * 2018-05-31 2018-11-20 深圳市腾讯网络信息技术有限公司 Data processing method, device, storage medium and computer equipment
CN112487763A (en) * 2020-12-08 2021-03-12 深圳易财信息技术有限公司 SVG-based OFD file online display method, server side and system
CN112835479A (en) * 2019-11-25 2021-05-25 腾讯科技(深圳)有限公司 Compressed file viewing method, device, equipment and readable storage medium
CN113254403A (en) * 2020-05-21 2021-08-13 永中软件股份有限公司 Method for previewing files in compressed package in browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039306A1 (en) * 2000-11-09 2002-05-16 Sri International Systems and methods for negotiated resource utilization

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442556B1 (en) * 1999-12-04 2002-08-27 Inventec Corp. Decompression software package that can store files in assigned storage device
CN1404018A (en) * 2002-09-29 2003-03-19 西安交通大学 Intelligent scene drawing system and drawing & processing method in computer network environment
CN101398807A (en) * 2008-10-21 2009-04-01 北京无线恒远科技有限公司 Method and device for decompressing mobile terminal zip file
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal
US9311317B1 (en) * 2012-05-14 2016-04-12 Symantec Corporation Injecting custom data into files in zip format containing apps, without unzipping, resigning or re-zipping the files
CN103581130A (en) * 2012-07-30 2014-02-12 优视科技有限公司 Data compression processing method, system and device
CN103929449A (en) * 2013-01-14 2014-07-16 华为终端有限公司 Data transmission method, web server and terminal
CN104065681A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Method and system for previewing encryption compression packet in appendix
CN104572964A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Zip file unzipping method and device
CN108848082A (en) * 2018-05-31 2018-11-20 深圳市腾讯网络信息技术有限公司 Data processing method, device, storage medium and computer equipment
CN112835479A (en) * 2019-11-25 2021-05-25 腾讯科技(深圳)有限公司 Compressed file viewing method, device, equipment and readable storage medium
CN113254403A (en) * 2020-05-21 2021-08-13 永中软件股份有限公司 Method for previewing files in compressed package in browser
CN112487763A (en) * 2020-12-08 2021-03-12 深圳易财信息技术有限公司 SVG-based OFD file online display method, server side and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
不装软件 云端在线解压;老万;;电脑爱好者(06);全文 *
基于MQTT和ILZ4压缩法的智慧能源云平台;卢阿丽;控制工程;全文 *

Also Published As

Publication number Publication date
CN114553968A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US9021507B2 (en) Dynamic use of data across multiple programs
US10643021B2 (en) Method and device for processing web page content
US11429563B2 (en) Prioritizing thumbnail previews based on message content
US20140082007A1 (en) Method, system and storage medium for pushing user's personal label dynamically
WO2014134963A1 (en) Input method and device thereof, and auxiliary input method and system thereof
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN107154894B (en) Instant messaging information processing method, device, system and storage medium
US20240004917A1 (en) Data processing method and device, terminal, and storage medium
CN109274978B (en) Cooperative guiding method, device, terminal and storage medium for live broadcast room
CN112507259B (en) Webpage loading method and device, electronic equipment and storage medium
CN102664008B (en) Method, terminal and system for transmitting data
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
CN112416455A (en) Data processing method, device, terminal and storage medium
WO2018145574A1 (en) Information processing method and device, terminal, server and storage medium
CN111427899A (en) Method, device, equipment and computer readable medium for storing file
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
WO2017099979A1 (en) Providing automated hashtag suggestions to categorize communication
CN114553968B (en) Processing method and device of compressed package, electronic equipment and storage medium
US11863334B2 (en) User initiated notifications for chat sections
CN113282285B (en) Code writing method, device, electronic equipment and storage medium
CN112383666B (en) Content sending method and device and electronic equipment
CN114528509A (en) Page display processing method and device, electronic equipment and storage medium
KR20190084051A (en) Select layered content
CN114595449A (en) Safety scanning method and device
CN107749892B (en) Network reading method and device for conference record, intelligent tablet and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant