CN112383591B - Image management method, device and system - Google Patents

Image management method, device and system Download PDF

Info

Publication number
CN112383591B
CN112383591B CN202011163319.8A CN202011163319A CN112383591B CN 112383591 B CN112383591 B CN 112383591B CN 202011163319 A CN202011163319 A CN 202011163319A CN 112383591 B CN112383591 B CN 112383591B
Authority
CN
China
Prior art keywords
target
node
background
image
icon
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
CN202011163319.8A
Other languages
Chinese (zh)
Other versions
CN112383591A (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 Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology 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 Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011163319.8A priority Critical patent/CN112383591B/en
Publication of CN112383591A publication Critical patent/CN112383591A/en
Application granted granted Critical
Publication of CN112383591B publication Critical patent/CN112383591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The disclosure provides an image management method, device and system, and relates to the technical field of images, wherein the method comprises the steps of obtaining a first operation instruction; establishing a connection between a first node and the second node; generating a first drawing instruction according to the first operation instruction; sending a first drawing instruction to the platform equipment, enabling the platform equipment to respond to the first drawing instruction, drawing a connection icon between a first node and a second node on a target background image, and sending a first target image to the background equipment; the first target image includes a connection icon; a first target image is received. The platform equipment is used for carrying out the image drawing task, the background equipment is not required to execute the image drawing task, and especially in a scene with larger image data, the processing workload of the background equipment can be reduced, the processing resource occupancy rate of the background equipment is reduced, and the working efficiency of the background equipment is improved.

Description

Image management method, device and system
Technical Field
The disclosure relates to the field of image technology, and in particular, to an image management method, device and system.
Background
The image transmission system comprises a collection end and a receiving end, wherein the collection end encodes an image collected from the image source equipment and then sends the encoded image to the receiving end, and the receiving end decodes the received encoded data and then displays the decoded data through a display. An administrator can pair the acquisition end and the receiving end through the management equipment.
In the related art, the management device displays a background of a live-action image on a display interface, an administrator sets an acquisition end node icon and a receiving end node icon on the live-action image, and establishes a connection icon between the acquisition end node icon and the receiving end node icon, so that pairing between the acquisition end and the receiving end is realized.
However, in the above technology, the number of the collecting end nodes and the receiving end nodes is large, which results in a very large task amount of the management device, and a large amount of processing resources are occupied, thereby reducing the working efficiency of the device.
Disclosure of Invention
The embodiment of the disclosure provides an image management method, device and system, which can solve the problem that the working efficiency of the device is reduced in the prior art. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an image management method applied to a background device, the method including:
acquiring a first operation instruction; the first operation instruction is used for indicating to establish connection between the first node and the second node;
establishing a connection between the first node and the second node;
generating a first drawing instruction according to the first operation instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
Sending a first drawing instruction to platform equipment, enabling the platform equipment to respond to the first drawing instruction, drawing a connection icon between the first node and the second node on a target background image, and sending a first target image to background equipment; the first target image comprises the connection icon;
the first target image is received.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out image drawing, so that the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and the working efficiency of the background device is improved.
In one embodiment, before the acquiring the first operation instruction, the method further includes:
acquiring a second operation instruction; the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node;
Establishing the target node;
generating a second drawing instruction according to the second operation instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph;
sending the second drawing instruction to the platform equipment, enabling the platform equipment to respond to the second drawing instruction, drawing the target node icon on a target background image, and sending a second target image to the background equipment; the second target image includes the target node icon;
the second target image is received.
In one embodiment, before the acquiring the second operation instruction, the method further includes:
acquiring a third operation instruction; the third operation instruction is used for indicating loading of the target background graph;
generating a third drawing instruction according to the third operation instruction; the third drawing instruction is used for indicating loading of the target background graph;
sending the third drawing instruction to the platform equipment, so that the platform equipment responds to the third drawing instruction, loads the target background image and sends a third target image to the background equipment; the third target image comprises the target background map;
And receiving the third target image.
In one embodiment, further comprising:
acquiring a fourth operation instruction; the fourth operation instruction is used for indicating to modify the target background graph;
generating a fourth drawing instruction according to the fourth operation instruction; the fourth drawing instruction is used for indicating to modify the target background graph;
sending the fourth drawing instruction to the platform equipment, enabling the platform equipment to respond to the fourth drawing instruction, generating a new target background image, and sending a fourth target image to the background equipment; the fourth target image comprises a new target background image;
and receiving the fourth target image.
In one embodiment, the first operation instruction carries first identification information of the first node and second identification information of the second node;
the establishing a connection between the first node and the second node includes:
determining first address information of the first node according to the first identification information;
determining second address information of the second node according to the second identification information;
establishing connection between the first node and the second node according to the first address information and the second address information;
The generating a first drawing instruction according to the first operation instruction includes:
determining the identification information of the corresponding connection icon according to the node connection;
and generating the first drawing instruction according to the first address information, the second address information and the identification information of the connection icon.
In one embodiment, the second operation instruction carries identification information of a target node, address information of the target node, type information of the target node and state information of the target node;
the establishing the target node includes:
establishing the target node according to the identification information of the target node and the address information of the target node;
the generating a second drawing instruction according to the second operation instruction includes:
determining a target node icon according to the type information of the target node and the state information of the target node;
determining an icon identification of the target node icon according to the target node icon;
and generating the second drawing instruction according to the icon identification of the target node icon and the address information of the target node.
In one embodiment, the third operation instruction carries identification information of the target background image, size information of a target window and tile level information; and the third drawing instruction carries identification information of the target background image, size information of the target window and the tile level information.
In one embodiment, the fourth operation instruction carries a modification multiple of the target background image;
the generating a fourth drawing instruction according to the fourth operation instruction includes:
determining new tile level information according to the modification multiple of the target background image;
and generating the fourth drawing instruction according to the new tile level information, the identification information of the target background image and the size information of the target window.
According to a second aspect of embodiments of the present disclosure, there is provided an image management method applied to a platform device, the method including:
receiving a first drawing instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
responding to the first drawing instruction, and drawing a connection icon between the first node and the second node on a target background graph;
transmitting a first target image to the background device; the first target image includes the connection icon.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. It can be known that the platform equipment is used for carrying out image drawing, so that the processing workload of the background equipment can be reduced, the processing resource occupancy rate of the background equipment is reduced, and the working efficiency of the background equipment is improved.
In one embodiment, before the receiving the first drawing instruction, the method further includes:
receiving a second drawing instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on the target background graph;
drawing the target node icon on a target background graph in response to the second drawing instruction;
transmitting a second target image to the background device; the second target image includes the target node icon.
In one embodiment, before the receiving the second drawing instruction, the method further includes:
receiving a third drawing instruction; the third drawing instruction is used for indicating loading of the target background graph;
loading the target background map in response to the third drawing instruction;
transmitting a third target image to the background device; the third target image includes the target background map.
In one embodiment, further comprising:
receiving a fourth drawing instruction; the fourth operation instruction is used for indicating to modify the target background graph;
loading a new target background map in response to the fourth drawing instruction;
transmitting a fourth target image to the background device; the fourth target image includes a new target background map.
In one embodiment, the first drawing instruction carries first address information of the first node, second address information of the second node and identification information of a connection icon;
the drawing the connection icon between the first node and the second node on the target background graph comprises:
determining the connection icon according to the identification information of the connection icon;
and drawing the connection icon between the first node and the second node on the target background graph according to the first address information and the second address information.
In one embodiment, the second drawing instruction carries an icon identifier of the target node icon and address information of the target node;
the drawing the target node icon on the target background graph comprises:
determining the target node icon according to the icon identification of the target node icon;
and drawing the target node icon at the position of the address information of the target node on the target background graph.
In one embodiment, the third drawing instruction carries identification information of the target background image, size information of a target window and tile level information;
The loading the target background graph comprises:
determining a target tile in the target background image according to the identification information of the target background image, the size information of the target window and the tile level information;
acquiring the target tile;
and splicing the target tiles into the size information of the target window to obtain the target background image.
In one embodiment, the fourth drawing instruction carries new tile level information, identification information of the target background image and size information of a target window;
the loading of the new target background graph comprises:
determining a new target tile in the target background diagram according to the identification information of the target background diagram, the size information of the target window and the new tile level information;
acquiring the new target tile;
and splicing the new target tiles into the size information of the target window to obtain the new target background image.
According to a third aspect of embodiments of the present disclosure, there is provided a background apparatus, comprising:
the first acquisition module is used for acquiring a first operation instruction; the first operation instruction is used for indicating to establish connection between the first node and the second node;
A first establishing module, configured to establish a connection between the first node and the second node;
the first generation module is used for generating a first drawing instruction according to the first operation instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
the first sending module is used for sending a first drawing instruction to the platform equipment, enabling the platform equipment to respond to the first drawing instruction, drawing a connection icon between the first node and the second node on a target background image, and sending a first target image to the background equipment; the first target image comprises the connection icon;
and the first receiving module is used for receiving the first target image.
In one embodiment, the background device further includes a second acquisition module, a second establishment module, a second generation module, a third sending module, and a third receiving module;
the second acquisition module is used for acquiring a second operation instruction; the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node;
The second establishing module is used for establishing the target node;
the second generation module is used for generating a second drawing instruction according to the second operation instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph;
the third sending module is configured to send the second drawing instruction to the platform device, so that the platform device draws the target node icon on a target background graph in response to the second drawing instruction, and sends a second target image to the background device; the second target image includes the target node icon;
the third receiving module is configured to receive the second target image.
In one embodiment, the background device further includes a third acquisition module, a third generation module, a fourth sending module, and a fourth receiving module;
the third acquisition module is used for acquiring a third operation instruction; the third operation instruction is used for indicating loading of the target background graph;
the third generation module is used for generating a third drawing instruction according to the third operation instruction; the third drawing instruction is used for indicating loading of the target background graph;
The fourth sending module is configured to send the third drawing instruction to the platform device, so that the platform device loads the target background image in response to the third drawing instruction, and sends a third target image to the background device; the third target image comprises the target background map;
the fourth receiving module is configured to receive the third target image.
In one embodiment, the background device further includes a fourth acquisition module, a fourth generation module, a fifth sending module, and a fifth receiving module;
the fourth obtaining module is used for obtaining a fourth operation instruction; the fourth operation instruction is used for indicating to modify the target background graph;
the fourth generation module is used for generating a fourth drawing instruction according to the fourth operation instruction; the fourth drawing instruction is used for indicating to modify the target background graph;
the fifth sending module is configured to send the fourth drawing instruction to the platform device, so that the platform device generates a new target background image in response to the fourth drawing instruction, and sends a fourth target image to the background device; the fourth target image comprises a new target background image;
The fifth receiving module is configured to receive the fourth target image.
In one embodiment, the first operation instruction carries first identification information of the first node and second identification information of the second node; the first establishment module comprises a first determination sub-module, a second determination sub-module and a first establishment sub-module; the first generation module comprises a third determination sub-module and a first generation sub-module;
the first determining submodule is used for determining first address information of the first node according to the first identification information;
the second determining submodule is used for determining second address information of the second node according to the second identification information;
the first establishing submodule is used for establishing connection between the first node and the second node according to the first address information and the second address information;
the third determining submodule is used for determining the identification information of the corresponding connection icon according to the node connection;
the first generation sub-module is used for generating the first drawing instruction according to the first address information, the second address information and the identification information of the connection icon.
In one embodiment, the second operation instruction carries identification information of a target node, address information of the target node, type information of the target node and state information of the target node; the second building module comprises a second building sub-module; the second generation module comprises a fourth determination sub-module, a fifth determination sub-module and a second generation sub-module;
the second establishing sub-module is used for establishing the target node according to the identification information of the target node and the address information of the target node;
the fourth determining submodule is used for determining a target node icon according to the type information of the target node and the state information of the target node;
the fifth determining submodule is used for determining an icon identifier of the target node icon according to the target node icon;
the second generation sub-module is configured to generate the second drawing instruction according to the icon identifier of the target node icon and the address information of the target node.
In one embodiment, the third operation instruction carries identification information of the target background image, size information of a target window and tile level information; and the third drawing instruction carries identification information of the target background image, size information of the target window and the tile level information.
In one embodiment, the fourth operation instruction carries a modification multiple of the target background image; the fourth generation module comprises a sixth determination sub-module and a third generation sub-module;
the sixth determining submodule is used for determining new tile level information according to the modification multiple of the target background image;
the third generation sub-module is configured to generate the fourth drawing instruction according to the new tile level information, the identification information of the target background map, and the size information of the target window.
According to a fourth aspect of embodiments of the present disclosure, there is provided a platform device comprising:
the second receiving module is used for receiving the first drawing instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
the first drawing module is used for responding to the first drawing instruction and drawing a connection icon between the first node and the second node on a target background graph;
the second sending module is used for sending the first target image to the background equipment; the first target image includes the connection icon.
In one embodiment, the platform device further includes a sixth receiving module, a second drawing module, and a sixth sending module;
The sixth receiving module is used for receiving a second drawing instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on the target background graph;
the second drawing module is used for responding to the second drawing instruction and drawing the target node icon on a target background graph;
the sixth sending module is configured to send a second target image to the background device; the second target image includes the target node icon.
In one embodiment, the platform device further includes a seventh receiving module, a first loading module, and a seventh sending module;
the seventh receiving module is configured to receive a third drawing instruction; the third drawing instruction is used for indicating loading of the target background graph;
the first loading module is used for responding to the third drawing instruction and loading the target background graph;
the seventh sending module is configured to send a third target image to the background device; the third target image includes the target background map.
In one embodiment, the platform module further comprises an eighth receiving module, a second loading module, and an eighth sending module;
the eighth receiving module is used for receiving a fourth drawing instruction; the fourth operation instruction is used for indicating to modify the target background graph;
The second loading module is used for responding to the fourth drawing instruction and loading a new target background diagram;
the eighth sending module is configured to send a fourth target image to the background device; the fourth target image includes a new target background map.
In one embodiment, the first drawing instruction carries first address information of the first node, second address information of the second node and identification information of a connection icon; the first drawing module comprises a seventh determining sub-module and a first drawing sub-module;
the seventh determining submodule is used for determining the connection icon according to the identification information of the connection icon;
the first drawing sub-module is used for drawing the connection icon between the first node and the second node on the target background graph according to the first address information and the second address information.
In one embodiment, the second drawing instruction carries an icon identifier of the target node icon and address information of the target node; the second drawing module comprises an eighth determination sub-module and a second drawing sub-module;
the eighth determining submodule is used for determining the target node icon according to the icon identification of the target node icon;
And the second drawing submodule is used for drawing the target node icon at the position of the address information of the target node on the target background graph.
In one embodiment, the third drawing instruction carries identification information of the target background image, size information of a target window and tile level information; the first loading module comprises a ninth determining sub-module, a first obtaining sub-module and a first splicing sub-module;
the ninth determining submodule is used for determining target tiles in the target background graph according to the identification information of the target background graph, the size information of the target window and the tile level information;
the first acquisition submodule is used for acquiring the target tile;
and the first splicing submodule is used for splicing the target tiles into the size information of the target window to obtain the target background image.
In one embodiment, the fourth drawing instruction carries new tile level information, identification information of the target background image and size information of a target window; the second loading module comprises a tenth determining sub-module, a second obtaining sub-module and a second splicing sub-module;
The tenth determining submodule is used for determining a new target tile in the target background graph according to the identification information of the target background graph, the size information of the target window and the new tile level information;
the second obtaining submodule is used for obtaining the new target tile;
and the second splicing sub-module is used for splicing the new target tile into the size information of the target window to obtain the new target background image.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an image management system, including a foreground device, a background device described in any of the embodiments above, and a platform device described in any of the embodiments above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of an image management method provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart of an image management method provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart of an image management method provided by an embodiment of the present disclosure;
FIG. 4 is a flow chart of an image management method provided by an embodiment of the present disclosure;
FIG. 5 is an interaction diagram of an image management method provided by an embodiment of the present disclosure;
FIG. 6 is an interaction diagram of an image management method provided by an embodiment of the present disclosure;
FIG. 7a is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7b is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7c is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7d is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7e is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7f is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 7g is a block diagram of a background device provided by an embodiment of the present disclosure;
FIG. 8a is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8b is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8c is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8d is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8e is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8f is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8g is a block diagram of a platform device provided by an embodiment of the present disclosure;
FIG. 8h is a block diagram of a platform device provided by an embodiment of the present disclosure;
fig. 9 is a frame diagram of an image management system provided in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
An embodiment of the present disclosure provides an image management method applied to a background device, as shown in fig. 1, including the following steps:
step 101, acquiring a first operation instruction.
The first operation instruction is used for indicating to establish connection between a first node and a second node; the first operation instruction carries first identification information of the first node and second identification information of the second node.
The image management system comprises foreground equipment and background equipment, wherein node icons of a plurality of nodes are displayed on a control interface of the foreground equipment, an administrator can select a target node on the control interface of the foreground equipment, the target node is a first node and a second node, a connection button is triggered, the foreground equipment acquires a connection operation event, when the administrator clicks the first node, identification information of the first node is acquired, when the administrator clicks the second node, identification information of the second node is acquired, a first operation instruction is generated according to the identification information of the first node, the identification information of the second node and the connection operation event, and the first operation instruction is sent to the background equipment, so that the background equipment acquires the first operation instruction.
It should be noted that, in the present disclosure, the first node may be an acquisition end node, and the second node may be a receiving end node; or the first node is a receiving end node, and the second node is an acquisition end node.
Step 102, establishing a connection between the first node and the second node.
Optionally, determining first address information of the first node according to the first identification information; determining second address information of the second node according to the second identification information; and establishing connection between the first node and the second node according to the first address information and the second address information.
When receiving a first operation instruction, the background device analyzes the first operation instruction to obtain identification information of a first node and identification information of a second node, searches address information of the first node corresponding to the identification information of the first node in a node list, searches address information of the second node corresponding to the identification information of the second node, determines a first position of the first node on a target background graph according to the address information of the first node, determines a second position of the second node on the target background graph according to the address information of the second node, and further establishes connection between the first node and the second node according to the first position and the second position; the node list stores the corresponding relation among the identification information of the nodes, the address information of the nodes and the node icons.
And step 103, generating a first drawing instruction according to the first operation instruction.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
Optionally, the first drawing instruction is generated according to the first address information, the second address information and the identification information of the connection icon.
After the connection between the first node and the second node is established, the background device determines the identification information of the connection icon according to the connection state between the first node and the second node, and packages the address information of the first node, the address information of the second node and the identification information of the connection icon to generate a first drawing instruction.
The background equipment stores the corresponding relation among the connection state, the connection icon and the identification information of the connection icon among the nodes; for example, if the connection state is that the connection is successful, the connection icon is a green line, and the identification information of the connection icon is 00; the connection state is that connection is in progress, the connection icon is a blue line, and the identification information of the connection icon is 01; the connection state is that the caller retries, the connection icon is a yellow line, and the identification information of the connection icon is 02; if the connection state is that the connection relation is unknown, the connection icon is a red line, and the identification information of the connection icon is 03.
When the connection is just established, the connection state may be a default connection state, in which the connection relationship is unknown. And the corresponding two nodes are connected to report the node state to the background module, and the background module can determine the connection state according to the two node states so as to modify the color of the connection icon.
Step 104, a first drawing instruction is sent to the platform device, so that the platform device responds to the first drawing instruction, a connection icon between the first node and the second node is drawn on a target background image, and a first target image is sent to the background device.
Wherein the first target image includes the connection icon.
When generating a first drawing instruction, the background device sends the first drawing instruction to the platform device, the platform device analyzes the received first drawing instruction to obtain address information of a first node, address information of a second node and identification information of a connection icon, searches for a corresponding connection icon according to the identification information of the connection icon, searches for a node icon of the first node according to the address information of the first node, searches for a node icon of the second node according to the address information of the second node, and draws the connection icon between the node icon of the first node and the node icon of the second node; and transmitting the first target image containing the connection icon to the background device.
Step 105, receiving the first target image.
The background device receives the first target image and sends the first target image to the foreground device, and the foreground device displays the first target image containing the connection icon, so that an administrator can conveniently check the connection icon between the first node and the second node on the foreground device to determine whether the connection between the first node and the second node is correct or not and whether the layout is reasonable or not.
When the cursor moves to the connection icon corresponding to the node icon on the operation interface of the foreground device, the foreground device obtains connection information corresponding to the connection from the background device, and displays the connection information beside the connection icon in a pop-up box form, wherein the connection information includes a connection state, an actual geographic distance of the connection and the like.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out image drawing, so that the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and the working efficiency of the background device is improved.
The embodiment of the disclosure provides an image management method applied to background equipment, as shown in fig. 2, comprising the following steps:
step 201, obtaining a third operation instruction.
The third operation instruction is used for indicating loading of the target background graph; and the third operation instruction carries identification information of the target background image, size information of a target window and tile level information.
For example, the administrator may perform an operation on the control interface of the foreground device, that is, select the required target background image, the required size information of the target window, and the tile level information, and trigger the background image loading button, so that the foreground module generates a third operation instruction according to the operation event of the administrator (triggering the background image loading button), the identification information of the target background image, the size information of the target window, and the tile level information, and sends the third operation instruction carrying the identification information of the target background image, the size information of the target window, and the tile level information to the background device, so that the background device obtains the third operation instruction, and correspondingly stores the identification information of the target background image and the size information of the target window.
It should be noted that, the tile level information in the third operation instruction may be a default initial tile level.
And 202, generating a third drawing instruction according to the third operation instruction.
The third drawing instruction is used for indicating loading of the target background graph; and the third drawing instruction carries identification information of the target background image, size information of the target window and the tile level information.
For example, when receiving the third operation instruction, the background device parses the third operation instruction, determines that the administrator needs to load the target background image, and then generates a third drawing instruction according to the identification information of the target background image, the size information of the target window and the tile level information.
Step 203, sending the third drawing instruction to the platform device, so that the platform device responds to the third drawing instruction, loads the target background image, and sends a third target image to the background device.
Wherein the third target image comprises the target background map.
When the background device generates a third drawing instruction, the background device sends the third drawing instruction to the platform device, the platform device analyzes the third drawing instruction to obtain identification information of a target background image, size information of a target window and tile level information, further determines the target background image according to the identification information of the target background image, determines a plurality of target tiles of the tile level in the target background image, acquires the plurality of target tiles of the tile level from the image database, and splices the target tiles into the size of the target window to obtain the target background image; and finally, transmitting a third target image containing the target background image to background equipment.
It should be noted that, the image management system in the disclosure includes a foreground device and a background device, where the background device is connected with a preset platform device and provides a required image database for the platform device, where the image database stores tiles corresponding to each tile level of multiple images, and establishes a corresponding relationship between each image and an image identifier; a plurality of target tiles for the tile level in the target background map may be determined from the identification information of the target background map.
Step 204, receiving the third target image.
For example, when receiving the third target image containing the target background image, the background device sends the third target image containing the target background image to the foreground device, and the foreground device displays the target background image.
Step 205, obtaining a fourth operation instruction.
Wherein the fourth operation instruction is used for indicating to modify the target background graph; and the fourth operation instruction carries the modification multiple of the target background image.
For example, after the foreground module displays the target background image, if the administrator determines that the size of the displayed target background image is not suitable, the foreground module may determine to expand or contract the target background image by sliding a mouse wheel or pressing a key on a keyboard, to expand or contract a multiple of the target background image, and generate a fourth operation instruction according to the multiple of the expanded or contracted target background image, that is, determine the fourth operation instruction according to the modified multiple of the target background image, and send the fourth operation instruction to the background device, so that the background device obtains the fourth operation instruction.
The enlarged target background image is an image formed by tiles at the next stage or the next stages of the tile levels corresponding to the current target background image; the reduced target background image is an image formed by the tiles of the upper level or the upper levels of the tile levels corresponding to the current target background image.
And 206, generating a fourth drawing instruction according to the fourth operation instruction.
Wherein the fourth drawing instruction is used for indicating to modify the target background graph; and the fourth drawing instruction carries new tile level information, identification information of a target background image and size information of a target window.
Optionally, determining new tile level information according to the modification multiple of the target background image; and generating the fourth drawing instruction according to the new tile level information, the identification information of the target background image and the size information of the target window.
When the background device obtains the fourth operation instruction, the fourth operation instruction is analyzed to obtain a modification multiple of the target background image, new tile level information is determined according to the modification multiple of the target background image, and a fourth drawing instruction is generated according to the new tile level information, the identification information of the target background image and the size information of the target window.
Step 207, sending the fourth drawing instruction to the platform device, so that the platform device generates a new target background image in response to the fourth drawing instruction, and sends a fourth target image to the background device.
Wherein the fourth target image comprises a new target background map.
When generating a fourth drawing instruction, the background device sends the fourth drawing instruction to the platform device, the platform device analyzes the fourth drawing instruction to obtain identification information of a target background image, size information of a target window and new tile level information, further determines the target background image according to the identification information of the target background image, determines a plurality of new target tiles of the new tile level in the target background image, acquires the plurality of new target tiles of the new tile level from the image database, and splices the new target tiles into the size of the target window to obtain the new target background image; and finally, transmitting a fourth target image containing the new target background image to background equipment.
Step 208, receiving the fourth target image.
For example, when the background device receives the fourth target image containing the new target background image, the fourth target image containing the new target background image is sent to the foreground device, and the foreground device displays the new target background image, so that an administrator can conveniently draw a required node icon on the required new target background image, and the like.
It should be noted that, when the administrator determines that the displayed target background image does not need to be modified, steps 205 to 208 are not executed; when it is determined that the displayed target background image needs to be modified, steps 205 to 208 are performed, and finally a new target background image is displayed.
Step 209, obtaining a second operation instruction.
Wherein the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node; the second operation instruction carries identification information of a target node, address information of the target node, type information of the target node and state information of the target node; the type information of the target node comprises an acquisition end or a receiving end, the state information of the target node comprises a normal state or an abnormal state, and the abnormal state comprises networking failure, fault, disconnection and the like.
For example, after the foreground device displays the new target background image, the user may perform related operations on the new target background image, and when the target node needs to be created, the administrator selects identification information of the target node, address information of the target node, type information of the target node, and state information of the target node, so that the foreground device generates a second operation instruction according to the identification information of the target node, the address information of the target node, the type information of the target node, and the state information of the target node, and sends the second operation instruction to the background device, so that the background device obtains the second operation instruction.
It should be noted that, when the number of the target nodes is greater than one, the third operation instruction also carries name information of the target nodes, so that an administrator can distinguish each target node conveniently.
Step 210, establishing the target node.
Optionally, the target node is built according to the identification information of the target node and the address information of the target node.
When the background equipment acquires the second operation instruction, analyzing the second operation instruction to obtain identification information of the target node, address information of the target node, type information of the target node and state information of the target node, correspondingly storing the identification information of the target node, the address information of the target node, the type information of the target node and the state information of the target node, and establishing the target node according to the address information, the type information and the state information of the target node; for example, the address information of the target node is 172.172.10.1, the node type is the acquisition end, and the background device sets the camera with the website of 172.172.10.1 as the acquisition end node and generates the identification information of the acquisition end node as 1.
It should be noted that, the address information of the target node may be a network address, a latitude and longitude address, etc., which may be a node uniquely determined in an actual scene; in addition, when the cursor on the background diagram of the control interface moves to the icon of the target node, the foreground device acquires all information of the target node from the background device and displays the information beside the icon of the target node in a pop-up box form, wherein the information of the specific target node can comprise identification information of the target node, address information of the target node, type information of the target node and state information of the target node. For example, when the cursor is moved onto the target node, the foreground device pops up a popup window, and the information displayed in the popup window includes node identification information: 1, node name: sentry 1, node address: 172.172.10.1 node type: and a collection end.
Step 211, generating a second drawing instruction according to the second operation instruction.
The second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph.
Optionally, determining a target node icon according to the type information of the target node and the state information of the target node; determining an icon identification of the target node icon according to the target node icon; and generating the second drawing instruction according to the icon identification of the target node icon and the address information of the target node.
For example, the background device stores in advance the corresponding relation of the node type information, the node state information, the node icon and the icon identifier of the node icon; therefore, when the target node is established, the background device can determine the target node icon according to the type information of the target node and the state information of the target node, and can determine the icon identification of the target node icon according to the target node icon, so that a second drawing instruction is generated according to the icon identification of the target node icon and the address information of the target node. For example, the node type is an acquisition end, the node state is normal, the node icon corresponding to the node is a colored circular camera, and the icon identifier of the node icon is 01; the node type is an acquisition end, the node state is abnormal, the node icon corresponding to the node is a gray round camera, and the icon mark of the node icon is 02; the node type is a receiving end, the node state is normal, the node icon corresponding to the node is a colored square display, and the icon mark of the node icon is 03; the node type is a receiving end, the node state is abnormal, the node icon corresponding to the node is a gray square display, and the icon mark of the node icon is 04.
Step 212, sending the second drawing instruction to the platform device, so that the platform device draws the target node icon on a target background graph in response to the second drawing instruction, and sending a second target image to the background device.
Wherein the second target image includes the target node icon.
When the background device generates the second drawing instruction, the background device sends the second drawing instruction to the device on the platform, the platform device analyzes the received second drawing instruction to obtain the icon identification of the target node icon and the address information of the target node, determines the target node icon according to the icon identification of the target node icon, draws the target node icon at the position of the address information of the target node on the new target background image, and sends a second target image containing the target node icon to the background device.
Step 213, receiving the second target image.
For example, the background device receives a second target image including the target node icon, and sends the second target image including the target node icon to the foreground device, which displays the target node icon.
Step 214, obtaining a first operation instruction.
The first operation instruction is used for indicating to establish connection between the first node and the second node.
Step 215, establishing a connection between the first node and the second node.
Step 216, generating a first drawing instruction according to the first operation instruction.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
Step 217, a first drawing instruction is sent to a platform device, so that the platform device draws a connection icon between the first node and the second node on a target background image in response to the first drawing instruction, and sends a first target image to the background device.
Wherein the first target image includes the connection icon.
Step 218, receiving the first target image.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out the task of image drawing, the background device is not required to execute the task of image drawing, and especially in a scene with larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and therefore the working efficiency of the background device is improved.
The embodiment of the disclosure provides an image management method, which is applied to platform equipment, wherein the platform equipment can be a leaf, and the leaf is a modern, open-source high-level programming language developed for building a mobile equipment friendly interactive map; as shown in fig. 3, the method comprises the steps of:
step 301, a first drawing instruction is received.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph; the first drawing instruction carries first address information of the first node, second address information of the second node and identification information of a connection icon.
And step 302, responding to the first drawing instruction, and drawing a connection icon between the first node and the second node on a target background graph.
Optionally, determining the connection icon according to the identification information of the connection icon; and drawing the connection icon between the first node and the second node on the target background graph according to the first address information and the second address information.
The platform device analyzes the received first drawing instruction to obtain address information of the first node, address information of the second node and identification information of the connection icon, searches for a corresponding connection icon according to the identification information of the connection icon, searches for a node icon of the first node according to the address information of the first node, searches for a node icon of the second node according to the address information of the second node, and draws the connection icon between the node icon of the first node and the node icon of the second node to obtain a first target image containing the connection icon.
Step 303, sending a first target image to the background equipment; the first target image includes the connection icon.
When the platform device obtains the first target image containing the connection icon, the platform device sends the first target image containing the connection icon to the background device, so that the background device sends the first target image to the foreground device, the foreground device displays the first target image containing the connection icon, and an administrator can conveniently check the connection icon between the first node and the second node on the foreground device to determine whether the connection between the first node and the second node is correct or not and whether the layout is reasonable or not.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device of the present disclosure bears the task of image drawing, which can reduce the processing workload of the background device, and reduce the occupancy rate of the processing resources of the background device, thereby improving the working efficiency of the background device
An embodiment of the present disclosure provides an image management method, applied to a platform device, as shown in fig. 4, including the following steps:
step 401, receiving a third drawing instruction.
The third drawing instruction is used for indicating loading of the target background graph; and the third drawing instruction carries identification information of the target background image, size information of a target window and tile level information.
Step 402, responding to the third drawing instruction, and loading the target background graph.
Optionally, determining a target tile in the target background map according to the identification information of the target background map, the size information of the target window and the tile level information; acquiring the target tile; and splicing the target tiles into the size information of the target window to obtain the target background image.
The platform device analyzes the third drawing instruction to obtain identification information of a target background image, size information of a target window and tile level information, further determines the target background image according to the identification information of the target background image, determines a plurality of target tiles of the tile level in the target background image, obtains the plurality of target tiles of the tile level from an image database, and splices the target tiles into the size of the target window to obtain the target background image, and obtains a third target image containing the target background image.
Step 403, sending a third target image to the background equipment; the third target image includes the target background map.
When the platform device obtains the third target image containing the target background image, the platform device sends the third target image containing the target background image to the background device, so that the background device sends the third target image containing the target background image to the foreground device, and the foreground device displays the target background image.
Step 404, receiving a fourth drawing instruction.
Wherein the fourth operation instruction is used for indicating to modify the target background graph; and the fourth drawing instruction carries new tile level information, identification information of the target background image and size information of a target window.
And step 405, loading a new target background image in response to the fourth drawing instruction.
Optionally, determining a new target tile in the target background map according to the identification information of the target background map, the size information of the target window and the new tile level information; acquiring the new target tile; and splicing the new target tiles into the size information of the target window to obtain the new target background image.
The platform device analyzes the fourth drawing instruction to obtain identification information of the target background image, size information of the target window and new tile level information, further determines the target background image according to the identification information of the target background image, determines a plurality of new target tiles of the new tile level in the target background image, acquires the plurality of new target tiles of the new tile level from the image database, and splices the new target tiles into the size of the target window to obtain the new target background image, and obtains a fourth target image containing the new target background image.
Step 406, sending a fourth target image to the background equipment; the fourth target image includes a new target background map.
When the platform device obtains the fourth target image containing the new target background image, the platform device sends the fourth target image containing the new target background image to the background device, so that the background device sends the fourth target image containing the new target background image to the foreground device, and the foreground device displays the new target background image.
Step 407, receiving a second drawing instruction.
The second drawing instruction is used for indicating to draw a target node icon of the target node on the target background graph; and the second drawing instruction carries an icon identifier of the target node icon and address information of the target node.
And step 408, responding to the second drawing instruction, and drawing the target node icon on a target background graph.
Optionally, determining the target node icon according to the icon identifier of the target node icon; and drawing the target node icon at the position of the address information of the target node on the target background graph.
When the background device generates the second drawing instruction, the background device sends the second drawing instruction to the device on the platform, the platform device analyzes the received second drawing instruction to obtain the icon identification of the target node icon and the address information of the target node, determines the target node icon according to the icon identification of the target node icon, and draws the target node icon at the position of the address information of the target node on the new target background image to obtain a second target image containing the target node icon.
Step 409, sending the second target image to the background device.
Wherein the second target image includes the target node icon.
When the platform device obtains the second target image containing the target node icon, the platform device sends the second target image containing the target node icon to the background device, so that the background device sends the second target image containing the target node icon to the foreground device, and the foreground device displays the target node icon.
Step 410, receiving a first drawing instruction.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
And 411, responding to the first drawing instruction, and drawing a connection icon between the first node and the second node on a target background graph.
Step 412, sending a first target image to the background device; the first target image includes the connection icon.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out the task of image drawing without the background device for executing the task of image drawing, and particularly in the scene of larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and the working efficiency of the background device is improved; in addition, the size of the background image can be adjusted according to the requirements of users.
The embodiment of the disclosure provides an image management method applied to a background device and a platform device, as shown in fig. 5, the method comprises the following steps:
step 501, the background device acquires a first operation instruction.
The first operation instruction is used for indicating to establish connection between the first node and the second node.
Step 502, a background device establishes a connection between the first node and the second node.
Step 503, the background device generates a first drawing instruction according to the first operation instruction.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
Step 504, the background device sends a first drawing instruction to the platform device.
And step 505, the platform equipment responds to the first drawing instruction to draw a connection icon between the first node and the second node on a target background graph.
Step 506, the platform device sends the first target image to the background device.
Wherein the first target image includes the connection icon.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out the task of image drawing without the background device for executing the task of image drawing, and particularly in the scene of larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and the working efficiency of the background device is improved; in addition, the size of the background image can be adjusted according to the requirements of users.
The embodiment of the disclosure provides an image management method applied to a background device and a platform device, as shown in fig. 6, the method comprises the following steps:
and 601, the background equipment acquires a third operation instruction.
The third operation instruction is used for indicating loading of the target background graph.
And 602, the background equipment generates a third drawing instruction according to the third operation instruction.
The third drawing instruction is used for indicating loading of the target background graph.
Step 603, the background device sends the third drawing instruction to the platform device.
Step 604, the platform device loads the target background graph in response to the third drawing instruction.
Step 605, the platform device sends a third target image to the background device.
Wherein the third target image comprises the target background map.
Step 606, the background device obtains a fourth operation instruction.
Wherein the fourth operation instruction is used for indicating to modify the target background graph.
Step 607, the background device generates a fourth drawing instruction according to the fourth operation instruction.
Wherein the fourth drawing instruction is used for indicating to modify the target background graph.
Step 608, the background device sends the fourth drawing instruction to the platform device.
Step 609, the platform device generates a new target background map in response to the fourth drawing instruction.
Step 610, the platform device sends the fourth target image to the background device.
Wherein the fourth target image comprises a new target background map.
Step 611, the background device obtains the second operation instruction.
Wherein the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node.
Step 612, the background device establishes the target node.
Step 613, the background device generates a second drawing instruction according to the second operation instruction.
The second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph.
Step 614, the background device sends the second drawing instruction to the platform device.
Step 615, the platform device responds to the second drawing instruction to draw the target node icon on a target background graph.
Step 616, the platform device sends the second target image to the background device.
Wherein the second target image includes the target node icon.
Step 617, the background device acquires the first operation instruction.
The first operation instruction is used for indicating to establish connection between the first node and the second node.
Step 618, the background device establishes a connection between the first node and the second node.
Step 619, the background device generates a first drawing instruction according to the first operation instruction.
The first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
Step 620, the background device sends the first drawing instruction to the platform device.
In step 621, the platform device responds to the first drawing instruction to draw a connection icon between the first node and the second node on the target background graph.
Step 622, the platform device sends the first target image to the background device.
Wherein the first target image includes the connection icon.
The embodiment of the disclosure provides an image management method, when a background device acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to a platform device, the platform device draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background device. As can be seen, the platform device is used for carrying out the task of image drawing without the background device for executing the task of image drawing, and particularly in the scene of larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and the working efficiency of the background device is improved; in addition, the size of the background image can be adjusted according to the requirements of users.
Based on the image management method described in the above embodiments, the following are embodiments of the apparatus of the present disclosure, which may be used to perform the embodiments of the method of the present disclosure.
The embodiment of the present disclosure provides a background apparatus, as shown in fig. 7a, the background apparatus 70 includes: a first acquisition module 701, a first establishment module 702, a first generation module 703, a first transmission module 704 and a first reception module 705.
The first obtaining module 701 is configured to obtain a first operation instruction; the first operation instruction is used for indicating to establish connection between the first node and the second node.
A first establishing module 702 is configured to establish a connection between the first node and the second node.
A first generating module 703, configured to generate a first drawing instruction according to the first operation instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph.
A first sending module 704, configured to send a first drawing instruction to a platform device, so that the platform device draws a connection icon between the first node and the second node on a target background graph in response to the first drawing instruction, and sends a first target image to the background device; the first target image includes the connection icon.
A first receiving module 705, configured to receive the first target image.
In one embodiment, as shown in fig. 7b, the background device further comprises a second acquisition module 706, a second establishment module 707, a second generation module 708, a third sending module 709, and a third receiving module 710.
The second obtaining module 706 is configured to obtain a second operation instruction; the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node.
The second establishing module 707 is configured to establish the target node.
The second generating module 708 is configured to generate a second drawing instruction according to the second operation instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph.
The third sending module 709 is configured to send the second drawing instruction to the platform device, so that the platform device draws the target node icon on a target background graph in response to the second drawing instruction, and sends a second target image to the background device; the second target image includes the target node icon.
The third receiving module 710 is configured to receive the second target image.
In one embodiment, as shown in fig. 7c, the background device further comprises a third acquisition module 711, a third generation module 712, a fourth transmission module 713, and a fourth reception module 714.
Wherein, the third obtaining module 711 is configured to obtain a third operation instruction; the third operation instruction is used for indicating loading of the target background graph.
The third generating module 712 is configured to generate a third drawing instruction according to the third operation instruction; the third drawing instruction is used for indicating loading of the target background graph.
The fourth sending module 713 is configured to send the third drawing instruction to the platform device, so that the platform device loads the target background image in response to the third drawing instruction, and sends a third target image to the background device; the third target image includes the target background map.
The fourth receiving module 714 is configured to receive the third target image.
In one embodiment, as shown in fig. 7d, the background device further includes a fourth acquisition module 715, a fourth generation module 716, a fifth sending module 717, and a fifth receiving module 718.
The fourth obtaining module 715 is configured to obtain a fourth operation instruction; the fourth operating instruction is configured to instruct modification of the target background map.
The fourth generating module 716 is configured to generate a fourth drawing instruction according to the fourth operation instruction; the fourth drawing instruction is used for indicating to modify the target background graph.
The fifth sending module 717 is configured to send the fourth drawing instruction to the platform device, so that the platform device generates a new target background image in response to the fourth drawing instruction, and sends a fourth target image to the background device; the fourth target image includes a new target background map.
The fifth receiving module 718 is configured to receive the fourth target image.
In one embodiment, as shown in fig. 7e, the first operation instruction carries first identification information of the first node and second identification information of the second node; the first establishing module 702 includes a first determining submodule 7021, a second determining submodule 7022 and a first establishing submodule 7023; the first generation module 703 includes a third determination sub-module 7031 and a first generation sub-module 7032.
The first determining submodule 7021 is configured to determine first address information of the first node according to the first identification information.
The second determining submodule 7022 is configured to determine second address information of the second node according to the second identification information.
The first establishing submodule 7023 is configured to establish a connection between the first node and the second node according to the first address information and the second address information.
The third determining submodule 7031 is configured to determine identification information of a corresponding connection icon according to the node connection.
The first generating sub-module 7032 is configured to generate the first drawing instruction according to the first address information, the second address information, and the identification information of the connection icon.
In one embodiment, as shown in fig. 7f, the second operation instruction carries identification information of a target node, address information of the target node, type information of the target node and state information of the target node; the second setup module 707 includes a second setup sub-module 7071; the second generating module 708 includes a fourth determining sub-module 7081, a fifth determining sub-module 7082, and a second generating sub-module 7083.
The second establishing submodule 7071 is configured to establish the target node according to the identification information of the target node and the address information of the target node.
The fourth determining submodule 7081 is configured to determine a target node icon according to type information of the target node and state information of the target node.
The fifth determining submodule 7082 is configured to determine an icon identifier of the target node icon according to the target node icon.
The second generating submodule 7083 is configured to generate the second drawing instruction according to the icon identifier of the target node icon and the address information of the target node.
In one embodiment, the third operation instruction carries identification information of the target background image, size information of a target window and tile level information; and the third drawing instruction carries identification information of the target background image, size information of the target window and the tile level information.
In one embodiment, as shown in fig. 7g, the fourth operation instruction carries a modification multiple of the target background image; the fourth generating module 716 includes a sixth determining sub-module 7161 and a third generating sub-module 7162.
Wherein the sixth determining submodule 7161 is configured to determine new tile level information according to a modification multiple of the target background map.
The third generating submodule 7162 is configured to generate the fourth drawing instruction according to the new tile level information, the identification information of the target background map, and the size information of the target window.
The embodiment of the disclosure provides background equipment, which establishes connection between a first node and a second node when acquiring a first operation instruction, sends a first drawing instruction generated according to the first operation instruction to platform equipment, draws a connection icon between the first node and the second node on a target background image by the platform equipment, and returns a first target image containing the connection icon to the background equipment. As can be seen, the platform device is used for carrying out the task of image drawing, the background device is not required to execute the task of image drawing, and especially in a scene with larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and therefore the working efficiency of the background device is improved.
Embodiments of the present disclosure provide a platform device, as shown in fig. 8a, the platform device 80 includes: a second receiving module 801, a first drawing module 802, and a second transmitting module 803.
Wherein, the second receiving module 801 is configured to receive a first drawing instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
A first drawing module 802, configured to draw, in response to the first drawing instruction, a connection icon between the first node and the second node on a target background graph;
a second sending module 803, configured to send a first target image to the background device; the first target image includes the connection icon.
In one embodiment, as shown in fig. 8b, the platform device further comprises a sixth receiving module 804, a second rendering module 805, and a sixth sending module 806.
Wherein, the sixth receiving module 804 is configured to receive a second drawing instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on the target background graph.
The second drawing module 805 is configured to draw the target node icon on a target background graph in response to the second drawing instruction.
The sixth sending module 806 is configured to send a second target image to the background device; the second target image includes the target node icon.
In one embodiment, as shown in fig. 8c, the platform device further comprises a seventh receiving module 807, a first loading module 808, and a seventh transmitting module 809.
Wherein, the seventh receiving module 807 is configured to receive a third drawing instruction; the third drawing instruction is used for indicating loading of the target background graph.
The first loading module 808 is configured to load the target background graph in response to the third drawing instruction.
The seventh sending module 809 is configured to send a third target image to the background device; the third target image includes the target background map.
In one embodiment, as shown in fig. 8d, the platform module further includes an eighth receiving module 810, a second loading module 811, and an eighth transmitting module 812.
Wherein the eighth receiving module 810 is configured to receive a fourth drawing instruction; the fourth operating instruction is configured to instruct modification of the target background map.
The second loading module 811 is configured to load a new target background map in response to the fourth drawing instruction.
The eighth sending module 812 is configured to send a fourth target image to the background device; the fourth target image includes a new target background map.
In one embodiment, as shown in fig. 8e, the first drawing instruction carries first address information of the first node, second address information of the second node, and identification information of a connection icon; the first drawing module 802 includes a seventh determination sub-module 8021 and a first drawing sub-module 8022.
The seventh determining submodule 8021 is configured to determine the connection icon according to identification information of the connection icon.
The first drawing submodule 8022 is configured to draw the connection icon between the first node and the second node on the target background graph according to the first address information and the second address information.
In one embodiment, as shown in fig. 8f, the second drawing instruction carries an icon identifier of the target node icon and address information of the target node; the second drawing module 805 includes an eighth determination sub-module 8051 and a second drawing sub-module 8052.
The eighth determining submodule 8051 is configured to determine the target node icon according to an icon identifier of the target node icon.
The second drawing submodule 8052 is configured to draw the target node icon at a location where address information of the target node on the target background graph is located.
In one embodiment, as shown in fig. 8g, the third drawing instruction carries the identification information of the target background image, the size information of the target window and the tile level information; the first loading module 808 includes a ninth determining submodule 8081, a first obtaining submodule 8082, and a first splicing submodule 8083.
The ninth determining submodule 8081 is configured to determine a target tile in the target background map according to the identification information of the target background map, the size information of the target window, and the tile level information.
The first acquisition submodule 8082 is configured to acquire the target tile.
The first stitching submodule 8083 is configured to stitch the target tile to size information of the target window, so as to obtain the target background map.
In one embodiment, as shown in fig. 8h, the fourth drawing instruction carries new tile level information, identification information of the target background map, and size information of the target window; the second loading module 811 includes a tenth determining submodule 8111, a second obtaining submodule 8112, and a second splicing submodule 8113.
Wherein, the tenth determining submodule 8111 is configured to determine a new target tile in the target background map according to the identification information of the target background map, the size information of the target window, and the new tile level information.
The second obtaining submodule 8112 is configured to obtain the new target tile.
And the second stitching submodule 8113 is configured to stitch the new target tile into the size information of the target window, so as to obtain the new target background image.
The embodiment of the disclosure provides platform equipment, when a background equipment acquires a first operation instruction, connection between a first node and a second node is established, a first drawing instruction generated according to the first operation instruction is sent to the platform equipment, the platform equipment draws a connection icon between the first node and the second node on a target background image, and a first target image containing the connection icon is returned to the background equipment. As can be seen, the platform device is used for carrying out the task of image drawing, the background device is not required to execute the task of image drawing, and especially in a scene with larger image data, the processing workload of the background device can be reduced, the occupancy rate of processing resources of the background device is reduced, and therefore the working efficiency of the background device is improved.
Fig. 9 is a frame diagram of an image management system according to an embodiment of the present disclosure, where the image management system shown in fig. 9 includes a foreground device 901, a background device 902 according to any one of the foregoing embodiments, and a platform device 903 according to any one of the foregoing embodiments.
Based on the image management method described in the above embodiment corresponding to fig. 1, the embodiment of the present disclosure further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the image management method described in the embodiment corresponding to fig. 1, which is not described herein.
Based on the image management method described in the above-described embodiment corresponding to fig. 3, the embodiment of the present disclosure further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a read-only memory, a random access memory, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the image management method described in the embodiment corresponding to fig. 3, which is not described herein.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (19)

1. An image management method, applied to a background device, the method comprising:
acquiring a first operation instruction; the first operation instruction is used for indicating to establish connection between the first node and the second node;
establishing a connection between the first node and the second node;
generating a first drawing instruction according to the first operation instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
sending a first drawing instruction to platform equipment, enabling the platform equipment to respond to the first drawing instruction, drawing a connection icon between the first node and the second node on a target background image, and sending a first target image to background equipment; the first target image comprises the connection icon;
the first target image is received.
2. The method of claim 1, further comprising, prior to said fetching said first operation instruction:
acquiring a second operation instruction; the second operation instruction is used for indicating to establish a target node; the target node comprises the first node and/or the second node;
Establishing the target node;
generating a second drawing instruction according to the second operation instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on a target background graph;
sending the second drawing instruction to the platform equipment, enabling the platform equipment to respond to the second drawing instruction, drawing the target node icon on a target background image, and sending a second target image to the background equipment; the second target image includes the target node icon;
the second target image is received.
3. The method of claim 2, further comprising, prior to said obtaining the second operation instruction:
acquiring a third operation instruction; the third operation instruction is used for indicating loading of the target background graph;
generating a third drawing instruction according to the third operation instruction; the third drawing instruction is used for indicating loading of the target background graph;
sending the third drawing instruction to the platform equipment, so that the platform equipment responds to the third drawing instruction, loads the target background image and sends a third target image to the background equipment; the third target image comprises the target background map;
And receiving the third target image.
4. A method according to claim 3, further comprising:
acquiring a fourth operation instruction; the fourth operation instruction is used for indicating to modify the target background graph;
generating a fourth drawing instruction according to the fourth operation instruction; the fourth drawing instruction is used for indicating to modify the target background graph;
sending the fourth drawing instruction to the platform equipment, enabling the platform equipment to respond to the fourth drawing instruction, generating a new target background image, and sending a fourth target image to the background equipment; the fourth target image comprises a new target background image;
and receiving the fourth target image.
5. The method of claim 1, wherein the first operation instruction carries first identification information of the first node and second identification information of the second node;
the establishing a connection between the first node and the second node includes:
determining first address information of the first node according to the first identification information;
determining second address information of the second node according to the second identification information;
establishing connection between the first node and the second node according to the first address information and the second address information;
The generating a first drawing instruction according to the first operation instruction includes:
determining the identification information of the corresponding connection icon according to the node connection;
and generating the first drawing instruction according to the first address information, the second address information and the identification information of the connection icon.
6. The method according to claim 2, wherein the second operation instruction carries identification information of a target node, address information of the target node, type information of the target node, and status information of the target node;
the establishing the target node includes:
establishing the target node according to the identification information of the target node and the address information of the target node;
the generating a second drawing instruction according to the second operation instruction includes:
determining a target node icon according to the type information of the target node and the state information of the target node;
determining an icon identification of the target node icon according to the target node icon;
and generating the second drawing instruction according to the icon identification of the target node icon and the address information of the target node.
7. The method of claim 3, wherein the third operation instruction carries identification information of the target background map, size information of a target window and tile level information; and the third drawing instruction carries identification information of the target background image, size information of the target window and the tile level information.
8. The method of claim 4, wherein the fourth operation instruction carries a modification multiple of the target background map;
the generating a fourth drawing instruction according to the fourth operation instruction includes:
determining new tile level information according to the modification multiple of the target background image;
and generating the fourth drawing instruction according to the new tile level information, the identification information of the target background image and the size information of the target window.
9. An image management method, applied to a platform device, the method comprising:
receiving a first drawing instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on the target background graph;
responding to the first drawing instruction, and drawing a connection icon between the first node and the second node on a target background graph;
transmitting the first target image to a background device; the first target image includes the connection icon.
10. The method of claim 9, further comprising, prior to said receiving the first drawing instruction:
receiving a second drawing instruction; the second drawing instruction is used for indicating to draw a target node icon of the target node on the target background graph;
Drawing the target node icon on a target background graph in response to the second drawing instruction;
transmitting a second target image to the background device; the second target image includes the target node icon.
11. The method of claim 10, further comprising, prior to said receiving the second drawing instruction:
receiving a third drawing instruction; the third drawing instruction is used for indicating loading of the target background graph;
loading the target background map in response to the third drawing instruction;
transmitting a third target image to the background device; the third target image includes the target background map.
12. The method as recited in claim 11, further comprising:
receiving a fourth drawing instruction; the fourth drawing instruction is used for indicating to modify the target background graph;
loading a new target background map in response to the fourth drawing instruction;
transmitting a fourth target image to the background device; the fourth target image includes a new target background map.
13. The method according to claim 9, wherein the first drawing instruction carries first address information of the first node, second address information of the second node, and identification information of a connection icon;
The drawing the connection icon between the first node and the second node on the target background graph comprises:
determining the connection icon according to the identification information of the connection icon;
and drawing the connection icon between the first node and the second node on the target background graph according to the first address information and the second address information.
14. The method according to claim 10, wherein the second drawing instruction carries an icon identifier of the target node icon and address information of the target node;
the drawing the target node icon on the target background graph comprises:
determining the target node icon according to the icon identification of the target node icon;
and drawing the target node icon at the position of the address information of the target node on the target background graph.
15. The method of claim 11, wherein the third drawing instruction carries identification information of the target background map, size information of a target window, and tile level information;
the loading the target background graph comprises:
determining a target tile in the target background image according to the identification information of the target background image, the size information of the target window and the tile level information;
Acquiring the target tile;
and splicing the target tiles into the size information of the target window to obtain the target background image.
16. The method of claim 12, wherein the fourth drawing instruction carries new tile level information, identification information of the target background map, and size information of a target window;
the loading of the new target background graph comprises:
determining a new target tile in the target background diagram according to the identification information of the target background diagram, the size information of the target window and the new tile level information;
acquiring the new target tile;
and splicing the new target tiles into the size information of the target window to obtain the new target background image.
17. A background device, comprising:
the first acquisition module is used for acquiring a first operation instruction; the first operation instruction is used for indicating to establish connection between the first node and the second node;
a first establishing module, configured to establish a connection between the first node and the second node;
the first generation module is used for generating a first drawing instruction according to the first operation instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on a target background graph;
The first sending module is used for sending a first drawing instruction to the platform equipment, enabling the platform equipment to respond to the first drawing instruction, drawing a connection icon between the first node and the second node on a target background image, and sending a first target image to the background equipment; the first target image comprises the connection icon;
and the first receiving module is used for receiving the first target image.
18. A platform device, comprising:
the second receiving module is used for receiving the first drawing instruction; the first drawing instruction is used for indicating to draw a connection icon between the first node and the second node on the target background graph;
the first drawing module is used for responding to the first drawing instruction and drawing a connection icon between the first node and the second node on a target background graph;
the second sending module is used for sending the first target image to the background equipment; the first target image includes the connection icon.
19. An image management system comprising a foreground device, a background device according to claim 17, and a platform device according to claim 18.
CN202011163319.8A 2020-10-27 2020-10-27 Image management method, device and system Active CN112383591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011163319.8A CN112383591B (en) 2020-10-27 2020-10-27 Image management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011163319.8A CN112383591B (en) 2020-10-27 2020-10-27 Image management method, device and system

Publications (2)

Publication Number Publication Date
CN112383591A CN112383591A (en) 2021-02-19
CN112383591B true CN112383591B (en) 2024-02-23

Family

ID=74576169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011163319.8A Active CN112383591B (en) 2020-10-27 2020-10-27 Image management method, device and system

Country Status (1)

Country Link
CN (1) CN112383591B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866888A (en) * 2012-09-07 2013-01-09 北京奇虎科技有限公司 Method and system for processing icons on user interface
CN105677282A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Image drawing method, user equipment, server and system
CN107104809A (en) * 2016-02-19 2017-08-29 北京神州泰岳软件股份有限公司 A kind of method and system for generating network topological diagram
CN108733440A (en) * 2018-04-08 2018-11-02 深圳盒子信息科技有限公司 interface icon configuration method, device and terminal device
CN110287387A (en) * 2019-05-22 2019-09-27 北京邮电大学 A kind of novel data visualization cartographic editing system and method
CN110442755A (en) * 2019-08-13 2019-11-12 中国核动力研究设计院 Based on the topological diagram methods of exhibiting being connected to the network between nuclear power plant's DCS platform station
CN110490979A (en) * 2019-07-29 2019-11-22 南京师范大学 Virtual reality fusion device and method based on depth map under a kind of Web environment
CN111078092A (en) * 2019-12-10 2020-04-28 北京智联友道科技有限公司 Station yard graph drawing method and device
CN111459594A (en) * 2020-03-31 2020-07-28 西安万像电子科技有限公司 Display interface processing method, device and system
WO2020192417A1 (en) * 2019-03-22 2020-10-01 华为技术有限公司 Image rendering method and apparatus, electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9996905B2 (en) * 2016-03-16 2018-06-12 Planet Labs, Inc. Systems and methods for enhancing object visibility for overhead imaging

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866888A (en) * 2012-09-07 2013-01-09 北京奇虎科技有限公司 Method and system for processing icons on user interface
CN105677282A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Image drawing method, user equipment, server and system
CN107104809A (en) * 2016-02-19 2017-08-29 北京神州泰岳软件股份有限公司 A kind of method and system for generating network topological diagram
CN108733440A (en) * 2018-04-08 2018-11-02 深圳盒子信息科技有限公司 interface icon configuration method, device and terminal device
WO2020192417A1 (en) * 2019-03-22 2020-10-01 华为技术有限公司 Image rendering method and apparatus, electronic device
CN110287387A (en) * 2019-05-22 2019-09-27 北京邮电大学 A kind of novel data visualization cartographic editing system and method
CN110490979A (en) * 2019-07-29 2019-11-22 南京师范大学 Virtual reality fusion device and method based on depth map under a kind of Web environment
CN110442755A (en) * 2019-08-13 2019-11-12 中国核动力研究设计院 Based on the topological diagram methods of exhibiting being connected to the network between nuclear power plant's DCS platform station
CN111078092A (en) * 2019-12-10 2020-04-28 北京智联友道科技有限公司 Station yard graph drawing method and device
CN111459594A (en) * 2020-03-31 2020-07-28 西安万像电子科技有限公司 Display interface processing method, device and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PCCAVE:基于连网PC的廉价CAVE系统;杨建, 石教英, 林柏伟, 潘志庚;计算机研究与发展(第05期);全文 *
基于HTML5的拓扑图绘制引擎设计与实现;叶晶晶;《中国优秀硕士论文全文数据库》;全文 *
基于LabVIEW的图像绘制系统;吴思远;李冬冬;王浩全;唐志鸿;;机电工程技术(第12期);全文 *

Also Published As

Publication number Publication date
CN112383591A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN102548043B (en) Apparatus and method for searching access points in portable terminal
US9706078B2 (en) Information processing apparatus, information processing system, and device linkage method
CN110888615A (en) Multi-input equipment interaction method, device and medium for double-screen different display of Android system
WO2017071120A1 (en) Method and device for establishing wireless connection
CN104426939A (en) Information processing method and electronic equipment
CN106464840A (en) Transmission terminal, transmission management device, program, transmission method, and transmission system
CN112612436A (en) Screen projection switching method, device, equipment and storage medium
WO2022236217A1 (en) System and method for identification, selection and validation of best network access for iot devices
US20120059899A1 (en) Communications-Network Data Processing Methods, Communications-Network Data Processing Systems, Computer-Readable Storage Media, Communications-Network Data Presentation Methods, and Communications-Network Data Presentation Systems
CN112383591B (en) Image management method, device and system
EP3416070A1 (en) Page display method and device and storage medium
CN104618818A (en) Television front page setting method and device
CN112558968A (en) Resource tree view generation method, device, equipment and storage medium
RU2389061C2 (en) Device menu
US20160380825A1 (en) Method and associated apparatus for applying device management rules in router
US11463329B2 (en) Method for using an extended workstation, and an associated system for using an extended workstation
CN105812270A (en) Information processing method and wireless routing device
CN104936010A (en) Television remote control method, device and system based on input method
CN106376096B (en) Wireless network connection method and equipment thereof
US11329891B2 (en) Methods and apparatus for managing telecommunication system devices
CN115437627A (en) Method, device and equipment for developing learning object and storage medium
CN112351420A (en) Networking identity creating method and device of terminal device and readable storage medium
CN112399242A (en) Mobile network connection method, device, equipment and medium based on television
CN105050162A (en) Network accessing method and intelligent device
CN112367367A (en) Image management method, device and system

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