CN110557417B - Image processing method and device and storage medium - Google Patents

Image processing method and device and storage medium Download PDF

Info

Publication number
CN110557417B
CN110557417B CN201810554419.XA CN201810554419A CN110557417B CN 110557417 B CN110557417 B CN 110557417B CN 201810554419 A CN201810554419 A CN 201810554419A CN 110557417 B CN110557417 B CN 110557417B
Authority
CN
China
Prior art keywords
image processing
image
screen
instruction
processing instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810554419.XA
Other languages
Chinese (zh)
Other versions
CN110557417A (en
Inventor
晏绪兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201810554419.XA priority Critical patent/CN110557417B/en
Priority to PCT/CN2019/085679 priority patent/WO2019228148A1/en
Publication of CN110557417A publication Critical patent/CN110557417A/en
Application granted granted Critical
Publication of CN110557417B publication Critical patent/CN110557417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses an image processing method, which comprises the steps of establishing a client process of a wireless network card terminal with a screen; creating a server process of the wireless network card terminal with the screen, and receiving an image processing instruction in a client process; the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process; forwarding the converted image processing instruction to a server process in a client process; receiving and analyzing an image processing instruction in a server process; and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image. The invention also discloses an image processing device and a storage medium.

Description

Image processing method and device and storage medium
Technical Field
The present invention relates to image processing technologies, and in particular, to an image processing method and apparatus, and a storage medium.
Background
In the prior art, more and more wireless internet access card terminals are provided with display screens to show the connection condition of the wireless internet access card terminals and the running information of the wireless internet access card terminals to users, the existing wireless internet access card terminals do not have the function of processing images of the wireless internet access card terminals, and the wireless internet access card terminals are in closed running for ensuring the safety of the users and cannot be controlled by third-party application software, so that the users need an image processing method of the wireless internet access card terminals to process the images of the display screens of the wireless internet access card terminals.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide an image processing method and apparatus, and a storage medium, which can process an image of a wireless network card terminal with a screen according to an image processing instruction, and are convenient for a user to use.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an image processing method, which comprises the following steps:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
In the foregoing solution, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents a screen capture instruction, calling a screen capture program corresponding to the screen capture instruction according to the analyzed screen capture instruction, and acquiring a screen capture parameter;
a first operation point of the wireless network card terminal with the screen performs screen capture processing according to the screen capture parameters and a preset screen capture rule;
and saving the screen capture processing result.
In the above scheme, the acquiring the screen capture parameter includes acquiring at least one of:
coordinates of the first operating point;
width information of the screen capture target;
height information of the screen capture target;
gamut span information of the screen capture target.
In the above scheme, the performing the screen capture processing according to the preset screen capture rule includes:
creating a mirror image of the screen capture target according to the width information and the height information of the screen capture target;
the mirror image of the screen capture target is positively correlated with the screen capture target;
and starting from the pixel value taking point of the screen capture target, carrying out pixel cycle value taking in a preset direction to finish the value taking of all pixels of the screen capture target.
In the foregoing solution, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents an image acquisition instruction, calling an image acquisition program corresponding to the image acquisition instruction according to the analyzed image acquisition instruction, and acquiring image transmission path information;
extracting an image processing result in the server process according to the image transmission path information;
and transmitting the extracted image processing result according to the transmission path information.
In the above scheme, the method further comprises:
when the image transmission path accords with the image path transmission rule, transmitting the extracted image processing result according to the transmission path information;
and when the image transmission path does not accord with the image path transmission rule, outputting information for prompting that the path is illegal.
In the foregoing solution, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents an image deleting instruction, calling an image deleting program corresponding to the image deleting instruction according to the analyzed image deleting instruction, and acquiring position information of an image to be removed;
and clearing the image to be cleared according to the acquired position information of the image to be cleared.
In the above scheme, the method further comprises:
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-execution terminal in the image processing interface process;
and the image processing interface controls the information transmission between the client process and the non-execution terminal.
In the above solution, the image processing interface controls the client process and the non-execution terminal to perform information transmission, and includes at least one of the following:
receiving the image processing instruction and sending the image processing instruction to the client process;
and receiving the image from the client process, and sending the image from the client process to the non-execution terminal.
An embodiment of the present invention further provides an image processing apparatus, including:
the process creation module is used for creating a client process of the wireless internet card terminal with a screen;
the process creation module is used for creating a server process of the wireless network card terminal with the screen;
a client process module for executing the client process;
the client process module is used for receiving the image processing instruction;
the client process module is used for converting the received image processing instruction into an image processing instruction which can be identified by the server process;
the client process module is used for forwarding the converted image processing instruction to the server process;
a server process module for executing the server process;
the server process module is used for receiving and analyzing the image processing instruction;
and the server process module is used for calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
In the above scheme, when the analysis result represents the screen capture instruction,
the server process module is used for calling a screen capturing program corresponding to the screen capturing instruction according to the analyzed screen capturing instruction to obtain a screen capturing parameter;
the device further comprises:
the execution module is used for carrying out screen capture processing on a first operation point of the wireless network card terminal with the screen according to the screen capture parameters and a preset screen capture rule;
and the execution module is used for saving the screen capture processing result.
In the above scheme, the acquiring the screen capture parameter includes acquiring at least one of:
coordinates of the first operating point;
width information of the screen capture target;
height information of the screen capture target;
gamut span information of the screen capture target.
In the above scheme, the execution module is configured to create a mirror image of the screen capture object according to the width information and the height information of the screen capture object;
the mirror image of the screen capture target is positively correlated with the screen capture target;
and the execution module is used for carrying out pixel cycle value taking in a preset direction from a pixel value taking point of the screen capture target so as to finish the value taking of all pixels of the screen capture target.
In the above scheme, when the analysis result represents the image acquisition instruction,
the server process module is used for calling an image acquisition program corresponding to the image acquisition instruction according to the analyzed image acquisition instruction and acquiring image transmission path information;
the device further comprises:
the execution module is used for extracting an image processing result in the server process according to the image transmission path information;
and the execution module is used for transmitting the extracted image processing result according to the transmission path information.
In the above-mentioned aspect, when the image transmission path conforms to the image path transmission rule,
the execution module is used for 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,
and the execution module is used for outputting the information for prompting the illegal path.
In the above solution, when the analysis result represents an image deletion instruction,
the server process module is used for calling an image deleting program corresponding to the image deleting instruction according to the analyzed image deleting instruction and acquiring the position information of the image to be removed;
the device further comprises:
and the execution module is used for clearing the image to be cleared according to the acquired position information of the image to be cleared.
In the above scheme, the process creation module is configured to create an image processing interface process of the wireless network card terminal with a screen;
the device further comprises:
the image processing interface process module is used for executing the image processing interface process;
the image processing interface process module is used for connecting the client process module;
the image processing interface process module is used for connecting a non-execution terminal;
and the image processing interface process module is used for controlling information transmission between the client process module and the non-execution terminal.
In the above scheme, the image processing interface process module is configured to receive the image processing instruction;
the image processing interface process module is used for sending the image processing instruction to the client process;
and the image processing interface process module is used for receiving and sending the image from the client process to the non-execution terminal.
An embodiment of the present invention further provides an image processing apparatus, where the apparatus includes:
a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the following operations when running the computer program:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor and includes:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
In the embodiment of the invention, the client process and the 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, so that the image of the wireless network card terminal with the screen can be processed according to the image processing instruction, and the closed operation safety of the wireless network card terminal with the screen can be ensured. Meanwhile, the technical scheme provided by the invention does not need to limit the use environment, is simple to realize and has wide application range.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating an alternative image processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative structure of an image processing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an alternative image processing method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of an alternative image processing method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an alternative image processing method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of an alternative image processing method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of an alternative image processing method according to an embodiment of the present invention;
fig. 8 is an alternative composition diagram of an image processing apparatus according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Before further detailed description of the present invention, terms and expressions referred to in the embodiments of the present invention are described, and the terms and expressions referred to in the embodiments of the present invention are applicable to the following explanations.
Wireless network card terminal with screen: and a mobile hotspot is provided to support a plurality of users to access the terminal of the mobile network simultaneously.
Fig. 1 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 1, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 101 creates a client process of a wireless network card terminal with a screen.
The client process is used for receiving and forwarding an image processing instruction;
step 102: creating a server process of a wireless network card terminal with a screen;
wherein the server process is to execute the received image processing instructions;
step 103: receiving the image processing instruction in the client process;
step 104: the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
step 105: forwarding the converted image processing instruction to the server process in the client process;
step 106: receiving and analyzing the image processing instruction in the server process;
step 107: calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image;
in an embodiment of the present invention, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents a screen capture instruction, calling a screen capture program corresponding to the screen capture instruction according to the analyzed screen capture instruction, and acquiring a screen capture parameter;
a first operation point of the wireless network card terminal with the screen performs screen capture processing according to the screen capture parameters and a preset screen capture rule;
and saving the screen capture processing result.
In an embodiment of the present invention, the acquiring the screen capture parameter includes acquiring at least one of:
coordinates of the first operating point;
width information of the screen capture target;
height information of the screen capture target;
gamut span information of the screen capture target.
The screen capture processing is carried out according to a preset screen capture rule, and the screen capture processing comprises the following steps:
creating a mirror image of the screen capture target according to the width information and the height information of the screen capture target;
the mirror image of the screen capture target is positively correlated with the screen capture target;
and starting from the pixel value taking point of the screen capture target, carrying out pixel cycle value taking in a preset direction to finish the value taking of all pixels of the screen capture target. Therefore, the screen capture processing can be carried out on the image of the wireless network card terminal with the screen according to the analyzed screen capture instruction, and the mirror image which is positively correlated with the screen capture target is obtained.
In an embodiment of the present invention, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents an image acquisition instruction, calling an image acquisition program corresponding to the image acquisition instruction according to the analyzed image acquisition instruction, and acquiring image transmission path information;
extracting an image processing result in the server process according to the image transmission path information;
and transmitting the extracted image processing result according to the transmission path information. Therefore, the user can transmit the image information of the wireless network card terminal with the screen to the designated position according to the image transmission path through the image acquisition instruction.
In one embodiment of the present invention, first, whether the image transmission path conforms to the image path transmission rule is determined;
when the image transmission path accords with the image path transmission rule, transmitting the extracted image processing result according to the transmission path information;
and when the image transmission path does not accord with the image path transmission rule, outputting information for prompting that the path is illegal. Therefore, the user can be prompted to adjust the image transmission path which does not accord with the image path transmission rule in time, so that the image of the wireless network card terminal with the screen can be stored in the appointed position in time.
In an embodiment of the present invention, the invoking a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process an image includes:
when the analysis result represents an image deleting instruction, calling an image deleting program corresponding to the image deleting instruction according to the analyzed image deleting instruction, and acquiring position information of an image to be removed;
and clearing the image to be cleared according to the acquired position information of the image to be cleared. Due to the fact that the storage capacity of the wireless internet access card terminal with the screen is limited, through the technical scheme recorded by the invention, a user can delete the image information needing to be cleaned in time through the image deleting instruction, and the situation that useless image information occupies the storage space of the wireless internet access card terminal with the screen is avoided.
In an embodiment of the present invention, an image processing interface process of the wireless network card terminal with a screen may also be created in the process of creating the client process;
connecting the client process in the image processing interface process, and connecting a non-execution terminal in the image processing interface process;
and the image processing interface controls the information transmission between the client process and the non-execution terminal.
In an embodiment of the present invention, in a process of creating the client process, an image processing interface process with respect to the wireless network card terminal with the screen may be created in a second electronic device, where the image processing interface process of the wireless network card terminal with the screen may be a browser interface in the second electronic device, and information transmission between the second electronic device and the wireless network card terminal with the screen may be controlled through the browser interface in the second electronic device, and an expression form of the second electronic device includes any terminal with a display screen.
In an embodiment of the present invention, the image processing interface controls information transmission between the client process and the non-execution terminal, and includes at least one of:
receiving and sending the image processing instruction to the client process;
and receiving and sending an image originated from the client process to the non-execution terminal. Therefore, the image processing instruction sent to the client process can be received through the established image processing interface process, the image from the client process can be sent to the non-execution terminal in time, and the image information of the wireless network card terminal with the screen is prevented from occupying too much storage space.
Fig. 2 is a schematic diagram of an alternative structure of an image processing apparatus according to an embodiment of the present invention, and as shown in fig. 2, an alternative structure of an image processing apparatus according to an embodiment of the present invention includes:
a process creation module 201, configured to create a client process of the wireless network card terminal with a screen, where the client process is used to receive and forward an image processing instruction;
the process creation module 201 is configured to create a server process of the wireless network card terminal with a screen, where the server process is configured to execute the received image processing instruction;
a client process module 202 for executing the client process;
the client process module 202 is configured to receive the image processing instruction;
the client process module 202 is configured to convert the received image processing instruction into an image processing instruction that can be recognized by the server process;
the client process module 202 is configured to forward the converted image processing instruction to the server process;
a server process module 203 for executing the server process;
the server process module 203 is configured to receive and analyze the image processing instruction;
the server process module 203 is configured to invoke a program corresponding to an analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
In one embodiment of the invention, when the parsed result represents a screen capture instruction,
the server process module is used for calling a screen capturing program corresponding to the screen capturing instruction according to the analyzed screen capturing instruction to obtain a screen capturing parameter;
the device further comprises:
the execution module is used for carrying out screen capture processing on a first operation point of the wireless network card terminal with the screen according to the screen capture parameters and a preset screen capture rule;
and the execution module is used for saving the screen capture processing result.
In an embodiment of the present invention, the acquiring the screen capture parameter includes acquiring at least one of:
coordinates of the first operating point;
width information of the screen capture target;
height information of the screen capture target;
gamut span information of the screen capture target.
In an embodiment of the present invention, the execution module is configured to create a mirror image of the screen capture object according to the width information and the height information of the screen capture object;
the mirror image of the screen capture target is positively correlated with the screen capture target;
and the execution module is used for carrying out pixel cycle value taking in a preset direction from a pixel value taking point of the screen capture target so as to finish the value taking of all pixels of the screen capture target. Therefore, the screen capture processing can be carried out on the image of the wireless network card terminal with the screen according to the analyzed screen capture instruction, and the mirror image which is positively correlated with the screen capture target is obtained.
In one embodiment of the invention, when the parsed result characterizes an image acquisition instruction,
the server process module 203 is configured to call an image acquisition program corresponding to the image acquisition instruction according to the parsed image acquisition instruction, and acquire image transmission path information;
the device further comprises:
the execution module is used for extracting an image processing result in the server process according to the image transmission path information;
and the execution module is used for transmitting the extracted image processing result according to the transmission path information. Therefore, the user can be prompted to adjust the image transmission path which does not accord with the image path transmission rule in time, so that the image of the wireless network card terminal with the screen can be stored in the appointed position in time.
In one embodiment of the present invention, it may be determined whether the image transmission path complies with the image path transmission rule;
when the image transmission path conforms to the image path transmission rule, the execution module is used for transmitting the extracted image processing result according to the transmission path information;
and when the image transmission path does not accord with the image path transmission rule, the execution module is used for outputting information for prompting that the path is illegal. Therefore, the user can be prompted to adjust the image transmission path which does not accord with the image path transmission rule in time, so that the image of the wireless network card terminal with the screen can be stored in the appointed position in time.
In one embodiment of the invention, when the parsed result characterizes an image deletion instruction,
the server process module 203 is configured to invoke an image deletion program corresponding to the image deletion instruction according to the parsed image deletion instruction, and obtain position information of the image to be removed;
the device further comprises:
and the execution module is used for clearing the image to be cleared according to the acquired position information of the image to be cleared. Due to the fact that the storage capacity of the wireless internet access card terminal with the screen is limited, through the technical scheme recorded by the invention, a user can delete the image information needing to be cleaned in time through the image deleting instruction, and the situation that useless image information occupies the storage space of the wireless internet access card terminal with the screen is avoided.
In an embodiment of the present invention, the process creating module 201 is configured to create an image processing interface process of a wireless network card terminal with a screen;
the device further comprises:
the image processing interface process module is used for executing the image processing interface process;
the image processing interface process module is used for connecting the client process module;
the image processing interface process module is used for connecting a non-execution terminal;
and the image processing interface process module is used for controlling information transmission between the client process module and the non-execution terminal.
Specifically, the image processing interface process module is configured to receive and send the image processing instruction to the client process;
and the image processing interface process module is used for receiving and sending the image from the client process to the non-execution terminal. Therefore, the image processing instruction sent to the client process can be received through the established image processing interface process, the image from the client process can be sent to the non-execution terminal in time, and the image information of the wireless network card terminal with the screen is prevented from occupying too much storage space.
Fig. 3 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 3, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 301: a wireless network card terminal with a screen starts a server process;
the server process is used for waiting for the connection of the client process, and can use a socket connection (socket), a pipeline connection and the like.
Step 302: a wireless network card terminal with a screen starts a client process;
this process is used to connect to the server process, which can keep the server and client in communication.
Step 303: starting and loading local equipment IP information by a client process;
specifically, if the first connection fails, multiple attempts are required until the connection is successful.
Step 304: the server process replies to the client process to indicate successful connection;
step 305: and sending an image processing instruction through the image processing interface process, and accessing the server process through the client process.
Fig. 4 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 4, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 401: the screen capture program turns on the frame buffer device (frame buffer) node fb0And acquiring the width and height of the screen, and gray scale and color depth information;
step 402: creating an image example with the same size according to the size of a screen area of a wireless network card terminal with a screen;
step 403: acquiring a single pixel point from the screen from the upper left corner to the right corner until all the pixel points on the screen are acquired;
step 404: and saving the screenshot result and finishing the screenshot of a single screen.
Therefore, the screen capture processing can be carried out on the image of the wireless network card terminal with the screen according to the analyzed screen capture instruction, and the mirror image which is positively correlated with the screen capture target is obtained.
Fig. 5 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 5, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 501: sending a screen capture instruction through an image processing interface process;
step 502: the client process receives and analyzes the screen capture instruction;
step 503: the client process converts the screen capturing instruction into an instruction which can be identified by the server process and sends the instruction to the server process;
step 504: the server process calls a screen capture program to complete screen capture operation;
in an embodiment of the present invention, the history information of the screen capturing operation and the information of the screen capturing result may be further stored in the wireless network card terminal with the screen.
In one embodiment of the present invention, the format of the transmission instruction of the screen capture instruction sent by the image processing interface process is as follows:
Request URL:
/goform/goform_set_cmd_process
Sample Request:
goformId=CMDA
Figure BDA0001681282580000141
Sample Response:
{"result":"success"}
Figure BDA0001681282580000142
therefore, the screen capture processing can be carried out on the image of the wireless network card terminal with the screen according to the analyzed screen capture instruction, and the mirror image which is positively correlated with the screen capture target is obtained.
Fig. 6 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 6, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 601: sending an image acquisition instruction through an image processing interface process;
step 602: the client process receives and analyzes the image acquisition instruction, converts the image acquisition instruction into an instruction which can be identified by the server process and sends the instruction to the server process;
step 603: the server process extracts image information according to the transmission path information;
step 604: transmitting the image information according to the transmission path information;
step 605: the server process transmits the image information to the client process;
step 606: the client transmits the extracted image information to an image processing interface process;
step 607: the image processing interface process transmits the extracted image information to the non-execution terminal.
In one embodiment of the present invention, the format of the instruction for sending the image capture command through the image processing interface process is as follows:
Request URL:
/goform/goform_get_cmd_process
Sample Request:
goformId=CMDB,
Figure BDA0001681282580000151
Sample Response:
{"picpath":"/tmp/shot/pic.png"}
Figure BDA0001681282580000152
therefore, the user can transmit the image information of the wireless network card terminal with the screen to the designated position according to the image transmission path through the image acquisition instruction.
Fig. 7 is a schematic diagram of an alternative flow of an image processing method according to an embodiment of the present invention, and as shown in fig. 7, the alternative flow of the image processing method according to the embodiment of the present invention includes the following steps:
step 701: sending an image deleting instruction through an image processing interface process;
step 702: the client process receives and analyzes the image deleting instruction, converts the image deleting instruction into an instruction which can be identified by the server process and sends the instruction to the server process;
in one embodiment of the present invention, the image deletion instruction sent by the image processing interface process is in the following format:
Request URL:
/goform/goform_set_cmd_process
Sample Request:
goformId=CMDD
Figure BDA0001681282580000161
Sample Response:
{"result":"success"}
Figure BDA0001681282580000162
in one embodiment of the invention, the server process clears the image to be cleared according to the received image deletion instruction. Due to the fact that the storage capacity of the wireless internet access card terminal with the screen is limited, through the technical scheme recorded by the invention, a user can delete the image information needing to be cleaned in time through the image deleting instruction, and the situation that useless image information occupies the storage space of the wireless internet access card terminal with the screen is avoided.
Fig. 8 is a schematic diagram of an alternative configuration of an image processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the image processing apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, an information transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like with a short-range communication function and a display function. The image processing apparatus 800 shown in fig. 8 includes: at least one processor 801, 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 is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 7.
The user interface 803 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 802 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 802 described in connection with the embodiments of the invention is intended to comprise these and any other suitable types of memory.
The memory 802 in the embodiment of the present invention is used to store various types of data included in image information to support the operation of the image processing apparatus 800. Examples of such data include: any computer programs for operating on image processing device 800, such as operating system 8021 and application programs 8022; contact data; telephone book data; a message; a picture; video, etc. Operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application program 8022 may contain various application programs such as a client with an image processing function, a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services including passing through the image processing program. A program for implementing the image processing method according to the embodiment of the present invention can be included in the application program 8022.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method may be implemented by integrated logic circuits of hardware or operations in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 801 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in the memory 802, and the processor 801 reads the information in the memory 802 to perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the image processing apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the image processing method.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as the memory 802 comprising a computer program, which can be executed by the processor 801 of the image processing apparatus 800 to implement the steps of the foregoing method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including magnetic disk storage, optical storage, and the like) having computer-usable program code embodied in the medium.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program operations. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the operations performed by the processor of the computer or other programmable data processing apparatus produce means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program operations may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the operations stored in the computer-readable memory produce an article of manufacture including operating means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program operations may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the operations executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (12)

1. An image processing method, characterized in that the method comprises:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
2. The method according to claim 1, wherein 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 comprises:
when the analysis result represents a screen capture instruction, calling a screen capture program corresponding to the screen capture instruction according to the analyzed screen capture instruction, and acquiring a screen capture parameter;
performing screen capture processing on a first operation point of the wireless network card terminal with the screen according to the screen capture parameters and a preset screen capture rule;
and saving the screen capture processing result.
3. The method of claim 2, wherein obtaining the screen capture parameters comprises obtaining at least one of:
coordinates of the first operating point;
width information of the screen capture target;
height information of the screen capture target;
gamut span information of the screen capture target.
4. The method according to claim 3, wherein the screen capturing process is performed according to a preset screen capturing rule, and comprises:
creating a mirror image of the screen capture target according to the width information and the height information of the screen capture target;
the mirror image of the screen capture target is positively correlated with the screen capture target;
and starting from the pixel value taking point of the screen capture target, carrying out pixel cycle value taking in a preset direction to finish the value taking of all pixels of the screen capture target.
5. The method according to claim 1, wherein 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 comprises:
when the analysis result represents an image acquisition instruction, calling an image acquisition program corresponding to the image acquisition instruction according to the analyzed image acquisition instruction, and acquiring image transmission path information;
extracting an image processing result in the server process according to the image transmission path information;
and transmitting the extracted image processing result according to the transmission path information.
6. The method of claim 5, further comprising:
when the image transmission path accords with the image path transmission rule, transmitting the extracted image processing result according to the transmission path information;
and when the image transmission path does not accord with the image path transmission rule, outputting information for prompting that the path is illegal.
7. 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 the screen;
connecting the client process in the image processing interface process, and connecting a non-execution terminal in the image processing interface process;
and the image processing interface controls the information transmission between the client process and the non-execution terminal.
8. An image processing apparatus, characterized in that the apparatus comprises:
the process creation module is used for creating a client process of the wireless internet card terminal with a screen;
the process creation module is used for creating a server process of the wireless network card terminal with the screen;
a client process module for executing the client process;
the client process module is used for receiving the image processing instruction;
the client process module is used for converting the received image processing instruction into an image processing instruction which can be identified by the server process;
the client process module is used for forwarding the converted image processing instruction to the server process;
a server process module for executing the server process;
the server process module is used for receiving and analyzing the image processing instruction;
and the server process module is used for calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
9. The apparatus of claim 8,
the server process module is used for calling a screen capturing program corresponding to the screen capturing instruction according to the analyzed screen capturing instruction to obtain a screen capturing parameter;
the device further comprises:
the execution module is used for carrying out screen capture processing on a first operation point of the wireless network card terminal with the screen according to the screen capture parameters and a preset screen capture rule;
and the execution module is used for saving the screen capture processing result.
10. The apparatus of claim 8, wherein when the parsed result represents an image acquisition instruction,
the server process module is used for calling an image acquisition program corresponding to the image acquisition instruction according to the analyzed image acquisition instruction and acquiring image transmission path information;
the device further comprises:
the execution module is used for extracting an image processing result in the server process according to the image transmission path information;
and the execution module is used for transmitting the extracted image processing result according to the transmission path information.
11. An image processing apparatus, characterized in that the apparatus comprises:
a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the following operations when running the computer program:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
12. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to:
creating a client process of a wireless internet card terminal with a screen;
creating a server process of the wireless network card terminal with the screen;
receiving the image processing instruction in the client process;
the client process converts the received image processing instruction into an image processing instruction which can be recognized by the server process;
forwarding the converted image processing instruction to the server process in the client process;
receiving and analyzing the image processing instruction in the server process;
and calling a program corresponding to the analysis result of the image processing instruction according to the analysis result of the image processing instruction to process the image.
CN201810554419.XA 2018-05-31 2018-05-31 Image processing method and device and storage medium Active CN110557417B (en)

Priority Applications (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
PCT/CN2019/085679 WO2019228148A1 (en) 2018-05-31 2019-05-06 Image processing method and device, and storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN110557417A CN110557417A (en) 2019-12-10
CN110557417B true CN110557417B (en) 2022-04-19

Family

ID=68698650

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (4)

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

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
CN107291460A (en) * 2017-06-06 2017-10-24 深圳Tcl新技术有限公司 Television terminal and compiler server code control method and storage medium
CN107592487A (en) * 2017-09-06 2018-01-16 合肥庆响网络科技有限公司 Image processing apparatus
CN107783807A (en) * 2016-08-29 2018-03-09 中兴通讯股份有限公司 A kind of method and device of screenshot capture

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
CN102647514B (en) * 2012-03-22 2014-02-19 华为终端有限公司 Information display method and device for non-screen wireless terminal
US9538561B2 (en) * 2013-05-22 2017-01-03 Intel IP Corporation Systems and methods for enabling service interoperability functionality for WiFi Direct devices connected to a network via a wireless access point

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
CN107783807A (en) * 2016-08-29 2018-03-09 中兴通讯股份有限公司 A kind of method and device of screenshot capture
CN107291460A (en) * 2017-06-06 2017-10-24 深圳Tcl新技术有限公司 Television terminal and compiler server code control method and storage medium
CN107592487A (en) * 2017-09-06 2018-01-16 合肥庆响网络科技有限公司 Image processing apparatus

Also Published As

Publication number Publication date
CN110557417A (en) 2019-12-10
WO2019228148A1 (en) 2019-12-05

Similar Documents

Publication Publication Date Title
CN110557417B (en) Image processing method and device and storage medium
US8350888B2 (en) Apparatus and method for providing emotion expression service in mobile communication terminal
EP3163473A1 (en) Video playing method and device
JP7015017B2 (en) Object segmentation of a series of color image frames based on adaptive foreground mask upsampling
CN109040792B (en) Processing method for video redirection, cloud terminal and cloud desktop server
JP7186877B2 (en) Video decoding control method, device, electronic device and storage medium
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
CN110955541B (en) Data processing method, device, chip, electronic equipment and readable storage medium
CN110213458B (en) Image data processing method and device and storage medium
EP3316582A1 (en) Multimedia information processing method and system, standardized server and live broadcast terminal
CN111027438A (en) Human body posture migration method, mobile terminal and computer storage medium
CN114125284A (en) Image processing method, electronic device, and storage medium
JP2020095611A (en) Information processing unit, system, control method of information processing unit, and program
CN115270156A (en) Video desensitization method, access system, device and medium
CA3102425C (en) Video processing method, device, terminal and storage medium
CN111930641A (en) Image data processing method and intelligent equipment
CN106325838B (en) Picture processing method and device for application program compiling flow
CN114841854A (en) Image processing method, device, equipment and storage medium
CN113676748A (en) Cloud game screen capture interaction method and system
CN112948046A (en) Screen capturing method, device, equipment and storage medium
CN113411503A (en) Cloud mobile phone camera preview method and device, computer equipment and storage medium
CN112559111B (en) Screen capturing method and device for sharing desktop
CN112887758B (en) Video processing method and device
CN112584226B (en) Screen capturing method and device for sharing desktop
CN109561081B (en) Mobile terminal video conference method and device, storage medium and server

Legal Events

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