CN110620890B - File uploading method and system - Google Patents

File uploading method and system Download PDF

Info

Publication number
CN110620890B
CN110620890B CN201910823457.5A CN201910823457A CN110620890B CN 110620890 B CN110620890 B CN 110620890B CN 201910823457 A CN201910823457 A CN 201910823457A CN 110620890 B CN110620890 B CN 110620890B
Authority
CN
China
Prior art keywords
terminal
uploading
audio
file
recording
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
CN201910823457.5A
Other languages
Chinese (zh)
Other versions
CN110620890A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201910823457.5A priority Critical patent/CN110620890B/en
Publication of CN110620890A publication Critical patent/CN110620890A/en
Priority to PCT/CN2020/087125 priority patent/WO2021042744A1/en
Application granted granted Critical
Publication of CN110620890B publication Critical patent/CN110620890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a file uploading method and system. The method is applied to the technical field of data transmission, and comprises the steps that a recording terminal records audio and video according to a recording operation instruction to generate an audio and video file, and transmits the audio and video file to an uploading terminal in the same local area network; if the uploading terminal receives the audio and video file, uploading the audio and video file to a cloud storage server in the Internet; if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal in the same local area network; and if the operating terminal receives the file uploading state, displaying the file uploading state. By implementing the embodiment of the invention, the operation terminal can also perform other operations while uploading the audio and video files, thereby being beneficial to the convenience of operation; meanwhile, time consumed by uploading files is reduced, and work efficiency is improved.

Description

File uploading method and system
Technical Field
The invention relates to the field of computer data processing, in particular to a file uploading method and system.
Background
In the process of selling financial products, the important talking content is often required to be subjected to double recording operation, namely, the selling process of the financial products is required to be subjected to sound recording and video recording so as to reduce transaction disputes. In the prior art, a "double recording" operation is generally to record a video through a network camera, where the video recorded by the network camera is stored in an electronic device (e.g., a tablet computer) connected to the network camera in real time, and then the video is uploaded to a server through a video uploading application program in the electronic device.
However, due to the limitation of the operating system of the electronic device, in the video uploading process, if the video uploading application program exits from the background or the screen of the electronic device is locked, the video uploading is often interrupted, so that other operations cannot be performed on the electronic device in the video uploading process. Even if the background thread of the electronic equipment is used for uploading the video, the video is limited by the residence time of the background thread, so that sufficient time cannot be guaranteed for completely uploading the video, and the problems of instable video uploading, inconvenient operation and the like are caused.
Disclosure of Invention
The embodiment of the invention provides a file uploading method and system, and aims to solve the problems of poor file uploading stability, inconvenient operation and the like.
In a first aspect, an embodiment of the present invention provides a file uploading method, which includes: if the recording terminal receives a recording operation instruction sent by an operation terminal located in the same local area network, audio and video recording is carried out according to the recording operation instruction to generate an audio and video file, and the audio and video file is transmitted to an uploading terminal located in the same local area network; if the uploading terminal receives the audio and video file, storing the audio and video file into a local storage, and uploading the audio and video file to a cloud storage server in the Internet; if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal in the same local area network; and if the file uploading state is received by the operation terminal, displaying the file uploading state.
In a second aspect, an embodiment of the present invention provides a file uploading system, where the system includes a terminal and a server, and the terminal includes:
the recording terminal is used for recording audio and video according to the recording operation instruction to generate an audio and video file and transmitting the audio and video file to an uploading terminal in the same local area network if the recording operation instruction sent by the operation terminals in the same local area network is received;
the uploading terminal comprises a first processing unit and a second processing unit; the first processing unit is used for storing the audio and video files to a local storage if the audio and video files are received, and uploading the audio and video files to a cloud storage server in the Internet; the second processing unit is used for generating a file uploading state according to response information if the response information returned by the cloud storage server is received, and sending the file uploading state to the operation terminals in the same local area network;
and the operation terminal is used for displaying the file uploading state if the file uploading state is received.
The embodiment of the invention provides a file uploading method and system. If the recording terminal receives a recording operation instruction sent by an operation terminal located in the same local area network, recording audio and video according to the recording operation instruction to generate an audio and video file, and transmitting the audio and video file to an uploading terminal located in the same local area network; if the uploading terminal receives the audio and video file, storing the audio and video file into a local storage, and uploading the audio and video file to a cloud storage server in the Internet; if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal in the same local area network; and if the file uploading state is received by the operation terminal, displaying the file uploading state. By implementing the embodiment of the invention, when the audio and video recording is carried out through the recording terminal, the audio and video file from the recording terminal can be directly received and stored through the uploading terminal, and the audio and video file is uploaded to the cloud storage server, so that the operation terminal can carry out other operations while uploading the audio and video file, and the operation convenience is facilitated; meanwhile, time consumed by uploading files is reduced, and work efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a file uploading method according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a file uploading method according to an embodiment of the present invention;
fig. 3 is another schematic flow chart illustrating a file uploading method according to an embodiment of the present invention;
fig. 4 is another schematic flow chart of a file uploading method according to an embodiment of the present invention;
fig. 5 is another schematic flow chart of a file uploading method according to an embodiment of the present invention;
fig. 6 is another schematic flow chart illustrating a file uploading method according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a file uploading system according to an embodiment of the present invention;
fig. 8 is another schematic block diagram of a file uploading system according to an embodiment of the present invention;
fig. 9 is another schematic block diagram of a file uploading system according to an embodiment of the present invention;
fig. 10 is another schematic block diagram of a file uploading system according to an embodiment of the present invention;
fig. 11 is another schematic block diagram of a file uploading system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Please refer to fig. 1 and fig. 2, which are a flowchart and an application scenario diagram of a file uploading method according to an embodiment of the present invention. The file uploading method provided by the embodiment of the invention can be applied to a file uploading system, and the file uploading system comprises a recording terminal 11, an uploading terminal 12 or an operating terminal 13. The recording terminal 11, the uploading terminal 12 or the operating terminal 13 in the file uploading system may form a local area network through the router 20, so that data interaction may be performed between the recording terminal 11, the uploading terminal 12 or the operating terminal 13. Meanwhile, the file uploading system can also be in network connection with the cloud storage server 30 through the router 20, so that the recording terminal 11, the uploading terminal 12 or the operating terminal 13 can perform data interaction with the cloud storage server 30 outside the local area network. The recording terminal 11, the uploading terminal 12 or the operating terminal 13 may be an electronic terminal such as a mobile phone, a tablet computer, an intelligent bracelet, or the like. The cloud storage server 30 may be an independent server, or may be a server cluster formed by a plurality of servers. As shown in fig. 1, the file uploading method includes steps S110 to S140.
And S110, if the recording terminal receives a recording operation instruction sent by an operation terminal in the same local area network, recording audio and video according to the recording operation instruction to generate an audio and video file, and transmitting the audio and video file to an uploading terminal in the same local area network.
Specifically, the recording operation instruction is generated by the operation terminal, and the recording operation instruction is sent to the recording terminal through the operation terminal so as to control the recording terminal to record audio and video and generate an audio and video file. A Local Area Network (LAN) refers to a terminal group formed by a plurality of terminals interconnected in a certain Area. Local area networks may implement file management, application sharing, printer sharing, scheduling within workgroups, email and fax communication services, etc. The local area network is closed and may consist of two terminals in an office or thousands of terminals in a company. The Internet (Internet), also known as the Internet, and the Internet, is a huge network formed by connecting networks in series, and these networks are connected by a set of general protocols to form a logically single huge international network.
In some embodiments, the recording operation instruction includes a start instruction and an end instruction, and as shown in fig. 3, the step S110 may include steps S111 to S112 a.
And S111, if the recording terminal receives a starting instruction sent by an operation terminal in the same local area network, starting audio and video recording, and detecting whether an ending instruction sent by the operation terminal is received.
Specifically, the recording operation instruction is generated by operating the operation terminal by a user, and the recording operation instruction includes a start instruction and an end instruction. The user can generate the starting instruction by clicking an operation button for starting recording in the recording application program on the operation terminal. The recording application program is installed in the application program of the operation terminal and used for performing man-machine interaction with a user so as to control the recording terminal to perform operations such as audio and video recording, audio and video file uploading, file uploading state checking and the like.
And S112a, if the recording terminal receives the ending instruction sent by the operation terminal, ending the audio and video recording, and transmitting the generated audio and video file to an uploading terminal in the same local area network.
Specifically, the user may generate the end instruction by clicking an operation button "stop recording" in the recording application program on the operation terminal. And if the recording terminal receives an ending instruction sent by the operating terminal, stopping audio and video recording, and generating an audio and video file according to the starting instruction and the ending instruction, namely generating the audio and video file with the starting time as the receiving time of the starting instruction and the ending time as the receiving time of the ending instruction. And then transmitting the audio and video file to an uploading terminal in the same local area network.
In some embodiments, as shown in FIG. 4, after the step S111, steps S112b-S113b may be further included.
S112b, if the end instruction sent by the operation terminal is not received, obtaining a duration of time during which the end instruction sent by the operation terminal is not received, and determining whether the duration of time is greater than a preset duration threshold.
Specifically, by obtaining the time length during which the ending instruction sent by the operation terminal is not received, whether the time length is greater than a preset time length threshold is judged to detect whether the audio/video recording is overtime, so as to prevent long-time recording caused by misoperation of a user, for example, after the user clicks an operation button of "start recording", a recording application program is closed, so that the operation terminal cannot receive the ending instruction.
And S113b, if the time length is greater than a preset time length threshold value, ending the audio and video recording and sending an overtime reminding message to the operation terminal, wherein the overtime reminding message is used for reminding the audio and video recording time length to be overtime.
Specifically, if the time length is greater than a preset time length threshold, the audio and video recording is ended, and an overtime reminding message is sent to the operation terminal to remind a user corresponding to the operation terminal. The overtime reminding message is used for reminding the audio and video recording time length to be overtime. The preset time threshold may be set according to actual requirements, for example, the preset time threshold may be 10 minutes.
And S120, if the uploading terminal receives the audio and video file, storing the audio and video file into a local storage, and uploading the audio and video file to a cloud storage server in the Internet.
Specifically, if the uploading terminal receives the audio and video file, the audio and video file is stored in a local storage to perform local data backup. And meanwhile, the audio and video files are uploaded to a cloud storage server in the Internet through a router, so that cloud storage backup and calling of background auditors are realized.
And S130, if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal in the same local area network.
Specifically, the response information may be an HTTP status code returned by the cloud storage server after receiving the file upload request of the upload terminal. The method for generating the file uploading state by the uploading terminal according to the received response information specifically comprises the following steps: and generating the file uploading state according to the response information and a preset state mapping relation. The HTTP Status Code (HTTP Status Code) is a 3-bit digital Code for indicating the response Status of the web server hypertext transfer protocol.
In some embodiments, as shown in FIG. 5, the step S130 may include steps S131-S132.
S131, if the uploading terminal receives the response information returned by the cloud storage server, traversing a preset state mapping table to acquire a state mapping relation matched with the response information.
Specifically, the preset state mapping table applies a state mapping relationship between the storage response information and the file uploading state. For example, the preset state mapping table includes a plurality of state mapping relationships, where the state mapping relationships include, but are not limited to: the HTTP status code "200" is mapped to the file upload status "upload successful", and the HTTP status code "400" is mapped to the file upload status "not upload successful".
And S132, generating a file uploading state corresponding to the response information according to the state mapping relation matched with the response information, and sending the file uploading state to an operation terminal in the same local area network.
In a specific implementation, it is assumed that the response information is an HTTP status code, and the response information is specifically an HTTP status code "200". The state mapping relation which is acquired by traversing the preset state mapping table and is matched with the response information is as follows: the HTTP status code "200" is mapped to the file upload status "upload successful". And generating a file uploading state corresponding to the response information as successful uploading according to the state mapping relation matched with the response information. And generating a file uploading state corresponding to the response information according to the state mapping relation matched with the response information, and sending the file uploading state to an operation terminal in the same local area network.
And S140, if the file uploading state is received by the operation terminal, displaying the file uploading state.
Specifically, the file uploading state can be displayed through a display interface of the operation terminal to prompt a user that the audio and video file is successfully uploaded to the cloud storage server.
In some embodiments, as shown in fig. 6, the file upload status comprises a successful upload status, and the method further comprises steps S210-S230.
And S210, judging whether the occupancy rate of the local memory of the uploading terminal is greater than a preset occupancy rate threshold value.
Specifically, a preset occupancy rate threshold may be set according to an actual requirement, for example, the preset occupancy rate threshold may be set to 80%, and if the occupancy rate of the local memory of the upload terminal is greater than 80%, it is determined that the occupancy rate of the local memory of the upload terminal is greater than the preset occupancy rate threshold; otherwise, determining that the occupancy rate of the local memory of the uploading terminal is not greater than the preset occupancy rate threshold.
And S220, if the occupancy rate of the local memory of the uploading terminal is greater than a preset occupancy rate threshold value, acquiring a file uploading state corresponding to the audio and video file in the local memory of the uploading terminal.
Specifically, if the occupancy rate of the local storage of the uploading terminal is greater than the preset occupancy rate threshold value, it indicates that the local storage of the uploading terminal stores more audio and video files, and in order to prevent the phenomenon that the audio and video files sent by the recording terminal cannot be stored due to the fact that the local storage of the uploading terminal is fully loaded, the audio and video files in the local storage need to be managed and optimized so as to reduce the occupancy rate of the local storage.
And S230, deleting the audio and video file of which the file uploading state is a successful uploading state.
Specifically, by acquiring a file uploading state corresponding to an audio/video file in a local memory of the uploading terminal and deleting the audio/video file of which the file uploading state is a successful uploading state, the occupancy rate of the local memory can be reduced, and the problems that the audio/video file cannot be stored and the like are prevented.
Fig. 7 is a schematic block diagram of a file uploading system 100 according to an embodiment of the present invention. As shown in fig. 7, the present invention also provides a file uploading system 100 corresponding to the above file uploading method. The file upload system 100 includes a recording terminal 110, an upload terminal 120, and an operation terminal 130.
The recording terminal 110 is configured to, if receiving a recording operation instruction sent by the operation terminal 130 located in the same local area network, perform audio/video recording according to the recording operation instruction to generate an audio/video file, and transmit the audio/video file to the uploading terminal 120 located in the same local area network.
In some embodiments, the recording operation instruction includes a start instruction and an end instruction, and as shown in fig. 8, the recording terminal 110 includes a start unit 111 and an end unit 112 a.
The starting unit 111 is configured to start audio and video recording if the recording terminal 110 receives a starting instruction sent by the operation terminal 130 located in the same local area network, and detect whether an ending instruction sent by the operation terminal 130 is received.
The ending unit 112a is configured to end the audio and video recording if the recording terminal 110 receives an ending instruction sent by the operation terminal 130, and transmit the generated audio and video file to the uploading terminal 120 located in the same local area network.
In some embodiments, as shown in fig. 9, the recording terminal 110 further includes a first judging unit 112b and a transmitting unit 113 b.
The first determining unit 112b is configured to, if the end instruction sent by the operation terminal 130 is not received, obtain a duration of time during which the end instruction sent by the operation terminal 130 is not received, and determine whether the duration of time is greater than a preset duration threshold.
The sending unit 113b is configured to, if the time length is greater than a preset time threshold, end audio and video recording and send an timeout reminding message to the operation terminal 130, where the timeout reminding message is used to remind the operation terminal that the audio and video recording time is timeout.
The upload terminal 120 includes a first processing unit 121 and a second processing unit 122. The first processing unit 121 is configured to, if the audio/video file is received, store the audio/video file in a local storage, and upload the audio/video file to a cloud storage server located in the internet.
The second processing unit 122 is configured to, if response information returned by the cloud storage server is received, generate a file uploading state according to the response information, and send the file uploading state to the operation terminal 130 located in the same local area network.
In some embodiments, as shown in fig. 10, the second processing unit 122 includes a first obtaining unit 1221 and a generating unit 1222.
The first obtaining unit 1221 is configured to traverse a preset state mapping table to obtain a state mapping relationship matching the response information if the upload terminal 120 receives the response information returned by the cloud storage server.
The generating unit 1222 is configured to generate a file uploading state corresponding to the response information according to the state mapping relationship matched with the response information, and send the file uploading state to the operation terminal 130 located in the same local area network.
In some embodiments, as shown in fig. 11, the uploading terminal 120 further includes a second determining unit 123, a second obtaining unit 124, and a deleting unit 125.
A second determining unit 123, configured to determine whether the occupancy rate of the local memory of the upload terminal 120 is greater than a preset occupancy rate threshold.
The second obtaining unit 124 is configured to obtain a file uploading state corresponding to the audio/video file in the local memory of the uploading terminal 120 if the occupancy rate of the local memory of the uploading terminal 120 is greater than a preset occupancy rate threshold.
And the deleting unit 125 is configured to delete the audio and video file with the file uploading state being a successful uploading state.
And the operation terminal 130 is configured to display the file uploading state if the file uploading state is received.
It should be noted that, as will be clear to those skilled in the art, for concrete implementation processes of the file uploading system and each unit, reference may be made to corresponding descriptions in the foregoing method embodiments, and for convenience and brevity of description, no further description is provided herein.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, more than one element or component may be combined or may be integrated into another system or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partly contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention should be determined by the appended claims and their equivalents, which are to be construed as broadly as possible, and in order to clearly illustrate this interchangeability of hardware and software, various illustrative components and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, more than one element or component may be combined or may be integrated into another system or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partly contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A file uploading method is applied to a file uploading system, the file uploading system comprises a recording terminal, an uploading terminal and an operating terminal, the uploading terminal and the operating terminal are electronic terminals, and the method is characterized by comprising the following steps:
if the recording terminal receives a recording operation instruction sent by an operation terminal located in the same local area network, audio and video recording is carried out according to the recording operation instruction to generate an audio and video file, and the audio and video file is transmitted to an uploading terminal located in the same local area network;
if the uploading terminal receives the audio and video file, the audio and video file is stored in a local storage device and uploaded to a cloud storage server in the Internet, so that the problem of interruption of video uploading caused by the fact that an uploading application program exits to a background or an electronic terminal locks a screen when an operation terminal uploads the audio and video file is avoided;
if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal in the same local area network;
if the file uploading state is received by the operation terminal, displaying the file uploading state;
the file upload status comprises a successfully uploaded status, and the method further comprises:
judging whether the occupancy rate of a local memory of the uploading terminal is greater than a preset occupancy rate threshold value or not;
if the occupancy rate of the local memory of the uploading terminal is larger than a preset occupancy rate threshold value, acquiring a file uploading state corresponding to the audio and video file in the local memory of the uploading terminal;
and deleting the audio and video file of which the file uploading state is a successful uploading state.
2. The method of claim 1, wherein the recording operation instruction comprises a start instruction and an end instruction, and if the recording terminal receives a recording operation instruction sent by an operation terminal located in the same local area network, performing audio/video recording according to the recording operation instruction to generate an audio/video file, and transmitting the audio/video file to an upload terminal located in the same local area network comprises:
if the recording terminal receives a starting instruction sent by an operation terminal in the same local area network, starting audio and video recording, and detecting whether an ending instruction sent by the operation terminal is received;
and if the recording terminal receives an end instruction sent by the operation terminal, ending the audio and video recording, and transmitting the generated audio and video file to an uploading terminal in the same local area network.
3. The method of claim 2, wherein if the recording terminal receives a start instruction sent by an operation terminal located in the same local area network, starting audio and video recording, and detecting whether an end instruction sent by the operation terminal is received, further comprising:
if the ending instruction sent by the operating terminal is not received, acquiring the duration of the ending instruction sent by the operating terminal, and judging whether the duration is greater than a preset duration threshold value or not;
if the time length is larger than a preset time length threshold value, ending the audio and video recording and sending an overtime reminding message to the operation terminal, wherein the overtime reminding message is used for reminding the audio and video recording time length to be overtime.
4. The method of claim 1, wherein if the uploading terminal receives response information returned by the cloud storage server, generating a file uploading state according to the response information, and sending the file uploading state to an operation terminal located in the same local area network, the method comprises:
if the uploading terminal receives response information returned by the cloud storage server, traversing a preset state mapping table to obtain a state mapping relation matched with the response information;
and generating a file uploading state corresponding to the response information according to the state mapping relation matched with the response information, and sending the file uploading state to an operation terminal in the same local area network.
5. A file upload system, the system comprising:
the recording terminal is used for recording audio and video according to the recording operation instruction to generate an audio and video file if receiving the recording operation instruction sent by the operation terminals located in the same local area network, and transmitting the audio and video file to an uploading terminal located in the same local area network;
the uploading terminal comprises a first processing unit and a second processing unit; the first processing unit is used for storing the audio and video files to a local storage device and uploading the audio and video files to a cloud storage server in the Internet if the audio and video files are received, so that the problem of interruption of video uploading caused by that an uploading application program exits to a background or an electronic terminal is locked when an operation terminal uploads the audio and video files is solved; the second processing unit is used for generating a file uploading state according to response information if the response information returned by the cloud storage server is received, and sending the file uploading state to an operation terminal in the same local area network;
the operation terminal is used for displaying the file uploading state if the file uploading state is received;
the upload terminal with the operation terminal is electronic terminal, the upload terminal still includes:
the second judgment unit is used for judging whether the occupancy rate of the local memory of the uploading terminal is greater than a preset occupancy rate threshold value or not;
the second acquisition unit is used for acquiring a file uploading state corresponding to the audio and video file in the local memory of the uploading terminal if the occupancy rate of the local memory of the uploading terminal is greater than a preset occupancy rate threshold value;
and the deleting unit is used for deleting the audio and video file with the file uploading state being the successful uploading state.
6. The system of claim 5, wherein the recording operation command includes a start command and an end command, and the recording terminal includes:
the starting unit is used for starting audio and video recording if the recording terminal receives a starting instruction sent by an operation terminal in the same local area network, and detecting whether an ending instruction sent by the operation terminal is received or not;
and the ending unit is used for ending the audio and video recording and transmitting the generated audio and video files to the uploading terminal in the same local area network if the recording terminal receives an ending instruction sent by the operation terminal.
7. The system of claim 6, wherein the recording terminal further comprises:
the first judging unit is used for acquiring the duration of the end instruction sent by the operation terminal if the end instruction sent by the operation terminal is not received, and judging whether the duration is greater than a preset duration threshold or not;
and the sending unit is used for finishing recording the audio and video and sending an overtime reminding message to the operation terminal if the time length is greater than a preset time threshold, wherein the overtime reminding message is used for reminding the audio and video recording that the time length is overtime.
8. The system of claim 5, wherein the second processing unit comprises:
the first obtaining unit is used for traversing a preset state mapping table to obtain a state mapping relation matched with the response information if the uploading terminal receives the response information returned by the cloud storage server;
and the generating unit is used for generating a file uploading state corresponding to the response information according to the state mapping relation matched with the response information and sending the file uploading state to the operation terminals in the same local area network.
CN201910823457.5A 2019-09-02 2019-09-02 File uploading method and system Active CN110620890B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910823457.5A CN110620890B (en) 2019-09-02 2019-09-02 File uploading method and system
PCT/CN2020/087125 WO2021042744A1 (en) 2019-09-02 2020-04-27 File uploading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910823457.5A CN110620890B (en) 2019-09-02 2019-09-02 File uploading method and system

Publications (2)

Publication Number Publication Date
CN110620890A CN110620890A (en) 2019-12-27
CN110620890B true CN110620890B (en) 2022-07-22

Family

ID=68922186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910823457.5A Active CN110620890B (en) 2019-09-02 2019-09-02 File uploading method and system

Country Status (2)

Country Link
CN (1) CN110620890B (en)
WO (1) WO2021042744A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620890B (en) * 2019-09-02 2022-07-22 深圳壹账通智能科技有限公司 File uploading method and system
CN111223502B (en) * 2020-01-11 2021-12-07 青岛希望鸟科技有限公司 Double-recording interaction control system and control method
CN112581650A (en) * 2020-11-12 2021-03-30 江苏北斗星通汽车电子有限公司 Video data processing method and device based on intelligent cabin and electronic terminal
CN113286195A (en) * 2020-12-11 2021-08-20 苏州律点信息科技有限公司 Verification method and device for uploaded video and cloud server
CN112954029A (en) * 2021-01-30 2021-06-11 上海上实龙创智能科技股份有限公司 Internet of things data acquisition system capable of continuously acquiring data
CN113014879A (en) * 2021-03-05 2021-06-22 深圳市警威警用装备有限公司 5G intelligent terminal audio and video management system
CN113784225A (en) * 2021-07-28 2021-12-10 深圳市星范儿文化科技有限公司 Information card generation method and system based on intelligent reading kiosk
CN114143569B (en) * 2021-11-18 2024-02-27 聚好看科技股份有限公司 Webpage recording and live broadcasting method and system
CN114817200B (en) * 2022-05-06 2024-04-05 新疆利丰智能科技股份有限公司 Internet of things-based document data cloud management method, system and storage medium
CN116629811A (en) * 2023-07-26 2023-08-22 太平金融科技服务(上海)有限公司深圳分公司 Double-record file processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368737A (en) * 2011-11-25 2012-03-07 裘嘉 Cloud storage system and data access method thereof
CN105281987A (en) * 2014-06-03 2016-01-27 腾讯科技(深圳)有限公司 Router and data upload method, device and system
CN109120645A (en) * 2018-10-25 2019-01-01 北京大米未来科技有限公司 A kind of file uploading method, device, electronic equipment and medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4353816B2 (en) * 2004-01-22 2009-10-28 シャープ株式会社 Information recording device
US8412792B2 (en) * 2007-07-31 2013-04-02 Brent Young Network file transfer and caching system
KR20140028454A (en) * 2012-08-29 2014-03-10 삼성전자주식회사 Method and system for storing data of portable terminal
CN102833337B (en) * 2012-08-30 2016-03-02 北京星网锐捷网络技术有限公司 A kind of ftp file is uploaded, method for down loading and device
JP6095204B2 (en) * 2012-10-18 2017-03-15 哲丸 村田 Carrying case
KR102112605B1 (en) * 2013-07-01 2020-05-19 삼성전자 주식회사 Mobile device and Method for controlling network transfer of the mobile device
CN107645629A (en) * 2016-07-22 2018-01-30 深圳市福云明网络科技有限公司 The method and apparatus of the one-to-many control video camera of mobile phone
CN109981702B (en) * 2017-12-27 2022-04-15 深圳市优必选科技有限公司 File storage method and system
CN110620890B (en) * 2019-09-02 2022-07-22 深圳壹账通智能科技有限公司 File uploading method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368737A (en) * 2011-11-25 2012-03-07 裘嘉 Cloud storage system and data access method thereof
CN105281987A (en) * 2014-06-03 2016-01-27 腾讯科技(深圳)有限公司 Router and data upload method, device and system
CN109120645A (en) * 2018-10-25 2019-01-01 北京大米未来科技有限公司 A kind of file uploading method, device, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
提高局域网内共享传输速度的几种方法;zchui1124;《道客巴巴》;20150201;全文 *

Also Published As

Publication number Publication date
CN110620890A (en) 2019-12-27
WO2021042744A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN110620890B (en) File uploading method and system
CN102739411B (en) The service of proof is provided
US20080126492A1 (en) Pinging for the Presence of a Server in a Peer to Peer Monitoring System
US20090177743A1 (en) Device, Method and Computer Program Product for Cluster Based Conferencing
US10432725B2 (en) Server access processing system
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
US20200280501A1 (en) Automation of customer support sorting process
US11700291B2 (en) Automatic issue identification and status notification of screensharing in a virtual meeting
CN103490978A (en) Terminal, server and message monitoring method
CN105930249B (en) Using monitoring method and device
CN110311855B (en) User message processing method and device, electronic equipment and storage medium
CN111865674A (en) Log processing method, device and medium
US11403091B1 (en) Application healthcheck communicator
CN110933152A (en) Preheating method, device and system and electronic equipment
JPH10285164A (en) Network control system, method and recording medium recording network management program
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN110012051A (en) Notify method for pushing, device, terminal device, server and system
US20080084876A1 (en) System and method for intelligent data routing
CN112838980A (en) Message processing method, system, device, electronic equipment and storage medium
CN111654526A (en) Load balancing method and system for streaming media server
CN114422467B (en) Customer service message management system and method
US10638202B1 (en) State synchronization and management for two-way connected consumer electronic devices
CN112671590B (en) Data transmission method and device, electronic equipment and computer storage medium
CN110233744B (en) Conference state display method, conference state updating method and device
CN108881774B (en) Calling system and method for multimedia network call

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