CN113590565B - Series multi-terminal data transmission method, system, equipment and medium - Google Patents

Series multi-terminal data transmission method, system, equipment and medium Download PDF

Info

Publication number
CN113590565B
CN113590565B CN202110922647.XA CN202110922647A CN113590565B CN 113590565 B CN113590565 B CN 113590565B CN 202110922647 A CN202110922647 A CN 202110922647A CN 113590565 B CN113590565 B CN 113590565B
Authority
CN
China
Prior art keywords
data
file
terminal
server
state
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
CN202110922647.XA
Other languages
Chinese (zh)
Other versions
CN113590565A (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.)
Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Original Assignee
Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Leading Wisdom Telecommunication and Technology Co Ltd filed Critical Hunan Leading Wisdom Telecommunication and Technology Co Ltd
Priority to CN202110922647.XA priority Critical patent/CN113590565B/en
Publication of CN113590565A publication Critical patent/CN113590565A/en
Application granted granted Critical
Publication of CN113590565B publication Critical patent/CN113590565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/172Caching, prefetching or hoarding of files
    • 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

Abstract

The application relates to a serial multi-terminal data transmission method, device, equipment and medium. The method comprises the following steps: the method comprises the steps that a user side sends a file uploading request to a server side, the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side, the server side sends the data ID corresponding to the file directory to a terminal, when the terminal receives the data ID, the terminal jumps to a page to be uploaded and stores the data ID, the user side sends each file in the file directory and the corresponding data ID thereof to the server side, after uploading is completed, the state of the stored data is modified from being uploaded to being downloaded, the terminal is notified to download the file, after downloading is completed, the corresponding data ID is fed back to the server side, and the server side modifies the state of the stored data from being downloaded to being downloaded according to the fed back data ID. By adopting the method, the ports which are isolated relatively can be communicated accurately.

Description

Series multi-terminal data transmission method, system, equipment and medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a serial multi-port data transmission method, system, computer device, and storage medium.
Background
The existing intelligent Yin Yun screen product is composed of three different modules, namely a mobile phone APP end, a display terminal and a background server end, wherein no physical communication exists between the mobile phone end and the terminal, the data transmission between the mobile phone end and the terminal is switched by the server end, one service in the intelligent cloud screen service flow is a conference uploading file, the conference file is uploaded to the server end after the APP end selects the file, and the server end receives the file and then notifies the terminal to download. In the process, as the service requirement is met, the terminal needs to respond immediately when the file is uploaded at the mobile phone end, the page waiting for the completion of the file uploading is displayed, and the terminal jumps to the file downloading page after the file is normally uploaded.
However, at present, the user can end the process at the terminal, if the file is not uploaded to the server at this time, and the user can not inform the APP end to cancel the file uploading at this time, after waiting for the file uploading to succeed, the server creates a piece of data to be downloaded, and at this time, the terminal has exited the downloading page, and the server cannot inform the terminal to download. Thus, faults appear in the whole flow, and the user cannot perform any operation later.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a serial multi-port data transmission method, system, computer device and storage medium that enables relatively isolated ports to communicate accurately.
A method of serially connected multi-terminal data transmission, the method comprising:
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the stored data comprises a data ID, creation time, a storage path and a storage state;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading;
when the server judges that the state of the stored data is downloading, the server informs the terminal of downloading the file, and after the terminal finishes downloading, the server feeds back the corresponding data ID to the server, and the server modifies the state of the stored data from downloading to finishing according to the fed-back data ID.
In one embodiment, the method further comprises: when the terminal is in a state waiting for uploading, receiving a flow ending instruction, and forwarding a cancel downloading instruction to the user side through the server side according to the flow ending instruction and the data ID stored in the terminal so as to enable the user side to stop uploading files corresponding to the data ID.
In one embodiment, according to the flow end instruction and the data ID stored in the terminal, modifying the state of the corresponding stored data in the database of the server from the state to be uploaded to the flow end state; when the user side uploads the file, if the state corresponding to the stored data of the file is detected to be the flow end state, the uploading of the file corresponding to the data ID is stopped.
In one embodiment, a client sends a file upload request to a server, and the server receives the file upload request and feeds back a data ID of a file directory to be uploaded to the client, including: each file in the file directory to be uploaded sends a file uploading request to the server, and the server creates a data ID corresponding to the file in the database after receiving the file uploading request.
In one embodiment, when a preset deletion condition is satisfied, modifying the state of the downloaded stored data to a flow end state; the server traverses the database, and when a storage path exists in the storage data with the state of the flow end state, the server deletes the storage file corresponding to the storage path.
In one embodiment, when the server side determines that the state of the stored data is downloading, notifying the terminal to download the file, including; when the server side judges that the state of the stored data is downloading, the server side informs the terminal of downloading the file, and after the terminal receives the notification, the terminal jumps to the file downloading page from the page waiting to be uploaded, and starts downloading the file.
A serial multi-port data transmission system, the system comprising:
the system comprises a user terminal, a service terminal and a terminal;
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the stored data comprises a data ID, creation time, a storage path and a storage state;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading;
when the server judges that the state of the stored data is downloading, the server informs the terminal of downloading the file, and after the terminal finishes downloading, the server feeds back the corresponding data ID to the server, and the server modifies the state of the stored data from downloading to finishing according to the fed-back data ID.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the stored data comprises a data ID, creation time, a storage path and a storage state;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading;
when the server judges that the state of the stored data is downloading, the server informs the terminal of downloading the file, and after the terminal finishes downloading, the server feeds back the corresponding data ID to the server, and the server modifies the state of the stored data from downloading to finishing according to the fed-back data ID.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the stored data comprises a data ID, creation time, a storage path and a storage state;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading;
when the server judges that the state of the stored data is downloading, the server informs the terminal of downloading the file, and after the terminal finishes downloading, the server feeds back the corresponding data ID to the server, and the server modifies the state of the stored data from downloading to finishing according to the fed-back data ID.
The method, the system, the computer equipment and the storage medium for transmitting the data with multiple ends in series, wherein the user side sends a file uploading request to the server side, and the server side receives the file uploading request and feeds back the data ID of the file catalogue to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID; the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading; when the server judges that the state of the stored data is downloading, the server informs the terminal to download the file, after the terminal finishes downloading, the corresponding data ID is fed back to the server, and the server modifies the state of the stored data from downloading to downloading according to the fed-back data ID.
Drawings
FIG. 1 is a flow chart of a method for serially connecting multiple terminals in one embodiment;
FIG. 2 is a timing diagram of a method of serially connected multi-port data transmission according to one embodiment;
FIG. 3 is a diagram illustrating a multi-port communication interaction of a serial multi-port data transmission system according to one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a serial multi-port data transmission method is provided, including the steps of:
step 102, a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the method comprises the steps of creating storage data of each file in a file catalog in a database of a server side, marking the state of the storage data as to be uploaded, wherein the storage data, a data ID and the marks correspond one by one, and the storage data comprises the data ID, creation time, a storage path and a storage state.
The user terminal refers to a program corresponding to a server and providing local service for clients, and generally refers to APP on a mobile phone or application software on computer equipment. The server refers to a background server, and the server usually uses a network as a medium, and can provide services for the inside through a local area network or provide services for the outside through a wide area network. The method comprises the steps that a user side sends a file uploading request to a server side, the server side creates a piece of storage data in a database according to the request, then returns a data ID to the user side, each file in a file catalog of the user side executes the operation to obtain the data ID of the file catalog, the storage data, the data ID and a mark form a one-to-one relation, in the subsequent data transmission process, the current state of the storage data of the file is obtained at any time according to the data ID of the file, the state of the corresponding file is obtained according to the current state of the storage data, and then the next operation is carried out.
And 104, the server sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID.
The terminal, i.e. the computer display terminal, is an input and output device of the computer system. After the terminal stores the data ID, the file to be downloaded is identified after receiving the download notification of the server according to the data ID, whether the file is the file to be downloaded is checked, if the file is the file to be downloaded, the downloading work is carried out, if the file is not the file to be downloaded, the terminal can end the transmission flow of the file, the terminal feeds the data ID of the file back to the server, the server modifies the state of the stored data of the file according to the data ID of the file, and notifies the user to cancel the uploading of the file according to the state of the stored data.
And 106, the user side sends each file in the file catalog and the corresponding data ID to the server side, the server side stores each file in the file catalog in the server side according to the data ID and records the stored data to the database, and the state of the stored data is changed from to-be-uploaded to downloading after the uploading is completed.
The file is stored in the server and the stored data is recorded in the database, the stored data, the data ID and the mark are in one-to-one correspondence identification relationship, and are not dependent relationships, the server modifies the state of the stored data in the database according to the data ID, obtains the state of the file according to the state of the modified stored data, and simultaneously sends related requests to the terminal and the user side for data transmission.
And step 108, when the server judges that the state of the stored data is downloading, the server informs the terminal of downloading the file, and after the terminal finishes downloading, the server feeds back the corresponding data ID to the server, and the server modifies the state of the stored data from downloading to finishing downloading according to the fed-back data ID.
And the server modifies the state of the stored data corresponding to the data ID in the database into the downloading completion according to the fed-back data ID. And carrying out accurate operation on the stored data in the database through the data ID.
The method, the system, the computer equipment and the storage medium for transmitting the data with multiple ends in series, wherein the user side sends a file uploading request to the server side, and the server side receives the file uploading request and feeds back the data ID of the file catalogue to be uploaded to the user side; the method comprises the steps that storage data of each file in a file directory are created in a database of a server side, the state of the storage data is marked to be uploaded, and the storage data, data IDs and marks correspond to each other one by one; the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID; the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is finished, the state of the stored data is changed from uploading to downloading; when the server judges that the state of the stored data is downloading, the server informs the terminal to download the file, after the terminal finishes downloading, the corresponding data ID is fed back to the server, and the server modifies the state of the stored data from downloading to downloading according to the fed-back data ID.
In one embodiment, the method further comprises: when the terminal is in a state waiting for uploading, receiving a flow ending instruction, and forwarding a cancel downloading instruction to the user side through the server side according to the flow ending instruction and the data ID stored in the terminal so as to enable the user side to stop uploading files corresponding to the data ID.
The existing intelligent Yin Yun screen product is currently composed of three different modules, namely a user end, a terminal and a server end, wherein the user end and the terminal are not in physical communication, a user clicks a cancel file to upload at the terminal, and after receiving a flow end instruction, the terminal accurately informs the server end of a file to be cancelled according to the data ID of the file and exits from a page waiting to be downloaded. After receiving the instruction of canceling downloading, the server informs the user end to stop uploading the file corresponding to the data ID, and through the data ID, accurate communication between the terminal and the user end can be realized.
In one embodiment, according to the flow end instruction and the data ID stored in the terminal, modifying the state of the corresponding stored data in the database of the server from the state to be uploaded to the flow end state; when the user side uploads the file, if the state corresponding to the stored data of the file is detected to be the flow end state, the uploading of the file corresponding to the data ID is stopped.
When the user side uploads the file, the state corresponding to the stored data of the file is detected to be a flow end state and is not to be uploaded, and the user side stops uploading the file corresponding to the data ID.
In one embodiment, a client sends a file upload request to a server, and the server receives the file upload request and feeds back a data ID of a file directory to be uploaded to the client, including: each file in the file directory to be uploaded sends a file uploading request to the server, and the server creates a data ID corresponding to the file in the database after receiving the file uploading request.
The data IDs of the files are in one-to-one correspondence with the files, and the data IDs corresponding to the files created in the database are unique.
In one embodiment, after the server modifies the state of the stored data from being downloaded to being downloaded according to the fed-back data ID, the method further includes: when the preset deleting condition is met, modifying the state of the downloaded stored data into a flow ending state; the server traverses the database, and when a storage path exists in the storage data with the state of the flow end state, the server deletes the storage file corresponding to the storage path.
When the data volume of the database is too large, the load of the server becomes large, the running speed of the server becomes slow along with the increase, in order to prevent the data volume of the database from being too large, deletion conditions are preset according to the memory of the server and the data volume of the database, when the downloaded stored data accords with the deletion conditions, the state of the stored data with the state being the downloaded stored data is modified to be the flow end state according to the data ID fed back by the server, after the server traverses the database, the stored data with the state being the flow end state is deleted, the data volume of the database is reduced, and meanwhile, the stored files corresponding to the stored path are deleted.
In one embodiment, when the server side determines that the state of the stored data is downloading, notifying the terminal to download the file, including; when the server side judges that the state of the stored data is downloading, the server side informs the terminal of downloading the file, and after the terminal receives the notification, the terminal jumps to the file downloading page from the page waiting to be uploaded, and starts downloading the file.
After the file is uploaded at the server, judging that the file is in a downloading state according to the data ID, informing the terminal to download the file, after the terminal receives the notification, jumping from a page waiting for uploading to a file downloading page, starting downloading the file in the downloading page, monitoring the downloading progress, and after the file downloading is completed, exiting the file from the downloading channel.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, as shown in FIG. 3, a serial multi-port data transmission system is provided, comprising: a user end 302, a server end 304 and a terminal 306, wherein:
the user side 302 sends a file uploading request to the server side 304, and the server side 304 receives the file uploading request and feeds back the data ID of the file directory to be uploaded to the user side 302; the database of the server 304 creates storage data of each file in the file directory, marks the state of the storage data as to be uploaded, and the storage data, the data ID and the mark correspond one to one, and the storage data comprises the data ID, creation time, a storage path and a storage state;
the server 304 sends the data ID corresponding to the file directory to the terminal 306, and when the terminal 306 receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the user side 302 sends each file in the file catalog and the corresponding data ID thereof to the server side 304, the server side 304 stores each file in the file catalog in the server side according to the data ID and records the stored data to the database, and after uploading is completed, the state of the stored data is modified from to-be-uploaded to being downloaded;
when the server 304 determines that the state of the stored data is downloading, the terminal 306 is notified to download the file, after the terminal 306 finishes downloading, the corresponding data ID is fed back to the server 304, and the server 304 modifies the state of the stored data from downloading to downloading according to the fed-back data ID.
In one embodiment, when the terminal 306 is in a state waiting for uploading, a flow end instruction is received, and according to the flow end instruction and the data ID stored in the terminal 306, a cancel download instruction is forwarded to the client 302 by the server 304, so that the client 304 stops uploading the file corresponding to the data ID.
In one embodiment, according to the flow end instruction and the data ID stored in the terminal 306, modifying the state of the corresponding stored data in the database of the server 304 from the state to be uploaded to the flow end state; when the user side 302 uploads the file, if it detects that the state corresponding to the stored data of the file is the flow end state, uploading of the file corresponding to the data ID is stopped.
In one embodiment, the client 302 sends a file upload request to the server 304, and the server 304 receives the file upload request and feeds back to the client 302 the data ID of the file directory to be uploaded, including: each file in the file directory to be uploaded sends a file uploading request to the server 304, and the server 304 creates a data ID corresponding to the file in the database after receiving the file uploading request.
In one embodiment, when a preset deletion condition is satisfied, modifying the state of the downloaded stored data to a flow end state; the server 304 traverses the database, and when a storage path exists in the storage data with the state being the flow end state, the server 304 deletes the storage file corresponding to the storage path.
In one embodiment, when the server 304 determines that the state of the stored data is downloading, notifying the terminal 306 to download the file, including; when the server 304 determines that the state of the stored data is downloading, the terminal 306 is notified to download the file, and after receiving the notification, the terminal 306 jumps from the page waiting for uploading to the file downloading page, and starts downloading the file.
For a specific limitation of a serial multi-port data transmission device, reference may be made to the above limitation of a serial multi-port data transmission method, and the description thereof will not be repeated here. The modules in the serial multi-port data transmission device can be realized in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to implement a serial multiport data transmission method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment a computer device is provided comprising a memory storing a computer program and a processor implementing the steps of the method of the above embodiments when the computer program is executed.
In one embodiment, a computer storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method of the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (7)

1. A method of serially connected multi-terminal data transmission, the method comprising:
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the server side establishes storage data of each file in the file catalog in a database, and marks the state of the storage data as to-be-uploaded, wherein the storage data, the data ID and the marks are in one-to-one correspondence; the storage data comprises a data ID, creation time, a storage path and a storage state;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is completed, the state of the stored data is modified from to-be-uploaded to being downloaded;
when the server side judges that the state of the stored data is downloading, the server side informs the terminal of downloading the file, and after the terminal finishes downloading, the server side feeds back the corresponding data ID to the server side, and the server side modifies the state of the stored data from downloading to finishing according to the fed-back data ID;
when the terminal is in a state waiting for uploading, receiving a flow ending instruction, and forwarding a cancel downloading instruction to the user side through the server side according to the flow ending instruction and the data ID stored in the terminal so as to enable the user side to stop uploading files corresponding to the data ID;
and forwarding a cancel download instruction to the user side through the server side according to the flow end instruction and the data ID stored in the terminal, so that the user side stops uploading the file corresponding to the data ID, and the method comprises the following steps:
modifying the state of the corresponding stored data in the database of the server from the state to be uploaded to the state of ending the flow according to the flow ending instruction and the data ID stored in the terminal;
when the user side uploads the file, if the state corresponding to the stored data of the file is detected to be the flow end state, the uploading of the file corresponding to the data ID is stopped.
2. The method of claim 1, wherein the sending, by the client, a file upload request to the server, the server receiving the file upload request and feeding back, to the client, a data ID of a file directory to be uploaded, comprises:
and each file in the file catalogue to be uploaded sends a file uploading request to a server, and the server creates a data ID corresponding to the file in a database after receiving the file uploading request.
3. The method of claim 1, wherein the server modifies the status of the stored data from being downloaded to being downloaded according to the fed-back data ID, further comprising:
when a preset deleting condition is met, modifying the state of the downloaded stored data into a flow ending state;
the server traverses the database, and when a storage path exists in the storage data with the state being the flow end state, the server deletes the storage file corresponding to the storage path.
4. The method according to claim 1, wherein when the server side determines that the state of the stored data is downloading, notifying the terminal to download the file, including;
and when the server side judges that the state of the stored data is downloading, notifying the terminal to download the file, and after receiving the notification, jumping to the file downloading page from the page waiting for uploading, and starting to download the file.
5. A serial multi-port data transmission system, the system comprising:
the system comprises a user terminal, a service terminal and a terminal;
the method comprises the steps that a user side sends a file uploading request to a server side, and the server side receives the file uploading request and feeds back a data ID of a file directory to be uploaded to the user side; the server side establishes storage data of each file in the file catalog in a database, and marks the state of the storage data as to-be-uploaded, wherein the storage data, the data ID and the marks are in one-to-one correspondence;
the server side sends the data ID corresponding to the file directory to the terminal, and when the terminal receives the data ID, the terminal jumps to a page waiting for uploading and stores the data ID;
the method comprises the steps that a user side sends each file in a file catalog and a corresponding data ID (identity) to a server side, the server side stores each file in the file catalog in the server side according to the data ID, the stored data are recorded in a database, and after uploading is completed, the state of the stored data is modified from to-be-uploaded to being downloaded;
when the server side judges that the state of the stored data is downloading, the server side informs the terminal of downloading the file, and after the terminal finishes downloading, the server side feeds back the corresponding data ID to the server side, and the server side modifies the state of the stored data from downloading to finishing according to the fed-back data ID;
when the terminal is in a state waiting for uploading, receiving a flow ending instruction, and forwarding a downloading canceling instruction to the user side by the server side according to the flow ending instruction and the data ID stored in the terminal, wherein the user side stops uploading files corresponding to the data ID;
the server forwards a cancel download instruction to the user side according to the flow end instruction and the data ID stored in the terminal, and the user side stops uploading the file corresponding to the data ID, and the method comprises the following steps:
the server modifies the state of the corresponding stored data in the database of the server from to-be-uploaded to a flow ending state according to the flow ending instruction and the data ID stored in the terminal;
when the user side uploads the file, if the state corresponding to the stored data of the file is detected to be the flow end state, the uploading of the file corresponding to the data ID is stopped.
6. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202110922647.XA 2021-08-12 2021-08-12 Series multi-terminal data transmission method, system, equipment and medium Active CN113590565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110922647.XA CN113590565B (en) 2021-08-12 2021-08-12 Series multi-terminal data transmission method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110922647.XA CN113590565B (en) 2021-08-12 2021-08-12 Series multi-terminal data transmission method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN113590565A CN113590565A (en) 2021-11-02
CN113590565B true CN113590565B (en) 2023-12-22

Family

ID=78257373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110922647.XA Active CN113590565B (en) 2021-08-12 2021-08-12 Series multi-terminal data transmission method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN113590565B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833337A (en) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 FTP (File Transfer Protocol) file uploading, downloading method and device
CN107483627A (en) * 2017-09-12 2017-12-15 网宿科技股份有限公司 A kind of file distributing, method for down loading, Distributor, client and system
CN107623706A (en) * 2016-07-13 2018-01-23 中兴通讯股份有限公司 Document transmission method and device
CN107770229A (en) * 2016-08-23 2018-03-06 中国电信股份有限公司 High in the clouds sharing files method, system and Cloud Server
CN109922142A (en) * 2019-02-21 2019-06-21 阿里巴巴集团控股有限公司 A kind of document down loading method, apparatus and system
CN110198304A (en) * 2019-04-30 2019-09-03 视联动力信息技术股份有限公司 A kind of method and apparatus of controlling terminal
CN111355972A (en) * 2020-03-02 2020-06-30 乐乐启航(北京)教育科技有限公司 Video stream processing method, server, client and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833337A (en) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 FTP (File Transfer Protocol) file uploading, downloading method and device
CN107623706A (en) * 2016-07-13 2018-01-23 中兴通讯股份有限公司 Document transmission method and device
CN107770229A (en) * 2016-08-23 2018-03-06 中国电信股份有限公司 High in the clouds sharing files method, system and Cloud Server
CN107483627A (en) * 2017-09-12 2017-12-15 网宿科技股份有限公司 A kind of file distributing, method for down loading, Distributor, client and system
CN109922142A (en) * 2019-02-21 2019-06-21 阿里巴巴集团控股有限公司 A kind of document down loading method, apparatus and system
CN110198304A (en) * 2019-04-30 2019-09-03 视联动力信息技术股份有限公司 A kind of method and apparatus of controlling terminal
CN111355972A (en) * 2020-03-02 2020-06-30 乐乐启航(北京)教育科技有限公司 Video stream processing method, server, client and medium

Also Published As

Publication number Publication date
CN113590565A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US20220109974A1 (en) Esim card change method and related device
CN108683679B (en) Multi-account login method, device, equipment and storage medium of Web APP
CN108256114B (en) Document online preview method and device, computer equipment and storage medium
CN110750267B (en) Service information updating method, device, computer equipment and storage medium
CN103475682B (en) File transfer method and file transfer equipment
CN111343236A (en) Method, device and communication system for communication between server and client
CN107689976B (en) File transmission method and device
CN110602165B (en) Government affair data synchronization method, device, system, computer equipment and storage medium
CN109460252B (en) Configuration file processing method and device based on git and computer equipment
CN108966159B (en) Short message withdrawing method, system, computer equipment and storage medium
CN110704095A (en) Workflow-based configuration processing method and device, computer equipment and storage medium
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN112689170B (en) Content playing method of display terminal, display terminal and readable storage medium
CN104252513A (en) File caching device, system and method
CN113590565B (en) Series multi-terminal data transmission method, system, equipment and medium
CN109814949A (en) Virtual telephony state switching method, device, computer equipment and storage medium
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
CN111107120B (en) Redis cluster construction method and system
CN111026988A (en) Page loading method, device and system and computer equipment
CN106445700B (en) A kind of URL matching process and device
CN104866245A (en) Method and device for synchronous snapshot between cache equipment and storage system
CN110875960A (en) Address book updating method, server and terminal
CN110795389B (en) Storage snapshot based copying method, user equipment, storage medium and device
CN112612848A (en) Method, device and system for real-time data synchronization, electronic equipment and storage medium

Legal Events

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