WO2016091135A1 - Procédé de traitement de données, processeur et système pour un support de stockage externe - Google Patents

Procédé de traitement de données, processeur et système pour un support de stockage externe Download PDF

Info

Publication number
WO2016091135A1
WO2016091135A1 PCT/CN2015/096554 CN2015096554W WO2016091135A1 WO 2016091135 A1 WO2016091135 A1 WO 2016091135A1 CN 2015096554 W CN2015096554 W CN 2015096554W WO 2016091135 A1 WO2016091135 A1 WO 2016091135A1
Authority
WO
WIPO (PCT)
Prior art keywords
control information
processor
storage medium
external storage
module
Prior art date
Application number
PCT/CN2015/096554
Other languages
English (en)
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 WO2016091135A1 publication Critical patent/WO2016091135A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers

Definitions

  • This application relates to, but is not limited to, the field of data manipulation techniques.
  • the user of the Ethernet communication device requires the device to support the U disk data file copy function.
  • the U disk data interface can realize the transfer of common information data such as system programs, user configuration information, device operation logs, and logic codes for upgrading.
  • the use of such an external storage medium will greatly improve the maintainability of the device, become an indispensable basic functional requirement of the communication device, and improve the work efficiency of the equipment maintenance and debugging personnel.
  • the system will automatically detect whether there is an operating system and configuration file in the USB flash drive. If it exists, copy it to the corresponding directory of Flash (flash), and the system will automatically convert the original The file is set as a backup file. If the device is not configured, you need to determine whether the user has manually enabled the automatic upgrade function. The user needs to enable the automatic upgrade function by entering the command. If the system detects that the user has enabled the automatic upgrade function, the USB disk will be inserted automatically. Upgrade; if the automatic upgrade function is not turned on, the user manually configures the command to enable the automatic upgrade function. For an empty configuration, after the upgrade is successful, the system will automatically restart to load the new system and configuration after a few seconds. For the non-empty configuration, the user needs to manually restart after the upgrade is successful.
  • the related art method uses a command method to copy data information to an external storage medium.
  • the system needs to check whether the device has enabled the automatic upgrade function. If the automatic upgrade is enabled, the USB flash drive is automatically upgraded. If the automatic upgrade function is not enabled, the user needs to manually input commands to copy the data. Perform a system upgrade. Regardless of whether it is automatically upgraded or not, in this non-empty configuration mode, the user needs to manually restart the device to make the system upgrade effective. Then the problem comes. If you don't look at the human-computer interaction interface, the user does not know whether the device is automatically upgraded or needs to be manually upgraded. The user does not know whether the data has been completely copied into the device's built-in storage device (Flash), and manually restarted. The timing of the equipment is uncertain.
  • the present invention provides a data processing method, a processor and a system for an external storage medium, which are used to solve the problem that the Ethernet communication device of the related art cannot directly observe the copy state of the data and the external when performing the data reading operation on the external storage medium.
  • the state of the storage medium causes a problem of inconvenient manual operation.
  • a data processing method for an external storage medium, applied to a processor comprising:
  • the external storage medium If the external storage medium is working normally, generating a first control information, the first control information causing the first indication device that is in communication connection with the processor to be in a first working state;
  • a second control information is generated, the second control information causing the second pointing device in communication connection with the processor to be in a first working state.
  • the data processing method further includes:
  • the second data copy operation is performed on the external storage medium.
  • the data processing method further includes:
  • the data processing method further includes:
  • a fourth control information is generated, the fourth control information causing the first pointing device to be in a second operational state.
  • a processor comprising:
  • the first acquiring module is configured to: acquire an insertion operation signal of the external storage medium, and trigger the first generation module;
  • a first generating module configured to: if the external storage medium works normally, generate a first control information, trigger a second acquiring module, the first control information causes a first indication of a communication connection with the processor The device is in the first working state;
  • the second acquiring module is configured to: acquire the first operation signal in the first preset time, and trigger the first processing module;
  • a first processing module configured to: if the second obtaining module obtains the first operation signal, And performing a first data copy operation on the external storage medium to trigger the second generation module;
  • a second generating module configured to: when the first processing module performs the first data copy operation, generate a second control information, where the second control information causes a second indicating device that is in communication connection with the processor In the first working state.
  • the processor further includes:
  • the third obtaining module is configured to: acquire the second operation signal in the second preset time, and trigger the second processing module;
  • the second processing module is configured to: if the third obtaining module obtains the second operation signal, perform a second data copy operation on the external storage medium.
  • the processor further includes:
  • a third generating module configured to: when the second processing module performs the second data copy operation, generate a third control information, where the third control information causes a third indicating device that is in communication connection with the processor In the first working state.
  • the processor further includes:
  • the fourth obtaining module is configured to: obtain an extraction operation signal of the external storage medium, and trigger a fourth generation module;
  • a fourth generating module configured to: generate a fourth control information, where the fourth control information causes the first indicating device to be in a second working state.
  • a data processing system for an external storage medium comprising:
  • a logic device coupled to the processor
  • a pointing device coupled to the logic device
  • the pressing device transmits the pressing operation signal to the processor through the logic device
  • the indicating device comprises: a first indicating device, a second indicating device and a third indicating device respectively connected to the logic device.
  • the first acquiring module is configured to: acquire an insertion operation signal of the external storage medium, and trigger the first generation module;
  • a first generating module configured to: if the external storage medium works normally, generate a first control information, trigger a second acquiring module, the first control information causes a first indication of a communication connection with the processor The device is in the first working state;
  • the second acquiring module is configured to: acquire the first operation signal in the first preset time, and trigger the first processing module;
  • a second generating module configured to: when the first processing module performs the first data copy operation, generate a second control information, where the second control information causes a second indicating device that is in communication connection with the processor In the first working state.
  • the processor further includes:
  • the third obtaining module is configured to: acquire the second operation signal in the second preset time, and trigger the second processing module;
  • the second processing module is configured to: if the third obtaining module obtains the second operation signal, perform a second data copy operation on the external storage medium, triggering the third generating module;
  • a third generating module configured to: when the second processing module performs the second data copy operation, generate a third control information, where the third control information causes a third indicating device that is in communication connection with the processor In the first working state.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the data copy operation on the external storage medium is triggered by a preset operation, and the state of the external storage medium is displayed in real time, so that the user can intuitively understand the copy status of the data and the state of the external storage medium, and provide the user with the state.
  • the state of the external storage medium is displayed in real time, so that the user can intuitively understand the copy status of the data and the state of the external storage medium, and provide the user with the state.
  • FIG. 2 is a block diagram showing the processor of the embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of the data processing system to which an external storage medium is connected according to an embodiment of the present invention
  • FIG. 4 shows a detailed application flow diagram of the data processing system.
  • the embodiment of the present invention is directed to an Ethernet communication device of the related art.
  • the copy state of the data and the state of the external storage medium cannot be intuitively observed, resulting in inconvenient manual operation, as shown in the figure.
  • 1 shows a data processing method for an external storage medium, applied to a processor, comprising:
  • Step 10 Acquire an insertion operation signal of an external storage medium
  • Step 20 If the external storage medium works normally, generating a first control information, where the first control information causes the first indication device that is in communication connection with the processor to be in a first working state;
  • Step 30 Acquire a first operation signal in a first preset time
  • Step 40 if the first operation signal is obtained, performing a first data copy operation on the external storage medium
  • Step 50 When performing the first data copy operation, generate a second control information, where The second control information causes the second pointing device in communication connection with the processor to be in a first operational state.
  • the data copy operation on the external storage medium is triggered by a preset operation, and the state of the external storage medium is displayed in real time, so that the user can intuitively understand the copy state of the data and the state of the external storage medium.
  • the user provides convenience.
  • the first indicating device and the second indicating device are devices for indicating the working state of the external storage medium, and may be implemented by means of an indicator light or by means of an audio prompting device.
  • the corresponding first working state is the display state of the first indicating device and the second indicating device.
  • the first working state is a state in which the indicator light is on; when an audible prompt is used In the mode of the device, the first working state is a state in which the sound prompting device emits a sound.
  • the first indicating device corresponds to the first indicator light
  • the second indicating device corresponds to the second indicator light as an example.
  • the data processing method further includes:
  • a third control information is generated, the third control information causing the third indication device that is in communication connection with the processor to be in the first working state.
  • the second data copy operation corresponds to copying data into the external storage medium
  • the third indication device corresponds to the third indicator light, and is in progress when the data copy-in operation is required to be obtained. While the data is being copied in, the third indicator light is turned on, so that the user can know the operation of the external storage medium by observing the state of the indicator light.
  • the data processing method further includes:
  • a fourth control information is generated, the fourth control information causing the first pointing device to be in a second operational state.
  • the second working state is a state in which the indicator light is off, and after the external storage medium is pulled out, the first indicator light is turned off.
  • an embodiment of the present invention provides a processor, including:
  • the first obtaining module 100 is configured to: acquire an insertion operation signal of the external storage medium, and trigger the first generation module 200;
  • the first generation module 200 is configured to: if the external storage medium works normally, generate a first control information, trigger the second obtaining module 300, and the first control information causes a communication connection with the processor a pointing device is in a first working state;
  • the second obtaining module 300 is configured to: acquire the first operation signal in the first preset time, and trigger the first processing module 400;
  • the first processing module 400 is configured to: if the second obtaining module 300 obtains the first operation signal, performing a first data copy operation on the external storage medium, triggering the second generating module 500;
  • the second generation module 500 is configured to: when the first processing module 400 performs the first data copy operation, generate a second control information, where the second control information causes a second communication connection with the processor The pointing device is in the first working state.
  • the processor further includes:
  • the third obtaining module is configured to: acquire the second operation signal in the second preset time, and trigger the second processing module;
  • the second processing module is configured to: if the third obtaining module obtains the second operation signal, perform a second data copy operation on the external storage medium.
  • the processor further includes:
  • a third generating module configured to: when the second processing module performs the second data copy operation, generate a third control information, where the third control information causes a third indicating device that is in communication connection with the processor In the first working state.
  • the processor further includes:
  • the fourth obtaining module is configured to: obtain an extraction operation signal of the external storage medium, and trigger a fourth generation module;
  • a fourth generating module configured to: generate a fourth control information, where the fourth control information causes the first indicating device to be in a second working state.
  • an embodiment of the present invention further provides a data processing system for an external storage medium, which is configured to perform data read and write operations on an externally connected U disk 105 (or an SD card), including:
  • a processor (CPU) 101 which implements a copy operation of data by communicating with the USB flash drive 105;
  • a logic device 102 connected to the processor 101;
  • a pressing device 103 connected to the logic device 102, the pressing device 103 being configured to generate a pressing operation signal
  • a pointing device 104 coupled to the logic device 102;
  • the pressing device 103 transmits the pressing operation signal to the processor 101 through the logic device 102;
  • the processor 101 generates control information for controlling an operating state of the pointing device 104 by the received pressing operation signal, and transmits the control information to the pointing device 104 through the logic device 102.
  • the logic device 102 can be selected as a CPLD (Complex Programmable Logic Device).
  • the indicating device 104 includes: a first indicating device, a second indicating device and a third indicating device respectively connected to the logic device 102.
  • the processor includes:
  • the first acquiring module is configured to: acquire an insertion operation signal of the external storage medium, and trigger the first generation module;
  • a first generating module configured to: if the external storage medium works normally, generate a first control information, trigger a second acquiring module, where the first control information is made to communicate with the processor The first indicating device of the signal connection is in a first working state;
  • the first processing module is configured to: if the second obtaining module obtains the first operation signal, perform a first data copy operation on the external storage medium, and trigger the second generating module;
  • a second generating module configured to: when the first processing module performs the first data copy operation, generate a second control information, where the second control information causes a second indicating device that is in communication connection with the processor In the first working state.
  • the processor further includes:
  • the third obtaining module is configured to: acquire the second operation signal in the second preset time, and trigger the second processing module;
  • the second processing module is configured to: if the third obtaining module obtains the second operation signal, perform a second data copy operation on the external storage medium, triggering the third generating module;
  • a third generating module configured to: when the second processing module performs the second data copy operation, generate a third control information, where the third control information causes a third indicating device that is in communication connection with the processor In the first working state.
  • the working process of the data processing system is: the CPU built-in chip detects the insertion of the faultless U disk, sends the first lighting data to the CPLD lighting, and the CPLD lights the inserted faultless U disk, the first color indicator It is always on, telling the user that the information is that the USB flash drive is inserted into the device and the function is normal; when the user copies the data, the number of times the button is touched within the preset time period is obtained, and the first button interrupt information is obtained, and the button interrupt information is reported through the CPLD.
  • the CPU calls the process 2 to detect the file type and size in the U disk and makes a decision to achieve the copy-in operation of the target file, while the CPU sends a second lighting signal to the CPLD, and the CPLD lights the indicator of the second color, blinking
  • the indicator light tells the user that the data copy-in operation is currently in progress.
  • the second color indicator is off; when the user copies the data, the number of times the button is touched within the preset time is obtained, and the second button is obtained.
  • Interrupt information, the second button interrupt information is reported to the CPU through the CPLD, and the CPU calls Process 3 detects the file type and size in the external storage medium (Flash) and makes a decision to implement the copy-out operation of the target file.
  • Flash external storage medium
  • the CPU sends a third lighting signal to the CPLD, and the CPLD lights the indicator of the third color, and blinks.
  • the indicator light tells the user that the data copying operation is currently in progress; after the data is copied out, the indicator of the third color is turned off.
  • Step 201 the device is inserted into the U disk
  • Step 202 the CPU detects the insertion of the U disk
  • Step 203 the CPU determines whether the U disk is normal, if the U disk is normal, then proceeds to step 204; if the U disk is abnormal, then proceeds to step 214 to end the operation;
  • Step 204 the CPU detects that the U disk is normal, sends the lighting data 1 to the CPLD, illuminates the indicator light, and indicates that the U disk is inserted and normal with the first color;
  • Step 205 after inserting the U disk, determine whether to copy or copy the file, if yes, go to step 206, and if not, return to step 204;
  • Step 207 when the CPU calls the process 2, the file type and size of the file in the external storage medium are scanned, and the copy-in operation of the target data file is performed;
  • Step 208 the CPU sends the lighting data of the process 2 to the CPLD, and lights up the indicator light of the second color. wherein, during the copy-in process, the indicator light flashes; when the copy-in is completed, the indicator light is off;
  • Step 209 it is determined whether the button is touched 3 times within 4s, if touched 3 times, then proceeds to step 210, if not touched 3 times, then proceeds to step 204;
  • Step 210 When calling the process 3, the CPU scans the file type and size in the internal storage medium to perform a copy-out operation of the target data file.
  • Step 211 the CPU sends the lighting data of the process 3 to the CPLD, and lights up the indicator light of the third color.
  • the indicator light flashes; when the copying is completed, the indicator light is off;
  • step 212 it is determined whether the U disk is unplugged. If not, the process proceeds to step 204, indicating U. The disk is still inserted in the device, but the user does not perform other operations, the CPU needs to send the lighting data inserted into the USB disk to the CPLD for lighting instructions; if unplugged, then to 213;
  • step 214 the operation ends.
  • the embodiment of the invention not only realizes the indication of the state of inserting the U disk on the Ethernet device, but also can perform the copy-in and copy-out operations of the file according to the button of the manual touch device, and simultaneously the state corresponding to each operation. Clear and intuitive display to the user, for the user to remove the trouble of using complex commands, in practical applications, the hardware design uses a button and a multi-color indicator light, greatly improving the product's easy maintenance.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the embodiment of the present invention triggers a data copy operation on an external storage medium by a preset operation, and displays the state of the external storage medium in real time, so that the user can intuitively understand the copy status of the data and the state of the external storage medium, and Provided for convenience.

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé de traitement de données, un processeur et un système pour un support de stockage externe. Le procédé de traitement de données est appliqué à un processeur et comprend les étapes consistant à : acquérir un signal d'opération d'insertion d'un support de stockage externe (10) ; générer un élément de premières informations de commande si le support de stockage externe fonctionne normalement, les premières informations de commande permettant à un premier dispositif d'indication connecté par communications à un processeur de se trouver dans un premier état de fonctionnement (20) ; acquérir un premier signal d'opération dans un premier temps prédéfini (30) ; effectuer une première opération de copie de données sur le support de stockage externe si le premier signal d'opération est acquis (40) ; et générer un élément de secondes informations de commande lorsque la première opération de copie de données est effectuée, les secondes informations de commande permettant à un second dispositif d'indication connecté par communications au processeur de se trouver dans le premier état de fonctionnement (50).
PCT/CN2015/096554 2014-12-11 2015-12-07 Procédé de traitement de données, processeur et système pour un support de stockage externe WO2016091135A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410763870.4 2014-12-11
CN201410763870.4A CN105739910A (zh) 2014-12-11 2014-12-11 一种外部存储媒介的数据处理方法、处理器及系统

Publications (1)

Publication Number Publication Date
WO2016091135A1 true WO2016091135A1 (fr) 2016-06-16

Family

ID=56106707

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096554 WO2016091135A1 (fr) 2014-12-11 2015-12-07 Procédé de traitement de données, processeur et système pour un support de stockage externe

Country Status (2)

Country Link
CN (1) CN105739910A (fr)
WO (1) WO2016091135A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019009609A (ja) * 2017-06-23 2019-01-17 カシオ計算機株式会社 無線通信装置、通信システム、無線通信方法及び無線通信プログラム
JP7409043B2 (ja) * 2019-11-25 2024-01-09 セイコーエプソン株式会社 メディア処理装置、メディア処理装置の制御方法、及び、プログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097539A (zh) * 2006-06-30 2008-01-02 联想(北京)有限公司 一种移动存储设备的数据拷贝装置与方法
EP1931112A1 (fr) * 2006-09-15 2008-06-11 Sony Corporation Dispositif de traitement d' informations, procédé de téléchargement, procédé d'interruption du téléchargement, procédé de reprise du téléchargement, et programme
US20090138631A1 (en) * 2007-11-27 2009-05-28 Aten International Co., Ltd. Remote usb access method
CN102821155A (zh) * 2012-08-14 2012-12-12 福建伊时代信息科技股份有限公司 数据同步装置和数据同步方法
CN103165166A (zh) * 2011-12-16 2013-06-19 江南大学 便携式数据转存器

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017451A (zh) * 2006-12-05 2007-08-15 深圳创维-Rgb电子有限公司 一种在电视机上控制usb插拔的系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097539A (zh) * 2006-06-30 2008-01-02 联想(北京)有限公司 一种移动存储设备的数据拷贝装置与方法
EP1931112A1 (fr) * 2006-09-15 2008-06-11 Sony Corporation Dispositif de traitement d' informations, procédé de téléchargement, procédé d'interruption du téléchargement, procédé de reprise du téléchargement, et programme
US20090138631A1 (en) * 2007-11-27 2009-05-28 Aten International Co., Ltd. Remote usb access method
CN103165166A (zh) * 2011-12-16 2013-06-19 江南大学 便携式数据转存器
CN102821155A (zh) * 2012-08-14 2012-12-12 福建伊时代信息科技股份有限公司 数据同步装置和数据同步方法

Also Published As

Publication number Publication date
CN105739910A (zh) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105573743B (zh) 一种芯片烧录系统及方法、电子设备
US20180011718A1 (en) Re-enumeration of usb 3.0 compatible devices
CN111163278B (zh) 一种摄像头的控制方法及装置
CN112463689A (zh) 一种ocp卡热插拔装置、方法及计算机可读存储介质
WO2024169300A1 (fr) Procédé et appareil de réglage d'élément de démarrage de serveur, support de stockage lisible non volatil et appareil électronique
WO2016091135A1 (fr) Procédé de traitement de données, processeur et système pour un support de stockage externe
WO2015196479A1 (fr) Procédé et dispositif de mise à jour de données de programme
JP2008257714A (ja) ポータブルプリンタドライバ
CN107643900B (zh) 一种显示器、升级方法
CN105677429A (zh) 程序烧写方法、处理器和电子电路
US10460088B2 (en) Electronic device and connection method
CN105808460B (zh) 外部设备识别方法、装置及电子设备
CN112526898B (zh) 一种串口线插拔检测电路和嵌入式设备
CN109828773A (zh) 一种呼吸支持设备系统远程升级终端及其实现方法
CN103324186A (zh) 一种遥控器的自动测试系统及其控制方法
CN110753219A (zh) 一种图像传感器检测设备
US20150231511A1 (en) Stationary game apparatus, game apparatus, game system, recording medium and speed control method
KR101103940B1 (ko) 서버 i/o 슬롯의 무전원 식별 방법
JP5241342B2 (ja) 周辺機器および情報処理システム
CN104823174A (zh) Usb3.0兼容设备的重新列举
EP3451220B1 (fr) Dispositif d'effacement
TWI547859B (zh) 移除外接設備的方法、電腦系統及非暫態電腦可讀媒介
CN106773946A (zh) 一种动态特性测试用主控板的逻辑控制方法
CN206133456U (zh) 电脑远程开关机控制及状态监测装置
TW202022624A (zh) 資訊擷取系統

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: 15868393

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15868393

Country of ref document: EP

Kind code of ref document: A1