WO2018090511A1 - Method and system for accessing file in process of transmitting multiple files - Google Patents

Method and system for accessing file in process of transmitting multiple files Download PDF

Info

Publication number
WO2018090511A1
WO2018090511A1 PCT/CN2017/077036 CN2017077036W WO2018090511A1 WO 2018090511 A1 WO2018090511 A1 WO 2018090511A1 CN 2017077036 W CN2017077036 W CN 2017077036W WO 2018090511 A1 WO2018090511 A1 WO 2018090511A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
server
files
storage address
successfully transmitted
Prior art date
Application number
PCT/CN2017/077036
Other languages
French (fr)
Chinese (zh)
Inventor
王新
Original Assignee
广州视源电子科技股份有限公司
广州视臻信息科技有限公司
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 广州视源电子科技股份有限公司, 广州视臻信息科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018090511A1 publication Critical patent/WO2018090511A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present invention relates to file transfer and access technologies, and in particular to a method and system for accessing files during the process of transferring a plurality of files.
  • local client files need to be converted to image format for storage, and these image format files are transmitted to the server one by one.
  • the server sends a storage address to the local client having the display function, and the client generates a two-dimensional code according to the received storage address. And display it.
  • the portable electronic device can access the server by scanning the generated two-dimensional code, and obtain and browse the image format file stored therein.
  • a problem existing in the prior art is that it takes a period of time from the start of the transfer of the picture format file to the end of the transfer. After the transfer is completed, the server sends the storage address to the client, and the client can display the storage address in the form of a two-dimensional code. .
  • the server sends the storage address to the client, and the client can display the storage address in the form of a two-dimensional code.
  • the client can display the storage address in the form of a two-dimensional code.
  • the present invention provides a method for accessing a file during the process of transferring a plurality of files, which can optimize the speed of generating the two-dimensional code, so that the user has a better experience.
  • the method includes the following steps:
  • Step 1 The first device sends a file transfer request to the server.
  • Step 2 The first device receives file storage address information sent by the server.
  • Step 3 The first device transmits the file to the server according to the file storage address received from the server;
  • Step 4 The number of files successfully transmitted by the first device in the process of transmitting the file to the server is compared with the preset threshold number of successfully transmitted files. When the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, the first The device displays a QR code that includes the file storage address sent by the server.
  • the first device receives the file transmission feedback information of the server during the process of transmitting the file to the server, and determines, according to the feedback information, whether the current file is successfully transmitted. If the current file is successfully transmitted, step 4 is performed; If the current file transfer fails, the next file is transferred.
  • the first device notifies the second device to display a two-dimensional code including a file storage address sent by the server.
  • the file storage address information may be a two-dimensional code including a file storage address, or may be a file storage address.
  • the two-dimensional code displayed by the second device is generated according to a file storage address sent by the server to the second device, or is sent by the first device.
  • the feedback information is feedback transmission success information
  • the feedback information is feedback transmission failure information after the secondary transmission failure of the current file.
  • the present invention also provides a system for accessing files during the process of transferring a plurality of files, including a package a receiving device, a transmitting device, a comparing device, and a display device, wherein:
  • the sending device is configured to send a file transfer request to the server
  • the receiving device is configured to receive file storage address information sent by the server;
  • the transmitting device is configured to transmit the file to the server according to the file storage address received from the server;
  • the comparing means is configured to compare the number of successfully transmitted files with a preset number of successfully transmitted files
  • the display device is configured to display a two-dimensional code including a file storage address sent by the server when the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files.
  • system further includes a judging device and/or an accumulating recording device, and the judging device is configured to receive the file transfer feedback information of the server during the process of transmitting the file to the server, and determine, according to the information, whether the current file is successfully transmitted; Accumulates the number of files that have been successfully transferred.
  • the method further includes notification means for notifying the second device to display the two-dimensional code including the file storage address sent by the server.
  • system further includes a two-dimensional code generating device and/or a threshold setting device, wherein the two-dimensional code generating device is configured to generate a two-dimensional code according to a file storage address received from the server; and the threshold setting device is configured to pre- Set the threshold for the number of files successfully transferred.
  • the technical solution of the present invention is to display the two-dimensional code after transmitting a part of the image format file, and the user scans the two-dimensional code by using the electronic device and can access the server to access the successfully transmitted file.
  • the subsequent image format file is transmitted continuously, and the image format file successfully transmitted later is automatically loaded and displayed in the user page. Since the size of the screen of the general electronic device is limited, generally all the image format files are not displayed in the screen range, so that the user does not realize that the image format file of the subsequent transmission is automatically loaded, thereby shortening the access waiting time of the user. Improve the user experience.
  • FIG. 1 is a flow chart of a method for accessing a file during transmission of a plurality of files according to the present invention
  • FIG. 2 is a structural block diagram of a system for accessing a file during transmission of a plurality of files according to the present invention
  • FIG. 3 is a block diagram showing the structure of an electronic whiteboard of the present invention.
  • a method for accessing a file in a process of transferring a plurality of files includes the following steps:
  • Step 1 The first device sends a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the first device, and sends the allocated file storage address to the first device;
  • Step 2 The first device receives the file storage address information sent by the server, where the file storage address information may be a two-dimensional code including a file storage address, or may be only a file storage address, and the first device generates two according to the storage address.
  • the file storage address information may be a two-dimensional code including a file storage address, or may be only a file storage address, and the first device generates two according to the storage address.
  • Step 3 The first device transmits a file to the server according to the file storage address received from the server.
  • the first device receives the file transmission feedback information of the server during the process of transmitting the file to the server, and determines whether the current file is successfully transmitted according to the feedback information. If the current file transfer is successful, go to step 4. If the current file transfer fails, transfer the next file.
  • Step 4 The first device accumulates the number of successfully transmitted files, and compares the number of successfully transmitted files with the preset number of successfully transmitted files. When the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, The first device displays a two-dimensional code including a file storage address sent by the server;
  • Step 5 The first device notifies the second device to display a two-dimensional code including a file storage address sent by the server.
  • step 5 the two-dimensional code displayed by the second device or sent to the server according to the server
  • the file storage address of the second device is generated or sent by the first device.
  • the user scans the two-dimensional code by using the portable electronic device, and can access the transferred file in the storage address of the corresponding server, browse the corresponding file in the display interface of the electronic device, and subsequently upload the completed file automatically in the electronic device. Displayed in the page.
  • This is especially advantageous for image format files.
  • the user uses the mobile phone to scan the two-dimensional code to access the corresponding server address, and the completed image format file can directly display the image in the webpage of the user's mobile phone. Due to the limited visual range of mobile webpages, it is generally impossible to display all the images.
  • the picture that has completed the transmission can be filled in the mobile phone when the mobile phone first accesses the server address.
  • the user can see the picture within the full screen of the mobile phone.
  • the threshold of the number of successfully set files is set to 2
  • the mobile phone can only access 2 pictures at first, by zooming the display size of the picture. Make these two pictures fill the display area of the phone.
  • the image format file that is subsequently transmitted to the server address is automatically loaded into the lower part of the webpage, and the webpage performs automatic non-aware refreshing, so that the user does not visually recognize the loading of the image.
  • the number of files that can be successfully transferred can be set in association with the number of files that the first device needs to transfer to the server. For example, when the number of files that the first device needs to transmit to the server is less than three, the threshold for setting the number of successfully transmitted files is 1, or when the number of files that the first device needs to transmit to the server is greater than 10, the successful transmission is set.
  • the number of files has a threshold of 3.
  • the electronic whiteboard has 10 picture format files that need to be transmitted to the server, and the preset number of successfully transmitted files has a threshold of 3.
  • the method of the present invention includes:
  • Step 1 The electronic whiteboard sends a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the electronic whiteboard, and sends the allocated file storage address to the electronic whiteboard;
  • Step 2 The electronic whiteboard receives the file storage address information sent by the server;
  • Step 3 The electronic whiteboard transmits the picture grid to the server according to the file storage address received from the server.
  • the electronic whiteboard receives the file transfer feedback information of the server during the process of transferring the file to the server, and determines whether the current file is successfully transmitted according to the information. If the current file is successfully transmitted, step 4 is performed; if the current file fails to be transmitted for the first time, The second transmission is performed on the current file. If the second transmission of the current file fails, it is confirmed that the current file transmission fails, the current file is not transmitted, and the next file is transmitted;
  • Step 4 The electronic whiteboard accumulates the number of successfully transmitted files, and determines whether the number of successfully transmitted files is greater than or equal to 3. When the number of successfully transmitted files is greater than or equal to 3, the electronic whiteboard displays two-dimensional data including the file storage address information sent by the server. The code and the electronic whiteboard send the two-dimensional code to the remote computer terminal, and notify the remote computer terminal to display the two-dimensional code.
  • the two-dimensional code including the file storage address sent by the server can be displayed on both the electronic whiteboard and the remote computer terminal.
  • the user can browse the picture locally by scanning the QR code on the electronic whiteboard, or scan the QR code on the remote computer terminal to browse the pictures from the electronic whiteboard remotely.
  • a system for accessing a file during transmission of a plurality of files includes: a transmitting device, a receiving device, a transmitting device, a determining device, an accumulating recording device, a comparing device, a display device, and a notification device, among them:
  • the sending device is configured to send a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the system, and sends the allocated file storage address to the system;
  • the receiving device is configured to receive file storage address information sent by the server;
  • the transmitting device is configured to transmit the file to the server according to the file storage address received from the server;
  • the determining device is configured to determine whether the current file is successfully transmitted during the process of transmitting the file to the server;
  • the accumulating recording device is used to accumulate the number of files that have been successfully transferred
  • the comparing means is configured to compare the number of successfully transmitted files with a preset number of successfully transmitted files
  • the display device is configured to: when the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, display a two-dimensional code including a file storage address sent by the server, and the notification device is configured to notify the second device
  • the display includes the QR code of the file storage address sent by the server.
  • the electronic whiteboard has a picture format file that needs to be transmitted to the server in multiple screens.
  • the electronic whiteboard of the present invention includes a transmitting device, a receiving device, a two-dimensional code generating device, a transmitting device, a judging device, an accumulating recording device, and a threshold. Setting device, comparison device, display device, and notification device, wherein:
  • the sending device is configured to send a file transfer request, and after receiving the file transfer request, the server allocates a file storage address to the electronic whiteboard, and sends the allocated file storage address to the electronic whiteboard;
  • the receiving device is configured to receive file storage address information sent by the server;
  • the two-dimensional code generating means is configured to generate a two-dimensional code according to a file storage address received from the server;
  • the transmitting device is configured to transmit a picture format file to the server according to the file storage address received from the server;
  • the determining device is configured to determine whether the current file is successfully transmitted during the process of transmitting the file to the server;
  • the accumulating recording device is used to accumulate the number of files that have been successfully transferred
  • the threshold setting device is configured to preset a threshold for the number of successfully transmitted files to be 3;
  • the comparing device is configured to determine whether the number of successfully transmitted files is greater than or equal to 3;
  • the display device is configured to display the two-dimensional code generated by the two-dimensional code generating device when the number of successfully transmitted files is greater than or equal to three;
  • the notification device is configured to send the two-dimensional code generated by the two-dimensional code generating device to the remote computer terminal, and notify the remote computer terminal to display the two-dimensional code.

Landscapes

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

Abstract

A method for accessing a file in a process of transmitting multiple files comprises: transmitting, by a first device, and to a server, a file transmission request; receiving information of a file storage address sent by the server; transmitting, according to the file storage address received from the server, a file to the server; comparing, by the first device, and in a process of transmitting the file to the server, a quantity of successfully transmitted files with a preset quantity threshold for successfully transmitted files; and if the quantity of successfully transmitted files is greater than the preset quantity threshold for successfully transmitted file, displaying, by a first device, a two-dimensional code comprising the file storage address sent by the server. Also provided is a system for accessing a file in a process of transmitting multiple files. The present invention reduces an amount of time for which a user waits for access in a process of uploading a file, thereby improving user experience.

Description

一种在传输多个文件的过程中访问文件的方法及系统Method and system for accessing files during transmission of multiple files 技术领域Technical field
本发明涉及文件传输和访问技术,具体涉及一种在传输多个文件的过程中访问文件的方法及系统。The present invention relates to file transfer and access technologies, and in particular to a method and system for accessing files during the process of transferring a plurality of files.
背景技术Background technique
在一些应用场合中,需要将本地客户端文件资料转化为图片格式进行保存,并将这些图片格式文件逐一传输到服务器。例如,在使用电子白板时,需要将每屏电子白板上的记录资料以图片格式存储到服务器上。为了便于服务器将相应文件分享给其他用户,在所有图片格式文件均传输到服务器后,服务器会向具有显示功能的本地客户端发送存储地址,客户端根据所接收到的存储地址生成二维码,并进行显示。便携式电子设备可以通过扫描所生成的二维码来访问服务器,获取并浏览存储其中的图片格式文件。In some applications, local client files need to be converted to image format for storage, and these image format files are transmitted to the server one by one. For example, when using an electronic whiteboard, it is necessary to store the recorded data on each screen of the electronic whiteboard in a picture format on the server. In order to facilitate the server to share the corresponding file to other users, after all the image format files are transmitted to the server, the server sends a storage address to the local client having the display function, and the client generates a two-dimensional code according to the received storage address. And display it. The portable electronic device can access the server by scanning the generated two-dimensional code, and obtain and browse the image format file stored therein.
现有技术中存在的问题在于,从图片格式文件传输开始到传输结束,需要一段时间,在传输完成之后服务器才将存储地址发送给客户端,客户端才能以二维码的形式显示该存储地址。当传输的图片格式文件数量较多、占用存储空间较大时,全部传输这些图片格式文件需要花费大量的时间。在此过程中,用户只能等待全部图片格式文件传输结束后才能获得该存储地址,效率不高,用户体验不佳。A problem existing in the prior art is that it takes a period of time from the start of the transfer of the picture format file to the end of the transfer. After the transfer is completed, the server sends the storage address to the client, and the client can display the storage address in the form of a two-dimensional code. . When the number of image format files transmitted is large and the storage space is large, it takes a lot of time to transfer these image format files. In this process, the user can only wait for the transfer of all the image format files to obtain the storage address, which is inefficient and has a poor user experience.
发明内容 Summary of the invention
随着便携式电子设备的普及,一般都是通过手机等便携式电子设备扫描客户端生成的二维码,访问相应的服务器地址,在手机等便携式电子设备上浏览图片。由于手机等便携式电子设备的屏幕尺寸有限,一般无法在其屏幕范围内全部显示所有的图片格式文件。基于便携式电子设备这样的特点,本发明提供一种在传输多个文件的过程中访问文件的方法,可以优化生成二维码的速度,让用户有更好的体验。所述方法包括以下步骤:With the popularization of portable electronic devices, it is common to scan a QR code generated by a client through a portable electronic device such as a mobile phone, access a corresponding server address, and browse a picture on a portable electronic device such as a mobile phone. Due to the limited screen size of portable electronic devices such as mobile phones, it is generally impossible to display all of the image format files in their screen range. Based on the characteristics of the portable electronic device, the present invention provides a method for accessing a file during the process of transferring a plurality of files, which can optimize the speed of generating the two-dimensional code, so that the user has a better experience. The method includes the following steps:
步骤1:第一设备向服务器发送文件传输请求;Step 1: The first device sends a file transfer request to the server.
步骤2:第一设备接收服务器发送的文件存储地址信息;Step 2: The first device receives file storage address information sent by the server.
步骤3:第一设备根据从服务器接收的文件存储地址,向服务器传输文件;Step 3: The first device transmits the file to the server according to the file storage address received from the server;
步骤4:第一设备在向服务器传输文件过程中将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较,当成功传输的文件数量大于等于成功传输的文件数量阈值时,第一设备显示包括服务器发送的文件存储地址的二维码。Step 4: The number of files successfully transmitted by the first device in the process of transmitting the file to the server is compared with the preset threshold number of successfully transmitted files. When the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, the first The device displays a QR code that includes the file storage address sent by the server.
进一步,在步骤3中还包括:第一设备在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该反馈信息判断当前文件是否传输成功,如果当前文件传输成功,执行步骤4;如果当前文件传输失败,则进行下一个文件的传输。Further, in step 3, the first device receives the file transmission feedback information of the server during the process of transmitting the file to the server, and determines, according to the feedback information, whether the current file is successfully transmitted. If the current file is successfully transmitted, step 4 is performed; If the current file transfer fails, the next file is transferred.
进一步,第一设备通知第二设备显示包括服务器发送的文件存储地址的二维码。Further, the first device notifies the second device to display a two-dimensional code including a file storage address sent by the server.
进一步,所述文件存储地址信息可以是包括有文件存储地址的二维码,也可以是文件存储地址。Further, the file storage address information may be a two-dimensional code including a file storage address, or may be a file storage address.
进一步,第二设备显示的二维码是根据服务器发送给第二设备的文件存储地址生成的,或者是由第一设备发送的。Further, the two-dimensional code displayed by the second device is generated according to a file storage address sent by the server to the second device, or is sent by the first device.
进一步,步骤3中,在对当前文件一次或两次传输成功后所述反馈信息为反馈传输成功信息,在对当前文件二次传输失败后所述反馈信息为反馈传输失败信息。Further, in step 3, after the primary or secondary transmission of the current file is successful, the feedback information is feedback transmission success information, and the feedback information is feedback transmission failure information after the secondary transmission failure of the current file.
本发明还提供一种在传输多个文件的过程中访问文件的系统,包括发送装 置、接收装置、传输装置、比较装置以及显示装置,其中:The present invention also provides a system for accessing files during the process of transferring a plurality of files, including a package a receiving device, a transmitting device, a comparing device, and a display device, wherein:
发送装置用于向服务器发送文件传输请求;The sending device is configured to send a file transfer request to the server;
接收装置用于接收服务器发送的文件存储地址信息;The receiving device is configured to receive file storage address information sent by the server;
传输装置用于根据从服务器接收的文件存储地址,向服务器传输文件;The transmitting device is configured to transmit the file to the server according to the file storage address received from the server;
比较装置用于将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较;The comparing means is configured to compare the number of successfully transmitted files with a preset number of successfully transmitted files;
显示装置用于当成功传输的文件数量大于等于成功传输的文件数量阈值时,显示包括服务器发送的文件存储地址的二维码。The display device is configured to display a two-dimensional code including a file storage address sent by the server when the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files.
进一步,所述系统还包括判断装置和/或累加记录装置,判断装置用于在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该信息判断当前文件是否传输成功;累加记录装置用于累加记录已成功传输的文件数量。Further, the system further includes a judging device and/or an accumulating recording device, and the judging device is configured to receive the file transfer feedback information of the server during the process of transmitting the file to the server, and determine, according to the information, whether the current file is successfully transmitted; Accumulates the number of files that have been successfully transferred.
进一步,还包括通知装置,用于通知第二设备显示包括服务器发送的文件存储地址的二维码。Further, the method further includes notification means for notifying the second device to display the two-dimensional code including the file storage address sent by the server.
近一步,所述系统还包括二维码生成装置和/或阈值设定装置,其中,二维码生成装置用于根据从服务器接收的文件存储地址生成二维码;阈值设定装置用于预设成功传输的文件数量阈值。Further, the system further includes a two-dimensional code generating device and/or a threshold setting device, wherein the two-dimensional code generating device is configured to generate a two-dimensional code according to a file storage address received from the server; and the threshold setting device is configured to pre- Set the threshold for the number of files successfully transferred.
本发明的技术方案是在传输一部分图片格式文件后就将二维码显示出来,用户使用电子设备扫描二维码并可以访问服务器,对已成功传输的文件进行访问。同时,在此过程中不间断后续图片格式文件的传输,后面传输成功的图片格式文件会自动加载显示在用户页面中。由于一般电子设备屏幕的尺寸有限,一般在其屏幕范围内不会全部显示所有的图片格式文件,使得用户不会意识到后续传输的图片格式文件正在自动加载,从而缩短了用户的访问等待时间,提高了用户的使用体验。The technical solution of the present invention is to display the two-dimensional code after transmitting a part of the image format file, and the user scans the two-dimensional code by using the electronic device and can access the server to access the successfully transmitted file. At the same time, in the process, the subsequent image format file is transmitted continuously, and the image format file successfully transmitted later is automatically loaded and displayed in the user page. Since the size of the screen of the general electronic device is limited, generally all the image format files are not displayed in the screen range, so that the user does not realize that the image format file of the subsequent transmission is automatically loaded, thereby shortening the access waiting time of the user. Improve the user experience.
附图说明DRAWINGS
图1是本发明的在传输多个文件的过程中访问文件的方法流程图; 1 is a flow chart of a method for accessing a file during transmission of a plurality of files according to the present invention;
图2是本发明的在传输多个文件的过程中访问文件的系统的结构框图;2 is a structural block diagram of a system for accessing a file during transmission of a plurality of files according to the present invention;
图3是本发明的电子白板的结构框图。3 is a block diagram showing the structure of an electronic whiteboard of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。但本领域技术人员知晓,本发明并不局限于附图和以下实施例。The present invention will be further described in detail below with reference to the specific embodiments of the invention. However, it is to be understood by those skilled in the art that the present invention is not limited to the drawings and the following embodiments.
如图1所示,本发明的一种在传输多个文件的过程中访问文件的方法包括以下步骤:As shown in FIG. 1, a method for accessing a file in a process of transferring a plurality of files includes the following steps:
步骤1:第一设备向服务器发送文件传输请求,服务器接收到文件传输请求后,为第一设备分配文件存储地址,并将所分配的文件存储地址发送给第一设备;Step 1: The first device sends a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the first device, and sends the allocated file storage address to the first device;
步骤2:第一设备接收服务器发送的文件存储地址信息,所述文件存储地址信息可以是包括有文件存储地址的二维码,也可以仅是文件存储地址,由第一设备根据存储地址生成二维码;Step 2: The first device receives the file storage address information sent by the server, where the file storage address information may be a two-dimensional code including a file storage address, or may be only a file storage address, and the first device generates two according to the storage address. Dimension code
步骤3:第一设备根据从服务器接收的文件存储地址,向服务器传输文件;第一设备在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该反馈信息判断当前文件是否传输成功,如果当前文件传输成功,执行步骤4;如果当前文件传输失败,则进行下一个文件的传输;Step 3: The first device transmits a file to the server according to the file storage address received from the server. The first device receives the file transmission feedback information of the server during the process of transmitting the file to the server, and determines whether the current file is successfully transmitted according to the feedback information. If the current file transfer is successful, go to step 4. If the current file transfer fails, transfer the next file.
步骤4:第一设备累加记录已成功传输的文件数量,将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较,当成功传输的文件数量大于等于成功传输的文件数量阈值时,第一设备显示包括服务器发送的文件存储地址的二维码;Step 4: The first device accumulates the number of successfully transmitted files, and compares the number of successfully transmitted files with the preset number of successfully transmitted files. When the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, The first device displays a two-dimensional code including a file storage address sent by the server;
步骤5,第一设备通知第二设备显示包括服务器发送的文件存储地址的二维码。Step 5: The first device notifies the second device to display a two-dimensional code including a file storage address sent by the server.
其中,可以在步骤5中,第二设备显示的二维码或者根据服务器发送给第 二设备的文件存储地址生成,或者由第一设备发送。Wherein, in step 5, the two-dimensional code displayed by the second device or sent to the server according to the server The file storage address of the second device is generated or sent by the first device.
用户使用便携式电子设备扫描该二维码,可以对相应服务器存储地址中的已传输完成的文件进行访问,在电子设备的显示界面中浏览相应文件,后续陆续传输完成的文件自动加载在电子设备的显示页面中。这对图片格式文件尤为有利,当已有部分图片格式文件传输到服务器时,用户使用手机扫描二维码访问相应服务器地址,已完成传输的图片格式文件可以直接显示图片在用户手机的网页中。由于手机网页的可视范围有限,一般不能够显示所有图片,通过合理设定成功传输的文件数量阈值和显示方式,使得在手机最早访问服务器地址的时刻,能够达成已完成传输的图片充满在手机显示区域的目的,用户能够在手机满屏范围内看到图片,例如,当设定成功传输的文件数量阈值为2时,手机初始仅能访问2张图片,通过缩放图片的显示尺寸的方式,使得这两张图片能够充满手机的显示区域。与此同时,后续传输到服务器地址中的图片格式文件自动加载到网页下部,网页进行自动无感知刷新,使得用户不会视觉意识到图片的加载。The user scans the two-dimensional code by using the portable electronic device, and can access the transferred file in the storage address of the corresponding server, browse the corresponding file in the display interface of the electronic device, and subsequently upload the completed file automatically in the electronic device. Displayed in the page. This is especially advantageous for image format files. When some image format files have been transferred to the server, the user uses the mobile phone to scan the two-dimensional code to access the corresponding server address, and the completed image format file can directly display the image in the webpage of the user's mobile phone. Due to the limited visual range of mobile webpages, it is generally impossible to display all the images. By reasonably setting the threshold and display mode of the number of successfully transmitted files, the picture that has completed the transmission can be filled in the mobile phone when the mobile phone first accesses the server address. For the purpose of displaying the area, the user can see the picture within the full screen of the mobile phone. For example, when the threshold of the number of successfully set files is set to 2, the mobile phone can only access 2 pictures at first, by zooming the display size of the picture. Make these two pictures fill the display area of the phone. At the same time, the image format file that is subsequently transmitted to the server address is automatically loaded into the lower part of the webpage, and the webpage performs automatic non-aware refreshing, so that the user does not visually recognize the loading of the image.
需要强调的是,可以与第一设备需要传输到服务器的文件数量相关联的设置成功传输的文件数量阈值。例如,当第一设备需要传输到服务器的文件数量小于3个时,设定成功传输的文件数量阈值为1,或者当第一设备需要传输到服务器的文件数量大于10个时,设定成功传输的文件数量阈值为3。It is important to emphasize that the number of files that can be successfully transferred can be set in association with the number of files that the first device needs to transfer to the server. For example, when the number of files that the first device needs to transmit to the server is less than three, the threshold for setting the number of successfully transmitted files is 1, or when the number of files that the first device needs to transmit to the server is greater than 10, the successful transmission is set. The number of files has a threshold of 3.
以下以第一设备为电子白板、第二设备为远程电脑终端为例,对本发明的上述方法进行具体说明。电子白板中具有10张需要传输给服务器的图片格式文件,预设的成功传输的文件数量阈值为3,本发明的方法包括:Hereinafter, the above method of the present invention will be specifically described by taking the first device as an electronic whiteboard and the second device as a remote computer terminal as an example. The electronic whiteboard has 10 picture format files that need to be transmitted to the server, and the preset number of successfully transmitted files has a threshold of 3. The method of the present invention includes:
步骤1:电子白板向服务器发送文件传输请求,服务器接收到文件传输请求后,为电子白板分配文件存储地址,并将所分配的文件存储地址发送给电子白板;Step 1: The electronic whiteboard sends a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the electronic whiteboard, and sends the allocated file storage address to the electronic whiteboard;
步骤2:电子白板接收服务器发送的文件存储地址信息;Step 2: The electronic whiteboard receives the file storage address information sent by the server;
步骤3:电子白板根据从服务器接收的文件存储地址,向服务器传输图片格 式文件;电子白板在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该信息判断当前文件是否传输成功,如果当前文件传输成功,执行步骤4;如果当前文件第一次传输失败,则在对当前文件进行第二次传输,如果对当前文件的第二次传输失败,则确认当前文件传输失败,不再进行该当前文件的传输,进行下一个文件的传输;Step 3: The electronic whiteboard transmits the picture grid to the server according to the file storage address received from the server. The electronic whiteboard receives the file transfer feedback information of the server during the process of transferring the file to the server, and determines whether the current file is successfully transmitted according to the information. If the current file is successfully transmitted, step 4 is performed; if the current file fails to be transmitted for the first time, The second transmission is performed on the current file. If the second transmission of the current file fails, it is confirmed that the current file transmission fails, the current file is not transmitted, and the next file is transmitted;
步骤4:电子白板累加记录已成功传输的文件数量,判断成功传输的文件数量是否大于等于3,当成功传输的文件数量大于等于3时,电子白板显示包括服务器发送的文件存储地址信息的二维码,以及电子白板将该二维码发送给远程电脑终端,并通知远程电脑终端显示该二维码。Step 4: The electronic whiteboard accumulates the number of successfully transmitted files, and determines whether the number of successfully transmitted files is greater than or equal to 3. When the number of successfully transmitted files is greater than or equal to 3, the electronic whiteboard displays two-dimensional data including the file storage address information sent by the server. The code and the electronic whiteboard send the two-dimensional code to the remote computer terminal, and notify the remote computer terminal to display the two-dimensional code.
通过实施例1的方法,当电子白板成功传输3件图片格式文件时,电子白板和远程电脑终端上均能显示包括服务器发送的文件存储地址的二维码。用户可以通过扫描电子白板上的二维码在本地进行图片浏览,也可以扫描远程电脑终端上的二维码,远距离浏览来自于电子白板上的图片。According to the method of Embodiment 1, when the electronic whiteboard successfully transmits three picture format files, the two-dimensional code including the file storage address sent by the server can be displayed on both the electronic whiteboard and the remote computer terminal. The user can browse the picture locally by scanning the QR code on the electronic whiteboard, or scan the QR code on the remote computer terminal to browse the pictures from the electronic whiteboard remotely.
如图2所示,本发明的一种在传输多个文件的过程中访问文件的系统包括:发送装置、接收装置、传输装置、判断装置、累加记录装置、比较装置、显示装置和通知装置,其中:As shown in FIG. 2, a system for accessing a file during transmission of a plurality of files includes: a transmitting device, a receiving device, a transmitting device, a determining device, an accumulating recording device, a comparing device, a display device, and a notification device, among them:
发送装置用于向服务器发送文件传输请求,服务器接收到文件传输请求后,为所述系统分配文件存储地址,并将所分配的文件存储地址发送给所述系统;The sending device is configured to send a file transfer request to the server, and after receiving the file transfer request, the server allocates a file storage address to the system, and sends the allocated file storage address to the system;
接收装置用于接收服务器发送的文件存储地址信息;The receiving device is configured to receive file storage address information sent by the server;
传输装置用于根据从服务器接收的文件存储地址,向服务器传输文件;The transmitting device is configured to transmit the file to the server according to the file storage address received from the server;
判断装置用于在向服务器传输文件过程中判断当前文件是否传输成功;The determining device is configured to determine whether the current file is successfully transmitted during the process of transmitting the file to the server;
累加记录装置用于累加记录已成功传输的文件数量;The accumulating recording device is used to accumulate the number of files that have been successfully transferred;
比较装置用于将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较;The comparing means is configured to compare the number of successfully transmitted files with a preset number of successfully transmitted files;
显示装置用于当成功传输的文件数量大于等于成功传输的文件数量阈值时,显示包括服务器发送的文件存储地址的二维码,通知装置用于通知第二设 备显示包括服务器发送的文件存储地址的二维码。The display device is configured to: when the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, display a two-dimensional code including a file storage address sent by the server, and the notification device is configured to notify the second device The display includes the QR code of the file storage address sent by the server.
以下以第一设备为电子白板、第二设备为远程电脑终端为例,对本发明的上述方法进行具体说明。电子白板中具有多屏需要传输给服务器的图片格式文件,如图3所示,本发明的电子白板包括发送装置、接收装置、二维码生成装置、传输装置、判断装置、累加记录装置、阈值设定装置、比较装置、显示装置和通知装置,其中:Hereinafter, the above method of the present invention will be specifically described by taking the first device as an electronic whiteboard and the second device as a remote computer terminal as an example. The electronic whiteboard has a picture format file that needs to be transmitted to the server in multiple screens. As shown in FIG. 3, the electronic whiteboard of the present invention includes a transmitting device, a receiving device, a two-dimensional code generating device, a transmitting device, a judging device, an accumulating recording device, and a threshold. Setting device, comparison device, display device, and notification device, wherein:
发送装置用于发送文件传输请求,服务器接收到文件传输请求后,为电子白板分配文件存储地址,并将所分配的文件存储地址发送给电子白板;The sending device is configured to send a file transfer request, and after receiving the file transfer request, the server allocates a file storage address to the electronic whiteboard, and sends the allocated file storage address to the electronic whiteboard;
接收装置用于接收服务器发送的文件存储地址信息;The receiving device is configured to receive file storage address information sent by the server;
二维码生成装置用于根据从服务器接收的文件存储地址生成二维码;The two-dimensional code generating means is configured to generate a two-dimensional code according to a file storage address received from the server;
传输装置用于根据从服务器接收的文件存储地址,向服务器传输图片格式文件;The transmitting device is configured to transmit a picture format file to the server according to the file storage address received from the server;
判断装置用于在向服务器传输文件过程中判断当前文件是否传输成功;The determining device is configured to determine whether the current file is successfully transmitted during the process of transmitting the file to the server;
累加记录装置用于累加记录已成功传输的文件数量;The accumulating recording device is used to accumulate the number of files that have been successfully transferred;
阈值设定装置用于预设成功传输的文件数量阈值为3;The threshold setting device is configured to preset a threshold for the number of successfully transmitted files to be 3;
比较装置用于判断成功传输的文件数量是否大于等于3;The comparing device is configured to determine whether the number of successfully transmitted files is greater than or equal to 3;
显示装置用于当成功传输的文件数量大于等于3时,显示二维码生成装置生成的二维码;The display device is configured to display the two-dimensional code generated by the two-dimensional code generating device when the number of successfully transmitted files is greater than or equal to three;
通知装置用于将二维码生成装置生成的二维码发送给远程电脑终端,并通知远程电脑终端显示该二维码。The notification device is configured to send the two-dimensional code generated by the two-dimensional code generating device to the remote computer terminal, and notify the remote computer terminal to display the two-dimensional code.
以上,对本发明的实施方式进行了说明。但是,本发明不限定于上述实施方式。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiment. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (10)

  1. 一种在传输多个文件的过程中访问文件的方法,其特征在于,包括以下步骤:A method for accessing a file during transmission of a plurality of files, comprising the steps of:
    步骤1:第一设备向服务器发送文件传输请求;Step 1: The first device sends a file transfer request to the server.
    步骤2:第一设备接收服务器发送的文件存储地址信息;Step 2: The first device receives file storage address information sent by the server.
    步骤3:第一设备根据从服务器接收的文件存储地址,向服务器传输文件;Step 3: The first device transmits the file to the server according to the file storage address received from the server;
    步骤4:第一设备在向服务器传输文件过程中将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较,当成功传输的文件数量大于等于成功传输的文件数量阈值时,第一设备显示包括服务器发送的文件存储地址的二维码。Step 4: The number of files successfully transmitted by the first device in the process of transmitting the file to the server is compared with the preset threshold number of successfully transmitted files. When the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files, the first The device displays a QR code that includes the file storage address sent by the server.
  2. 如权利要求1所述的方法,其特征在于:在步骤3中还包括:第一设备在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该反馈信息判断当前文件是否传输成功,如果当前文件传输成功,执行步骤4;如果当前文件传输失败,则进行下一个文件的传输。The method of claim 1, further comprising: receiving, by the first device, the file transmission feedback information of the server during the process of transmitting the file to the server, and determining, according to the feedback information, whether the current file is successfully transmitted. If the current file transfer is successful, go to step 4. If the current file transfer fails, transfer the next file.
  3. 如权利要求1或2所述的方法,其特征在于:第一设备通知第二设备显示包括服务器发送的文件存储地址的二维码。The method according to claim 1 or 2, wherein the first device notifies the second device to display the two-dimensional code including the file storage address transmitted by the server.
  4. 如权利要求1或2所述的方法,其特征在于:所述文件存储地址信息可以是包括有文件存储地址的二维码,也可以是文件存储地址。The method according to claim 1 or 2, wherein the file storage address information may be a two-dimensional code including a file storage address or a file storage address.
  5. 如权利要求3所述的方法,其特征在于:第二设备显示的二维码是根据服务器发送给第二设备的文件存储地址生成的,或者是由第一设备发送的。The method according to claim 3, wherein the two-dimensional code displayed by the second device is generated according to a file storage address sent by the server to the second device, or is sent by the first device.
  6. 如权利要求2所述的方法,其特征在于:步骤3中,在对当前文件一次或两次传输成功后所述反馈信息为反馈传输成功信息,在对当前文件二次传输失败 后所述反馈信息为反馈传输失败信息。The method according to claim 2, wherein in step 3, after the transmission of the current file is successful once or twice, the feedback information is feedback transmission success information, and the secondary transmission fails in the current file. The feedback information is feedback transmission failure information.
  7. 一种在传输多个文件的过程中访问文件的系统,其特征在于,包括发送装置、接收装置、传输装置、比较装置以及显示装置,其中:A system for accessing a file during transmission of a plurality of files, comprising: a transmitting device, a receiving device, a transmitting device, a comparing device, and a display device, wherein:
    发送装置用于向服务器发送文件传输请求;The sending device is configured to send a file transfer request to the server;
    接收装置用于接收服务器发送的文件存储地址信息;The receiving device is configured to receive file storage address information sent by the server;
    传输装置用于根据从服务器接收的文件存储地址,向服务器传输文件;The transmitting device is configured to transmit the file to the server according to the file storage address received from the server;
    比较装置用于将成功传输的文件数量与预设的成功传输的文件数量阈值进行比较;The comparing means is configured to compare the number of successfully transmitted files with a preset number of successfully transmitted files;
    显示装置用于当成功传输的文件数量大于等于成功传输的文件数量阈值时,显示包括服务器发送的文件存储地址的二维码。The display device is configured to display a two-dimensional code including a file storage address sent by the server when the number of successfully transmitted files is greater than or equal to the number of successfully transmitted files.
  8. 如权利要求7所述的系统,其特征在于:所述系统还包括判断装置和/或累加记录装置,其中,The system of claim 7 wherein said system further comprises determining means and/or accumulating recording means, wherein
    判断装置用于在向服务器传输文件过程中接收服务器的文件传输反馈信息,并根据该信息判断当前文件是否传输成功;The determining device is configured to receive file transmission feedback information of the server during the process of transmitting the file to the server, and determine, according to the information, whether the current file is successfully transmitted;
    累加记录装置用于累加记录已成功传输的文件数量。The accumulating recording device is used to accumulate the number of files that have been successfully transferred.
  9. 如权利要求7或8所述的系统,其特征在于:还包括通知装置,用于通知第二设备显示包括服务器发送的文件存储地址的二维码。The system according to claim 7 or 8, further comprising notification means for notifying the second device to display the two-dimensional code including the file storage address transmitted by the server.
  10. 如权利要求7或8所述的系统,其特征在于:还包括二维码生成装置和/或阈值设定装置,其中,A system according to claim 7 or 8, further comprising: a two-dimensional code generating means and/or a threshold setting means, wherein
    二维码生成装置用于根据从服务器接收的文件存储地址生成二维码;The two-dimensional code generating means is configured to generate a two-dimensional code according to a file storage address received from the server;
    阈值设定装置用于预设成功传输的文件数量阈值。 The threshold setting means is used to preset a threshold number of files successfully transmitted.
PCT/CN2017/077036 2016-11-18 2017-03-17 Method and system for accessing file in process of transmitting multiple files WO2018090511A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611019992.8A CN106453621A (en) 2016-11-18 2016-11-18 Method and device for accessing files in process of transmitting multiple files
CN201611019992.8 2016-11-18

Publications (1)

Publication Number Publication Date
WO2018090511A1 true WO2018090511A1 (en) 2018-05-24

Family

ID=58220407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077036 WO2018090511A1 (en) 2016-11-18 2017-03-17 Method and system for accessing file in process of transmitting multiple files

Country Status (2)

Country Link
CN (1) CN106453621A (en)
WO (1) WO2018090511A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113678467A (en) * 2019-02-08 2021-11-19 实耐宝公司 Method and system for displaying content using matrix code

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453621A (en) * 2016-11-18 2017-02-22 广州视源电子科技股份有限公司 Method and device for accessing files in process of transmitting multiple files
CN111511045B (en) * 2020-04-10 2023-06-02 玳能科技(杭州)有限公司 Interaction method and device for mobile terminal and computer, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN104125277A (en) * 2014-07-21 2014-10-29 广州金山网络科技有限公司 File transmission method, system and device
CN106453621A (en) * 2016-11-18 2017-02-22 广州视源电子科技股份有限公司 Method and device for accessing files in process of transmitting multiple files

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491169B (en) * 2013-09-24 2017-05-17 长沙裕邦软件开发有限公司 Method and system for uploading and downloading files
CN105227594A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Document transmission method, Apparatus and system
CN104462367B (en) * 2014-12-08 2018-09-14 北京安奇智联科技有限公司 A kind of browser and its method for viewing thumbnail of computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN104125277A (en) * 2014-07-21 2014-10-29 广州金山网络科技有限公司 File transmission method, system and device
CN106453621A (en) * 2016-11-18 2017-02-22 广州视源电子科技股份有限公司 Method and device for accessing files in process of transmitting multiple files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113678467A (en) * 2019-02-08 2021-11-19 实耐宝公司 Method and system for displaying content using matrix code

Also Published As

Publication number Publication date
CN106453621A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
USRE48430E1 (en) Two-dimensional code processing method and terminal
US9961229B2 (en) Image forming apparatus supporting near-field communication (NFC) function, and method of previewing scan data of image forming apparatus on mobile terminal
US10154412B2 (en) Method and apparatus for sharing content
US9521193B2 (en) Method and apparatus for providing and receiving contents via network, method and apparatus for backing up data via network, backup data providing device, and backup system
US8838730B2 (en) Apparatus for displaying an image, system processing image data, and method of processing image data
CN106572139B (en) Multi-terminal control method, terminal, server and system
US9311039B2 (en) Cloud printing system and method using image forming apparatus
US9721083B2 (en) Information processing apparatus and information management method
US9591151B2 (en) Information sharing system, information sharing method, and connecting device
US20110218996A1 (en) Apparatuses and methods for sharing contents
WO2018090511A1 (en) Method and system for accessing file in process of transmitting multiple files
US20130173754A1 (en) Method and apparatus to exchange digital content between two devices without requiring the exchange of credentials
USRE48646E1 (en) System, information processing apparatus and non-transitory computer readable medium
US10296514B2 (en) Information processing system, method for acquiring information, information processing apparatus and recording medium
CN106034179A (en) Photo sharing method and device
CN101098273A (en) Wireless remote LED display screen control website system
CN104320491A (en) Method for synchronous display between mobile device and web terminal
US9628640B2 (en) Method for initial setup of image forming apparatus using near field communication and image forming apparatus for performing the same
US20140051418A1 (en) Secure method to exchange digital content between a scanning appliance and sms-enabled device
JP2009089003A (en) Communication system, base station device, and terminal device
CN103369115A (en) Mobile terminal based information sharing method and system
US20150181167A1 (en) Electronic device and method for video conference management
CN104011710A (en) Mobile solution for importing and signing third-party electronic signature documents
EP2695359B1 (en) Memory card having extended data storage functionality
US20130057708A1 (en) Real-time Wireless Image Logging Using a Standalone Digital Camera

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17872294

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/09/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17872294

Country of ref document: EP

Kind code of ref document: A1