WO2019228148A1 - Image processing method and device, and storage medium - Google Patents

Image processing method and device, and storage medium Download PDF

Info

Publication number
WO2019228148A1
WO2019228148A1 PCT/CN2019/085679 CN2019085679W WO2019228148A1 WO 2019228148 A1 WO2019228148 A1 WO 2019228148A1 CN 2019085679 W CN2019085679 W CN 2019085679W WO 2019228148 A1 WO2019228148 A1 WO 2019228148A1
Authority
WO
WIPO (PCT)
Prior art keywords
image processing
image
instruction
screenshot
screen
Prior art date
Application number
PCT/CN2019/085679
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 WO2019228148A1 publication Critical patent/WO2019228148A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • 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]
    • 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/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present disclosure relates to, but is not limited to, image processing technologies.
  • wireless network card terminals are provided with a display screen to show users the connection status of the wireless network card terminal and its own operating information.
  • the existing wireless network card terminals do not have their own image processing function.
  • the wireless network card terminal is closed to ensure user safety and cannot be controlled by third-party application software, users need a method of image processing for the wireless network card terminal, which is used for the display of the wireless network card terminal. The image is processed.
  • An embodiment of the present disclosure provides an image processing method, including: creating a client process of a wireless network card terminal with a screen; creating a server process of the wireless network card terminal with a screen; in the client process Receive image processing instructions; the client process converts the received image processing instructions into image processing instructions recognizable by the server process; and forwards the converted image processing instructions to the server process in the client process Receiving and analyzing the image processing instruction in the server process; and invoking a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction.
  • An embodiment of the present disclosure further provides an image processing apparatus, including: a process creating module configured to: create a client process of a wireless network card terminal with a screen; and create a server process of the wireless network card terminal with a screen
  • a client process module configured to execute the client process; receive image processing instructions; convert the received image processing instructions into image processing instructions recognizable by the server process; and convert the converted image processing instructions to the The server process forwarding; a server process module configured to execute the server process; receiving and analyzing the image processing instruction; and invoking a program pair corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction The image is processed.
  • An embodiment of the present disclosure further provides an image processing apparatus including a processor and a memory configured to store a computer program capable of running on the processor, wherein when the processor is configured to run the computer program, execute the following Operation: creating a client process of the wireless network card terminal with a screen; creating a server process of the wireless network card terminal with a screen; receiving image processing instructions in the client process; The received image processing instruction is converted into an image processing instruction recognizable by the server process; the converted image processing instruction is forwarded to the server process in the client process; and the server process is received and parsed the An image processing instruction; according to the analysis result of the image processing instruction, calling a program corresponding to the analysis result of the image processing instruction to process the image.
  • An embodiment of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, causes the processor to: create a client process of a wireless network card terminal with a screen Creating a server process of the wireless network card terminal with a screen; receiving an image processing instruction in the client process; the client process converting the received image processing instruction into an image recognizable by the server process Processing instructions; forwarding the converted image processing instructions to the server process in the client process; receiving and parsing the image processing instructions in the server process; calling according to the analysis result of the image processing instruction A program corresponding to the analysis result of the image processing instruction processes an image.
  • FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 8 is a composition diagram of an image processing apparatus according to an embodiment of the present disclosure.
  • Wireless network card terminal with screen A terminal that provides mobile hotspots and supports multiple users to access the mobile network at the same time.
  • FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 1, in some embodiments, the flow of the image processing method may include the following steps 101 to 107.
  • a client process of a wireless network card terminal with a screen is created; wherein the client process is configured to receive and forward image processing instructions.
  • a server process of a wireless network card terminal with a screen is created; wherein the server process is configured to execute a received image processing instruction.
  • the image processing instruction is received in the client process.
  • the client process converts the received image processing instruction into an image processing instruction recognizable by the server process.
  • the converted image processing instruction is forwarded to the server process in the client process.
  • the image processing instruction is received and parsed in the server process.
  • a program corresponding to the analysis result of the image processing instruction is called to process the image according to the analysis result of the image processing instruction.
  • the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes a screenshot instruction , According to the parsed screen capture instruction, calling a screen capture program corresponding to the screen capture instruction to obtain a screen capture parameter; at a first operating point of the wireless network card terminal with a screen, according to the screen capture parameter, using a preset screen capture rule, Perform screenshot processing; save the results of the screenshot processing.
  • the obtaining a screenshot parameter includes obtaining at least one of the following: coordinates of the first operation point; width information of the screenshot target; height information of the screenshot target; Color gamut span information.
  • the performing screenshot processing with preset screenshot rules includes: creating a mirror image of the screenshot target according to the width information and height information of the screenshot target; The mirror image is positively related to the screenshot target; starting from the pixel value of the screenshot target, the pixel cycle value is performed in a predetermined direction to complete the value of all pixels of the screenshot target.
  • screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
  • the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes an image acquisition instruction When the image acquisition instruction is parsed, an image acquisition program corresponding to the image acquisition instruction is called, and image transmission path information is obtained; in the server process, an image processing result is extracted according to the image transmission path information; The extracted image processing result is transmitted according to the image transmission path information. Therefore, the user can transmit the image information of the wireless network card terminal with the screen to the designated location according to the image transmission path through the image acquisition instruction.
  • the image transmission path conforms to an image path transmission rule; when the image transmission path conforms to the image path transmission rule, the extracted image processing result is processed according to the The image transmission path information is transmitted; when the image transmission path does not conform to the image path transmission rule, information indicating that the path is illegal is output. Therefore, the user can be prompted to adjust the image transmission path that does not meet the image path transmission rule in time, so as to ensure that the image of the wireless network card terminal with the screen can be stored in the designated location in time.
  • the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes an image deletion instruction At this time, an image deletion program corresponding to the image deletion instruction is called according to the parsed image deletion instruction, and the position information of the image to be cleared is acquired; the image to be cleared is cleared according to the obtained position information of the image to be cleared. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
  • the image processing method may further include: in the process of creating the client process, creating an image processing interface process of the wireless network card terminal with a screen; in the image processing interface The client process is connected in the process, and a non-executing terminal is connected in the image processing interface process; the image processing interface controls information transmission between the client process and the non-executing terminal.
  • the image processing method may further include: in the process of creating the client process, creating an image processing in the second electronic device with the wireless Internet card terminal with the screen Interface process, the image processing interface process of the wireless internet card terminal with screen may be a browser interface in a second electronic device, and the second electronic device may be controlled through the browser interface in the second electronic device Information is transmitted between the wireless internet card terminal with a screen, and the expression form of the second electronic device includes any terminal with a display screen.
  • the image processing interface controls information transmission between the client process and the non-executing terminal, and includes at least one of the following: receiving and sending the image to the client process Processing instructions; receiving and sending to the non-executing terminal an image originating from the client process. Therefore, not only can the image processing instruction sent to the client process be received through the established image processing interface process, but also the image originating from the client process can be sent to the non-executing terminal in time, avoiding having a screen The image information of your wireless network card terminal takes up too much storage space.
  • FIG. 2 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure.
  • the structure of the image processing apparatus provided by the embodiment of the present disclosure may include a process creation module 201, a client process module 202, and a server process module 203.
  • the process creation module 201 may be configured to: create a client process of a wireless network card terminal with a screen, the client process is used to receive and forward image processing instructions; create a wireless network card with a screen A server process of the terminal, the server process is configured to execute the received image processing instruction.
  • the client process module 202 may be configured to execute the client process; receive the image processing instructions; convert the received image processing instructions into image processing instructions recognizable by the server process; The converted image processing instructions are forwarded to the server process.
  • the server process module 203 may be configured to execute the server process; receive and parse the image processing instruction; and call the analysis result corresponding to the image processing instruction according to the analysis result of the image processing instruction.
  • the program processes the image.
  • the server process module when the parsed result characterizes a screenshot instruction, is configured to: according to the parsed screenshot instruction, call a screenshot program corresponding to the screenshot instruction to obtain a screenshot parameter.
  • the image processing apparatus further includes: a first execution module configured to perform a screenshot processing at a first operating point of the wireless network card terminal with a screen according to the screenshot parameters and a preset screenshot rule; The results of the screen capture process are described.
  • the obtaining a screenshot parameter includes obtaining at least one of the following: coordinates of the first operation point; width information of the screenshot target; height information of the screenshot target; Color gamut span information.
  • the first execution module is configured to: create a mirror image of the screenshot target according to the width information and height information of the screenshot target; the mirror image of the screenshot target and the screenshot The target is positively correlated; starting from the pixel value point of the screen capture target, the pixel cycle value is performed in a predetermined direction to complete the value of all pixels of the screen capture target.
  • screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
  • the server process module 203 when the analysis result characterizes an image acquisition instruction, is configured to: according to the parsed image acquisition instruction, call an image acquisition program corresponding to the image acquisition instruction, And obtain image transmission path information.
  • the image processing apparatus further includes: a second execution module configured to extract an image processing result according to the image transmission path information in the server process; and to extract the extracted image processing result according to the image transmission Path information is transmitted. Therefore, the user can be prompted to adjust the image transmission path that does not meet the image path transmission rule in time, so as to ensure that the image of the wireless network card terminal with the screen can be stored in the designated location in time.
  • the server process module 203 when the analysis result characterizes an image deletion instruction, is configured to call an image deletion program corresponding to the image deletion instruction according to the parsed image deletion instruction, and Get the location information of the image to be cleared.
  • the image processing apparatus further includes a third execution module configured to clear the image to be cleared according to the obtained position information of the image to be cleared. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
  • the first to third execution modules may be the same module or different modules.
  • the process creating module 201 is configured to create an image processing interface process of a wireless network card terminal with a screen.
  • the image processing apparatus further includes: an image processing interface process module configured to execute the image processing interface process; connecting to the client process module; connecting to a non-execution terminal; controlling the client process module and the non-execution Information is transmitted between the terminals.
  • the image processing interface process module is configured to: receive and send the image processing instruction to the client process; receive and send an image originating from the client process to the non-executing terminal. Therefore, not only can the image processing instruction sent to the client process be received through the established image processing interface process, but also the image originating from the client process can be sent to the non-executing terminal in time, avoiding having a screen The image information of your wireless network card terminal takes up too much storage space.
  • FIG. 3 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 3, in some embodiments, the flow of the image processing method may include the following steps 301 to 305.
  • the wireless network card terminal with a screen starts a server process.
  • the server process is used to wait for the client process to connect, and can use socket connection, pipe connection, and other methods.
  • the wireless network card terminal with a screen starts a client process.
  • the client process is used to connect to the server process and can keep the server and client communicating.
  • the client process starts loading the local device IP information.
  • the server process replies to the client process, indicating a successful connection.
  • an image processing instruction is sent through the image processing interface process, and the server process is accessed through the client process.
  • FIG. 4 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 4, in some embodiments, the flow of the image processing method may include the following steps 401 to 404.
  • the screen capture program opens a framebuffer node fb 0 and obtains the screen width and height, as well as grayscale and color depth information.
  • an image instance of the same size is created according to the screen area size of the wireless network card terminal with the screen.
  • a single pixel is acquired from the screen from the upper left corner to the right, until all the pixels of the screen are acquired.
  • the screenshot result is saved to complete a single screenshot.
  • screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
  • FIG. 5 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 5, in some embodiments, the flow of the image processing method may include the following steps 501 to 504.
  • a screenshot instruction is sent through the image processing interface process.
  • the client process receives and parses the screenshot instruction.
  • the client process converts the screenshot instruction into an instruction that can be recognized by the server process, and sends it to the server process.
  • the server process calls a screen capture program to complete the screen capture operation.
  • the history information of the screenshot operation and the information of the screenshot result may also be stored in a wireless network card terminal with a screen.
  • the screen sending instruction is sent through the image processing interface process, and the sending instruction format is as follows:
  • screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
  • FIG. 6 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 6, in some embodiments, the flow of the image processing method may include the following steps 601 to 607.
  • an image acquisition instruction is sent through an image processing interface process.
  • the client process receives and parses the image acquisition instruction, and the client process converts the image acquisition instruction into an instruction recognizable by the server process and sends it to the server process.
  • the server process extracts image information according to the transmission path information.
  • the image information is transmitted according to the transmission path information.
  • the server process transmits the image information to the client process.
  • the client transmits the extracted image information to the image processing interface process.
  • the image processing interface process transmits the extracted image information to the non-executing terminal.
  • an instruction format for sending an image acquisition instruction through an image processing interface process is as follows:
  • the user can transmit the image information of the wireless network card terminal with the screen to the designated location according to the image transmission path through the image acquisition instruction.
  • FIG. 7 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 7, in some embodiments, the flow of the image processing method may include the following steps 701 and 702.
  • an image deletion instruction is sent through the image processing interface process.
  • the client process receives and parses the image deletion instruction, and the client process converts the image deletion instruction into an instruction that the server process can recognize, and sends the instruction to the server process;
  • the format of the image deletion instruction sent through the image processing interface process is as follows:
  • the server process clears the image to be cleared according to the received image deletion instruction. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
  • FIG. 8 is a composition diagram of an image processing apparatus according to an embodiment of the present disclosure.
  • the image processing apparatus 800 shown in FIG. 8 may be a mobile phone with a display function and a short-range communication function, a computer, a digital broadcasting terminal, an information transmitting and receiving device, a game console, a tablet device, a medical device, a fitness device, and a personal device. Digital assistants, etc.
  • the image processing apparatus 800 may include: at least one processor 801, a memory 802, at least one network interface 804, and a user interface 803.
  • the various components in the image processing apparatus 800 are coupled together by a bus system 805. It can be understood that the bus system 805 is used to implement connection and communication between these components.
  • the bus system 805 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 805 in FIG. 8.
  • the user interface 803 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touchpad, or a touch screen.
  • the memory 802 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • the non-volatile memory may be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), and erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory), Electrically Erasable and Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , Compact disc, or read-only compact disc (CD-ROM, Compact Disc-Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory.
  • the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Rate Synchronous Dynamic Access Random Access Memory, Enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct RAM Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ).
  • the memory 802 described in embodiments of the present disclosure is intended to include these and any other suitable types of memory.
  • the memory 802 in the embodiment of the present disclosure is configured to store various types of data including image information to support the operation of the image processing apparatus 800.
  • Examples of these data include: any computer program for operating on the image processing apparatus 800, such as an operating system 8021 and an application program 8022; contact data; phone book data; messages; pictures; videos and the like.
  • the operating system 8021 may include various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks.
  • the application program 8022 may include various application programs, such as a client with an image processing function, a media player (Media Player), a browser (Browser), etc., and is used to implement various application services including through an image processing program. .
  • a program that implements the image processing method of the embodiment of the present disclosure may be contained in an application program 8022.
  • the method disclosed in the foregoing embodiments of the present disclosure may be applied to the processor 801, or implemented by the processor 801.
  • the processor 801 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by an operation of a hardware integrated logic circuit or software in the processor 801.
  • the aforementioned processor 801 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • DSP Digital Signal Processor
  • the processor 801 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure.
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • the storage medium is located in the memory 802.
  • the processor 801 reads information in the memory 802 and completes the steps of the foregoing method in combination with its hardware.
  • the image processing device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices (PLDs).
  • ASICs Application Specific Integrated Circuits
  • DSPs Programmable Logic Devices
  • PLDs Programmable Logic Devices
  • PLDs Complex Programmable Logic Devices
  • CPLD Complex, Programmable, Logic, Device
  • FPGA Field Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • general-purpose processor controller, microcontroller (MCU, Microcontroller Unit), microprocessor (Microprocessor), or other Electronic component implementation for performing the image processing method.
  • MCU microcontroller
  • Microcontroller Unit Microcontroller Unit
  • Microprocessor Microprocessor
  • the present disclosure further provides a computer-readable storage medium, such as a memory 802 including a computer program, which can be executed by the processor 801 of the image processing apparatus 800 to complete the steps of the foregoing method.
  • the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it may also be a variety of devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
  • An embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored.
  • the processor causes the processor to perform the following steps: creating a wireless network card terminal with a screen A client process; a server process that creates the wireless network card terminal with a screen; receives the image processing instruction in the client process; the client process converts the received image processing instruction into the server Process-identifiable image processing instructions; forward the converted image processing instructions to the server process in the client process; receive and parse the image processing instructions in the server process; and according to the image processing instructions
  • the analysis result of the image processing process by calling a program corresponding to the analysis result of the image processing instruction.
  • a client process and a server process are established in the wireless network card terminal with the screen through the screen of the wireless network card terminal with the screen, and the wireless network card with the screen can be used according to the image processing instruction.
  • the image processing of the terminal can also ensure the closed operation security of the wireless network card terminal with the screen.
  • the technical solution provided by the present disclosure does not need to limit the use environment, is simple to implement, and has a wide applicable range.
  • the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the embodiments of the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including magnetic disk memory, optical memory, and the like) containing computer-usable program code therein.
  • computer-usable storage media including magnetic disk memory, optical memory, and the like
  • Embodiments of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program operations.
  • These computer program operations may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a specific manner such that the operations stored in the computer-readable memory produce a manufactured article including an operating device, the operation
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.

Abstract

The present application provides an image processing method, comprising: create a client process of a wireless network card terminal having a screen; create a server process of the wireless network card terminal having a screen; receive an image processing instruction in the client process; the client process converts the received image processing instruction into an image processing instruction which can be identified by the server process; forward, in the client process, the converted image processing instruction to the server process; receive and parse the image processing instruction in the server process; invoke, according to the parsing result of the image processing instruction, a program corresponding to the parsing result of the image processing instruction to process an image. The present application also provides an image processing device and a storage medium.

Description

图像处理方法及装置、存储介质Image processing method and device, and storage medium 技术领域Technical field
本公开涉及但不限于图像处理技术。The present disclosure relates to, but is not limited to, image processing technologies.
背景技术Background technique
目前,越来越多的无线上网卡终端带有显示屏,以用于向用户展示无线上网卡终端的连接情况和自身的运行信息,现有的无线上网卡终端没有对自身图像处理的功能,而且,由于无线上网卡终端为保证用户安全都为封闭运行,不能接受第三方应用软件的控制,因此,用户需要一种无线上网卡终端的图像处理方法,用以对无线上网卡终端显示屏的图像进行处理。At present, more and more wireless network card terminals are provided with a display screen to show users the connection status of the wireless network card terminal and its own operating information. The existing wireless network card terminals do not have their own image processing function. In addition, since the wireless network card terminal is closed to ensure user safety and cannot be controlled by third-party application software, users need a method of image processing for the wireless network card terminal, which is used for the display of the wireless network card terminal. The image is processed.
发明内容Summary of the invention
本公开实施例提供了一种图像处理方法,包括:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;在所述客户端进程中接收图像处理指令;所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;在所述服务器进程中接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。An embodiment of the present disclosure provides an image processing method, including: creating a client process of a wireless network card terminal with a screen; creating a server process of the wireless network card terminal with a screen; in the client process Receive image processing instructions; the client process converts the received image processing instructions into image processing instructions recognizable by the server process; and forwards the converted image processing instructions to the server process in the client process Receiving and analyzing the image processing instruction in the server process; and invoking a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction.
本公开实施例还提供了一种图像处理装置,包括:进程创建模块,配置为:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;客户端进程模块,配置为:执行所述客户端进程;接收图像处理指令;将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;将经过转换的图像处理指令向所述服务器进程转发;服务器进程模块,配置为执行所述服务器进程;接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像 进行处理。An embodiment of the present disclosure further provides an image processing apparatus, including: a process creating module configured to: create a client process of a wireless network card terminal with a screen; and create a server process of the wireless network card terminal with a screen A client process module configured to execute the client process; receive image processing instructions; convert the received image processing instructions into image processing instructions recognizable by the server process; and convert the converted image processing instructions to the The server process forwarding; a server process module configured to execute the server process; receiving and analyzing the image processing instruction; and invoking a program pair corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction The image is processed.
本公开实施例还提供了一种图像处理装置,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器配置为运行所述计算机程序时,执行以下操作:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;在所述客户端进程中接收图像处理指令;所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;在所述服务器进程中接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。An embodiment of the present disclosure further provides an image processing apparatus including a processor and a memory configured to store a computer program capable of running on the processor, wherein when the processor is configured to run the computer program, execute the following Operation: creating a client process of the wireless network card terminal with a screen; creating a server process of the wireless network card terminal with a screen; receiving image processing instructions in the client process; The received image processing instruction is converted into an image processing instruction recognizable by the server process; the converted image processing instruction is forwarded to the server process in the client process; and the server process is received and parsed the An image processing instruction; according to the analysis result of the image processing instruction, calling a program corresponding to the analysis result of the image processing instruction to process the image.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,使得所述处理器:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;在所述客户端进程中接收图像处理指令;所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;在所述服务器进程中接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。An embodiment of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, causes the processor to: create a client process of a wireless network card terminal with a screen Creating a server process of the wireless network card terminal with a screen; receiving an image processing instruction in the client process; the client process converting the received image processing instruction into an image recognizable by the server process Processing instructions; forwarding the converted image processing instructions to the server process in the client process; receiving and parsing the image processing instructions in the server process; calling according to the analysis result of the image processing instruction A program corresponding to the analysis result of the image processing instruction processes an image.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是根据本公开实施例的图像处理方法的流程示意图;1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图2是根据本公开实施例的图像处理装置的结构示意图;2 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure;
图3是根据本公开实施例的图像处理方法的流程示意图;3 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图4是根据本公开实施例的图像处理方法的流程示意图;4 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图5是根据本公开实施例的图像处理方法的流程示意图;5 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图6是根据本公开实施例的图像处理方法的流程示意图;6 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图7是根据本公开实施例的图像处理方法的流程示意图;7 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
图8为根据本公开实施例的图像处理装置的组成示意图。FIG. 8 is a composition diagram of an image processing apparatus according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开。In order to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
对本公开进行进一步详细说明之前,对本公开实施例中涉及的名词和术语进行说明,本公开实施例中涉及的名词和术语适用于如下的解释。Before the present disclosure is further described in detail, the terms and terms involved in the embodiments of the present disclosure are described. The terms and terms involved in the embodiments of the present disclosure are applicable to the following explanations.
带有屏幕的无线上网卡终端:提供移动热点,支持多个用户同时接入移动网络的终端。Wireless network card terminal with screen: A terminal that provides mobile hotspots and supports multiple users to access the mobile network at the same time.
图1是根据本公开实施例的图像处理方法的流程示意图。如图1所示,在一些实施例中,图像处理方法的流程可以包括以下步骤101至107。FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 1, in some embodiments, the flow of the image processing method may include the following steps 101 to 107.
在步骤101处,创建带有屏幕的无线上网卡终端的客户端进程;其中,所述客户端进程配置为接收并转发图像处理指令。At step 101, a client process of a wireless network card terminal with a screen is created; wherein the client process is configured to receive and forward image processing instructions.
在步骤102处,创建带有屏幕的无线上网卡终端的服务器进程;其中,所述服务器进程配置为执行所接收的图像处理指令。At step 102, a server process of a wireless network card terminal with a screen is created; wherein the server process is configured to execute a received image processing instruction.
在步骤103处,在所述客户端进程中接收所述图像处理指令。At step 103, the image processing instruction is received in the client process.
在步骤104处,所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令。At step 104, the client process converts the received image processing instruction into an image processing instruction recognizable by the server process.
在步骤105处,在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发。At step 105, the converted image processing instruction is forwarded to the server process in the client process.
在步骤106处,在所述服务器进程中接收并解析所述图像处理指令。At step 106, the image processing instruction is received and parsed in the server process.
在步骤107处,根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。At step 107, a program corresponding to the analysis result of the image processing instruction is called to process the image according to the analysis result of the image processing instruction.
在本公开的一个实施例中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:当所述解析结果表征截屏指令时,根据所解析的截屏指令,调用与所述截屏指令对应的截屏程序,获取截屏参数;在带有屏幕的 无线上网卡终端的第一操作点根据所述截屏参数,以预设的截屏规则,进行截屏处理;保存所述截屏处理的结果。In an embodiment of the present disclosure, the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes a screenshot instruction , According to the parsed screen capture instruction, calling a screen capture program corresponding to the screen capture instruction to obtain a screen capture parameter; at a first operating point of the wireless network card terminal with a screen, according to the screen capture parameter, using a preset screen capture rule, Perform screenshot processing; save the results of the screenshot processing.
在本公开的一个实施例中,所述获取截屏参数,包括获取至少以下之一:所述第一操作点的坐标;截屏目标的宽度信息;所述截屏目标的高度信息;所述截屏目标的色域跨度信息。In an embodiment of the present disclosure, the obtaining a screenshot parameter includes obtaining at least one of the following: coordinates of the first operation point; width information of the screenshot target; height information of the screenshot target; Color gamut span information.
在本公开的一个实施例中,所述以预设的截屏规则,进行截屏处理,包括:根据所述截屏目标的宽度信息和高度信息,创建所述截屏目标的镜像图像;所述截屏目标的镜像图像与所述截屏目标呈正相关;从所述截屏目标的像素取值点开始,以预定方向进行像素循环取值,以完成对所述截屏目标的全部像素取值。由此,可以根据所解析的截屏指令,对带有屏幕的无线上网卡终端的图像进行截屏处理,获得与所述截屏目标呈正相关的镜像图像。In an embodiment of the present disclosure, the performing screenshot processing with preset screenshot rules includes: creating a mirror image of the screenshot target according to the width information and height information of the screenshot target; The mirror image is positively related to the screenshot target; starting from the pixel value of the screenshot target, the pixel cycle value is performed in a predetermined direction to complete the value of all pixels of the screenshot target. Thereby, according to the parsed screen capture instruction, screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
在本公开的一个实施例中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:当所述解析结果表征图像采集指令时,根据所解析的图像采集指令,调用与所述图像采集指令对应的图像采集程序,并获取图像传输路径信息;在所述服务器进程中根据所述图像传输路径信息,提取图像处理结果;将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输。由此,用户可以通过图像采集指令,将带有屏幕的无线上网卡终端的图像信息依照图像传输路径,传输至指定位置。In an embodiment of the present disclosure, the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes an image acquisition instruction When the image acquisition instruction is parsed, an image acquisition program corresponding to the image acquisition instruction is called, and image transmission path information is obtained; in the server process, an image processing result is extracted according to the image transmission path information; The extracted image processing result is transmitted according to the image transmission path information. Therefore, the user can transmit the image information of the wireless network card terminal with the screen to the designated location according to the image transmission path through the image acquisition instruction.
在本公开的一个实施例中,首先判断所述图像传输路径是否符合图像路径传输规则;当所述图像传输路径符合所述图像路径传输规则时,将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输;当所述图像传输路径不符合所述图像路径传输规则时,输出提示路径非法的信息。由此,可以提示用户及时调整不符合所述图像路径传输规则的图像传输路径,以保证带有屏幕的无线上网卡终端的图像能够及时存储在指定位置。In an embodiment of the present disclosure, it is first determined whether the image transmission path conforms to an image path transmission rule; when the image transmission path conforms to the image path transmission rule, the extracted image processing result is processed according to the The image transmission path information is transmitted; when the image transmission path does not conform to the image path transmission rule, information indicating that the path is illegal is output. Therefore, the user can be prompted to adjust the image transmission path that does not meet the image path transmission rule in time, so as to ensure that the image of the wireless network card terminal with the screen can be stored in the designated location in time.
在本公开的一个实施例中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:当所述解析结果表征图像删除指令时,根据所解析的图像 删除指令,调用与所述图像删除指令对应的图像删除程序,并获取待清除图像的位置信息;根据所获取的待清除图像的位置信息,清除所述待清除图像。由于带有屏幕的无线上网卡终端的存储容量有限,通过本公开所记载的技术方案,用户可以通过图像删除指令及时删除需要清理的图像信息,避免无用的图像信息占用带有屏幕的无线上网卡终端的存储空间。In an embodiment of the present disclosure, the calling a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction includes: when the analysis result characterizes an image deletion instruction At this time, an image deletion program corresponding to the image deletion instruction is called according to the parsed image deletion instruction, and the position information of the image to be cleared is acquired; the image to be cleared is cleared according to the obtained position information of the image to be cleared. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
在本公开的一个实施例中,所述图像处理方法还可以包括:在创建所述客户端进程的过程中,创建带有屏幕的无线上网卡终端的图像处理界面进程;在所述图像处理界面进程中连接所述客户端进程,并在所述图像处理界面进程中连接非执行终端;所述图像处理界面控制所述客户端进程与所述非执行终端之间进行信息传输。In an embodiment of the present disclosure, the image processing method may further include: in the process of creating the client process, creating an image processing interface process of the wireless network card terminal with a screen; in the image processing interface The client process is connected in the process, and a non-executing terminal is connected in the image processing interface process; the image processing interface controls information transmission between the client process and the non-executing terminal.
在本公开的一个实施例中,所述图像处理方法还可以包括:在创建所述客户端进程的过程中,在第二电子设备中创建带针对所述有屏幕的无线上网卡终端的图像处理界面进程,所述带有屏幕的无线上网卡终端的图像处理界面进程可以是第二电子设备中的浏览器界面,通过所述第二电子设备中的浏览器界面可以控制所述第二电子设备与所述带有屏幕的无线上网卡终端之间进行信息传输,所述第二电子设备的表现形式包括任一带有显示屏的终端。In an embodiment of the present disclosure, the image processing method may further include: in the process of creating the client process, creating an image processing in the second electronic device with the wireless Internet card terminal with the screen Interface process, the image processing interface process of the wireless internet card terminal with screen may be a browser interface in a second electronic device, and the second electronic device may be controlled through the browser interface in the second electronic device Information is transmitted between the wireless internet card terminal with a screen, and the expression form of the second electronic device includes any terminal with a display screen.
在本公开的一个实施例中,所述图像处理界面控制所述客户端进程与所述非执行终端之间进行信息传输,包括至少以下之一:接收并向所述客户端进程发送所述图像处理指令;接收并向所述非执行终端发送来源于所述客户端进程的图像。由此,不但可以通过所建立的图像处理界面进程接收向所述客户端进程发送所述图像处理指令,还能够及时的向非执行终端发送来源于所述客户端进程的图像,避免带有屏幕的无线上网卡终端的图像信息占用过多的存储空间。In an embodiment of the present disclosure, the image processing interface controls information transmission between the client process and the non-executing terminal, and includes at least one of the following: receiving and sending the image to the client process Processing instructions; receiving and sending to the non-executing terminal an image originating from the client process. Therefore, not only can the image processing instruction sent to the client process be received through the established image processing interface process, but also the image originating from the client process can be sent to the non-executing terminal in time, avoiding having a screen The image information of your wireless network card terminal takes up too much storage space.
图2是根据本公开实施例的图像处理装置的结构示意图。如图2所示,本公开实施例提供的图像处理装置的结构可以包括:进程创建模块201、客户端进程模块202和服务器进程模块203。FIG. 2 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 2, the structure of the image processing apparatus provided by the embodiment of the present disclosure may include a process creation module 201, a client process module 202, and a server process module 203.
在一个实施例中,进程创建模块201可以配置为:创建带有屏幕的无线上网卡终端的客户端进程,所述客户端进程用于接收并转发 图像处理指令;创建带有屏幕的无线上网卡终端的服务器进程,所述服务器进程用于执行所接收的图像处理指令。In one embodiment, the process creation module 201 may be configured to: create a client process of a wireless network card terminal with a screen, the client process is used to receive and forward image processing instructions; create a wireless network card with a screen A server process of the terminal, the server process is configured to execute the received image processing instruction.
在一个实施例中,客户端进程模块202可以配置为执行所述客户端进程;接收所述图像处理指令;将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;将经过转换的图像处理指令向所述服务器进程转发。In one embodiment, the client process module 202 may be configured to execute the client process; receive the image processing instructions; convert the received image processing instructions into image processing instructions recognizable by the server process; The converted image processing instructions are forwarded to the server process.
在一个实施例中,服务器进程模块203可以配置为执行所述服务器进程;接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。In one embodiment, the server process module 203 may be configured to execute the server process; receive and parse the image processing instruction; and call the analysis result corresponding to the image processing instruction according to the analysis result of the image processing instruction. The program processes the image.
在本公开的一个实施例中,当所述解析结果表征截屏指令时,所述服务器进程模块配置为:根据所解析的截屏指令,调用与所述截屏指令对应的截屏程序,获取截屏参数。In an embodiment of the present disclosure, when the parsed result characterizes a screenshot instruction, the server process module is configured to: according to the parsed screenshot instruction, call a screenshot program corresponding to the screenshot instruction to obtain a screenshot parameter.
所述图像处理装置还包括:第一执行模块,其配置为:在带有屏幕的无线上网卡终端的第一操作点根据所述截屏参数,以预设的截屏规则,进行截屏处理;保存所述截屏处理的结果。The image processing apparatus further includes: a first execution module configured to perform a screenshot processing at a first operating point of the wireless network card terminal with a screen according to the screenshot parameters and a preset screenshot rule; The results of the screen capture process are described.
在本公开的一个实施例中,所述获取截屏参数,包括获取至少以下之一:所述第一操作点的坐标;截屏目标的宽度信息;所述截屏目标的高度信息;所述截屏目标的色域跨度信息。In an embodiment of the present disclosure, the obtaining a screenshot parameter includes obtaining at least one of the following: coordinates of the first operation point; width information of the screenshot target; height information of the screenshot target; Color gamut span information.
在本公开的一个实施例中,所述第一执行模块配置为:根据所述截屏目标的宽度信息和高度信息,创建所述截屏目标的镜像图像;所述截屏目标的镜像图像与所述截屏目标呈正相关;从所述截屏目标的像素取值点开始,以预定方向进行像素循环取值,以完成对所述截屏目标的全部像素取值。由此,可以根据所解析的截屏指令,对带有屏幕的无线上网卡终端的图像进行截屏处理,获得与所述截屏目标呈正相关的镜像图像。In an embodiment of the present disclosure, the first execution module is configured to: create a mirror image of the screenshot target according to the width information and height information of the screenshot target; the mirror image of the screenshot target and the screenshot The target is positively correlated; starting from the pixel value point of the screen capture target, the pixel cycle value is performed in a predetermined direction to complete the value of all pixels of the screen capture target. Thereby, according to the parsed screen capture instruction, screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
在本公开的一个实施例中,当所述解析结果表征图像采集指令时,所述服务器进程模块203配置为:根据所解析的图像采集指令,调用与所述图像采集指令对应的图像采集程序,并获取图像传输路径信息。In an embodiment of the present disclosure, when the analysis result characterizes an image acquisition instruction, the server process module 203 is configured to: according to the parsed image acquisition instruction, call an image acquisition program corresponding to the image acquisition instruction, And obtain image transmission path information.
所述图像处理装置还包括:第二执行模块,其配置为在所述服务器进程中根据所述图像传输路径信息,提取图像处理结果;将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输。由此,可以提示用户及时调整不符合所述图像路径传输规则的图像传输路径,以保证带有屏幕的无线上网卡终端的图像能够及时存储在指定位置。The image processing apparatus further includes: a second execution module configured to extract an image processing result according to the image transmission path information in the server process; and to extract the extracted image processing result according to the image transmission Path information is transmitted. Therefore, the user can be prompted to adjust the image transmission path that does not meet the image path transmission rule in time, so as to ensure that the image of the wireless network card terminal with the screen can be stored in the designated location in time.
在本公开的一个实施例中,可以首先判断所述图像传输路径是否符合图像路径传输规则;当所述图像传输路径符合所述图像路径传输规则时,所述第二执行模块配置为将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输;当所述图像传输路径不符合所述图像路径传输规则时,所述第二执行模块配置为输出提示路径非法的信息。由此,可以提示用户及时调整不符合所述图像路径传输规则的图像传输路径,以保证带有屏幕的无线上网卡终端的图像能够及时存储在指定位置。In an embodiment of the present disclosure, it may be first determined whether the image transmission path conforms to an image path transmission rule; when the image transmission path conforms to the image path transmission rule, the second execution module is configured to extract the The image processing result is transmitted according to the image transmission path information; when the image transmission path does not conform to the image path transmission rule, the second execution module is configured to output information indicating that the path is illegal. Therefore, the user can be prompted to adjust the image transmission path that does not meet the image path transmission rule in time, so as to ensure that the image of the wireless network card terminal with the screen can be stored in the designated location in time.
在本公开的一个实施例中,当所述解析结果表征图像删除指令时,所述服务器进程模块203配置为根据所解析的图像删除指令,调用与所述图像删除指令对应的图像删除程序,并获取待清除图像的位置信息。In an embodiment of the present disclosure, when the analysis result characterizes an image deletion instruction, the server process module 203 is configured to call an image deletion program corresponding to the image deletion instruction according to the parsed image deletion instruction, and Get the location information of the image to be cleared.
所述图像处理装置还包括:第三执行模块,其配置为根据所获取的待清除图像的位置信息,清除所述待清除图像。由于带有屏幕的无线上网卡终端的存储容量有限,通过本公开所记载的技术方案,用户可以通过图像删除指令及时删除需要清理的图像信息,避免无用的图像信息占用带有屏幕的无线上网卡终端的存储空间。The image processing apparatus further includes a third execution module configured to clear the image to be cleared according to the obtained position information of the image to be cleared. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
上述第一执行模块至第三执行模块可以为同一个模块,也可以为不同的模块。The first to third execution modules may be the same module or different modules.
在本公开的一个实施例中,所述进程创建模块201配置为创建带有屏幕的无线上网卡终端的图像处理界面进程。In an embodiment of the present disclosure, the process creating module 201 is configured to create an image processing interface process of a wireless network card terminal with a screen.
所述图像处理装置还包括:图像处理界面进程模块,其配置为执行所述图像处理界面进程;连接所述客户端进程模块;连接非执行终端;控制所述客户端进程模块与所述非执行终端之间进行信息传输。The image processing apparatus further includes: an image processing interface process module configured to execute the image processing interface process; connecting to the client process module; connecting to a non-execution terminal; controlling the client process module and the non-execution Information is transmitted between the terminals.
在一个实施例中,所述图像处理界面进程模块配置为:接收并向所述客户端进程发送所述图像处理指令;接收并向所述非执行终端发送来源于所述客户端进程的图像。由此,不但可以通过所建立的图像处理界面进程接收向所述客户端进程发送所述图像处理指令,还能够及时的向非执行终端发送来源于所述客户端进程的图像,避免带有屏幕的无线上网卡终端的图像信息占用过多的存储空间。In one embodiment, the image processing interface process module is configured to: receive and send the image processing instruction to the client process; receive and send an image originating from the client process to the non-executing terminal. Therefore, not only can the image processing instruction sent to the client process be received through the established image processing interface process, but also the image originating from the client process can be sent to the non-executing terminal in time, avoiding having a screen The image information of your wireless network card terminal takes up too much storage space.
图3是根据本公开实施例的图像处理方法的流程示意图。如图3所示,在一些实施例中,所述图像处理方法的流程可以包括以下步骤301至305。FIG. 3 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 3, in some embodiments, the flow of the image processing method may include the following steps 301 to 305.
在步骤301处,带有屏幕的无线上网卡终端启动服务器进程。At step 301, the wireless network card terminal with a screen starts a server process.
服务器进程用于等待客户端进程连接,可以使用套接字连接(socket)、管道连接等方式。The server process is used to wait for the client process to connect, and can use socket connection, pipe connection, and other methods.
在步骤302处,带有屏幕的无线上网卡终端启动客户端进程。At step 302, the wireless network card terminal with a screen starts a client process.
客户端进程用于连接服务器进程,可以保持服务器和客户端进行通信。The client process is used to connect to the server process and can keep the server and client communicating.
在步骤303处,客户端进程启动加载本地设备IP信息。At step 303, the client process starts loading the local device IP information.
在一个示例中,如果第一次连接失败,需要进行多次尝试,直到连接成功。In one example, if the first connection fails, multiple attempts are required until the connection is successful.
在步骤304处,服务器进程回复客户端进程,表示成功连接。At step 304, the server process replies to the client process, indicating a successful connection.
在步骤305处,通过图像处理界面进程发送图像处理指令,通过客户端进程访问服务器进程。At step 305, an image processing instruction is sent through the image processing interface process, and the server process is accessed through the client process.
图4是根据本公开实施例的图像处理方法的流程示意图。如图4所示,在一些实施例中,所述图像处理方法的流程可以包括以下步骤401至404。FIG. 4 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 4, in some embodiments, the flow of the image processing method may include the following steps 401 to 404.
在步骤401处,截屏程序打开帧缓冲设备(framebuffer)节点fb 0,并且获取屏幕宽度和高度,以及灰度和颜色深度信息。 At step 401, the screen capture program opens a framebuffer node fb 0 and obtains the screen width and height, as well as grayscale and color depth information.
在步骤402处,根据带有屏幕的无线上网卡终端屏幕区域大小创建同等大小的图像实例。At step 402, an image instance of the same size is created according to the screen area size of the wireless network card terminal with the screen.
在步骤403处,从左上角向右从屏幕上获取单个像素点,直到屏幕所有像素点获取完成。At step 403, a single pixel is acquired from the screen from the upper left corner to the right, until all the pixels of the screen are acquired.
在步骤404处,保存截图结果,完成单张屏幕截图。At step 404, the screenshot result is saved to complete a single screenshot.
由此,可以根据所解析的截屏指令,对带有屏幕的无线上网卡终端的图像进行截屏处理,获得与所述截屏目标呈正相关的镜像图像。Thereby, according to the parsed screen capture instruction, screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
图5是根据本公开实施例的图像处理方法的流程示意图。如图5所示,在一些实施例中,所述图像处理方法的流程可以包括以下步骤501至504。FIG. 5 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 5, in some embodiments, the flow of the image processing method may include the following steps 501 to 504.
在步骤501处,通过图像处理界面进程发送截屏指令。At step 501, a screenshot instruction is sent through the image processing interface process.
在步骤502处,客户端进程接收并解析所述截屏指令。At step 502, the client process receives and parses the screenshot instruction.
在步骤503处,客户端进程将所述截屏指令转换为服务器进程可以识别的指令,向所述服务器进程发送。At step 503, the client process converts the screenshot instruction into an instruction that can be recognized by the server process, and sends it to the server process.
在步骤504处,服务器进程调用截屏程序,完成截屏操作。At step 504, the server process calls a screen capture program to complete the screen capture operation.
在本公开的一个实施例中,还可以将所述截屏操作的历史信息和截屏结果的信息保存在带有屏幕的无线上网卡终端中。In an embodiment of the present disclosure, the history information of the screenshot operation and the information of the screenshot result may also be stored in a wireless network card terminal with a screen.
在本公开的一个实施例中,通过图像处理界面进程发送截屏指令发送指令格式如下:In an embodiment of the present disclosure, the screen sending instruction is sent through the image processing interface process, and the sending instruction format is as follows:
Request URL:Request URL:
/goform/goform_set_cmd_process/ goform / goform_set_cmd_process
Sample Request:Sample Request:
goformId=CMDAgoformId = CMDA
Figure PCTCN2019085679-appb-000001
Figure PCTCN2019085679-appb-000001
Sample Response:SampleResponse:
{"result":"success"}{"result": "success"}
Figure PCTCN2019085679-appb-000002
Figure PCTCN2019085679-appb-000002
由此,可以根据所解析的截屏指令,对带有屏幕的无线上网卡终端的图像进行截屏处理,获得与所述截屏目标呈正相关的镜像图像。Thereby, according to the parsed screen capture instruction, screen capture processing can be performed on the image of the wireless network card terminal with the screen, and a mirror image that is positively related to the screen capture target can be obtained.
图6是根据本公开实施例的图像处理方法的流程示意图。如图6 所示,在一些实施例中,所述图像处理方法的流程可以包括以下步骤601至607。FIG. 6 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 6, in some embodiments, the flow of the image processing method may include the following steps 601 to 607.
在步骤601处,通过图像处理界面进程发送图像采集指令。At step 601, an image acquisition instruction is sent through an image processing interface process.
在步骤602处,客户端进程接收并解析所述图像采集指令,客户端进程将所述图像采集指令转换为服务器进程可以识别的指令,向所述服务器进程发送。At step 602, the client process receives and parses the image acquisition instruction, and the client process converts the image acquisition instruction into an instruction recognizable by the server process and sends it to the server process.
在步骤603处,服务器进程根据传输路径信息提取图像信息。At step 603, the server process extracts image information according to the transmission path information.
在步骤604处,图像信息根据所述传输路径信息进行传输。At step 604, the image information is transmitted according to the transmission path information.
在步骤605处,服务器进程将所述图像信息传输至客户端进程。At step 605, the server process transmits the image information to the client process.
在步骤606处,客户端将所提取的图像信息传输至图像处理界面进程。At step 606, the client transmits the extracted image information to the image processing interface process.
在步骤607处,图像处理界面进程将所提取的图像信息传输至非执行终端。At step 607, the image processing interface process transmits the extracted image information to the non-executing terminal.
在本公开的一个实施例中,通过图像处理界面进程发送图像采集指令指令格式如下:In an embodiment of the present disclosure, an instruction format for sending an image acquisition instruction through an image processing interface process is as follows:
Request URL:Request URL:
/goform/goform_get_cmd_process/ goform / goform_get_cmd_process
Sample Request:Sample Request:
goformId=CMDB,goformId = CMDB,
Figure PCTCN2019085679-appb-000003
Figure PCTCN2019085679-appb-000003
Sample Response:SampleResponse:
{"picpath":"/tmp/shot/pic.png"}{"picpath": "/ tmp / shot / pic.png"}
Figure PCTCN2019085679-appb-000004
Figure PCTCN2019085679-appb-000004
由此,用户可以通过图像采集指令,将带有屏幕的无线上网卡终端的图像信息依照图像传输路径,传输至指定位置。Therefore, the user can transmit the image information of the wireless network card terminal with the screen to the designated location according to the image transmission path through the image acquisition instruction.
图7是根据本公开实施例的图像处理方法的流程示意图。如图7所示,在一些实施例中,所述图像处理方法的流程可以包括以下步骤701和702。FIG. 7 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure. As shown in FIG. 7, in some embodiments, the flow of the image processing method may include the following steps 701 and 702.
在步骤701处,通过图像处理界面进程发送图像删除指令。At step 701, an image deletion instruction is sent through the image processing interface process.
在步骤702处,客户端进程接收并解析所述图像删除指令,客户端进程将所述图像删除指令转换为服务器进程可以识别的指令,向所述服务器进程发送;At step 702, the client process receives and parses the image deletion instruction, and the client process converts the image deletion instruction into an instruction that the server process can recognize, and sends the instruction to the server process;
在本公开的一个实施例中,通过图像处理界面进程发送图像删除指令格式如下:In an embodiment of the present disclosure, the format of the image deletion instruction sent through the image processing interface process is as follows:
Request URL:Request URL:
/goform/goform_set_cmd_process/ goform / goform_set_cmd_process
Sample Request:Sample Request:
goformId=CMDDgoformId = CMDD
Figure PCTCN2019085679-appb-000005
Figure PCTCN2019085679-appb-000005
Sample Response:SampleResponse:
{"result":"success"}{"result": "success"}
Figure PCTCN2019085679-appb-000006
Figure PCTCN2019085679-appb-000006
在本公开的一个实施例中,服务器进程根据所接收的图像删除指令,清除所述待清除图像。由于带有屏幕的无线上网卡终端的存储容量有限,通过本公开所记载的技术方案,用户可以通过图像删除指令及时删除需要清理的图像信息,避免无用的图像信息占用带有屏幕的无线上网卡终端的存储空间。In an embodiment of the present disclosure, the server process clears the image to be cleared according to the received image deletion instruction. Due to the limited storage capacity of the wireless network card terminal with a screen, through the technical solution described in this disclosure, the user can delete the image information that needs to be cleaned up in time by the image deletion instruction, so as to avoid useless image information occupying the wireless network card with the screen Storage space of the terminal.
图8为根据本公开实施例的图像处理装置的组成示意图。图8所示的图像处理装置800可以是带有显示功能的、具有近距离通信功能的移动电话、计算机、数字广播终端、信息收发设备、游戏控制台、平板设备、医疗设备、健身设备、个人数字助理等。如图8所示,在一些实施例中,图像处理装置800可以包括:至少一个处理器801、 存储器802、至少一个网络接口804和用户接口803。图像处理装置800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。FIG. 8 is a composition diagram of an image processing apparatus according to an embodiment of the present disclosure. The image processing apparatus 800 shown in FIG. 8 may be a mobile phone with a display function and a short-range communication function, a computer, a digital broadcasting terminal, an information transmitting and receiving device, a game console, a tablet device, a medical device, a fitness device, and a personal device. Digital assistants, etc. As shown in FIG. 8, in some embodiments, the image processing apparatus 800 may include: at least one processor 801, a memory 802, at least one network interface 804, and a user interface 803. The various components in the image processing apparatus 800 are coupled together by a bus system 805. It can be understood that the bus system 805 is used to implement connection and communication between these components. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 805 in FIG. 8.
用户接口803可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。The user interface 803 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touchpad, or a touch screen.
可以理解,存储器802可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的存储器802旨在包括这些和任意其它适合类型的存 储器。It can be understood that the memory 802 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), and erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory), Electrically Erasable and Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , Compact disc, or read-only compact disc (CD-ROM, Compact Disc-Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Rate Synchronous Dynamic Access Random Access Memory, Enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct RAM Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ). The memory 802 described in embodiments of the present disclosure is intended to include these and any other suitable types of memory.
本公开实施例中的存储器802配置为存储包括图像信息内的各种类型的数据以支持图像处理装置800的操作。这些数据的示例包括:用于在图像处理装置800上操作的任何计算机程序,如操作系统8021和应用程序8022;联系人数据;电话簿数据;消息;图片;视频等。操作系统8021可以包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022可以包含各种应用程序,例如带有图像处理功能的客户端、媒体播放器(Media Player)、浏览器(Browser)等,用于实现包括通过图像处理程序在内的各种应用业务。实现本公开实施例图像处理方法的程序可以包含在应用程序8022中。The memory 802 in the embodiment of the present disclosure is configured to store various types of data including image information to support the operation of the image processing apparatus 800. Examples of these data include: any computer program for operating on the image processing apparatus 800, such as an operating system 8021 and an application program 8022; contact data; phone book data; messages; pictures; videos and the like. The operating system 8021 may include various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 8022 may include various application programs, such as a client with an image processing function, a media player (Media Player), a browser (Browser), etc., and is used to implement various application services including through an image processing program. . A program that implements the image processing method of the embodiment of the present disclosure may be contained in an application program 8022.
上述本公开实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的操作完成。上述的处理器801可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器801可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiments of the present disclosure may be applied to the processor 801, or implemented by the processor 801. The processor 801 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by an operation of a hardware integrated logic circuit or software in the processor 801. The aforementioned processor 801 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 801 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium. The storage medium is located in the memory 802. The processor 801 reads information in the memory 802 and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,图像处理装置800可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微 处理器(Microprocessor)、或其他电子元件实现,用于执行所述图像处理方法。In an exemplary embodiment, the image processing device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices (PLDs). CPLD (Complex, Programmable, Logic, Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Microcontroller Unit), microprocessor (Microprocessor), or other Electronic component implementation for performing the image processing method.
在示例性实施例中,本公开还提供了一种计算机可读存储介质,例如包括计算机程序的存储器802,上述计算机程序可由图像处理装置800的处理器801执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。In an exemplary embodiment, the present disclosure further provides a computer-readable storage medium, such as a memory 802 including a computer program, which can be executed by the processor 801 of the image processing apparatus 800 to complete the steps of the foregoing method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it may also be a variety of devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,使得所述处理器执行以下步骤:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;在所述客户端进程中接收所述图像处理指令;所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;在所述服务器进程中接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。An embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the computer program is run by a processor, the processor causes the processor to perform the following steps: creating a wireless network card terminal with a screen A client process; a server process that creates the wireless network card terminal with a screen; receives the image processing instruction in the client process; the client process converts the received image processing instruction into the server Process-identifiable image processing instructions; forward the converted image processing instructions to the server process in the client process; receive and parse the image processing instructions in the server process; and according to the image processing instructions The analysis result of the image processing process by calling a program corresponding to the analysis result of the image processing instruction.
本公开实施例中,通过带有屏幕的无线上网卡终端的屏幕,在带有屏幕的无线上网卡终端中建立客户端进程和服务器进程,不但可以根据图像处理指令对带有屏幕的无线上网卡终端的图像进行处理,还能够保证带有屏幕的无线上网卡终端的封闭运行安全。同时,本公开所提供的技术方案不需要限定使用环境,实现简单且适用范围广。In the embodiment of the present disclosure, a client process and a server process are established in the wireless network card terminal with the screen through the screen of the wireless network card terminal with the screen, and the wireless network card with the screen can be used according to the image processing instruction. The image processing of the terminal can also ensure the closed operation security of the wireless network card terminal with the screen. At the same time, the technical solution provided by the present disclosure does not need to limit the use environment, is simple to implement, and has a wide applicable range.
本领域内的技术人员应明白,本公开实施例可提供为方法、系统、或计算机程序产品。因此,本公开实施例可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the embodiments of the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including magnetic disk memory, optical memory, and the like) containing computer-usable program code therein.
本公开实施例是参照根据本公开实施例的方法、设备(系统)、 和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序操作实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序操作到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的操作产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program operations. These computer programs can be provided to operate on a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that operations performed by the processor of the computer or other programmable data processing device can be used to generate Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序操作也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的操作产生包括操作装置的制造品,该操作装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program operations may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a specific manner such that the operations stored in the computer-readable memory produce a manufactured article including an operating device, the operation The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序操作也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的操作提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program operations can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, and thus executed on the computer or other programmable device. An operation provides steps for implementing a function specified in one or more flowcharts and / or one or more blocks of the block diagrams.
以上所述,仅为本公开的示例性实施例而已,并非用于限定本公开的保护范围,凡在本公开的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本公开的保护范围之内。The foregoing are merely exemplary embodiments of the present disclosure, and are not intended to limit the scope of protection of the present disclosure. Any modification, equivalent replacement, and improvement made within the spirit and principles of the present disclosure shall be included in Within the scope of this disclosure.

Claims (15)

  1. 一种图像处理方法,包括:An image processing method includes:
    创建带有屏幕的无线上网卡终端的客户端进程;Create a client process for a wireless network card terminal with a screen;
    创建所述带有屏幕的无线上网卡终端的服务器进程;Creating a server process of the wireless network card terminal with a screen;
    在所述客户端进程中接收图像处理指令;Receiving an image processing instruction in the client process;
    所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;The client process converts the received image processing instruction into an image processing instruction recognizable by the server process;
    在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;Forwarding the converted image processing instruction to the server process in the client process;
    在所述服务器进程中接收并解析所述图像处理指令;Receiving and parsing the image processing instruction in the server process;
    根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。According to the analysis result of the image processing instruction, a program corresponding to the analysis result of the image processing instruction is called to process the image.
  2. 根据权利要求1所述的方法,其中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:The method according to claim 1, wherein the invoking a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction comprises:
    当所述解析结果表征截屏指令时,根据所解析的截屏指令,调用与所述截屏指令对应的截屏程序,获取截屏参数;When the analysis result characterizes a screenshot instruction, according to the parsed screenshot instruction, a screenshot program corresponding to the screenshot instruction is called to obtain a screenshot parameter;
    在所述带有屏幕的无线上网卡终端的第一操作点根据所述截屏参数,以预设的截屏规则,进行截屏处理;Performing a screenshot processing at a first operating point of the wireless network card terminal with a screen according to the screenshot parameters by using a preset screenshot rule;
    保存所述截屏处理的结果。The result of the screenshot process is saved.
  3. 根据权利要求2所述的方法,其中,所述获取截屏参数,包括获取至少以下之一:The method according to claim 2, wherein the acquiring screenshot parameters comprises acquiring at least one of the following:
    所述第一操作点的坐标;The coordinates of the first operating point;
    截屏目标的宽度信息;Screenshot target width information;
    所述截屏目标的高度信息;Height information of the screenshot target;
    所述截屏目标的色域跨度信息。Color gamut span information of the screenshot target.
  4. 根据权利要求3所述的方法,其中,所述以预设的截屏规则,进行截屏处理,包括:The method according to claim 3, wherein the step of performing screenshot processing with a preset screenshot rule comprises:
    根据所述截屏目标的宽度信息和高度信息,创建所述截屏目标的镜像图像;Creating a mirror image of the screenshot target according to the width information and height information of the screenshot target;
    所述截屏目标的镜像图像与所述截屏目标呈正相关;The mirror image of the screenshot target is positively correlated with the screenshot target;
    从所述截屏目标的像素取值点开始,以预定方向进行像素循环取值,以完成对所述截屏目标的全部像素取值。Starting from the pixel value point of the screenshot target, the pixel cycle value is performed in a predetermined direction to complete the value of all pixels of the screenshot target.
  5. 根据权利要求1所述的方法,其中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:The method according to claim 1, wherein the invoking a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction comprises:
    当所述解析结果表征图像采集指令时,根据所解析的图像采集指令,调用与所述图像采集指令对应的图像采集程序,并获取图像传输路径信息;When the analysis result characterizes an image acquisition instruction, an image acquisition program corresponding to the image acquisition instruction is called according to the parsed image acquisition instruction, and image transmission path information is acquired;
    在所述服务器进程中根据所述图像传输路径信息,提取图像处理结果;Extracting an image processing result according to the image transmission path information in the server process;
    将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输。And transmitting the extracted image processing result according to the image transmission path information.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    当所述图像传输路径符合图像路径传输规则时,将所提取的所述图像处理结果,根据所述传输路径信息进行传输;When the image transmission path conforms to an image path transmission rule, transmitting the extracted image processing result according to the transmission path information;
    当所述图像传输路径不符合所述图像路径传输规则时,输出提示路径非法的信息。When the image transmission path does not comply with the image path transmission rule, information indicating that the path is illegal is output.
  7. 根据权利要求1所述的方法,其中,所述根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理,包括:The method according to claim 1, wherein the invoking a program corresponding to the analysis result of the image processing instruction to process the image according to the analysis result of the image processing instruction comprises:
    当所述解析结果表征图像删除指令时,根据所解析的图像删除指令,调用与所述图像删除指令对应的图像删除程序,并获取待清除 图像的位置信息;When the analysis result characterizes an image deletion instruction, according to the parsed image deletion instruction, an image deletion program corresponding to the image deletion instruction is called, and location information of the image to be cleared is obtained;
    根据所获取的待清除图像的位置信息,清除所述待清除图像。Erasing the image to be cleared according to the obtained position information of the image to be cleared.
  8. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    在创建所述客户端进程的过程中,创建所述带有屏幕的无线上网卡终端的图像处理界面进程;In the process of creating the client process, creating an image processing interface process of the wireless network card terminal with a screen;
    在所述图像处理界面进程中连接所述客户端进程,并在所述图像处理界面进程中连接非执行终端;Connecting the client process in the image processing interface process, and connecting a non-executing terminal in the image processing interface process;
    所述图像处理界面控制所述客户端进程与所述非执行终端之间进行信息传输。The image processing interface controls information transmission between the client process and the non-executing terminal.
  9. 根据权利要求8所述的方法,其中,所述图像处理界面控制所述客户端进程与所述非执行终端之间进行信息传输包括至少以下之一:The method according to claim 8, wherein the image processing interface controlling the information transmission between the client process and the non-executing terminal comprises at least one of the following:
    接收并向所述客户端进程发送所述图像处理指令;和Receiving and sending the image processing instruction to the client process; and
    接收并向所述非执行终端发送来源于所述客户端进程的图像。Receiving and sending to the non-executing terminal an image originating from the client process.
  10. 一种图像处理装置,包括:An image processing device includes:
    进程创建模块,其配置为:创建带有屏幕的无线上网卡终端的客户端进程;创建所述带有屏幕的无线上网卡终端的服务器进程;The process creation module is configured to: create a client process of the wireless network card terminal with a screen; create a server process of the wireless network card terminal with a screen;
    客户端进程模块,其配置为:执行所述客户端进程;接收图像处理指令;将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;将经过转换的图像处理指令向所述服务器进程转发;A client process module configured to execute the client process; receive image processing instructions; convert the received image processing instructions into image processing instructions recognizable by the server process; and convert the converted image processing instructions to the Said server process forwarding;
    服务器进程模块,其配置为:执行所述服务器进程;接收并解析所述图像处理指令;根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。A server process module configured to execute the server process; receive and parse the image processing instruction; and call a program corresponding to the analysis result of the image processing instruction to process an image according to the analysis result of the image processing instruction .
  11. 根据权利要求10所述的图像处理装置,其中,当所述解析结果表征截屏指令时,The image processing device according to claim 10, wherein when the analysis result characterizes a screenshot instruction,
    所述服务器进程模块配置为:根据所解析的截屏指令,调用与 所述截屏指令对应的截屏程序,获取截屏参数;The server process module is configured to: according to the parsed screenshot instruction, call a screenshot program corresponding to the screenshot instruction to obtain a screenshot parameter;
    所述图像处理装置还包括:第一执行模块,其配置为在带有屏幕的无线上网卡终端的第一操作点根据所述截屏参数,以预设的截屏规则,进行截屏处理;保存所述截屏处理的结果。The image processing apparatus further includes: a first execution module configured to perform a screen capture process according to the screen capture parameters and a preset screen capture rule at a first operation point of the wireless network card terminal with a screen; The result of the screenshot process.
  12. 根据权利要求10所述的图像处理装置,其中,当所述解析结果表征图像采集指令时,The image processing device according to claim 10, wherein when the analysis result characterizes an image acquisition instruction,
    所述服务器进程模块配置为根据所解析的图像采集指令,调用与所述图像采集指令对应的图像采集程序,并获取图像传输路径信息;The server process module is configured to call an image acquisition program corresponding to the image acquisition instruction according to the parsed image acquisition instruction, and obtain image transmission path information;
    所述图像处理装置还包括:第二执行模块,其配置为在所述服务器进程中根据所述图像传输路径信息,提取图像处理结果;将所提取的所述图像处理结果,根据所述图像传输路径信息进行传输。The image processing apparatus further includes: a second execution module configured to extract an image processing result according to the image transmission path information in the server process; and to extract the extracted image processing result according to the image transmission Path information is transmitted.
  13. 根据权利要求10所述的图像处理装置,其中,当所述解析结果表征图像删除指令时,The image processing device according to claim 10, wherein when the analysis result characterizes an image deletion instruction,
    所述服务器进程模块配置为根据所解析的图像删除指令,调用与所述图像删除指令对应的图像删除程序,并获取待清除图像的位置信息;The server process module is configured to call an image deletion program corresponding to the image deletion instruction according to the parsed image deletion instruction, and obtain position information of an image to be cleared;
    所述图像处理装置还包括:第三执行模块,其配置为根据所获取的待清除图像的位置信息,清除所述待清除图像。The image processing apparatus further includes a third execution module configured to clear the image to be cleared according to the obtained position information of the image to be cleared.
  14. 一种图像处理装置,包括:An image processing device includes:
    处理器和配置为存储能够在处理器上运行的计算机程序的存储器,A processor and a memory configured to store a computer program capable of running on the processor,
    其中,所述处理器用于运行所述计算机程序时,执行以下操作:When the processor is used to run the computer program, the processor performs the following operations:
    创建带有屏幕的无线上网卡终端的客户端进程;Create a client process for a wireless network card terminal with a screen;
    创建所述带有屏幕的无线上网卡终端的服务器进程;Creating a server process of the wireless network card terminal with a screen;
    在所述客户端进程中接收图像处理指令;Receiving an image processing instruction in the client process;
    所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;The client process converts the received image processing instruction into an image processing instruction recognizable by the server process;
    在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;Forwarding the converted image processing instruction to the server process in the client process;
    在所述服务器进程中接收并解析所述图像处理指令;Receiving and parsing the image processing instruction in the server process;
    根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。According to the analysis result of the image processing instruction, a program corresponding to the analysis result of the image processing instruction is called to process the image.
  15. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,使得所述处理器:A computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the processor causes the processor to:
    创建带有屏幕的无线上网卡终端的客户端进程;Create a client process for a wireless network card terminal with a screen;
    创建所述带有屏幕的无线上网卡终端的服务器进程;Creating a server process of the wireless network card terminal with a screen;
    在所述客户端进程中接收图像处理指令;Receiving an image processing instruction in the client process;
    所述客户端进程将所接收的图像处理指令转换为所述服务器进程可识别的图像理指令;The client process converts the received image processing instruction into an image processing instruction recognizable by the server process;
    在所述客户端进程中将经过转换的图像处理指令向所述服务器进程转发;Forwarding the converted image processing instruction to the server process in the client process;
    在所述服务器进程中接收并解析所述图像处理指令;Receiving and parsing the image processing instruction in the server process;
    根据所述图像处理指令的解析结果,调用与所述图像处理指令的解析结果对应的程序对图像进行处理。According to the analysis result of the image processing instruction, a program corresponding to the analysis result of the image processing instruction is called to process the image.
PCT/CN2019/085679 2018-05-31 2019-05-06 Image processing method and device, and storage medium WO2019228148A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810554419.XA CN110557417B (en) 2018-05-31 2018-05-31 Image processing method and device and storage medium
CN201810554419.X 2018-05-31

Publications (1)

Publication Number Publication Date
WO2019228148A1 true WO2019228148A1 (en) 2019-12-05

Family

ID=68698650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085679 WO2019228148A1 (en) 2018-05-31 2019-05-06 Image processing method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN110557417B (en)
WO (1) WO2019228148A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563073A (en) * 2020-04-20 2020-08-21 杭州市质量技术监督检测院 NQI information sharing method, platform, server and readable storage medium
CN114007102A (en) * 2021-10-28 2022-02-01 深圳市商汤科技有限公司 Video processing method, video processing device, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687750B (en) * 2020-05-08 2023-10-27 腾讯科技(深圳)有限公司 Screenshot processing method and device
CN113221866B (en) * 2021-04-30 2022-11-15 东方蓝天钛金科技有限公司 Equipment data acquisition system and method based on image recognition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201577204U (en) * 2010-01-05 2010-09-08 华为终端有限公司 Wireless network card, embedded wireless communication module and electronic device
CN102647514A (en) * 2012-03-22 2012-08-22 华为终端有限公司 Information display method and device for non-screen wireless terminal
US20170099356A1 (en) * 2013-05-22 2017-04-06 Intel Corporation Systems and methods for enabling service interoperability functionality for wifi direct devices connected to a network via a wireless access point
CN107592487A (en) * 2017-09-06 2018-01-16 合肥庆响网络科技有限公司 Image processing apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924620B (en) * 2009-06-17 2012-12-19 中兴通讯股份有限公司 Message retransmission method and device
CN107783807B (en) * 2016-08-29 2022-05-27 中兴通讯股份有限公司 Screen capture method and device
CN107291460B (en) * 2017-06-06 2021-02-05 深圳Tcl新技术有限公司 Television terminal, compiling server code control method and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201577204U (en) * 2010-01-05 2010-09-08 华为终端有限公司 Wireless network card, embedded wireless communication module and electronic device
CN102647514A (en) * 2012-03-22 2012-08-22 华为终端有限公司 Information display method and device for non-screen wireless terminal
US20170099356A1 (en) * 2013-05-22 2017-04-06 Intel Corporation Systems and methods for enabling service interoperability functionality for wifi direct devices connected to a network via a wireless access point
CN107592487A (en) * 2017-09-06 2018-01-16 合肥庆响网络科技有限公司 Image processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563073A (en) * 2020-04-20 2020-08-21 杭州市质量技术监督检测院 NQI information sharing method, platform, server and readable storage medium
CN111563073B (en) * 2020-04-20 2023-07-07 杭州市质量技术监督检测院 NQI information sharing method, platform, server and readable storage medium
CN114007102A (en) * 2021-10-28 2022-02-01 深圳市商汤科技有限公司 Video processing method, video processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110557417B (en) 2022-04-19
CN110557417A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
WO2019228148A1 (en) Image processing method and device, and storage medium
EP2948846B1 (en) Resource calling for hybrid applications
US9971740B2 (en) Dynamic webpage image
EP3129871B1 (en) Generating a screenshot
US10579442B2 (en) Inversion-of-control component service models for virtual environments
US20160162151A1 (en) Input method and device thereof, and auxiliary input method and system thereof
CN108363588B (en) Method for realizing interaction between web and native function, electronic device and readable storage medium
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
CN111177664B (en) Watermark information adding method, server and system
WO2017186177A1 (en) Resource numerical value transfer request generating method, device and system, and storage medium
CN104811485A (en) Resource sharing method
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN114153362A (en) Information processing method and device
WO2023246486A1 (en) Method and apparatus for creating connector
CN111259441B (en) Device control method, device, storage medium and electronic device
CN109656995B (en) Data export method, device, terminal, server and storage medium
CN113590564B (en) Data storage method, device, electronic equipment and storage medium
CN114995735A (en) Image display method, system, device, electronic equipment and readable storage medium
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
CN113784075A (en) Screen video reading method and system and computing device
WO2021252058A1 (en) Systems and methods for viewing incompatible web pages via remote browser instances
CN115550926B (en) Electronic evidence obtaining method, system, device, equipment and storage medium
CN115378896B (en) Message display method and device, electronic equipment and storage medium
WO2022206606A1 (en) Control method and apparatus for led display device, storage medium, and electronic device
CN117520000A (en) Communication method and device for Html5 page and native application module

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

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

Country of ref document: EP

Kind code of ref document: A1