A method for internal and external network transmission based on large file data

By saving large file data to Hengneng Cloud Out-of-network database server and uploading it to WeChat Intranetwork database server using queuing algorithm, the problem of large file data transmission occupying storage space and bandwidth is solved, and efficient and reliable data transmission is achieved.

CN115567511BActive Publication Date: 2025-06-17STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211133317.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2025-06-17
Estimated Expiration
2042-09-16

AI Technical Summary

Technical Problem

When the prior art transmits large file data on internal and external networks, it is easy to occupy the storage space and bandwidth of the WeChat intranet database server, affecting the data transmission speed and business operations.

Method used

By saving the large file data of the work order submitted by the user to the Hengneng Cloud Outer Network Database Server and automatically uploading it to the WeChat intranet database server using the queuing algorithm. After the data is successfully submitted to the power marketing system, the large file data in the WeChat intranet database server will be deleted.

Benefits of technology

It minimizes the impact of large file data upload on the existing services of WeChat official accounts, including the impact of storage space and data transmission bandwidth, and improves the efficiency and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567511B_ABST
    Figure CN115567511B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for internal and external network transmission based on large file data, including: uploading the basic information of the work order to the WeChat internal network database server; saving the large file data of the work order to the Hengneng Cloud external network database server; queuing the large file data in the Hengneng Cloud database external network server for uploading to the WeChat internal network database server based on a set queuing algorithm; splicing and uploading the basic information of the work order in the WeChat internal network and the large data file to the power marketing system; and deleting the large file data in the WeChat internal network database server after successfully uploading it to the power marketing system. The present invention can minimize the impact of the upload of these large-volume data on the existing services of the "State Grid Shanghai Electric Power" WeChat public account, including the occupation of the storage space of the WeChat internal network database server and the impact of internal and external network data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and particularly relates to a method for internal and external network transmission based on large file data. Background Art

[0002] Taking Pudong Power Company as an example, in recent years, the average annual number of demand work orders is about 158,000, and the number of work orders requiring evidence collection reaches 75,000. Moreover, the number of average annual demand work orders and work orders requiring evidence collection is increasing year by year. Therefore, the number of work orders requiring evidence collection per day is relatively large. Since audio or video files need to be recorded during evidence collection, and such files occupy a large amount of storage space, if they need to be directly saved and uploaded, it will affect the existing services of the "State Grid Shanghai Electric Power" WeChat public account.

[0003] At present, there are the following two methods for transmitting a large number of audio and video files from the internal network to the external network or from the external network to the internal network: Method 1: Compress and save the audio and video files before uploading to reduce the impact on bandwidth. However, although this method compresses and saves the audio and video files for uploading, to a certain extent, it can reduce the impact of a single work order on the internal and external network data transmission of the "State Grid Shanghai Electric Power" WeChat public account. However, due to the large daily work order data volume and the large number of supporting materials required to be uploaded for a single work order, it will also affect the internal and external network data transmission speed.

[0004] Method 2: Temporarily store the audio and video files on the WeChat external network server, avoid the peak period of business submission, and then upload them based on a certain queuing algorithm during the flat valley period of business submission. However, this Method 2 temporarily stores files such as audio and video, and uploads data to the internal network during the off-peak period of business. To a certain extent, it can reduce the pressure on bandwidth during the peak period of business submission. However, because the storage space occupied by audio and video files is very large, it is extremely easy to fill up the space of the WeChat internal network database server. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for internal and external network transmission based on large file data, which can realize the internal and external network transmission of large file data without occupying the resources of the WeChat internal network database server and without occupying the bandwidth of the internal and external network data transmission of WeChat.

[0006] To achieve the above purpose, the present invention is realized through the following technical solutions:

[0007] A method for internal and external network transmission based on large file data, comprising:

[0008] Step S100: When a user submits a work order, save the basic information of the work order to the WeChat internal network database server;

[0009] Step S200: When a user submits a work order, save the large file data of the work order to the Hengneng Cloud external network database server;

[0010] Step S300: Upload the large file data in the Hengneng Cloud external network database server to the WeChat internal network database server by using a queuing algorithm;

[0011] Step S400: After splicing the basic information of the work order in the WeChat internal network database server and the corresponding large data file, upload it to the power marketing system;

[0012] Step S500: Delete the large file data in the WeChat internal network database server.

[0013] Optionally, the large file data includes one or more of audio file, video file and picture file type data.

[0014] Optionally, the basic information of the work order is text type data.

[0015] Optionally, the queuing algorithm in Step S300 includes: automatically processing the large file data that has not been uploaded to the WeChat internal network database server every three minutes.

[0016] Optionally, when the large file data in the WeChat internal network database service is successfully submitted to the power marketing system, the corresponding large file data in the WeChat internal network database server will be automatically deleted. When the large file data in the WeChat internal network database service fails to be successfully submitted to the power marketing system, repeat Steps S300 - S500.

[0017] The present invention has at least one of the following technical effects:

[0018] The present invention uses the Hengneng Cloud service environment for large file data transfer, saves the user's audio, video and picture files in the Hengneng Cloud external network database server, and then queues and uploads them to the WeChat internal network database server. When the data is successfully submitted to the power marketing system, the large file data in the WeChat internal network database server is deleted, minimizing the impact of the upload of these large - volume data on the existing services of the "State Grid Shanghai Electric Power" WeChat public account, including the occupation of the storage space of the WeChat internal network database server and the impact on the internal and external network data transmission. The present invention formulates a queuing algorithm, and the data on the Hengneng Cloud server will be automatically uploaded without manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic flowchart of a method for internal and external network transmission based on large file data provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] The following is combined with the attached Figure 1The following specific embodiments will further elaborate on a method for transferring data between an internal network and an external network based on large file data proposed by the present invention. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the attached drawings are in a very simplified form and all use non-precise scales, only for the purpose of conveniently and clearly assisting in explaining the embodiments of the present invention. In order to make the objectives, features, and advantages of the present invention more obvious and understandable, please refer to the attached drawings. It should be known that the structures, ratios, sizes, etc. shown in the drawings of this specification are only used to cooperate with the content disclosed in the specification for those familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention. Therefore, they do not have substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size, without affecting the effects that the present invention can produce and the objectives that can be achieved, should still fall within the scope covered by the technical content disclosed by the present invention.

[0021] As Figure 1 shown, this embodiment provides a method for transferring data between an internal network and an external network based on large file data, that is, a transfer method for transferring large file data from an external network to an internal network.

[0022] A method for transferring data between an internal network and an external network based on large file data includes:

[0023] Step S100: When a user submits a work order, save the basic information of the work order to the WeChat internal network database server.

[0024] Specifically, when a user submits work order information, the work order data is split. The basic information of the work order is directly uploaded to the WeChat internal network database server. Since the basic information of the work order is all text-type data, such information occupies very little resources and will not have an obvious impact on the "State Grid Shanghai Electric Power" WeChat public account. Therefore, it can be directly saved to the WeChat internal network database server.

[0025] Step S200: When a user submits a work order, save the large file data of the work order to the Hengneng Cloud external network database server.

[0026] The large file data includes one or more of audio file, video file, and picture file type data, that is, for audio, video, and picture files, they are directly saved to the Hengneng Cloud external network server. Such data occupies a large amount of resources. If directly saved in the WeChat internal network database server, it is easy to fill up the server space and seriously affect the storage of other business data.

[0027] Step S300: Upload the large file data in the Hengneng Cloud external network database server to the WeChat internal network database server using a queuing algorithm.

[0028] The specific process of the queuing algorithm in step S300 is to automatically process the large file data that has not been uploaded to the WeChat intranet database server every three minutes.

[0029] Step S400: After splicing the basic information of the work order in the WeChat intranet database server and the corresponding large data file, the work order data is formed, and the work order data is uploaded to the power marketing system.

[0030] Step S500: After the work order data is successfully uploaded to the power marketing system, the large file data in the WeChat intranet database server is deleted.

[0031] Specifically, when the large file data in the WeChat intranet database service is successfully submitted to the marketing system, the large file data in the WeChat intranet database server will be automatically deleted to avoid occupying the resources of the WeChat intranet database server.

[0032] When the large file data in the WeChat intranet database service fails to be successfully submitted to the power marketing system, steps S300 to S500 are repeated.

[0033] In summary, in this embodiment, by using the Hengneng cloud service environment for large file data transfer, the user's audio, video, and picture files are saved in the Hengneng cloud extranet database server, and then queued for uploading to the WeChat intranet database server. After the data is successfully submitted to the power marketing system, the large file data in the WeChat intranet database server is deleted, minimizing the impact of the upload of these large traffic data on the existing services of the "State Grid Shanghai Electric Power" WeChat public account, including the occupation of the storage space of the WeChat intranet database server and the impact of the internal and external network data transmission. This embodiment formulates a queuing algorithm, and the data on the Hengneng cloud server will be automatically uploaded without manual intervention.

[0034] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0035] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of this article. In this regard, each block in the flowchart or block diagram may represent a module, program, or part of the code, and the module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0036] In addition, the functional modules in each embodiment of this article can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.

[0037] Although the content of the present invention has been introduced in detail through the above preferred embodiments, it should be recognized that the above description should not be considered as a limitation of the present invention. After those skilled in the art have read the above content, various modifications and alternatives to the present invention will be obvious. Therefore, the protection scope of the present invention should be defined by the appended claims.

Claims

1. A method for internal and external network transmission based on large file data, characterized in that, Including: Step S100: When a user submits a work order, save the basic information of the work order to the WeChat intranet database server; Step S200: When a user submits a work order, save the large file data of the work order to the Hengneng cloud extranet database server; Step S300: Upload the large file data in the Hengneng cloud extranet database server to the WeChat intranet database server using a queuing algorithm; Step S400: After splicing the basic information of the work order in the WeChat intranet database server and the corresponding large file data, upload it to the power marketing system; Step S500: Delete the large file data in the WeChat intranet database server.

2. The method for internal and external network transmission based on large file data according to claim 1, characterized in that, The large file data includes one or more of audio file, video file, and picture file type data.

3. The method for internal and external network transmission based on large file data according to claim 2, characterized in that, The basic information of the work order is text type data.

4. The method for internal and external network transmission based on large file data according to claim 3, characterized in that, The queuing algorithm in step S300 includes: Automatically process the large file data that has not been uploaded to the WeChat intranet database server every three minutes.

5. The method for internal and external network transmission based on large file data according to claim 4, characterized in that, When the large file data in the WeChat intranet database service is successfully submitted to the power marketing system, the corresponding large file data in the WeChat intranet database server will be automatically deleted. When the large file data in the WeChat intranet database service fails to be successfully submitted to the power marketing system, repeat steps S300 to S500.

Citation Information

Patent Citations

  • File storage method and system

    CN109981702A

  • Double factor, asynchronous and asymmetric authentication system and method for accessing a company server through internet protocol

    WO2019123486A1