CN112968958A - Method, system, device and medium for processing attachment in OTA website - Google Patents

Method, system, device and medium for processing attachment in OTA website Download PDF

Info

Publication number
CN112968958A
CN112968958A CN202110192125.9A CN202110192125A CN112968958A CN 112968958 A CN112968958 A CN 112968958A CN 202110192125 A CN202110192125 A CN 202110192125A CN 112968958 A CN112968958 A CN 112968958A
Authority
CN
China
Prior art keywords
sub
attachments
attachment
module
uploaded
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.)
Pending
Application number
CN202110192125.9A
Other languages
Chinese (zh)
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.)
Ctrip Computer Technology Shanghai Co Ltd
Original Assignee
Ctrip Computer Technology Shanghai 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 Ctrip Computer Technology Shanghai Co Ltd filed Critical Ctrip Computer Technology Shanghai Co Ltd
Priority to CN202110192125.9A priority Critical patent/CN112968958A/en
Publication of CN112968958A publication Critical patent/CN112968958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files

Landscapes

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

Abstract

The invention discloses a method, a system, equipment and a medium for processing an accessory in an OTA website, wherein the processing method comprises the following steps: dividing an attachment to be uploaded into a plurality of sub-attachments; respectively compressing the plurality of sub-attachments to obtain a plurality of compressed sub-attachments; and uploading the plurality of compressed sub-attachments to the server cluster. According to the method and the device, the accessory to be uploaded is divided into the plurality of sub-accessories, the plurality of sub-accessories are compressed respectively to obtain the plurality of compressed sub-accessories, and the plurality of compressed sub-accessories are uploaded to the server cluster, so that the accessory uploading speed is increased, and the problem of low uploading speed of large accessories is solved.

Description

Method, system, device and medium for processing attachment in OTA website
Technical Field
The invention relates to the technical field of computer information, in particular to a method, a system, equipment and a medium for processing accessories in an OTA (on line Travel Agency) website.
Background
In the current OTA website event platform, when uploading attachments such as pictures, videos, word files or PPT, the original attachments are directly uploaded to a server, but when the attachments are too large, the problem of low uploading speed occurs when directly uploading the original attachments.
Disclosure of Invention
The invention provides a method, a system, equipment and a medium for processing an attachment in an OTA (over-the-air) website, aiming at overcoming the defect of low uploading speed in the prior art for uploading a large attachment.
The invention solves the technical problems through the following technical scheme:
the invention provides a method for processing an attachment in an OTA website, which comprises the following steps:
dividing an attachment to be uploaded into a plurality of sub-attachments;
compressing the plurality of sub-attachments respectively to obtain a plurality of compressed sub-attachments;
and uploading the plurality of compressed sub-attachments to a server cluster.
Preferably, before the step of dividing the attachment to be uploaded into a plurality of sub-attachments, the processing method further includes:
acquiring the accessory to be uploaded;
judging whether the attachment to be uploaded is larger than a preset threshold value of the attachment or not, if so, dividing the attachment to be uploaded into the plurality of sub-attachments;
and/or the presence of a gas in the gas,
after the step of dividing the attachment to be uploaded into a plurality of sub-attachments, the processing method further includes:
and setting the numbers for each sub-attachment in sequence.
Preferably, after the step of uploading the plurality of compressed sub-attachments to the server cluster, the processing method further includes:
judging whether the current sub-attachment number of the server cluster is the same as the total number of the sub-attachments or not, if so, stopping uploading the plurality of compressed sub-attachments to the server cluster; if not, continuously uploading the plurality of compressed sub-attachments to the server cluster; the server cluster saves the received plurality of compressed child attachments to a remote dictionary service.
Preferably, after the step of stopping uploading the plurality of compressed sub-attachments to the server cluster, the processing method further includes:
acquiring a target server from the server cluster, wherein the target server is an idle server;
and sending a decompression merging instruction to the target server, and decompressing and merging all the sub-attachments into one attachment by the target server according to the numbers after the target server acquires all the sub-attachments from the redis.
The invention provides a processing system of an accessory in an OTA website, which comprises a segmentation module, a compression module and an uploading module;
the division module is used for dividing the attachment to be uploaded into a plurality of sub-attachments;
the compression module is used for respectively compressing the plurality of sub-accessories to obtain a plurality of compressed sub-accessories;
the uploading module is used for uploading the plurality of compressed sub-attachments to the server cluster.
Preferably, the processing system further comprises a first obtaining module and a first judging module;
the first acquisition module is used for acquiring the accessory to be uploaded;
the first judging module is used for judging whether the accessory to be uploaded is larger than a preset threshold value of the accessory or not, and if so, the segmenting module is called;
and/or the presence of a gas in the gas,
the processing system further comprises a setting module;
the setting module is used for setting the number of each sub-accessory in sequence.
Preferably, the processing system further comprises a second judging module and a stopping module;
the second judging module is used for judging whether the current number of the sub-attachments of the server cluster is the same as the total number of the sub-attachments, and if so, the stopping module is called;
the stopping module is used for stopping uploading the plurality of compressed sub-attachments to the server cluster; if not, calling the uploading module; the server cluster saves the received plurality of compressed child attachments to a redis.
Preferably, the processing system further comprises a second obtaining module and a sending module;
the second obtaining module is used for obtaining a target server from the server cluster, wherein the target server is an idle server;
the sending module is used for sending a decompression merging instruction to the target server, and the target server decompresses and merges all the sub-attachments into one attachment according to the numbers after acquiring all the sub-attachments from the redis.
A third aspect of the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for processing an attachment in an OTA website as described in the first aspect when executing the computer program.
A fourth aspect of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for processing an attachment in an OTA website as described in the first aspect.
The positive progress effects of the invention are as follows:
according to the method and the device, the accessory to be uploaded is divided into the plurality of sub-accessories, the plurality of sub-accessories are compressed respectively to obtain the plurality of compressed sub-accessories, and the plurality of compressed sub-accessories are uploaded to the server cluster, so that the accessory uploading speed is increased, and the problem of low uploading speed of large accessories is solved.
Drawings
Fig. 1 is a flowchart of a method for processing an attachment in an OTA website according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of an attachment upload page in an OTA website according to embodiment 1 of the present invention.
Fig. 3 is a block diagram of a system for processing an accessory in an OTA website according to embodiment 2 of the present invention.
Fig. 4 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the present embodiment provides a processing method for an attachment in an OTA website, where the processing method includes:
step 101, obtaining an attachment to be uploaded.
When the OTA website handles the user event, the user is typically required to upload an attachment, for example, a proof of being out of travel, a proof of being pregnant/fractured, a proof of being hospitalized, a proof of being deceived, etc., to confirm that the user is indeed in need of canceling the order or other operations. Clicking an 'upload attachment' button on an OTA website event platform customer service staff to enter an upload attachment page shown in figure 2, selecting an attachment type on the upload attachment page, inputting a mobile phone number of a user, sending a short message for uploading an attachment to the user, and enabling the client to acquire the attachment to be uploaded when the user uploads the attachment locally.
In this embodiment, the attachment may be a video or a picture, or may be other files, for example, the attachment may also be a word file, an excel table, a PPT file, an email, or the like.
Step 102, judging whether the attachment to be uploaded is larger than a preset threshold value of the attachment, if so, executing step 103; if not, step 111 is executed, and step 111 specifically includes directly uploading the attachment.
In this embodiment, the preset threshold of the accessory is preferably 2MB, and may be set to other values according to actual situations, which is not specifically limited herein.
And 103, dividing the attachment to be uploaded into a plurality of sub-attachments.
In this embodiment, the front-end distributed compressed uploading plug-in of the client divides the to-be-uploaded attachment into a plurality of sub-attachments of about 1000KB each, or divides the to-be-uploaded attachment into sub-attachments of other numerical values according to actual conditions; the sub-attachments may be divided into a plurality of sub-attachments with the same size, or may be divided into sub-attachments with different sizes, and the sub-attachments are not specifically limited herein.
And 104, setting numbers for each sub-attachment in sequence.
In this embodiment, after the attachment to be uploaded is divided into a plurality of sub-attachments, a serial number is set for each sub-attachment in order.
And 105, respectively compressing the plurality of sub-attachments to obtain a plurality of compressed sub-attachments.
In this embodiment, the plurality of sub-attachments are respectively subjected to single-thread compression or multi-thread compression by a compression technique to obtain a plurality of compressed sub-attachments. The embodiment prefers the multithread compression, and the multithread compression can avoid the phenomenon of blocking during compression and further accelerate the compression speed.
And step 106, uploading the plurality of compressed sub-attachments to the server cluster.
In this embodiment, the client uploads the plurality of compressed sub-attachments to the service cluster through the upload attachment interface.
Step 107, judging whether the current number of the sub-attachments of the server cluster is the same as the total number of the sub-attachments, if so, executing step 108; if not, continue to step 106.
In this embodiment, the information such as the total number of the sub-attachments, the current number of the sub-attachments, the byte size of the attachments, the names of the attachments, and the types of the attachments can be checked through the log.
Step 108, stopping uploading the plurality of compressed sub-attachments to the server cluster, and then executing step 109.
In this embodiment, the server cluster temporarily stores the received plurality of compressed child attachments in the redis.
And step 109, acquiring a target server from the server cluster, wherein the target server is an idle server.
And step 110, sending the decompressing and merging instruction to the target server, and decompressing and merging all the sub-attachments into one attachment according to the numbers after the target server acquires all the sub-attachments from the redis.
In this embodiment, after all the compressed sub-attachments are uploaded, the client acquires the idle server from the server cluster, and the idle server acquires all the compressed sub-attachments from the redis, decompresses all the compressed sub-attachments according to the numbers, and merges all the compressed sub-attachments into one attachment according to the numbers. The merged full attachment is then saved to a storage disk. Decompression and merging are carried out according to the numbers, and messy or lost accessories are avoided.
For example, in specific implementation, when it is determined that the obtained accessory to be uploaded is greater than the preset threshold of the accessory, the embodiment divides the accessory to be uploaded into a plurality of sub-accessories, sets numbers 1, 2, 3, and the like for each accessory in sequence, respectively compresses the plurality of sub-accessories with the numbers 1, 2, 3, and the like to obtain a plurality of corresponding compressed sub-accessories with the numbers 1, 2, 3, and the like, and uploads the plurality of compressed sub-accessories with the numbers 1, 2, 3, and the like to the server cluster through the uploading accessory interface, so that the accessory uploading speed is increased, and the problem of slow uploading speed of large accessories is solved. After receiving the compressed sub-attachments with the numbers of 1, 2, 3 and the like, the server cluster temporarily stores the compressed sub-attachments with the numbers of 1, 2, 3 and the like in the redis; after all the compressed sub-attachments are uploaded, all the compressed sub-attachments with the numbers of 1, 2, 3 and the like are obtained from the redis through the idle server, and then all the compressed sub-attachments are decompressed according to the number sequences of 1, 2, 3 and the like and are combined into one attachment according to the number sequence, so that the attachment is prevented from being disordered or lost.
Example 2
As shown in fig. 3, the present embodiment provides a processing system for an accessory in an OTA website, which includes a first obtaining module 4, a first determining module 5, a dividing module 6, a setting module 7, a compressing module 8, an uploading module 9, a second determining module 10, a stopping module 11, a second obtaining module 12, and a sending module 13.
The first obtaining module 4 is used for obtaining the attachment to be uploaded.
When the OTA website handles the user event, the user is typically required to upload an attachment, for example, a proof of being out of travel, a proof of being pregnant/fractured, a proof of being hospitalized, a proof of being deceived, etc., to confirm that the user is indeed in need of canceling the order or other operations. Clicking an 'upload attachment' button on an OTA website event platform customer service staff to enter an upload attachment page shown in figure 2, selecting an attachment type on the upload attachment page, inputting a mobile phone number of a user, sending a short message for uploading an attachment to the user, and enabling the client to acquire the attachment to be uploaded when the user uploads the attachment locally.
In this embodiment, the attachment may be a video or a picture, or may be other files, for example, the attachment may also be a word file, an excel table, a PPT file, an email, or the like.
The first judging module 5 is used for judging whether the accessory to be uploaded is larger than a preset threshold value of the accessory, and if so, the segmenting module 6 is called; if not, the uploading module 9 is called to directly upload the attachment.
In this embodiment, the preset threshold of the accessory is preferably 2MB, and may be set to other values according to actual situations, which is not specifically limited herein.
The splitting module 6 is used for splitting the attachment to be uploaded into a plurality of sub-attachments.
In this embodiment, the front-end distributed compressed uploading plug-in of the client divides the to-be-uploaded attachment into a plurality of sub-attachments of about 1000KB each, or divides the to-be-uploaded attachment into sub-attachments of other numerical values according to actual conditions; the sub-attachments may be divided into a plurality of sub-attachments with the same size, or may be divided into sub-attachments with different sizes, and the sub-attachments are not specifically limited herein.
The setting module 7 is used to set the numbers for each sub-accessory in order.
In this embodiment, after the attachment to be uploaded is divided into a plurality of sub-attachments, a serial number is set for each sub-attachment in order.
The compressing module 8 is configured to compress the plurality of sub-attachments respectively to obtain a plurality of compressed sub-attachments.
In this embodiment, the plurality of sub-attachments are respectively subjected to single-thread compression or multi-thread compression by a compression technique to obtain a plurality of compressed sub-attachments. The embodiment prefers the multithread compression, and the multithread compression can avoid the phenomenon of blocking during compression and further accelerate the compression speed.
The uploading module 9 is configured to upload the plurality of compressed sub-attachments to the server cluster.
In this embodiment, the client uploads the plurality of compressed sub-attachments to the service cluster through the upload attachment interface.
The second judging module 10 is configured to judge whether the current number of the sub-attachments of the server cluster is the same as the total number of the sub-attachments, and if yes, the stopping module 11 is invoked.
In this embodiment, the information such as the total number of the sub-attachments, the current number of the sub-attachments, the byte size of the attachments, the names of the attachments, and the types of the attachments can be checked through the log.
The stopping module 11 is configured to stop uploading the plurality of compressed sub-attachments to the server cluster; if not, the uploading module 9 is called.
In this embodiment, the server cluster temporarily stores the received plurality of compressed child attachments in the redis.
The second obtaining module 12 is configured to obtain a target server from the server cluster, where the target server is an idle server.
The sending module 13 is configured to send the decompressing and merging instruction to the target server, and the target server obtains all the sub-attachments from the redis, decompresses all the sub-attachments according to the numbers, and merges all the sub-attachments into one attachment.
In this embodiment, after all the compressed sub-attachments are uploaded, the client acquires the idle server from the server cluster, and the idle server acquires all the compressed sub-attachments from the redis, decompresses all the compressed sub-attachments according to the numbers, and merges all the compressed sub-attachments into one attachment according to the numbers. The merged full attachment is then saved to a storage disk. Decompression and merging are carried out according to the numbers, and messy or lost accessories are avoided.
For example, in specific implementation, when it is determined that the obtained accessory to be uploaded is greater than the preset threshold of the accessory, the embodiment divides the accessory to be uploaded into a plurality of sub-accessories, sets numbers 1, 2, 3, and the like for each accessory in sequence, respectively compresses the plurality of sub-accessories with the numbers 1, 2, 3, and the like to obtain a plurality of corresponding compressed sub-accessories with the numbers 1, 2, 3, and the like, and uploads the plurality of compressed sub-accessories with the numbers 1, 2, 3, and the like to the server cluster through the uploading accessory interface, so that the accessory uploading speed is increased, and the problem of slow uploading speed of large accessories is solved. After receiving the compressed sub-attachments with the numbers of 1, 2, 3 and the like, the server cluster temporarily stores the compressed sub-attachments with the numbers of 1, 2, 3 and the like in the redis; after all the compressed sub-attachments are uploaded, all the compressed sub-attachments with the numbers of 1, 2, 3 and the like are obtained from the redis through the idle server, and then all the compressed sub-attachments are decompressed according to the number sequences of 1, 2, 3 and the like and are combined into one attachment according to the number sequence, so that the attachment is prevented from being disordered or lost.
Example 3
Fig. 4 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the processing method of the attachment in the OTA website of the embodiment 1. The electronic device 30 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a processing method of an attachment in an OTA website provided in embodiment 1 of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, the resulting device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via a network adapter 36. As shown in FIG. 4, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for processing an attachment in an OTA website provided in embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps of implementing the method for processing an attachment in an OTA website described in embodiment 1 when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A processing method for an attachment in an OTA website is characterized by comprising the following steps:
dividing an attachment to be uploaded into a plurality of sub-attachments;
compressing the plurality of sub-attachments respectively to obtain a plurality of compressed sub-attachments;
and uploading the plurality of compressed sub-attachments to a server cluster.
2. The method of processing an attachment in an OTA web site as recited in claim 1 wherein prior to the step of splitting the attachment to be uploaded into a plurality of sub-attachments, the method further comprises:
acquiring the accessory to be uploaded;
judging whether the attachment to be uploaded is larger than a preset threshold value of the attachment or not, if so, dividing the attachment to be uploaded into the plurality of sub-attachments;
and/or the presence of a gas in the gas,
after the step of dividing the attachment to be uploaded into a plurality of sub-attachments, the processing method further includes:
and setting the numbers for each sub-attachment in sequence.
3. The method of processing an attachment in an OTA web site of claim 2 wherein after the step of uploading the plurality of compressed sub-attachments to the server cluster, the method further comprises:
judging whether the current sub-attachment number of the server cluster is the same as the total number of the sub-attachments or not, if so, stopping uploading the plurality of compressed sub-attachments to the server cluster; if not, continuously uploading the plurality of compressed sub-attachments to the server cluster; the server cluster saves the received plurality of compressed child attachments to a redis.
4. The method of processing an attachment in an OTA web site of claim 3 wherein after the step of ceasing to upload the plurality of compressed sub-attachments to the server cluster, the method further comprises:
acquiring a target server from the server cluster, wherein the target server is an idle server;
and sending a decompression merging instruction to the target server, and decompressing and merging all the sub-attachments into one attachment by the target server according to the numbers after the target server acquires all the sub-attachments from the redis.
5. The processing system for the accessories in the OTA website is characterized by comprising a segmentation module, a compression module and an uploading module;
the division module is used for dividing the attachment to be uploaded into a plurality of sub-attachments;
the compression module is used for respectively compressing the plurality of sub-accessories to obtain a plurality of compressed sub-accessories;
the uploading module is used for uploading the plurality of compressed sub-attachments to the server cluster.
6. The system for processing an attachment in an OTA website of claim 5 wherein the processing system further comprises a first obtaining module and a first determining module;
the first acquisition module is used for acquiring the accessory to be uploaded;
the first judging module is used for judging whether the accessory to be uploaded is larger than a preset threshold value of the accessory or not, and if so, the segmenting module is called;
and/or the presence of a gas in the gas,
the processing system further comprises a setting module;
the setting module is used for setting the number of each sub-accessory in sequence.
7. The system for processing an attachment in an OTA website of claim 6 wherein the processing system further comprises a second determining module and a stopping module;
the second judging module is used for judging whether the current number of the sub-attachments of the server cluster is the same as the total number of the sub-attachments, and if so, the stopping module is called;
the stopping module is used for stopping uploading the plurality of compressed sub-attachments to the server cluster; if not, calling the uploading module; the server cluster saves the received plurality of compressed child attachments to a redis.
8. The system for processing an attachment in an OTA website of claim 7 wherein the processing system further comprises a second acquisition module and a sending module;
the second obtaining module is used for obtaining a target server from the server cluster, wherein the target server is an idle server;
the sending module is used for sending a decompression merging instruction to the target server, and the target server decompresses and merges all the sub-attachments into one attachment according to the numbers after acquiring all the sub-attachments from the redis.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a method of processing an attachment in an OTA website as claimed in any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for processing an attachment in an OTA website as claimed in one of the claims 1 to 4.
CN202110192125.9A 2021-02-19 2021-02-19 Method, system, device and medium for processing attachment in OTA website Pending CN112968958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110192125.9A CN112968958A (en) 2021-02-19 2021-02-19 Method, system, device and medium for processing attachment in OTA website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110192125.9A CN112968958A (en) 2021-02-19 2021-02-19 Method, system, device and medium for processing attachment in OTA website

Publications (1)

Publication Number Publication Date
CN112968958A true CN112968958A (en) 2021-06-15

Family

ID=76285233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110192125.9A Pending CN112968958A (en) 2021-02-19 2021-02-19 Method, system, device and medium for processing attachment in OTA website

Country Status (1)

Country Link
CN (1) CN112968958A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867617A (en) * 2010-06-13 2010-10-20 优视科技有限公司 File uploading method base on mobile terminal and system and uploading server thereof
CN103873504A (en) * 2012-12-12 2014-06-18 鸿富锦精密工业(深圳)有限公司 System enabling data blocks to be stored in distributed server and method thereof
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN106657197A (en) * 2015-11-02 2017-05-10 腾讯科技(深圳)有限公司 File uploading method and device
US20190036846A1 (en) * 2017-07-31 2019-01-31 Siemens Aktiengesellschaft Method and system for uploading data to cloud platform, gateway, and machine-readable medium
CN110764931A (en) * 2019-10-22 2020-02-07 携程计算机技术(上海)有限公司 Processing method, system, equipment and storage medium for OTA website uploading certificate

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867617A (en) * 2010-06-13 2010-10-20 优视科技有限公司 File uploading method base on mobile terminal and system and uploading server thereof
CN103873504A (en) * 2012-12-12 2014-06-18 鸿富锦精密工业(深圳)有限公司 System enabling data blocks to be stored in distributed server and method thereof
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN106657197A (en) * 2015-11-02 2017-05-10 腾讯科技(深圳)有限公司 File uploading method and device
US20190036846A1 (en) * 2017-07-31 2019-01-31 Siemens Aktiengesellschaft Method and system for uploading data to cloud platform, gateway, and machine-readable medium
CN110764931A (en) * 2019-10-22 2020-02-07 携程计算机技术(上海)有限公司 Processing method, system, equipment and storage medium for OTA website uploading certificate

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
左昌麒等: "大附件上传管理系统的设计与实现", 《电脑知识与技术》 *

Similar Documents

Publication Publication Date Title
US20130238574A1 (en) Cloud system and file compression and transmission method in a cloud system
CN111382123B (en) File storage method, device, equipment and storage medium
CN108628898B (en) Method, device and equipment for data storage
US9843802B1 (en) Method and system for dynamic compression module selection
CN111008230A (en) Data storage method and device, computer equipment and storage medium
CN112532998B (en) Method, device and equipment for extracting video frame and readable storage medium
CN111949710A (en) Data storage method, device, server and storage medium
US10001925B2 (en) Method to improve page out mechanism with compressed memory pools
CN111352913A (en) File compression method and device, storage medium and terminal equipment
CN111241043A (en) Multimedia file sharing method, terminal and storage medium
CN114020522A (en) Data backup method and device, electronic equipment and system
CN113163198B (en) Image compression method, decompression method, device, equipment and storage medium
CN113055455A (en) File uploading method and equipment
CN112968958A (en) Method, system, device and medium for processing attachment in OTA website
CN109783440B (en) Data storage method, data retrieval method, data storage device, medium and electronic equipment
EP2690565A1 (en) Method and system for compressing data records and for processing compressed data records
CN112035401A (en) Model data processing method and device, electronic equipment and readable medium
CN113590447B (en) Buried point processing method and device
CN113111200B (en) Method, device, electronic equipment and storage medium for auditing picture files
US10248335B2 (en) Reducing a size of backup data in storage
CN113961530A (en) Log file compression method, device and storage medium based on artificial intelligence
CN115061878B (en) Data transmission method and device, electronic equipment and storage medium
CN111163334B (en) Method and device for automatically converting video resolution
CN112069771B (en) Method and device for analyzing pictures in PDF (portable document format) file
CN113568939B (en) Energy consumption monitoring method, device, server and computer readable 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