CN116263759A - Electronic device, method, medium, and program for exporting user-readable restriction file - Google Patents

Electronic device, method, medium, and program for exporting user-readable restriction file Download PDF

Info

Publication number
CN116263759A
CN116263759A CN202111525536.1A CN202111525536A CN116263759A CN 116263759 A CN116263759 A CN 116263759A CN 202111525536 A CN202111525536 A CN 202111525536A CN 116263759 A CN116263759 A CN 116263759A
Authority
CN
China
Prior art keywords
user
file
electronic device
python
database
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.)
Pending
Application number
CN202111525536.1A
Other languages
Chinese (zh)
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.)
BMW Brilliance Automotive Ltd
Original Assignee
BMW Brilliance Automotive 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 BMW Brilliance Automotive Ltd filed Critical BMW Brilliance Automotive Ltd
Priority to CN202111525536.1A priority Critical patent/CN116263759A/en
Publication of CN116263759A publication Critical patent/CN116263759A/en
Pending legal-status Critical Current

Links

Images

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/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The present disclosure relates to an electronic device, a method, a medium, and a program capable of exporting a limit file readable by a user. The electronic device includes: a memory having instructions stored thereon; and a processor configured to execute the instructions stored on the memory to cause the electronic device to: presenting a graphical user interface to a user and displaying an instruction on the graphical user interface for guiding the user to perform the next operation; receiving a file name input by a user; searching a database for a file having a same name as the received file name in response to a user activating an interactive button associated with the electronic device; and after searching the files with the same names in the database, decompressing and decoding the data packets of the files with the same names and converting the data packets into files in a user readable format.

Description

Electronic device, method, medium, and program for exporting user-readable restriction file
Technical Field
The present disclosure relates to the field of data processing, and in particular, to an electronic device, method, medium, and program capable of exporting a user-readable restriction file.
Background
During online testing, each test station needs to test and evaluate thousands of items. Sometimes an engineer or vendor of a quality inspection needs to know the settings of the limit files and perform a cross-check, but since all limit files are readable only by means of specific software that is not available to an engineer not operating in the test area, it is not feasible for the quality inspection engineer or vendor to know the settings of the limit files and perform a cross-check.
The "print" function of existing software can print out some data, but still requires a significant amount of manipulation to process to make the data readable. And engineers need to be skilled in using excel skills to process data and the probability of making mistakes or losing data during the process is high. Meanwhile, because readable files and standard templates are not available, comparison of limited files among different manufacturers is also a huge project. The only method is that one person reads and the other person compares one by one, the comparison and conversion are not flexible, and quality risks are caused by wrong setting caused by wrong limit checking.
It is therefore desirable to provide a method and apparatus that is capable of exporting a user-readable constraint file.
Disclosure of Invention
The present disclosure provides an electronic device, method, medium, and program for exporting a user-readable restriction file.
Some aspects of the present disclosure relate to an electronic device capable of exporting a user-readable constraint file, comprising: a memory having instructions stored thereon; and a processor configured to execute instructions stored on the memory to cause the electronic device to: presenting a graphical user interface to a user and displaying an instruction on the graphical user interface for guiding the user to perform the next operation; receiving a file name input by a user; searching a database for a file having a same name as the received file name in response to a user activating an interactive button associated with the electronic device; and after searching the files with the same names in the database, decompressing and decoding the data packets of the files with the same names and converting the data packets into files in a user readable format.
Other aspects of the present disclosure relate to a method performed by an electronic device of exporting a user-readable constraint file, comprising: presenting a graphical user interface to a user and displaying an instruction on the graphical user interface for guiding the user to perform the next operation; receiving a file name input by a user; searching a database for a file having a same name as the received file name in response to a user activating an interactive button associated with the electronic device; and after searching the files with the same names in the database, decompressing and decoding the data packets of the files with the same names and converting the data packets into files in a user readable format. .
Other aspects of the present disclosure also relate to a non-transitory computer readable medium having instructions stored thereon for execution by a processor to perform a method of exporting a user-readable constraint file according to the present disclosure.
Other aspects of the present disclosure relate to a computer program product comprising a computer program which, when executed by a processor, performs the steps of a method of exporting a user-readable restriction file according to the present disclosure.
Drawings
For a better understanding of the present disclosure, and to show how the same may be carried into effect, reference will now be made, by way of example, to the accompanying drawings in which:
FIG. 1 illustrates an exemplary configuration block diagram of an electronic device capable of exporting a user-readable constraint file according to one embodiment of the present disclosure;
FIG. 2 illustrates an exemplary flow chart of a method of exporting a user-readable constraint file according to one embodiment of the present disclosure;
FIG. 3 illustrates an exemplary graphical user interface in a process of exporting a user-readable constraint file according to one embodiment of the present disclosure;
FIG. 4 illustrates an exemplary graphical user interface for user-readable constraint file export success in accordance with one embodiment of the present disclosure;
FIG. 5 illustrates an exemplary graphical user interface for user-readable constraint file export failure according to one embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of an overall process of exporting a user-readable constraint file according to one embodiment of the present disclosure.
Note that like reference numerals refer to corresponding parts throughout the drawings.
Detailed Description
The following detailed description is made with reference to the accompanying drawings and is provided to assist in a comprehensive understanding of various example embodiments of the disclosure. The following description includes various details to aid in understanding, but these are to be considered merely examples and are not intended to limit the disclosure, which is defined by the appended claims and their equivalents. The words and phrases used in the following description are only intended to provide a clear and consistent understanding of the present disclosure. In addition, descriptions of well-known structures, functions and configurations may be omitted for clarity and conciseness. Those of ordinary skill in the art will recognize that various changes and modifications of the examples described herein can be made without departing from the spirit and scope of the present disclosure.
Fig. 1 illustrates an exemplary block configuration of an electronic device 100 capable of exporting a user-readable constraint file according to an embodiment of the present disclosure.
As shown in fig. 1, the electronic device 100 includes a user interface 20, a network interface 21, a power supply 22, an external network interface 23, a memory 24, and a processor 26. The user interface 20 may include, but is not limited to, buttons, a keyboard, a keypad, LCD, CRT, TFT, LED, HD, or other similar display devices, including display devices having touch screen capabilities to enable interaction between a user and a gateway device. In some embodiments, the user interface 20 may be used to present a Graphical User Interface (GUI) to receive user input.
The network interface 21 may include various network cards and circuitry implemented in software and/or hardware to enable communication with user equipment using wired or wireless protocols. The wired communication protocol is, for example, any one or more of an ethernet protocol, a MoCA specification protocol, a USB protocol, or other wired communication protocol. The wireless protocol is, for example, any IEEE 802.11Wi-Fi protocol, bluetooth Low Energy (BLE), or other short range protocol operating in accordance with wireless technology standards for exchanging data over short distances using any licensed or unlicensed frequency band, such as the Citizen Broadband Radio Services (CBRS) band, 2.4GHz band, 5GHz band, 6GHz band, or 60GHz band, RF4CE protocol, zigBee protocol, Z-Wave protocol, or IEEE 802.15.4 protocol. Where the network interface 21 uses a wireless protocol, in some embodiments the network interface 21 may also include one or more antennas (not shown) or circuit nodes for coupling to the one or more antennas. The electronic device 100 may provide an internal network to the user device through the network interface 21.
The power supply 22 provides power to the internal components of the electronic device 100 via the internal bus 27. The power source 22 may be a self-contained power source, such as a battery pack, that interfaces with a charger that is connected to a socket (e.g., directly or through other devices). The power supply 22 may also include a removable, replaceable rechargeable battery, such as a NiCd, niMH, li-ion or Li-pol battery. The external network interface 23 may include various network cards and circuitry implemented in software and/or hardware to enable communication between the electronic device 100 and a provider of an external network, such as an internet service provider or a Multiple System Operator (MSO).
Memory 24 includes a single memory or one or more memories or storage locations including, but not limited to, random Access Memory (RAM), dynamic Random Access Memory (DRAM), static Random Access Memory (SRAM), read Only Memory (ROM), EPROM, EEPROM, flash memory, logic blocks of an FPGA, a hard disk, or any other layer of a memory hierarchy. Memory 24 may be used to store any type of instructions, software, or algorithms, including software 25 for controlling the general functions and operations of electronic device 100.
The processor 26 controls the general operation of the electronic device 100 and performs management functions related to other devices in the network, such as user devices. The processor 26 may include, but is not limited to, a CPU, a hardware microprocessor, a hardware processor, a multi-core processor, a single-core processor, a microcontroller, an Application Specific Integrated Circuit (ASIC), a DSP, or other similar processing device capable of executing any type of instructions, algorithms, or software for controlling the operation and functions of the electronic device 100 in accordance with embodiments described in this disclosure. Processor 26 may be various implementations of digital circuitry, analog circuitry, or mixed signal (a combination of analog and digital) circuitry that performs functions in a computing system. Processor 26 may include, for example, a portion or circuit such as an Integrated Circuit (IC), an individual processor core, an entire processor core, an individual processor, a programmable hardware device such as a Field Programmable Gate Array (FPGA), and/or a system including multiple processors.
Internal bus 27 may be used to establish communications between components (e.g., 20-22, 24, and 26) of electronic device 100.
Although specific components are used to describe electronic device 100, in alternative embodiments, different components may be present in electronic device 100. For example, the electronic device 100 may include one or more additional controllers, memory, network interfaces, external network interfaces, and/or user interfaces. In addition, one or more of the components may not be present in the electronic device 100. Further, in some embodiments, the electronic device 100 may include one or more components not shown in fig. 1. Additionally, although separate components are shown in fig. 1, in some embodiments, some or all of a given component may be integrated into one or more of the other components in electronic device 100. Further, any combination of analog and/or digital circuits may be used to implement the circuits and components in electronic device 100.
FIG. 2 illustrates a flowchart of an exemplary method 200 of exporting a user-readable constraint file according to an embodiment of the present disclosure. The method 200 may be performed, for example, by the electronic device 100 as shown in fig. 1, and the electronic device 100 may be an application running on a computer system in accordance with a preferred embodiment of the present invention. An electronic device and a method for the same according to embodiments of the present disclosure will be described in detail below with reference to fig. 1 to 6.
As shown in fig. 2, at step S201, a graphical user interface is presented to a user and an instruction guiding the user to perform the next operation is displayed on the graphical user interface. According to an exemplary embodiment of the present invention, the electronic device 100 may be an application program export_excel_dfile.exe running on a computer system, which represents a readable constraint file in export excel format, in which case the graphical user interface presented to the user may be a DOS window, and an indication displayed on the graphical user interface to guide the user to perform the next operation is shown in fig. 3 as requesting the user to input the file name desired to be exported and then to execute by pressing the enter key.
Those skilled in the art will appreciate that the application program export_excel_dfile.exe is only one example of the electronic device 100, and that the electronic device 100 may also be a software implementation, a hardware implementation, or a combination of software and hardware implementation, such as export_word_dfile.exe, export_txt_dfile.exe.
At step S202, a file name input by the user is received.
At step S203, in response to the user activating an interactive button associated with the electronic device, a file having the same name as the received file name is searched in the database. Still taking the electronic device 100 executing the method 200 as an application program export_excel_dfile.exe running on a computer system as an example, in the case that the graphical user interface is a DOS window, the interactive button may be an enter key of the computer. That is, a file having the same name as the received file name is searched in the database in response to the user pressing the enter key. Also, those skilled in the art will appreciate that the DOS window and enter key are examples of graphical user interfaces and interactive buttons, respectively, and are not limiting.
At step S204, after searching the database for the file with the same name, the packet of the file with the same name is decompressed and decoded and converted into a file in a format readable by the user.
According to the preferred embodiment of the invention, after the data package of the found file with the same name is decompressed, decoded and converted into the file in the format readable by the user, the successful export of the file and the time taken are displayed on the graphical user interface, and an instruction for guiding the user to perform the next operation is displayed on the graphical user interface so as to improve the user experience.
According to a preferred embodiment of the invention, the overall time taken to export each constraint file by the method of the invention is less than 3 seconds.
According to the embodiment of the invention, the successfully exported file name is the file name input by the user.
As shown in fig. 4, an exemplary embodiment of user-readable constraint file export success is shown, where the user-entered file name is "d_version2__ B48a_20m1_20211115_104339.003" and the user-selected file format is excel, and the file export success and the time taken to export the file is 1.7 seconds are displayed on the graphical user interface, while continuing to export other files and what operations to close this tool should do, respectively, are presented. At this point, the exported file d_version2__ B48a_20m1_20211115_104339.003.Xlsx, which is readable and reproducible, transmittable, and available for other data processing, may be found under the root directory.
According to a preferred embodiment of the present invention, the step S204 may be further unpacked into a step S204-1, where the data packets of the files with the same name are decompressed to obtain an original data structure; step S204-2, decoding the original data structure by using a python open source language to obtain python decoding data; and step S204-3, adopting the python open source language to carry out format arrangement on the python decoded data, and converting the python decoded data into a file in a user readable format.
According to a specific embodiment of the present invention, the formatting of the python decoded data using the python open source language includes importing the python decoded data into a template corresponding to the user-selected file format based on the python open source language, thereby generating a file in the user-selected file format. Here, the user-readable formats include, but are not limited to excel, word, and txt.
At step S205, if the file of the same name is not searched in the database, an alarm message and possible reasons are displayed on the graphical user interface, and an instruction guiding the user to perform the next operation is displayed on the graphical user interface.
As shown in FIG. 5, an exemplary embodiment of a user-readable constraint file export failure is shown, where the user entered file name is "D_Version2__ B48A_20M1_20211115_104339.004", and where this file is not found in the database, either potentially in error with the file name or the file has not generated a corresponding constraint file in the database for the new file, and given what operations to do to proceed with exporting other files and closing the tool, respectively.
According to an exemplary embodiment of the invention, the method 200 further comprises receiving a user modification of the configuration file before presenting the graphical user interface to the user to establish a connection to the database corresponding to the modified configuration file. According to an embodiment of the invention, each test station has its own database, with which a connection can be established by setting up its configuration file.
According to one embodiment of the invention, receiving user modifications to the configuration file includes receiving a user entered database IP, SID, PORT, user name and password and replacing the original data in the configuration file with the received database IP, SID, PORT, user name and password.
Fig. 6 shows a schematic diagram illustrating the overall process from entering the file name "d_version2_band q __ B48 a_20m0_20151702_140116.003" into the application export_excel_dfile.exe to exporting data in user-readable excel format according to an exemplary embodiment of the present invention.
Through the electronic equipment capable of exporting the limit files readable by the user, the user can simply and conveniently export the readable limit files, so that the time for carrying out a great deal of work originally is saved, and the user experience is improved. Meanwhile, the method can be flexibly applied to different factories by modifying configuration data, and error and packet loss probability and quality risk are reduced by standardized templates and operations.
The present invention may be implemented by an electronic device, a method and/or a computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
According to one embodiment of the present invention, there is provided an electronic device comprising one or more processors and a memory coupled to the one or more processors, the memory storing computer readable program instructions that, when executed by the one or more processors, perform a method of exporting a user-readable restriction file according to the present invention.
According to another embodiment of the present invention, a non-transitory computer readable medium having instructions stored thereon for execution by a processor to perform a method of exporting a user-readable constraint file according to the present invention is provided.
According to another embodiment of the invention, a computer program product is provided, comprising a computer program which, when being executed by a processor, performs the steps of the method of deriving a user-readable restriction file according to the invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (18)

1. An electronic device capable of exporting a user-readable restriction file, comprising:
a memory having instructions stored thereon; and
a processor configured to execute instructions stored on the memory to cause the electronic device to:
presenting a graphical user interface to a user and displaying an instruction on the graphical user interface for guiding the user to perform the next operation;
receiving a file name input by a user;
searching a database for a file having a same name as the received file name in response to a user activating an interactive button associated with the electronic device; and
after searching the files with the same names in the database, decompressing and decoding the data packets of the files with the same names and converting the data packets into files in a user readable format.
2. The electronic device of claim 1, wherein the processor is further configured to execute instructions stored on the memory to cause the electronic device to:
displaying the file export success and the time taken on the graphical user interface; and is also provided with
Displaying an instruction for guiding the user to perform the next operation on the graphical user interface.
3. The electronic device of claim 1, wherein the processor is further configured to execute instructions stored on the memory to cause the electronic device to:
if the files with the same names are not searched in the database, displaying an alarm message and possible reasons on the graphical user interface; and is also provided with
Displaying an instruction for guiding the user to perform the next operation on the graphical user interface.
4. The electronic device of claim 1, wherein decompressing and decoding the packets of the file of the same name and converting it to a file in a user-readable format comprises:
decompressing the data packets of the files with the same name to obtain an original data structure;
decoding the original data structure by using a python open source language to obtain python decoded data; and
and carrying out format arrangement on the python decoded data by using a python open source language, and converting the python decoded data into a file in a user readable format.
5. The electronic device of claim 4, wherein formatting the python decoded data in a python open source language to convert it to a file in a user readable format comprises:
and importing the python decoding data into a template corresponding to the file format selected by the user based on the python open source language based on the file format selected by the user, so as to generate a file of the file format selected by the user.
6. The electronic device of claim 5, wherein the user-readable format comprises excel, word, and txt.
7. The electronic device of claim 1, wherein the processor is further configured to execute instructions stored on the memory to cause the electronic device to:
user modifications to the configuration file are received prior to presentation of the graphical user interface to the user to establish a connection to the database corresponding to the modified configuration file.
8. The electronic device of claim 7, wherein receiving user modifications to the configuration file comprises receiving a user entered database IP, SID, PORT, a user name, and a password and replacing original data in the configuration file with the received database IP, SID, PORT, user name, and password.
9. A method performed by an electronic device of exporting a user-readable constraint file, comprising:
presenting a graphical user interface to a user and displaying an instruction on the graphical user interface for guiding the user to perform the next operation;
receiving a file name input by a user;
searching a database for a file having a same name as the received file name in response to a user activating an interactive button associated with the electronic device; and
after searching the files with the same names in the database, decompressing and decoding the data packets of the files with the same names and converting the data packets into files in a user readable format.
10. The method of claim 9, further comprising:
displaying the file export success and the time taken on the graphical user interface; and is also provided with
Displaying an instruction for guiding the user to perform the next operation on the graphical user interface.
11. The method of claim 9, further comprising:
if the files with the same names are not searched in the database, displaying an alarm message and possible reasons on the graphical user interface; and is also provided with
Displaying an instruction for guiding the user to perform the next operation on the graphical user interface.
12. The method of claim 9, wherein decompressing and decoding the packets of the file of the same name and converting it to a file in a user-readable format comprises:
decompressing the data packets of the files with the same name to obtain an original data structure;
decoding the original data structure by using a python open source language to obtain python decoded data; and
and carrying out format arrangement on the python decoded data by using a python open source language, and converting the python decoded data into a file in a user readable format.
13. The method of claim 12, wherein formatting the python decoded data in a python open source language to convert it to a file in a user readable format comprises:
and importing the python decoding data into a template corresponding to the file format selected by the user based on the python open source language based on the file format selected by the user, so as to generate a file of the file format selected by the user.
14. The method of claim 13, wherein the user-readable format comprises excel, word, and txt.
15. The method of claim 9, further comprising:
user modifications to the configuration file are received prior to presentation of the graphical user interface to the user to establish a connection to the database corresponding to the modified configuration file.
16. The method of claim 15, wherein receiving user modifications to the configuration file comprises receiving a user entered database IP, SID, PORT, a user name and a password and replacing original data in the configuration file with the received database IP, SID, PORT, user name and password.
17. A non-transitory computer readable medium having instructions stored thereon for execution by a processor to perform the method of any of claims 9-16.
18. A computer program product comprising a computer program which, when executed by a processor, performs the steps of the method according to any of claims 9-16.
CN202111525536.1A 2021-12-14 2021-12-14 Electronic device, method, medium, and program for exporting user-readable restriction file Pending CN116263759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111525536.1A CN116263759A (en) 2021-12-14 2021-12-14 Electronic device, method, medium, and program for exporting user-readable restriction file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111525536.1A CN116263759A (en) 2021-12-14 2021-12-14 Electronic device, method, medium, and program for exporting user-readable restriction file

Publications (1)

Publication Number Publication Date
CN116263759A true CN116263759A (en) 2023-06-16

Family

ID=86722009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111525536.1A Pending CN116263759A (en) 2021-12-14 2021-12-14 Electronic device, method, medium, and program for exporting user-readable restriction file

Country Status (1)

Country Link
CN (1) CN116263759A (en)

Similar Documents

Publication Publication Date Title
CN110442524B (en) Method and device for testing web service interface with authentication authorization
US10015200B2 (en) Communication with accessories
CN105338550B (en) A kind of management method and device of the connection for wireless network
Salikhov et al. Experience of using bluetooth low energy to develop a sensor data exchange system based on the nrf52832 microcontroller
KR20140106857A (en) Protocol conformity verification method, apparatus performing the same and systme performing the same
CN109818962B (en) Service data processing method and device, electronic equipment and storage medium
KR102202108B1 (en) System and method to automatically diagnose vulnerabilities in cloud infrastructure assets
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN107548083B (en) Wireless access point function test method and device
CN111124541B (en) Configuration file generation method, device, equipment and medium
CN116263759A (en) Electronic device, method, medium, and program for exporting user-readable restriction file
CN112527678A (en) Method, apparatus, device and storage medium for testing protocol
CN115203977A (en) Power grid simulation system
CN115022328A (en) Server cluster, server cluster testing method and device and electronic equipment
CN108415827B (en) Application automation processing method, device, client and system
CN112487416A (en) Business process verification method and device and electronic equipment
CN112667119A (en) Measuring point batch correlation method and device, electronic equipment and computer readable medium
Pham et al. Exploring bluetooth communication protocols in internet-of-things software development
CN113408970B (en) User information generation method and device, electronic equipment and computer readable medium
CN115842819B (en) Automatic driving system test data downloading method, device and equipment
CN116166844A (en) Data output method, device, electronic equipment and computer readable medium
CN113742150A (en) Data processing method and device and electronic equipment
CN114968693A (en) Performance test method and device
CN112631916A (en) Data verification method and device and electronic equipment
CN114417321A (en) Method, device, equipment and medium for connecting application software with database

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