WO2015090106A1 - Binding relationship updating method and device - Google Patents

Binding relationship updating method and device Download PDF

Info

Publication number
WO2015090106A1
WO2015090106A1 PCT/CN2014/088805 CN2014088805W WO2015090106A1 WO 2015090106 A1 WO2015090106 A1 WO 2015090106A1 CN 2014088805 W CN2014088805 W CN 2014088805W WO 2015090106 A1 WO2015090106 A1 WO 2015090106A1
Authority
WO
WIPO (PCT)
Prior art keywords
preview
binding relationship
channels
ipcs
screens
Prior art date
Application number
PCT/CN2014/088805
Other languages
French (fr)
Chinese (zh)
Inventor
李韩英
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2015090106A1 publication Critical patent/WO2015090106A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Definitions

  • the present invention relates to the field of data storage and calling, and in particular to a binding relationship updating method and apparatus.
  • NVR Network Video Recorder
  • the Chinese name is Network DVR, which is a set of devices that receive digital video streams transmitted by network camera devices through the network, and store and manage them.
  • GUI Graphical User Interface
  • the Chinese name is the graphical user interface, which refers to the computerized user interface displayed graphically.
  • IPC IP Camera
  • Chinese name is network camera.
  • a channel is allocated for each IPC in the process of manually adding an IPC. Since the channel is allocated when the IPC is not added to the NVR, when the channel is configured, the channel sequence adjustment cannot be performed with reference to the IPC-processed screen, that is, the visualization function is not provided. Moreover, the solution can only add one IPC at a time, or adjust the channel allocated by an IPC. In the process of configuring the channel, only one channel picture can be focused on, and all channel pictures cannot be paid attention to; in addition, since the configuration process is not Visualization, but need to modify and adapt various parameters. Therefore, for maintenance personnel, the configuration process is cumbersome, and the requirements for maintenance personnel are relatively high, which is not suitable for ordinary users.
  • Another solution in the related art is to automatically add an IPC list.
  • each IPC is assigned a corresponding channel sequence by default, and the channel sequence cannot be manually modified after the addition is completed.
  • the user cannot adjust the IPC screen of interest to a prominent position.
  • the operations in the NVR preview interface display the channel number in the related art, the channel name cannot be displayed and arranged. Therefore, when the user needs to add more IP channels, the above two solutions provided by the related technologies cannot be used. Quickly locate the IP channel that the user cares about for related operations.
  • the embodiment of the invention provides a binding relationship updating method and device to solve at least the above problem.
  • a method for updating a binding relationship including: a binding relationship update interface including multiple preview images, according to a binding relationship between multiple IPCs and multiple IP channels, where The plurality of preview screens are respectively corresponding to the plurality of IPCs; the plurality of preview screens are respectively located in the plurality of preview positions in the binding relationship update interface, and are respectively corresponding to the plurality of IP channels; a drag operation of at least one of the plurality of preview screens; adjusting, according to the drag operation, a preview position of the plurality of preview screens in the binding relationship update interface; according to the adjusted Updating the binding relationship between the plurality of IPCs and the plurality of IP channels by the plurality of preview positions corresponding to the one-to-one preview screen.
  • the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background.
  • the method further comprises: detecting a first predetermined operation input by the user, wherein the first predetermined operation is used to indicate updating the plurality of IPCs The binding relationship with the plurality of IP channels, wherein the binding relationship update interface including the plurality of preview pictures is drawn according to the first predetermined operation.
  • the method further comprises: detecting a second predetermined operation input by the user, wherein the second predetermined operation is for Indicates to exit the binding relationship update interface.
  • the binding relationship between the plurality of IPCs and the plurality of IP channels is updated;
  • the predetermined operation is further used to indicate that the binding relationship is not updated, and the binding relationship between the multiple IPCs and the multiple IP channels is not updated.
  • the drag operation includes: performing an operation of pressing a button of a mouse at a first preview position where the first preview screen is located; performing an operation of moving the mouse position during a process of pressing the button; The second preview position at which the preview screen is located performs an operation of releasing the button.
  • adjusting the preview position of the plurality of preview screens in the binding relationship update interface according to the dragging operation comprises: moving the first preview screen to the second preview position at the first preview position, and moving the located a second preview screen of the second preview position to the first preview position.
  • adjusting the preview position of the plurality of preview screens in the binding relationship update interface according to the dragging operation comprises: dragging a first preview screen located at the first preview position into the binding relationship update interface a preview position boundary of the two preview positions; moving the preview screen located at the previous preview position from the first preview position to the two preview positions forward by one preview position, and inserting the first preview screen into the two Preview position before the next preview position of the preview position.
  • the drag operation further includes Moving the mouse to a predetermined location area of the binding relationship update interface, and staying for a predetermined duration, wherein the binding relationship update interface displays according to the predetermined duration of time that the mouse stays in the predetermined location area Previous or next page.
  • the method further includes: according to the updated multiple IPCs and the multiple IP channels Binding relationship, reproducing the plurality of preview pictures.
  • a binding relationship updating apparatus including: a drawing module, configured to draw a binding including multiple preview pictures according to a binding relationship between multiple IPCs and multiple IP channels.
  • a relationship update interface wherein the plurality of preview screens are respectively corresponding to the plurality of IPCs; the plurality of preview screens are located in the plurality of preview positions in the binding relationship update interface and the plurality of preview positions respectively
  • the IP channels are in one-to-one correspondence;
  • the detecting module is configured to detect a drag operation on at least one of the plurality of preview screens; and the adjusting module is configured to adjust the plurality of preview screens to be located according to the dragging operation Binding a preview position in the update interface;
  • the update module is configured to update the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the adjusted plurality of preview screens The binding relationship.
  • a binding relationship update interface including multiple preview images is drawn according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs;
  • the preview screens are respectively located in a plurality of preview positions in the binding relationship update interface, respectively, corresponding to the plurality of IP channels; detecting a drag operation on at least one of the plurality of preview screens; and adjusting the plurality of preview screens according to the drag operation.
  • the preview position in the binding relationship update interface the method of updating the binding relationship between multiple IPCs and multiple IP channels according to the plurality of preview positions corresponding to the adjusted multiple preview images, and solving the related art
  • the cumbersome problem of the NVR channel configuration process simplifies the channel configuration process for the NVR.
  • FIG. 1 is a schematic flowchart of a binding relationship update method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a binding relationship updating apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing a hierarchical structure of a preview channel sequence adjusting device according to a preferred embodiment of the present invention
  • FIG. 4 is a flow chart showing a process of preview channel sequence adjustment according to a preferred embodiment of the present invention.
  • FIG. 5 is a schematic diagram showing the effect of a single screen preview screen according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram 1 of a multi-screen preview screen effect according to a preferred embodiment of the present invention.
  • FIG. 7 is a flow chart showing a preview sequence adjustment process in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a second schematic diagram of a multi-screen preview screen according to a preferred embodiment of the present invention.
  • FIG. 9 is a flow chart 1 of a mouse processing process according to a preferred embodiment of the present invention.
  • FIG. 10 is a second schematic diagram of a flow of a mouse processing process according to a preferred embodiment of the present invention.
  • FIG. 11 is a schematic diagram showing the positions of a current page area, a previous page area, and a next page area according to a preferred embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a workflow after a user clicks "confirm” according to a preferred embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a workflow after a user clicks “Cancel” according to a preferred embodiment of the present invention.
  • FIG. 14 is a schematic overall flow chart of a user operation process according to a preferred embodiment of the present invention.
  • 15a-15f are schematic diagrams showing a user operation process interface display in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for updating a binding relationship according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 Draw a binding relationship update interface that includes multiple preview images according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs; multiple preview images are located The plurality of preview positions in the binding relationship update interface respectively correspond to the plurality of IP channels one by one;
  • Step S104 detecting a drag operation on at least one of the plurality of preview screens
  • Step S106 according to the drag operation, adjusting a preview position of the plurality of preview screens in the binding relationship update interface
  • Step S108 updating the binding relationship between the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the plurality of preview images that are adjusted one by one.
  • each preview picture corresponds to an IPC
  • the preview picture is generated by taking a video stream from the corresponding IPC
  • each preview position in the binding relationship update interface corresponds to an IP channel
  • the preview screen is dragged to update the binding relationship between the IPC and the IP channel.
  • the convenient operation of the drag operation can be performed for the NVR channel configuration without The configuration parameters of the channel are modified one by one. It can be seen that the above-mentioned steps solve the cumbersome problem of the channel configuration process for the NVR in the related art.
  • the maintenance personnel can intuitively judge whether the IPC preview screen needs to be focused on from the preview screen, so that the preview screen of the IPC that needs to be focused can be adjusted to the prominent position. It can be seen that the above-mentioned steps also solve the problem that the related technology can only perform channel configuration according to the channel number, which is not friendly, which simplifies the channel configuration process for the NVR and improves the friendliness of the configuration interface.
  • a predetermined screen such as a black screen or a snowflake pattern or the like is displayed at the preview position.
  • the IPC bound to the IP channel corresponding to the preview location is set to be empty.
  • the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background.
  • the background transparent interface minimizes the area of the preview image that the binding relationship update interface may cover.
  • the binding relationship update interface may also be a thumbnail of the display screen display interface. For example, the same ratio is reduced to a binding relationship update interface of the display display interface 1/4 size, and the interface may be located at the edge or the center position of the display interface of the display screen.
  • the binding relationship update interface is invoked when the user needs to configure the binding relationship.
  • a manner of calling is provided, for example, first, detecting a first predetermined operation input by the user, where, A predetermined operation is used to indicate that the binding relationship between the plurality of IPCs and the plurality of IP channels is updated, and then the binding relationship update interface including the plurality of preview pictures is drawn according to the first predetermined operation.
  • the first predetermined operation described above may be an option selected by the user to click the right mouse button and in the pop-up menu, such as an option called "IP channel sequence adjustment".
  • multiple preview screens are displayed in the order of the preview screen after the drag operation in the binding relationship update interface, but the binding relationship between the corresponding IPC and the IP channel may not be changed.
  • the binding relationship between the corresponding IPC and the IP channel may not be changed.
  • the binding relationship between the multiple IPCs and the multiple IP channels is updated.
  • a second predetermined operation of the input wherein the second predetermined operation is used to indicate to exit the binding relationship update interface.
  • one or more confirmation options may be provided to the user, and the system exits the binding relationship update interface according to the confirmation option selected by the user.
  • the confirmation options can be "Save Changes", "Cancel Changes", and so on.
  • the system may further detect whether the preview position of the plurality of preview screens after the user performs the drag operation is consistent with the original preview position, and if the determination result is consistent, the user ends up The preview position of multiple preview screens is not modified. In this case, the binding relationship update interface is directly exited, and the update operation of the binding relationship is no longer performed.
  • the user modifies the preview position of the preview screen by a drag operation, but after the user performs a series of drag operations, it is necessary to discard the modification of the preview position of all the preview screens that have been made before.
  • the second predetermined operation is further used to indicate that the binding relationship is confirmed to be updated, for example, the user clicks the confirmation option of “save modification” provided above, and the binding relationship between the plurality of IPCs and the plurality of IP channels can be updated.
  • the second predetermined operation is further used to indicate that the binding relationship is not updated, for example, the user clicks the confirmation option of “cancel modification” provided above, the binding relationship between the plurality of IPCs and the plurality of IP channels is not updated.
  • the drag operation in this embodiment may include a basic operation of performing an operation of pressing a button of a mouse at a first preview position where the first preview screen is located, and performing an operation of moving the mouse position during a process of pressing the button The operation of releasing the button is performed at the second preview position where the second preview screen is located.
  • System based on user access The above operation of the mouse input performs dragging the first preview screen to the second preview position and moves the second preview screen to the first preview position.
  • step S106 may include: moving the first preview screen to the second position located at the first preview position. Previewing the position and moving the second preview screen located at the second preview position to the first preview position.
  • the preview position of the preview screen may also be adjusted by inserting, for example, step S106 may further include: dragging the preview position boundary of the two preview positions in the first preview screen located in the first preview position to the binding relationship update interface.
  • the preview screen of the previous preview position from the first preview position to the two preview positions is moved forward by one preview position, and the preview position before the next preview position of the two preview positions is inserted from the first preview screen.
  • the dragging operation further includes: moving the mouse to the binding relationship update interface.
  • the location area is reserved and stays for a predetermined duration, wherein the binding relationship update interface displays the previous page or the next page according to a predetermined length of time that the mouse stays in the predetermined location area.
  • the plurality of preview pictures are reproduced according to the binding relationship between the updated plurality of IPCs and the plurality of IP channels.
  • the embodiment further provides a binding relationship updating device, which is used to implement the foregoing binding relationship updating method.
  • the function implementation of the device has been described in the foregoing method embodiment, and details are not described herein again.
  • the apparatus includes: a drawing module 22, a detecting module 24, an adjusting module 26, and an updating module 28, wherein the drawing module 22 is The method is configured to draw a binding relationship update interface that includes multiple preview images according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs; multiple preview images are located in the binding The plurality of preview positions in the relationship update interface are respectively corresponding to the plurality of IP channels; the detecting module 24 is coupled to the drawing module 22, and configured to detect a drag operation on at least one of the plurality of preview screens; the adjusting module 26 The detection module 24 is configured to adjust a preview position of the plurality of preview images in the binding relationship update interface according to the drag operation; the update module 28 is coupled to the adjustment module 26, and is configured to correspond to the plurality of preview images according to the adjustment. Multiple preview positions to update the binding relationship between multiple IPCs and multiple IP channels.
  • the modules and units involved in the embodiments of the present invention may be implemented by software or by hardware.
  • the described modules and units in this embodiment may also be disposed in a processor, for example, It can be described that a processor includes a rendering module 22, a detection module 24, an adjustment module 26, and an update module 28.
  • a processor includes a rendering module 22, a detection module 24, an adjustment module 26, and an update module 28.
  • the name of these modules does not constitute a limitation on the module itself in some cases.
  • the drawing module 22 can also be described as "set to draw according to the binding relationship between multiple IPCs and multiple IP channels. The binding relationship of the preview screen updates the module of the interface.”
  • the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background.
  • the apparatus further comprises: a second detecting module coupled to the drawing module 22, configured to detect a first predetermined operation input by the user, wherein the first predetermined operation is used to indicate that the binding of the plurality of IPCs to the plurality of IP channels is updated The relationship is determined, wherein the drawing module 22 is configured to draw a binding relationship update interface including a plurality of preview pictures according to the first predetermined operation.
  • a second detecting module coupled to the drawing module 22, configured to detect a first predetermined operation input by the user, wherein the first predetermined operation is used to indicate that the binding of the plurality of IPCs to the plurality of IP channels is updated The relationship is determined, wherein the drawing module 22 is configured to draw a binding relationship update interface including a plurality of preview pictures according to the first predetermined operation.
  • the apparatus further includes a third detection module coupled to the adjustment module 26 and the update module 28, configured to detect a second predetermined operation input by the user, wherein the second predetermined operation is for instructing to exit the binding relationship update interface.
  • a third detection module coupled to the adjustment module 26 and the update module 28, configured to detect a second predetermined operation input by the user, wherein the second predetermined operation is for instructing to exit the binding relationship update interface.
  • the updating module 28 is further configured to update the binding relationship between the plurality of IPCs and the plurality of IP channels if the second predetermined operation is further used to indicate that the update binding relationship is confirmed; the second predetermined operation is further used for When the indication confirms that the binding relationship is not updated, the binding relationship between multiple IPCs and multiple IP channels is not updated.
  • the drag operation includes: performing an operation of pressing a button of the mouse at a first preview position where the first preview screen is located; performing an operation of moving the mouse position during the pressing of the button; and a second being located at the second preview screen
  • the preview position performs the operation of releasing the button.
  • the adjustment module 26 is further configured to move the first preview image to the second preview position at the first preview position and move the second preview image at the second preview position to the first preview position.
  • the adjustment module 26 is further configured to drag the preview position boundary of the first preview position of the first preview position to the two preview positions in the binding relationship update interface; the previous one of the first preview position to the two preview positions The preview screen of the preview position is moved forward by one preview position, and the preview position before the next preview position of the two preview positions is inserted from the first preview screen.
  • the dragging operation further includes: moving the mouse to the binding relationship update interface.
  • the location area is reserved and stays for a predetermined duration, wherein the binding relationship update interface displays the previous page or the next page according to a predetermined length of time that the mouse stays in the predetermined location area.
  • the apparatus further comprises: a reproduction module coupled to the update module 28, configured to reproduce the plurality of preview pictures according to the binding relationship between the updated plurality of IPCs and the plurality of IP channels.
  • a reproduction module coupled to the update module 28, configured to reproduce the plurality of preview pictures according to the binding relationship between the updated plurality of IPCs and the plurality of IP channels.
  • the preferred embodiment provides a method and apparatus for visually adjusting a preview channel sequence of a network hard disk recorder. It is used to provide a method for users to quickly find the corresponding IPC to perform corresponding operations by adjusting the IP channel order according to the degree of attention when the user only adds more IP channels and only displays the channel number in the interface.
  • FIG. 3 is a schematic diagram of a hierarchical structure of a preview channel sequence adjusting apparatus according to a preferred embodiment of the present invention.
  • the implementation apparatus of the preferred embodiment can be generally divided into three parts, one is an IPC preview, and the other is an interface. Part, the third is the interactive part.
  • the IPC preview part includes the flow control (video stream) control of the IPC; the interface part is responsible for providing the corresponding interface for previewing and configuring parameters for the interaction, and is the intermediate layer for connection preview and interaction; the interaction part is responsible for completing the function.
  • the IP channel sequence adjustment is entered by the right-click menu.
  • the preview order is reconfigured in the order of the IP channel, the preview is opened according to the maximum number of screens supported by the single screen, and the window is drawn by the interactive part.
  • the window drawing is mainly to divide the preview picture of each channel by lines, and increase the channel number of each picture to be displayed in the upper left corner.
  • modify the preview parameters control the IPC to take the flow, close or open the corresponding IP channel preview.
  • the mouse operations here include the left mouse button press, the left mouse button pop up, the mouse movement and other message processing, and the processing when the system is idle.
  • FIG. 4 is a schematic flow chart of a preview channel sequence adjustment process according to a preferred embodiment of the present invention, which will be described below in conjunction with FIG. 4.
  • Step 1 create a channel adjustment window
  • the initial state of the preview interface click the right mouse button to pop up the right-click menu and select the “IP Channel Order Adjustment” option in the right-click menu.
  • global variables such as the number of screens per screen and the maximum number of screens are initialized, and the initial preview screen is opened.
  • draw 4x4 rectangles of the size of the preview screen in the drawing message clearly divide each preview screen, facilitate the mouse to operate on each screen, and draw the channel number in the upper left corner of each screen (D1, D2%), draw page numbers (1, 2%) at the bottom of the screen to identify different pages, and identify the current page with fonts of different colors.
  • Step 2 open the initial preview screen
  • FIG. 5 is preferred according to the present invention.
  • a schematic diagram of the effect of the single-screen preview screen of the embodiment, as shown in FIG. 5, is a preview case by default.
  • the user can also adjust the preview order and the number of single-screen screens, such as 4 screens, 16 screens, and so on.
  • FIG. 6 is a schematic diagram 1 of a multi-screen preview screen according to a preferred embodiment of the present invention. As shown in FIG. 6 , the black area is not added with IPC, and the remaining IPC channel sequences are also not arranged in the order of channels.
  • FIG. 7 is a schematic flowchart of a preview sequence adjustment process according to a preferred embodiment of the present invention. As shown in FIG. 7, the process includes: after entering a window, during the initialization window, the current preview parameter is read, including the number of split screens, and the screen is displayed. For the number of information, set the number of single-screen screens to 16 screens, and set the number of pages to the maximum number of channels supported by the NVR divided by 16 screens. Temporarily save the preview parameters after setting. Close all channel previews, and reopen the preview screen according to the latest preview parameters. For example, FIG.
  • FIG. 8 is a schematic diagram 2 of a multi-screen preview screen effect according to a preferred embodiment of the present invention. As shown in FIG. 8, the opened preview screen is in the order of D1 binding. IPC1 is at screen 1 position, D2 is bound to IPC2 at screen 2 position, and so on.
  • Step 3 processing the mouse message
  • three mouse messages need to be processed, namely, the left mouse button is pressed, the mouse is moved, and the left mouse button is raised.
  • the left mouse button is pressed, an identification box needs to be drawn, the source IP channel that needs to be adjusted is clearly indicated, and the channel number is marked.
  • three situations need to be dealt with. One is that the mouse moves in the previous page area, and the mouse stays for 1 second or more; the second is that the mouse moves in the next page area, and the mouse stays for 1 second or more; The third is that the mouse moves to the current page. According to three different situations, different processing is performed.
  • FIG. 9 is a flow chart 1 of a mouse processing process according to a preferred embodiment of the present invention, and FIG. 9 shows a process of moving a mouse position on a current page.
  • FIG. 10 is a second schematic diagram of a flow of a mouse processing process according to a preferred embodiment of the present invention, and FIG. 10 shows a processing procedure of a mouse moving position on a previous page or a next page.
  • 11 is a schematic diagram showing the positions of a current page area, a previous page area, and a next page area according to a preferred embodiment of the present invention, and the positions of the current page area, the previous page area, and the next page area are shown in FIG.
  • FIG. 12 is a schematic diagram of a workflow after a user clicks “confirm” according to a preferred embodiment of the present invention.
  • the user clicks the “OK” button it indicates that the user completes the adjustment, and the preview will be temporarily saved.
  • the order is converted to the channel order. That is, according to the preview order number, the IPC is disconnected from the original position, and the reconnection is bound to the new channel number. Close the preview, exit the channel adjustment window, get the preview parameters, and re-open the preview according to the original preview parameters. At this time, the IPC corresponding to each channel has been adjusted.
  • FIG. 13 is a schematic diagram of a workflow after a user clicks “Cancel” according to a preferred embodiment of the present invention. As shown in FIG. 13 , if the user clicks the “Cancel” button, the preview is closed, the channel adjustment window is exited, and the preview parameter is obtained. The preview parameter reopens the preview, and the IPC corresponding to each channel does not change.
  • FIG. 14 is a schematic diagram of the overall process of a user operation process according to a preferred embodiment of the present invention. As shown in FIG. 14, the process includes the following steps:
  • step S1 right click on the preview interface to pop up the right click menu.
  • Step S2 selecting to enter the IP channel sequence adjustment interface, the interface is a 16-screen preview, each preview screen is divided by a yellow line, and all page numbers and current page numbers are displayed at the bottom of the interface. As shown in Fig. 15a, the triangles and circles in D6 and D11 represent different screen preview contents.
  • step S3 the mouse selects the screen to be adjusted, and a green frame is displayed on the interface to indicate the original position of the channel screen that the user wants to adjust, as shown in FIG. 15b.
  • step S4 the mouse is dragged, a red square appears, and the mouse is moved, as shown in Fig. 15c.
  • step S5 the mouse is moved to the target screen position, and the mouse is released, and the screen is adjusted. As shown in Fig. 15d, the user can visually see the adjusted screen effect.
  • Step S6 if the target screen position is not in the current page, drag the mouse to move the red frame to a certain position on the left or right side, and after staying for 1 to 2 seconds, the screen automatically flips to the previous or next page, as shown in the figure. 15e and Figure 15f.
  • Step S7 repeating steps S1 to S6;
  • Step S8 after completing the adjustment of all the screens, click the "OK” or “Cancel” button to complete the operation.
  • the NVR visually adjusts the operation mode of the IP channel sequence provided by the above-mentioned preferred embodiment of the present invention, and temporarily adjusts the preview order, and the mouse actually completes the adjustment of all the screens to actually adjust the implementation manner of all the channel sequences.
  • the method of changing the channel where the IPC is located when the actual channel picture is seen by using the mouse drag and drop is realized.
  • an NVR visualization adjustment IP channel sequence implementation method provided by the preferred embodiment of the present invention is implemented, and the IP channel preview is controlled by the IPC preview control, the interface part and the interaction part cooperate to complete the IP channel adjustment.
  • the NVR provides an operation of adjusting the IP channel sequence to facilitate the user to view the channel of interest.
  • An NVR is provided to adjust the sequence of the IP channel playback channel list. After the user adjusts the channel sequence, the channel list is adjusted according to the adjusted sequence. Arrangement, the user can quickly select the playback channel; the provided visual operation mode, the user can directly see the screen for adjustment, even if there is no channel name and other information, you can quickly find the channel screen of interest and complete the channel sequence adjustment.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device for execution by the computing device, or they may be separately fabricated into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A binding relationship updating method and device, the method comprising: according to the binding relationships between a plurality of IPCs and a plurality of IP channels, rendering a binding relationship updating interface comprising a plurality of preview images, the plurality of the preview images being in one-on-one relationship with the plurality of IPCs respectively; a plurality of preview images are in a plurality of preview positions on the binding relationship updating interface and are in one-on-one relationship with the plurality of IP channels respectively; detecting a drag operation on at least one of the plurality of preview images; according to the drag operation, adjusting the preview positions of the plurality of preview images on the binding relationship updating interface; and according to the plurality of adjusted preview positions in one-on-one relationship with the plurality of preview images, updating the binding relationships between the plurality of IPCs and the plurality of IP channels. The present invention solves the problem in the related art of a complicated NVR channel configuration process, simplifying the NVR channel configuration process.

Description

绑定关系更新方法和装置Binding relationship update method and device 技术领域Technical field
本发明涉及数据存储与调用领域,具体而言,涉及一种绑定关系更新方法和装置。The present invention relates to the field of data storage and calling, and in particular to a binding relationship updating method and apparatus.
背景技术Background technique
术语解释:Explanation of terms:
NVR:Network Video Recorder,中文名为网络硬盘录像机,它是一套通过网络接收网络摄像机设备传输的数字视频码流,并进行存储、管理的设备。NVR: Network Video Recorder, the Chinese name is Network DVR, which is a set of devices that receive digital video streams transmitted by network camera devices through the network, and store and manage them.
GUI:Graphical User Interface,中文名为图形用户界面,是指采用图形方式显示的计算机操作用户界面。GUI: Graphical User Interface, the Chinese name is the graphical user interface, which refers to the computerized user interface displayed graphically.
IPC:IP Camera,中文名为网络摄像机。IPC: IP Camera, Chinese name is network camera.
相关技术中实现NVR的通道顺序或者NVR的预览顺序的方式是通过直接对系统配置参数进行修改实现的。发明人在研究过程中发现相关技术的配置方式存在缺陷。The manner in which the channel order of the NVR or the preview sequence of the NVR is implemented in the related art is achieved by directly modifying the system configuration parameters. The inventors found flaws in the configuration of related technologies during the research process.
例如,相关技术中的一种方案:在手动添加IPC的过程中为每个IPC分配好通道。由于IPC未添加进NVR时即进行了通道的分配,因此,在配置通道时,无法参考IPC摄制的画面进行通道顺序的调整,即不具备可视化的功能。并且,该方案每次只能添加一个IPC,或者调整一个IPC分配的通道,在配置通道的过程中,只能关注到单个通道画面,无法关注到所有的通道画面;另外,由于配置过程并不是可视化的,而是需要对各种参数进行修改、适配,因此,对于维护人员而言,配置过程繁琐,并且对维护人员的要求也比较高,不适合普通用户的使用。For example, one of the related art: a channel is allocated for each IPC in the process of manually adding an IPC. Since the channel is allocated when the IPC is not added to the NVR, when the channel is configured, the channel sequence adjustment cannot be performed with reference to the IPC-processed screen, that is, the visualization function is not provided. Moreover, the solution can only add one IPC at a time, or adjust the channel allocated by an IPC. In the process of configuring the channel, only one channel picture can be focused on, and all channel pictures cannot be paid attention to; in addition, since the configuration process is not Visualization, but need to modify and adapt various parameters. Therefore, for maintenance personnel, the configuration process is cumbersome, and the requirements for maintenance personnel are relatively high, which is not suitable for ordinary users.
又例如,相关技术中的另外一种方案:自动添加IPC列表,添加的过程中默认为每个IPC分配相应的通道顺序,添加完成后无法手动修改通道顺序。采用这种方案,用户无法将关注的IPC画面调整至突出的位置。For another example, another solution in the related art is to automatically add an IPC list. In the process of adding, each IPC is assigned a corresponding channel sequence by default, and the channel sequence cannot be manually modified after the addition is completed. With this scheme, the user cannot adjust the IPC screen of interest to a prominent position.
此外,由于在相关技术中NVR预览界面中的操作均显示通道号,无法按通道名称显示和排列,因此,在用户需要添加较多的IP通道时,相关技术中提供的上述两种方案均无法快速定位到用户关注的IP通道进行相关操作。 In addition, since the operations in the NVR preview interface display the channel number in the related art, the channel name cannot be displayed and arranged. Therefore, when the user needs to add more IP channels, the above two solutions provided by the related technologies cannot be used. Quickly locate the IP channel that the user cares about for related operations.
针对相关技术中对NVR的通道配置过程繁琐的问题,目前尚未提出有效的解决方案。In view of the cumbersome problem of the channel configuration process for the NVR in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种绑定关系更新方法和装置,以至少解决上述问题。The embodiment of the invention provides a binding relationship updating method and device to solve at least the above problem.
根据本发明实施例的一个方面,提供了一种绑定关系更新方法,包括:根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,所述多个预览画面分别与所述多个IPC一一对应;所述多个预览画面位于所述绑定关系更新界面中的多个预览位置分别与所述多个IP通道一一对应;检测对所述多个预览画面中的至少一个预览画面的拖曳操作;根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置;根据调整后的所述多个预览画面一一对应的所述多个预览位置,更新所述多个IPC与所述多个IP通道的所述绑定关系。According to an aspect of the embodiments of the present invention, a method for updating a binding relationship is provided, including: a binding relationship update interface including multiple preview images, according to a binding relationship between multiple IPCs and multiple IP channels, where The plurality of preview screens are respectively corresponding to the plurality of IPCs; the plurality of preview screens are respectively located in the plurality of preview positions in the binding relationship update interface, and are respectively corresponding to the plurality of IP channels; a drag operation of at least one of the plurality of preview screens; adjusting, according to the drag operation, a preview position of the plurality of preview screens in the binding relationship update interface; according to the adjusted Updating the binding relationship between the plurality of IPCs and the plurality of IP channels by the plurality of preview positions corresponding to the one-to-one preview screen.
优选地,所述绑定关系更新界面为全屏大小、无标题无边框,且背景透明的界面。Preferably, the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background.
优选地,在绘制包括多个预览画面的绑定关系更新界面之前,所述方法还包括:检测用户输入的第一预定操作,其中,所述第一预定操作用于指示更新所述多个IPC与所述多个IP通道的所述绑定关系,其中,根据所述第一预定操作绘制包括所述多个预览画面的所述绑定关系更新界面。Preferably, before the binding relationship update interface including the plurality of preview pictures is drawn, the method further comprises: detecting a first predetermined operation input by the user, wherein the first predetermined operation is used to indicate updating the plurality of IPCs The binding relationship with the plurality of IP channels, wherein the binding relationship update interface including the plurality of preview pictures is drawn according to the first predetermined operation.
优选地,在更新所述多个IPC与所述多个IP通道的所述绑定关系之前,所述方法还包括:检测用户输入的第二预定操作,其中,所述第二预定操作用于指示退出所述绑定关系更新界面。Preferably, before updating the binding relationship between the plurality of IPCs and the plurality of IP channels, the method further comprises: detecting a second predetermined operation input by the user, wherein the second predetermined operation is for Indicates to exit the binding relationship update interface.
优选地,在所述第二预定操作还用于指示确认更新所述绑定关系的情况下,更新所述多个IPC与所述多个IP通道的所述绑定关系;在所述第二预定操作还用于指示确认不更新所述绑定关系的情况下,不更新所述多个IPC与所述多个IP通道的所述绑定关系。Preferably, in the case that the second predetermined operation is further used to indicate that the binding relationship is confirmed to be updated, the binding relationship between the plurality of IPCs and the plurality of IP channels is updated; The predetermined operation is further used to indicate that the binding relationship is not updated, and the binding relationship between the multiple IPCs and the multiple IP channels is not updated.
优选地,所述拖曳操作包括:在第一预览画面位于的第一预览位置执行按下鼠标的按键的操作;在按下所述按键的过程中执行所述鼠标位置移动的操作;在第二预览画面位于的第二预览位置执行松开所述按键的操作。Preferably, the drag operation includes: performing an operation of pressing a button of a mouse at a first preview position where the first preview screen is located; performing an operation of moving the mouse position during a process of pressing the button; The second preview position at which the preview screen is located performs an operation of releasing the button.
优选地,根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置包括:移动位于第一预览位置的第一预览画面到第二预览位置,并移动位于所述第二预览位置的第二预览画面到所述第一预览位置。 Preferably, adjusting the preview position of the plurality of preview screens in the binding relationship update interface according to the dragging operation comprises: moving the first preview screen to the second preview position at the first preview position, and moving the located a second preview screen of the second preview position to the first preview position.
优选地,根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置包括:拖曳位于第一预览位置的第一预览画面到所述绑定关系更新界面中两个预览位置的预览位置边界;将位于所述第一预览位置至所述两个预览位置的前一个预览位置的预览画面向前移动一个预览位置,并插入述第一预览画面到所述两个预览位置的后一个预览位置之前的预览位置。Preferably, adjusting the preview position of the plurality of preview screens in the binding relationship update interface according to the dragging operation comprises: dragging a first preview screen located at the first preview position into the binding relationship update interface a preview position boundary of the two preview positions; moving the preview screen located at the previous preview position from the first preview position to the two preview positions forward by one preview position, and inserting the first preview screen into the two Preview position before the next preview position of the preview position.
优选地,在所述绑定关系更新界面采用分页方式显示所述多个预览画面的情况下,在按下所述按键的过程中执行所述鼠标位置移动的操作之后,所述拖曳操作还包括:移动所述鼠标到所述绑定关系更新界面的预定位置区域,并停留预定时长,其中,所述绑定关系更新界面根据所述鼠标在所述预定位置区域停留的所述预定时长,显示上一页或者下一页。Preferably, in the case that the binding relationship update interface displays the plurality of preview screens in a paging manner, after the operation of moving the mouse position is performed in the process of pressing the button, the drag operation further includes Moving the mouse to a predetermined location area of the binding relationship update interface, and staying for a predetermined duration, wherein the binding relationship update interface displays according to the predetermined duration of time that the mouse stays in the predetermined location area Previous or next page.
优选地,在更新所述多个IPC与所述多个IP通道的所述绑定关系之后,所述方法还包括:根据更新后的所述多个IPC与所述多个IP通道的所述绑定关系,再现所述多个预览画面。Preferably, after updating the binding relationship between the multiple IPCs and the multiple IP channels, the method further includes: according to the updated multiple IPCs and the multiple IP channels Binding relationship, reproducing the plurality of preview pictures.
根据本发明实施例的另一个方面,还提供了一种绑定关系更新装置,包括:绘制模块,设置为根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,所述多个预览画面分别与所述多个IPC一一对应;所述多个预览画面位于所述绑定关系更新界面中的多个预览位置分别与所述多个IP通道一一对应;检测模块,设置为检测对所述多个预览画面中的至少一个预览画面的拖曳操作;调整模块,设置为根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置;更新模块,设置为根据调整后的所述多个预览画面一一对应的所述多个预览位置,更新所述多个IPC与所述多个IP通道的所述绑定关系。According to another aspect of the embodiments of the present invention, a binding relationship updating apparatus is further provided, including: a drawing module, configured to draw a binding including multiple preview pictures according to a binding relationship between multiple IPCs and multiple IP channels. a relationship update interface, wherein the plurality of preview screens are respectively corresponding to the plurality of IPCs; the plurality of preview screens are located in the plurality of preview positions in the binding relationship update interface and the plurality of preview positions respectively The IP channels are in one-to-one correspondence; the detecting module is configured to detect a drag operation on at least one of the plurality of preview screens; and the adjusting module is configured to adjust the plurality of preview screens to be located according to the dragging operation Binding a preview position in the update interface; the update module is configured to update the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the adjusted plurality of preview screens The binding relationship.
通过本发明实施例,采用根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,多个预览画面分别与多个IPC一一对应;多个预览画面位于绑定关系更新界面中的多个预览位置分别与多个IP通道一一对应;检测对多个预览画面中的至少一个预览画面的拖曳操作;根据拖曳操作,调整多个预览画面位于绑定关系更新界面中的预览位置;根据调整后的多个预览画面一一对应的多个预览位置,更新多个IPC与多个IP通道的绑定关系的方式,解决了相关技术中对NVR的通道配置过程繁琐的问题,简化了对NVR的通道配置过程。 According to the embodiment of the present invention, a binding relationship update interface including multiple preview images is drawn according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs; The preview screens are respectively located in a plurality of preview positions in the binding relationship update interface, respectively, corresponding to the plurality of IP channels; detecting a drag operation on at least one of the plurality of preview screens; and adjusting the plurality of preview screens according to the drag operation The preview position in the binding relationship update interface; the method of updating the binding relationship between multiple IPCs and multiple IP channels according to the plurality of preview positions corresponding to the adjusted multiple preview images, and solving the related art The cumbersome problem of the NVR channel configuration process simplifies the channel configuration process for the NVR.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明实施例的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的绑定关系更新方法的流程示意图;1 is a schematic flowchart of a binding relationship update method according to an embodiment of the present invention;
图2是根据本发明实施例的绑定关系更新装置的结构示意图;2 is a schematic structural diagram of a binding relationship updating apparatus according to an embodiment of the present invention;
图3是根据本发明优选实施例的预览通道顺序调整装置的分层结构示意图;3 is a schematic diagram showing a hierarchical structure of a preview channel sequence adjusting device according to a preferred embodiment of the present invention;
图4是根据本发明优选实施例的预览通道顺序调整过程的流程示意图;4 is a flow chart showing a process of preview channel sequence adjustment according to a preferred embodiment of the present invention;
图5是根据本发明优选实施例的单屏预览画面的效果示意图;FIG. 5 is a schematic diagram showing the effect of a single screen preview screen according to a preferred embodiment of the present invention; FIG.
图6是根据本发明优选实施例的多屏预览画面效果示意图一;6 is a schematic diagram 1 of a multi-screen preview screen effect according to a preferred embodiment of the present invention;
图7是根据本发明优选实施例的预览顺序调整过程的流程示意图;7 is a flow chart showing a preview sequence adjustment process in accordance with a preferred embodiment of the present invention;
图8是根据本发明优选实施例的多屏预览画面效果示意图二;FIG. 8 is a second schematic diagram of a multi-screen preview screen according to a preferred embodiment of the present invention; FIG.
图9是根据本发明优选实施例的鼠标处理过程的流程示意图一;9 is a flow chart 1 of a mouse processing process according to a preferred embodiment of the present invention;
图10是根据本发明优选实施例的鼠标处理过程的流程示意图二;10 is a second schematic diagram of a flow of a mouse processing process according to a preferred embodiment of the present invention;
图11是根据本发明优选实施例的当前页区域、上一页区域和下一页区域的位置示意图;11 is a schematic diagram showing the positions of a current page area, a previous page area, and a next page area according to a preferred embodiment of the present invention;
图12是根据本发明优选实施例的用户点击“确认”后的工作流程示意图;12 is a schematic diagram of a workflow after a user clicks "confirm" according to a preferred embodiment of the present invention;
图13是根据本发明优选实施例的用户点击“取消”后的工作流程示意图;FIG. 13 is a schematic diagram of a workflow after a user clicks “Cancel” according to a preferred embodiment of the present invention; FIG.
图14是根据本发明优选实施例的用户操作过程的总体流程示意图;14 is a schematic overall flow chart of a user operation process according to a preferred embodiment of the present invention;
图15a~图15f是根据本发明优选实施例的用户操作过程界面显示示意图。15a-15f are schematic diagrams showing a user operation process interface display in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。 It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described.
本实施例提供了一种绑定关系更新方法,图1是根据本发明实施例的绑定关系更新方法的流程示意图,如图1所示,该流程包括如下步骤:This embodiment provides a method for updating a binding relationship. FIG. 1 is a schematic flowchart of a method for updating a binding relationship according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,多个预览画面分别与多个IPC一一对应;多个预览画面位于绑定关系更新界面中的多个预览位置分别与多个IP通道一一对应;Step S102: Draw a binding relationship update interface that includes multiple preview images according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs; multiple preview images are located The plurality of preview positions in the binding relationship update interface respectively correspond to the plurality of IP channels one by one;
步骤S104,检测对多个预览画面中的至少一个预览画面的拖曳操作;Step S104, detecting a drag operation on at least one of the plurality of preview screens;
步骤S106,根据拖曳操作,调整多个预览画面位于绑定关系更新界面中的预览位置;Step S106, according to the drag operation, adjusting a preview position of the plurality of preview screens in the binding relationship update interface;
步骤S108,根据调整后的多个预览画面一一对应的多个预览位置,更新多个IPC与多个IP通道的绑定关系。Step S108, updating the binding relationship between the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the plurality of preview images that are adjusted one by one.
通过上述步骤,由于每一个预览画面对应于一个IPC,例如该预览画面是通过从对应的这个IPC取视频流生成的;绑定关系更新界面中的每一个预览位置对应于一个IP通道,因此对预览画面进行拖曳操作就能够实现对IPC和IP通道之间的绑定关系进行更新,对于维护人员(即用户)而言,可以进行拖曳操作这种便捷的操作进行NVR通道的配置,而不需要对通道的配置参数进行逐一修改;可见,通过上述步骤解决了相关技术中对NVR的通道配置过程繁琐的问题。另外,由于维护人员是对预览画面进行的操作,因此,维护人员可以直观地从预览画面来判断该IPC的预览画面是否需要重点关注,从而可以将需要重点关注的IPC的预览画面调整到突出位置显示,可见,通过上述步骤也解决了相关技术中只能根据通道号来进行通道配置导致的友好度不高的问题,简化了对NVR的通道配置过程,提升了配置界面的友好度。Through the above steps, since each preview picture corresponds to an IPC, for example, the preview picture is generated by taking a video stream from the corresponding IPC; each preview position in the binding relationship update interface corresponds to an IP channel, so The preview screen is dragged to update the binding relationship between the IPC and the IP channel. For the maintenance personnel (ie, the user), the convenient operation of the drag operation can be performed for the NVR channel configuration without The configuration parameters of the channel are modified one by one. It can be seen that the above-mentioned steps solve the cumbersome problem of the channel configuration process for the NVR in the related art. In addition, since the maintenance personnel perform the operation on the preview screen, the maintenance personnel can intuitively judge whether the IPC preview screen needs to be focused on from the preview screen, so that the preview screen of the IPC that needs to be focused can be adjusted to the prominent position. It can be seen that the above-mentioned steps also solve the problem that the related technology can only perform channel configuration according to the channel number, which is not friendly, which simplifies the channel configuration process for the NVR and improves the friendliness of the configuration interface.
优选地,对于没有对应于任何一个IPC的预览位置,在该预览位置上显示预定画面,例如黑屏或者雪花图案等。并且,该预览位置对应的IP通道所绑定的IPC被设置为空。Preferably, for a preview position that does not correspond to any one of the IPCs, a predetermined screen such as a black screen or a snowflake pattern or the like is displayed at the preview position. Moreover, the IPC bound to the IP channel corresponding to the preview location is set to be empty.
优选地,绑定关系更新界面为全屏大小、无标题无边框,且背景透明的界面。采用背景透明的界面可以尽量减小绑定关系更新界面可能覆盖到的预览画面的面积。此外,在一些优选实施方式中,绑定关系更新界面也可以是显示屏显示界面的一个缩像, 例如,同比例缩小为显示屏显示界面1/4大小的绑定关系更新界面,该界面可以位于显示屏显示界面的边缘或者中心位置。Preferably, the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background. The background transparent interface minimizes the area of the preview image that the binding relationship update interface may cover. In addition, in some preferred embodiments, the binding relationship update interface may also be a thumbnail of the display screen display interface. For example, the same ratio is reduced to a binding relationship update interface of the display display interface 1/4 size, and the interface may be located at the edge or the center position of the display interface of the display screen.
优选地,绑定关系更新界面是用户需要配置绑定关系的情况下调用的,在本实施例中提供了一种调用的方式,例如:首先,检测用户输入的第一预定操作,其中,第一预定操作用于指示更新多个IPC与多个IP通道的绑定关系,然后,根据第一预定操作,绘制包括多个预览画面的绑定关系更新界面。上述的第一预定操作可以是用户点击鼠标右键,并在弹出的菜单中选择的一个选项,例如一个名为“IP通道顺序调整”选项。Preferably, the binding relationship update interface is invoked when the user needs to configure the binding relationship. In this embodiment, a manner of calling is provided, for example, first, detecting a first predetermined operation input by the user, where, A predetermined operation is used to indicate that the binding relationship between the plurality of IPCs and the plurality of IP channels is updated, and then the binding relationship update interface including the plurality of preview pictures is drawn according to the first predetermined operation. The first predetermined operation described above may be an option selected by the user to click the right mouse button and in the pop-up menu, such as an option called "IP channel sequence adjustment".
优选地,在拖曳预览画面的过程中,在绑定关系更新界面中按照拖曳操作后的预览画面的顺序显示多个预览画面,但对于对应的IPC与IP通道的绑定关系可以不进行更改,以避免多次拖曳操作频繁触发绑定关系的更新。在本优选实施例中,提供了在退出绑定关系更新界面的情况下,更新多个IPC与多个IP通道的绑定关系之前,其中,退出绑定关系更新界面的方式可以是:检测用户输入的第二预定操作,其中,第二预定操作用于指示退出绑定关系更新界面。在具体实施过程中,可以提供给用户一个或多个确认选项,系统根据用户选择的确认选项退出绑定关系更新界面。例如:确认选项可以是“保存修改”、“取消修改”等。Preferably, in the process of dragging the preview screen, multiple preview screens are displayed in the order of the preview screen after the drag operation in the binding relationship update interface, but the binding relationship between the corresponding IPC and the IP channel may not be changed. To avoid multiple drag operations frequently trigger the update of the binding relationship. In the preferred embodiment, before the binding relationship update interface is deleted, the binding relationship between the multiple IPCs and the multiple IP channels is updated. And a second predetermined operation of the input, wherein the second predetermined operation is used to indicate to exit the binding relationship update interface. In the specific implementation process, one or more confirmation options may be provided to the user, and the system exits the binding relationship update interface according to the confirmation option selected by the user. For example: the confirmation options can be "Save Changes", "Cancel Changes", and so on.
优选地,在用户输入第二预定操作之后,系统还可以检测用户执行拖曳操作后的多个预览画面的预览位置是否与原始预览位置一致,在判断结果为均一致的情况下,则说明用户最终并未修改者多个预览画面的预览位置,在这种情况下,直接退出绑定关系更新界面,不再执行绑定关系的更新操作。Preferably, after the user inputs the second predetermined operation, the system may further detect whether the preview position of the plurality of preview screens after the user performs the drag operation is consistent with the original preview position, and if the determination result is consistent, the user ends up The preview position of multiple preview screens is not modified. In this case, the binding relationship update interface is directly exited, and the update operation of the binding relationship is no longer performed.
优选地,在一些情况下用户通过拖曳操作修改了预览画面的预览位置,然而用户在进行一系列拖曳操作后,需要放弃之前所做的全部的预览画面的预览位置的修改。为了实现上述目的,在本实施例的一些优选实施方式中可以通过一组确认选项来使确认用户是否执行修改。例如,在第二预定操作还用于指示确认更新绑定关系的情况下,例如用户点击了上述提供的“保存修改”的确认选项,则可以更新多个IPC与多个IP通道的绑定关系。在第二预定操作还用于指示确认不更新绑定关系的情况下,例如用户点击了上述提供的“取消修改”的确认选项,则不更新多个IPC与多个IP通道的绑定关系。Preferably, in some cases, the user modifies the preview position of the preview screen by a drag operation, but after the user performs a series of drag operations, it is necessary to discard the modification of the preview position of all the preview screens that have been made before. In order to achieve the above object, in some preferred embodiments of the present embodiment, it is possible to confirm whether the user performs the modification by a set of confirmation options. For example, in a case where the second predetermined operation is further used to indicate that the binding relationship is confirmed to be updated, for example, the user clicks the confirmation option of “save modification” provided above, and the binding relationship between the plurality of IPCs and the plurality of IP channels can be updated. . In the case that the second predetermined operation is further used to indicate that the binding relationship is not updated, for example, the user clicks the confirmation option of “cancel modification” provided above, the binding relationship between the plurality of IPCs and the plurality of IP channels is not updated.
优选地,本实施例中的拖曳操作可以包括如下的基本操作:在第一预览画面位于的第一预览位置执行按下鼠标的按键的操作;在按下按键的过程中执行鼠标位置移动的操作;在第二预览画面位于的第二预览位置执行松开按键的操作。系统根据用户通 过鼠标输入的上述操作,执行将第一预览画面拖曳到第二预览位置,并将第二预览画面移动到第一预览位置。Preferably, the drag operation in this embodiment may include a basic operation of performing an operation of pressing a button of a mouse at a first preview position where the first preview screen is located, and performing an operation of moving the mouse position during a process of pressing the button The operation of releasing the button is performed at the second preview position where the second preview screen is located. System based on user access The above operation of the mouse input performs dragging the first preview screen to the second preview position and moves the second preview screen to the first preview position.
优选地,在一些优选实施方式中,可以采用互换第一预览位置和第二预览位置的预览画面的方式,例如:步骤S106可以包括:移动位于第一预览位置的第一预览画面到第二预览位置,并移动位于第二预览位置的第二预览画面到第一预览位置。Preferably, in some preferred embodiments, a manner of exchanging preview images of the first preview position and the second preview position may be adopted. For example, step S106 may include: moving the first preview screen to the second position located at the first preview position. Previewing the position and moving the second preview screen located at the second preview position to the first preview position.
优选地,还可以采用插入的方式调整预览画面的预览位置,例如:步骤S106还可以包括:拖曳位于第一预览位置的第一预览画面到绑定关系更新界面中两个预览位置的预览位置边界;将位于第一预览位置至两个预览位置的前一个预览位置的预览画面向前移动一个预览位置,并插入述第一预览画面到两个预览位置的后一个预览位置之前的预览位置。Preferably, the preview position of the preview screen may also be adjusted by inserting, for example, step S106 may further include: dragging the preview position boundary of the two preview positions in the first preview screen located in the first preview position to the binding relationship update interface. The preview screen of the previous preview position from the first preview position to the two preview positions is moved forward by one preview position, and the preview position before the next preview position of the two preview positions is inserted from the first preview screen.
优选地,在绑定关系更新界面采用分页方式显示多个预览画面的情况下,在按下按键的过程中执行鼠标位置移动的操作之后,拖曳操作还包括:移动鼠标到绑定关系更新界面的预定位置区域,并停留预定时长,其中,绑定关系更新界面根据鼠标在预定位置区域停留的预定时长,显示上一页或者下一页。通过该方式可以在绑定关系更新界面的多页之间执行拖曳操作,进一步提升了配置的简便性。Preferably, in the case that the binding relationship update interface displays a plurality of preview images in a paging manner, after the operation of moving the mouse position is performed in the process of pressing the button, the dragging operation further includes: moving the mouse to the binding relationship update interface. The location area is reserved and stays for a predetermined duration, wherein the binding relationship update interface displays the previous page or the next page according to a predetermined length of time that the mouse stays in the predetermined location area. In this way, a drag operation can be performed between multiple pages of the binding relationship update interface, which further improves the simplicity of the configuration.
优选地,在更新多个IPC与多个IP通道的绑定关系之后,根据更新后的多个IPC与多个IP通道的绑定关系,再现多个预览画面。Preferably, after updating the binding relationship between the plurality of IPCs and the plurality of IP channels, the plurality of preview pictures are reproduced according to the binding relationship between the updated plurality of IPCs and the plurality of IP channels.
本实施例还提供了一种绑定关系更新装置,该装置用于实现上述绑定关系更新方法,该装置的功能实现已经在上述方法实施例中进行了说明,在此不再赘述。The embodiment further provides a binding relationship updating device, which is used to implement the foregoing binding relationship updating method. The function implementation of the device has been described in the foregoing method embodiment, and details are not described herein again.
图2是根据本发明实施例的绑定关系更新装置的结构示意图,如图2所示,该装置包括:绘制模块22、检测模块24、调整模块26和更新模块28,其中,绘制模块22,设置为根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,多个预览画面分别与多个IPC一一对应;多个预览画面位于绑定关系更新界面中的多个预览位置分别与多个IP通道一一对应;检测模块24耦合至绘制模块22,设置为检测对多个预览画面中的至少一个预览画面的拖曳操作;调整模块26耦合至检测模块24,设置为根据拖曳操作,调整多个预览画面位于绑定关系更新界面中的预览位置;更新模块28耦合至调整模块26,设置为根据调整后的多个预览画面一一对应的多个预览位置,更新多个IPC与多个IP通道的绑定关系。2 is a schematic structural diagram of a binding relationship updating apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a drawing module 22, a detecting module 24, an adjusting module 26, and an updating module 28, wherein the drawing module 22 is The method is configured to draw a binding relationship update interface that includes multiple preview images according to a binding relationship between multiple IPCs and multiple IP channels, where multiple preview images are respectively corresponding to multiple IPCs; multiple preview images are located in the binding The plurality of preview positions in the relationship update interface are respectively corresponding to the plurality of IP channels; the detecting module 24 is coupled to the drawing module 22, and configured to detect a drag operation on at least one of the plurality of preview screens; the adjusting module 26 The detection module 24 is configured to adjust a preview position of the plurality of preview images in the binding relationship update interface according to the drag operation; the update module 28 is coupled to the adjustment module 26, and is configured to correspond to the plurality of preview images according to the adjustment. Multiple preview positions to update the binding relationship between multiple IPCs and multiple IP channels.
本发明的实施例中所涉及到的模块、单元可以通过软件的方式实现,也可以通过硬件的方式来实现。本实施例中的所描述的模块、单元也可以设置在处理器中,例如, 可以描述为:一种处理器包括绘制模块22、检测模块24、调整模块26和更新模块28。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,绘制模块22还可以被描述为“设置为根据多个IPC与多个IP通道的绑定关系绘制包括多个预览画面的绑定关系更新界面的模块”。The modules and units involved in the embodiments of the present invention may be implemented by software or by hardware. The described modules and units in this embodiment may also be disposed in a processor, for example, It can be described that a processor includes a rendering module 22, a detection module 24, an adjustment module 26, and an update module 28. The name of these modules does not constitute a limitation on the module itself in some cases. For example, the drawing module 22 can also be described as "set to draw according to the binding relationship between multiple IPCs and multiple IP channels. The binding relationship of the preview screen updates the module of the interface."
优选地,绑定关系更新界面为全屏大小、无标题无边框,且背景透明的界面。Preferably, the binding relationship update interface is an interface with a full screen size, no title, no border, and a transparent background.
优选地,该装置还包括:第二检测模块,耦合至绘制模块22,设置为检测用户输入的第一预定操作,其中,第一预定操作用于指示更新多个IPC与多个IP通道的绑定关系,其中,绘制模块22设置为根据第一预定操作绘制包括多个预览画面的绑定关系更新界面。Preferably, the apparatus further comprises: a second detecting module coupled to the drawing module 22, configured to detect a first predetermined operation input by the user, wherein the first predetermined operation is used to indicate that the binding of the plurality of IPCs to the plurality of IP channels is updated The relationship is determined, wherein the drawing module 22 is configured to draw a binding relationship update interface including a plurality of preview pictures according to the first predetermined operation.
优选地,该装置还包括第三检测模块,耦合至调整模块26和更新模块28,设置为检测用户输入的第二预定操作,其中,第二预定操作用于指示退出绑定关系更新界面。Preferably, the apparatus further includes a third detection module coupled to the adjustment module 26 and the update module 28, configured to detect a second predetermined operation input by the user, wherein the second predetermined operation is for instructing to exit the binding relationship update interface.
优选地,更新模块28还设置为:在第二预定操作还用于指示确认更新绑定关系的情况下,更新多个IPC与多个IP通道的绑定关系;在第二预定操作还用于指示确认不更新绑定关系的情况下,不更新多个IPC与多个IP通道的绑定关系。Preferably, the updating module 28 is further configured to update the binding relationship between the plurality of IPCs and the plurality of IP channels if the second predetermined operation is further used to indicate that the update binding relationship is confirmed; the second predetermined operation is further used for When the indication confirms that the binding relationship is not updated, the binding relationship between multiple IPCs and multiple IP channels is not updated.
优选地,拖曳操作包括:在第一预览画面位于的第一预览位置执行按下鼠标的按键的操作;在按下按键的过程中执行鼠标位置移动的操作;在第二预览画面位于的第二预览位置执行松开按键的操作。Preferably, the drag operation includes: performing an operation of pressing a button of the mouse at a first preview position where the first preview screen is located; performing an operation of moving the mouse position during the pressing of the button; and a second being located at the second preview screen The preview position performs the operation of releasing the button.
优选地,调整模块26还设置为移动位于第一预览位置的第一预览画面到第二预览位置,并移动位于第二预览位置的第二预览画面到第一预览位置。Preferably, the adjustment module 26 is further configured to move the first preview image to the second preview position at the first preview position and move the second preview image at the second preview position to the first preview position.
优选地,调整模块26还设置为拖曳位于第一预览位置的第一预览画面到绑定关系更新界面中两个预览位置的预览位置边界;将位于第一预览位置至两个预览位置的前一个预览位置的预览画面向前移动一个预览位置,并插入述第一预览画面到两个预览位置的后一个预览位置之前的预览位置。Preferably, the adjustment module 26 is further configured to drag the preview position boundary of the first preview position of the first preview position to the two preview positions in the binding relationship update interface; the previous one of the first preview position to the two preview positions The preview screen of the preview position is moved forward by one preview position, and the preview position before the next preview position of the two preview positions is inserted from the first preview screen.
优选地,在绑定关系更新界面采用分页方式显示多个预览画面的情况下,在按下按键的过程中执行鼠标位置移动的操作之后,拖曳操作还包括:移动鼠标到绑定关系更新界面的预定位置区域,并停留预定时长,其中,绑定关系更新界面根据鼠标在预定位置区域停留的预定时长,显示上一页或者下一页。 Preferably, in the case that the binding relationship update interface displays a plurality of preview images in a paging manner, after the operation of moving the mouse position is performed in the process of pressing the button, the dragging operation further includes: moving the mouse to the binding relationship update interface. The location area is reserved and stays for a predetermined duration, wherein the binding relationship update interface displays the previous page or the next page according to a predetermined length of time that the mouse stays in the predetermined location area.
优选地,该装置还包括:再现模块,耦合至更新模块28,设置为根据更新后的多个IPC与多个IP通道的绑定关系,再现多个预览画面。Preferably, the apparatus further comprises: a reproduction module coupled to the update module 28, configured to reproduce the plurality of preview pictures according to the binding relationship between the updated plurality of IPCs and the plurality of IP channels.
下面结合优选实施例进行描述和说明。Description and description are made below in conjunction with the preferred embodiments.
本优选实施例提出了一种网络硬盘录像机可视化调整预览通道顺序的实现方法及装置。用于提供用户因添加较多个IP通道后,在界面中只显示通道号的情况下,可以按照关注程度,通过调整IP通道顺序的方法,快速找到对应的IPC进行相应的操作的方法。The preferred embodiment provides a method and apparatus for visually adjusting a preview channel sequence of a network hard disk recorder. It is used to provide a method for users to quickly find the corresponding IPC to perform corresponding operations by adjusting the IP channel order according to the degree of attention when the user only adds more IP channels and only displays the channel number in the interface.
图3是根据本发明优选实施例的预览通道顺序调整装置的分层结构示意图,如图3所示,本优选实施例的实现装置总体可分为三个部分,一是IPC预览,二是接口部分,三是交互部分。其中,IPC预览部分包括对IPC的取流(视频流)控制等;接口部分则负责给交互提供相应的预览及配置参数的接口,是连接预览和交互的中间层;交互部分则负责完成对功能操作的用户界面的实现,以及对交互结果的展现等。3 is a schematic diagram of a hierarchical structure of a preview channel sequence adjusting apparatus according to a preferred embodiment of the present invention. As shown in FIG. 3, the implementation apparatus of the preferred embodiment can be generally divided into three parts, one is an IPC preview, and the other is an interface. Part, the third is the interactive part. The IPC preview part includes the flow control (video stream) control of the IPC; the interface part is responsible for providing the corresponding interface for previewing and configuring parameters for the interaction, and is the intermediate layer for connection preview and interaction; the interaction part is responsible for completing the function. The implementation of the user interface of the operation, as well as the presentation of the interaction results.
本发明优选实施例提供的技术方案如下:The technical solution provided by the preferred embodiment of the present invention is as follows:
IP通道顺序调整由右键菜单进入。首先,按照IP通道顺序重新配置预览顺序,按照支持的单屏最大画面数打开预览,并由交互部分完成窗口的绘制。窗口绘制主要是将各个通道预览画面用线条分割开,并增加每个画面的通道号显示在左上角。以及,增加确定和取消两个操作按钮。其次,根据用户的鼠标操作,修改预览参数,控制IPC取流,关闭或打开相应IP通道预览。这里的鼠标操作包括鼠标左键按下,鼠标左键弹起,鼠标移动等消息的处理,以及系统空闲时的处理。最后,用户点击确定或取消按钮,完成通道顺序的调整或恢复操作。The IP channel sequence adjustment is entered by the right-click menu. First, the preview order is reconfigured in the order of the IP channel, the preview is opened according to the maximum number of screens supported by the single screen, and the window is drawn by the interactive part. The window drawing is mainly to divide the preview picture of each channel by lines, and increase the channel number of each picture to be displayed in the upper left corner. As well, add two action buttons to confirm and cancel. Secondly, according to the user's mouse operation, modify the preview parameters, control the IPC to take the flow, close or open the corresponding IP channel preview. The mouse operations here include the left mouse button press, the left mouse button pop up, the mouse movement and other message processing, and the processing when the system is idle. Finally, the user clicks the OK or Cancel button to complete the channel sequence adjustment or recovery operation.
下面对上述优选实施例中提供的总体方案进行详细说明:The overall solution provided in the above preferred embodiment is described in detail below:
图4是根据本发明优选实施例的预览通道顺序调整过程的流程示意图,下面结合图4进行说明。FIG. 4 is a schematic flow chart of a preview channel sequence adjustment process according to a preferred embodiment of the present invention, which will be described below in conjunction with FIG. 4.
步骤1,创建通道调整窗口; Step 1, create a channel adjustment window;
例如,在预览界面的初始状态下,点击鼠标右键弹出右键菜单,选择右键菜单中的“IP通道顺序调整”选项。创建一个模态窗口,该窗口位置在屏幕左上角,获取当前显示器分辨率,根据分辨率确定窗口大小。设置该窗口为没有标题栏没有边框的状态,并为该窗口填充透明背景色,以使得预览画面可以不被该窗口覆盖。在初始化消息处理中,初始化每屏画面数及最大画面数等全局变量,并打开初始预览画面。根据 4x4(16画面)的画面数,在绘制消息中绘制4x4个大小为预览画面大小的矩形框,明确分割每个预览画面,方便鼠标对各个画面进行操作,并在每个画面左上角绘制通道号(D1,D2…),在屏幕下方绘制页码(1,2…)标识不同的页,并用不同颜色的字体标识当前页。For example, in the initial state of the preview interface, click the right mouse button to pop up the right-click menu and select the “IP Channel Order Adjustment” option in the right-click menu. Create a modal window in the upper left corner of the screen to get the current display resolution and determine the window size based on the resolution. Set the window to a state where there is no border in the title bar, and fill the window with a transparent background color so that the preview image can not be overwritten by the window. In the initialization message processing, global variables such as the number of screens per screen and the maximum number of screens are initialized, and the initial preview screen is opened. According to 4x4 (16 screens) of the number of screens, draw 4x4 rectangles of the size of the preview screen in the drawing message, clearly divide each preview screen, facilitate the mouse to operate on each screen, and draw the channel number in the upper left corner of each screen (D1, D2...), draw page numbers (1, 2...) at the bottom of the screen to identify different pages, and identify the current page with fonts of different colors.
步骤2,打开初始预览画面; Step 2, open the initial preview screen;
例如,NVR在开机后并连接IPC后,默认的预览顺序为D1,D2按顺序排列,未添加的IPC通道位置显示为黑屏,默认的单屏画面数为1画面,图5是根据本发明优选实施例的单屏预览画面的效果示意图,如图5所示,是默认情况下的预览情况。在某些情况下用户也可以调整预览顺序及单屏画面数,如4画面,16画面等。图6是根据本发明优选实施例的多屏预览画面效果示意图一,如图6所示,黑色区域为未添加IPC,其余IPC通道顺序也未按通道的顺序排列。For example, after the NVR is powered on and connected to the IPC, the default preview order is D1, and D2 is arranged in order. The unadded IPC channel position is displayed as a black screen, and the default single screen number is 1 screen. FIG. 5 is preferred according to the present invention. A schematic diagram of the effect of the single-screen preview screen of the embodiment, as shown in FIG. 5, is a preview case by default. In some cases, the user can also adjust the preview order and the number of single-screen screens, such as 4 screens, 16 screens, and so on. FIG. 6 is a schematic diagram 1 of a multi-screen preview screen according to a preferred embodiment of the present invention. As shown in FIG. 6 , the black area is not added with IPC, and the remaining IPC channel sequences are also not arranged in the order of channels.
为了方便用户使用,需要对通道重新排序,对画面数及页数进行重新分割。图7是根据本发明优选实施例的预览顺序调整过程的流程示意图,如图7所示,该流程包括:进入窗口后,初始化窗口过程中,读取出当前预览参数,包括分屏数,画面数等信息,将单屏画面数设置为16画面,页数设置为NVR支持的最大通道数除以16画面。临时保存设置后的预览参数。关闭所有通道预览,按照最新预览参数重新打开预览画面,例如,图8是根据本发明优选实施例的多屏预览画面效果示意图二,如图8所示,打开的预览画面为顺序为D1绑定IPC1在画面1位置,D2绑定IPC2在画面2位置等,依此类推。In order to facilitate the user's use, it is necessary to reorder the channels and re-segment the number of pictures and the number of pages. FIG. 7 is a schematic flowchart of a preview sequence adjustment process according to a preferred embodiment of the present invention. As shown in FIG. 7, the process includes: after entering a window, during the initialization window, the current preview parameter is read, including the number of split screens, and the screen is displayed. For the number of information, set the number of single-screen screens to 16 screens, and set the number of pages to the maximum number of channels supported by the NVR divided by 16 screens. Temporarily save the preview parameters after setting. Close all channel previews, and reopen the preview screen according to the latest preview parameters. For example, FIG. 8 is a schematic diagram 2 of a multi-screen preview screen effect according to a preferred embodiment of the present invention. As shown in FIG. 8, the opened preview screen is in the order of D1 binding. IPC1 is at screen 1 position, D2 is bound to IPC2 at screen 2 position, and so on.
步骤3,处理鼠标消息; Step 3, processing the mouse message;
例如,在本优选实施例中,需要处理三个鼠标消息,分别是鼠标左键按下,鼠标移动,鼠标左键弹起。在鼠标左键按下时,需要绘制标识框,已明确表示需要调整的源IP通道,并标记通道号。鼠标移动处理中,需处理三种情况,一是鼠标移动位置在上一页区域,且鼠标停留1秒及以上时间;二是鼠标移动位置在下一页区域,且鼠标停留1秒及以上时间;三是鼠标移动位置在当前页。根据三种不同情况做不同的处理,在鼠标左键弹起时,关闭源通道及目标通道预览,调整顺序,并重新打开预览,完成预览顺序的临时调整。图9是根据本发明优选实施例的鼠标处理过程的流程示意图一,在图9中示出了鼠标移动位置在当前页的处理过程。图10是根据本发明优选实施例的鼠标处理过程的流程示意图二,在图10中示出了鼠标移动位置在上一页或下一页的处理过程。图11是根据本发明优选实施例的当前页区域、上一页区域和下一页区域的位置示意图,在图11中示出了当前页区域、上一页区域和下一页区域的位置。 For example, in the preferred embodiment, three mouse messages need to be processed, namely, the left mouse button is pressed, the mouse is moved, and the left mouse button is raised. When the left mouse button is pressed, an identification box needs to be drawn, the source IP channel that needs to be adjusted is clearly indicated, and the channel number is marked. In the mouse movement process, three situations need to be dealt with. One is that the mouse moves in the previous page area, and the mouse stays for 1 second or more; the second is that the mouse moves in the next page area, and the mouse stays for 1 second or more; The third is that the mouse moves to the current page. According to three different situations, different processing is performed. When the left mouse button is raised, the source channel and the target channel are previewed, the order is adjusted, and the preview is re-opened to complete the temporary adjustment of the preview sequence. FIG. 9 is a flow chart 1 of a mouse processing process according to a preferred embodiment of the present invention, and FIG. 9 shows a process of moving a mouse position on a current page. FIG. 10 is a second schematic diagram of a flow of a mouse processing process according to a preferred embodiment of the present invention, and FIG. 10 shows a processing procedure of a mouse moving position on a previous page or a next page. 11 is a schematic diagram showing the positions of a current page area, a previous page area, and a next page area according to a preferred embodiment of the present invention, and the positions of the current page area, the previous page area, and the next page area are shown in FIG.
步骤4,“确定”或“取消”; Step 4, "OK" or "Cancel";
图12是根据本发明优选实施例的用户点击“确认”后的工作流程示意图,如图12所示,如果用户点击“确定”按钮,则表示用户完成调整完成,则此时将临时保存的预览的顺序转换为通道顺序。即根据预览顺序编号,将IPC从原来位置断开,重新连接绑定到新的通道号上。关闭预览,退出通道调整窗口,获取预览参数,按原始预览参数重新打开预览,此时各通道对应的IPC已调整。FIG. 12 is a schematic diagram of a workflow after a user clicks “confirm” according to a preferred embodiment of the present invention. As shown in FIG. 12, if the user clicks the “OK” button, it indicates that the user completes the adjustment, and the preview will be temporarily saved. The order is converted to the channel order. That is, according to the preview order number, the IPC is disconnected from the original position, and the reconnection is bound to the new channel number. Close the preview, exit the channel adjustment window, get the preview parameters, and re-open the preview according to the original preview parameters. At this time, the IPC corresponding to each channel has been adjusted.
图13是根据本发明优选实施例的用户点击“取消”后的工作流程示意图,如图13所示,如果用户点击“取消”按钮,则关闭预览,退出通道调整窗口,获取预览参数,按原始预览参数重新打开预览,此时各通道对应的IPC不变。FIG. 13 is a schematic diagram of a workflow after a user clicks “Cancel” according to a preferred embodiment of the present invention. As shown in FIG. 13 , if the user clicks the “Cancel” button, the preview is closed, the channel adjustment window is exited, and the preview parameter is obtained. The preview parameter reopens the preview, and the IPC corresponding to each channel does not change.
下面以一个实例对基于上述优选实施例的方案的用户操作过程进行说明。The user operation procedure based on the scheme of the above preferred embodiment will be described below by way of an example.
图14是根据本发明优选实施例的用户操作过程的总体流程示意图,如图14所示,该流程包括如下步骤:FIG. 14 is a schematic diagram of the overall process of a user operation process according to a preferred embodiment of the present invention. As shown in FIG. 14, the process includes the following steps:
步骤S1,在预览界面点击右键,弹出右键菜单。In step S1, right click on the preview interface to pop up the right click menu.
步骤S2,选择进入IP通道顺序调整界面,该界面为16画面预览,每个预览画面以黄线分割,并且在界面下方显示所有页数及当前页码。如图15a,图中D6,D11中的三角形及圆形代表不同的画面预览内容。Step S2, selecting to enter the IP channel sequence adjustment interface, the interface is a 16-screen preview, each preview screen is divided by a yellow line, and all page numbers and current page numbers are displayed at the bottom of the interface. As shown in Fig. 15a, the triangles and circles in D6 and D11 represent different screen preview contents.
步骤S3,鼠标选中需要调整的画面,此时界面上显示绿框,指示出用户想要调整的通道画面原始位置,如图15b。In step S3, the mouse selects the screen to be adjusted, and a green frame is displayed on the interface to indicate the original position of the channel screen that the user wants to adjust, as shown in FIG. 15b.
步骤S4,拖动鼠标,出现红色方框,并跟随鼠标移动,如图15c。In step S4, the mouse is dragged, a red square appears, and the mouse is moved, as shown in Fig. 15c.
步骤S5,将鼠标移动至目标画面位置,松开鼠标,此时画面即被调整,如图15d,用户可直观看到调整后的画面效果。In step S5, the mouse is moved to the target screen position, and the mouse is released, and the screen is adjusted. As shown in Fig. 15d, the user can visually see the adjusted screen effect.
步骤S6,如目标画面位置不在当前页,则拖动鼠标移动红框至左侧或右侧一定位置范围内,停留1~2秒时间后,画面自动翻至上一页或下一页,如图15e和图15f。Step S6, if the target screen position is not in the current page, drag the mouse to move the red frame to a certain position on the left or right side, and after staying for 1 to 2 seconds, the screen automatically flips to the previous or next page, as shown in the figure. 15e and Figure 15f.
步骤S7,重复步骤S1~步骤S6;Step S7, repeating steps S1 to S6;
步骤S8,完成所有画面的调整后,点击“确定”或“取消”按钮完成操作。 Step S8, after completing the adjustment of all the screens, click the "OK" or "Cancel" button to complete the operation.
综上所述,通过本发明的上述优选实施例中提供的一种NVR可视化调整IP通道顺序的操作方法,通过临时调整预览顺序,鼠标完成所有画面的调整后实际调整所有通道顺序的实现方式,实现了利用鼠标拖拽在看到实际通道画面的情况下改变IPC所在通道的方法。In summary, the NVR visually adjusts the operation mode of the IP channel sequence provided by the above-mentioned preferred embodiment of the present invention, and temporarily adjusts the preview order, and the mouse actually completes the adjustment of all the screens to actually adjust the implementation manner of all the channel sequences. The method of changing the channel where the IPC is located when the actual channel picture is seen by using the mouse drag and drop is realized.
由上述描述可知,采用本发明优选实施例中提供的一种NVR可视化调整IP通道顺序的实现方法,通过IPC预览的控制,接口部分及交互部分的相互配合完成IP通道的调整。其中,提供的一种NVR调整IP通道顺序的操作,便于用户查看关注的通道;提供的一种NVR调整IP通道回放通道列表顺序的操作,用户调整通道顺序后,回放时通道列表按调整后顺序排列,是的用户可以快速选择回放通道;提供的可视化的操作方式,用户可直接看到画面进行调整,即使没有通道名称等信息,也可以快速找到关注的通道画面并完成通道顺序的调整。It can be seen from the above description that an NVR visualization adjustment IP channel sequence implementation method provided by the preferred embodiment of the present invention is implemented, and the IP channel preview is controlled by the IPC preview control, the interface part and the interaction part cooperate to complete the IP channel adjustment. The NVR provides an operation of adjusting the IP channel sequence to facilitate the user to view the channel of interest. An NVR is provided to adjust the sequence of the IP channel playback channel list. After the user adjusts the channel sequence, the channel list is adjusted according to the adjusted sequence. Arrangement, the user can quickly select the playback channel; the provided visual operation mode, the user can directly see the screen for adjustment, even if there is no channel name and other information, you can quickly find the channel screen of interest and complete the channel sequence adjustment.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device for execution by the computing device, or they may be separately fabricated into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上上述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (11)

  1. 一种绑定关系更新方法,包括:A binding relationship update method includes:
    根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,所述多个预览画面分别与所述多个IPC一一对应;所述多个预览画面位于所述绑定关系更新界面中的多个预览位置分别与所述多个IP通道一一对应;And mapping, according to a binding relationship between the multiple IPCs and the multiple IP channels, a binding relationship update interface that includes multiple preview screens, wherein the plurality of preview screens are respectively corresponding to the plurality of IPCs; The plurality of preview positions of the preview screen located in the binding relationship update interface respectively correspond to the plurality of IP channels;
    检测对所述多个预览画面中的至少一个预览画面的拖曳操作;Detecting a drag operation on at least one of the plurality of preview screens;
    根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置;Adjusting, according to the drag operation, a preview position of the plurality of preview screens in the binding relationship update interface;
    根据调整后的所述多个预览画面一一对应的所述多个预览位置,更新所述多个IPC与所述多个IP通道的所述绑定关系。Updating the binding relationship between the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the plurality of preview screens that are adjusted one by one.
  2. 根据权利要求1所述的方法,其中,所述绑定关系更新界面为全屏大小、无标题无边框,且背景透明的界面。The method according to claim 1, wherein the binding relationship update interface is a full screen size, an untitled borderless, and a background transparent interface.
  3. 根据权利要求1所述的方法,其中,在绘制包括多个预览画面的绑定关系更新界面之前,所述方法还包括:The method of claim 1, wherein before the binding relationship update interface including the plurality of preview pictures is drawn, the method further comprises:
    检测用户输入的第一预定操作,其中,所述第一预定操作用于指示更新所述多个IPC与所述多个IP通道的所述绑定关系,其中,根据所述第一预定操作绘制包括所述多个预览画面的所述绑定关系更新界面。Detecting a first predetermined operation of the user input, wherein the first predetermined operation is used to indicate updating the binding relationship between the plurality of IPCs and the plurality of IP channels, wherein the first predetermined operation is drawn according to the first predetermined operation The binding relationship update interface including the plurality of preview screens.
  4. 根据权利要求3所述的方法,其中,在更新所述多个IPC与所述多个IP通道的所述绑定关系之前,所述方法还包括:The method of claim 3, wherein before updating the binding relationship between the plurality of IPCs and the plurality of IP channels, the method further comprises:
    检测用户输入的第二预定操作,其中,所述第二预定操作用于指示退出所述绑定关系更新界面。A second predetermined operation of the user input is detected, wherein the second predetermined operation is for instructing to exit the binding relationship update interface.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    在所述第二预定操作还用于指示确认更新所述绑定关系的情况下,更新所述多个IPC与所述多个IP通道的所述绑定关系;And in the case that the second predetermined operation is further used to indicate to confirm that the binding relationship is updated, updating the binding relationship between the multiple IPCs and the multiple IP channels;
    在所述第二预定操作还用于指示确认不更新所述绑定关系的情况下,不更新所述多个IPC与所述多个IP通道的所述绑定关系。 And in the case that the second predetermined operation is further used to indicate that the binding relationship is not updated, the binding relationship between the plurality of IPCs and the plurality of IP channels is not updated.
  6. 根据权利要求1所述的方法,其中,所述拖曳操作包括:The method of claim 1 wherein said dragging operation comprises:
    在第一预览画面位于的第一预览位置执行按下鼠标的按键的操作;Performing an operation of pressing a button of the mouse at a first preview position where the first preview screen is located;
    在按下所述按键的过程中执行所述鼠标位置移动的操作;Performing the operation of moving the mouse position during the pressing of the button;
    在第二预览画面位于的第二预览位置执行松开所述按键的操作。The operation of releasing the button is performed at a second preview position where the second preview screen is located.
  7. 根据权利要求6所述的方法,其中,根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置包括:The method according to claim 6, wherein, according to the dragging operation, adjusting a preview position of the plurality of preview screens in the binding relationship update interface comprises:
    移动位于第一预览位置的第一预览画面到第二预览位置,并移动位于所述第二预览位置的第二预览画面到所述第一预览位置。Moving the first preview screen located at the first preview position to the second preview position, and moving the second preview screen located at the second preview position to the first preview position.
  8. 根据权利要求6所述的方法,其中,根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置包括:The method according to claim 6, wherein, according to the dragging operation, adjusting a preview position of the plurality of preview screens in the binding relationship update interface comprises:
    拖曳位于第一预览位置的第一预览画面到所述绑定关系更新界面中两个预览位置的预览位置边界;Dragging a preview position boundary of the first preview position at the first preview position to two preview positions in the binding relationship update interface;
    将位于所述第一预览位置至所述两个预览位置的前一个预览位置的预览画面向前移动一个预览位置,并插入述第一预览画面到所述两个预览位置的后一个预览位置之前的预览位置。Moving a preview screen located at the previous preview position from the first preview position to the two preview positions forward by one preview position, and inserting the first preview screen to the next preview position of the two preview positions Preview position.
  9. 根据权利要求7或8所述的方法,其中,在所述绑定关系更新界面采用分页方式显示所述多个预览画面的情况下,在按下所述按键的过程中执行所述鼠标位置移动的操作之后,所述拖曳操作还包括:The method according to claim 7 or 8, wherein in the case where the binding relationship update interface displays the plurality of preview images in a paging manner, the mouse position movement is performed in a process of pressing the button After the operation, the drag operation further includes:
    移动所述鼠标到所述绑定关系更新界面的预定位置区域,并停留预定时长,其中,所述绑定关系更新界面根据所述鼠标在所述预定位置区域停留的所述预定时长,显示上一页或者下一页。Moving the mouse to a predetermined location area of the binding relationship update interface, and staying for a predetermined duration, wherein the binding relationship update interface is displayed according to the predetermined duration of time that the mouse stays in the predetermined location area One page or next page.
  10. 根据权利要求1所述的方法,其中,在更新所述多个IPC与所述多个IP通道的所述绑定关系之后,所述方法还包括:The method of claim 1, wherein after updating the binding relationship between the plurality of IPCs and the plurality of IP channels, the method further comprises:
    根据更新后的所述多个IPC与所述多个IP通道的所述绑定关系,再现所述多个预览画面。And rendering the plurality of preview screens according to the updated binding relationship between the plurality of IPCs and the plurality of IP channels.
  11. 一种绑定关系更新装置,包括:A binding relationship updating device includes:
    绘制模块,设置为根据多个IPC与多个IP通道的绑定关系,绘制包括多个预览画面的绑定关系更新界面,其中,所述多个预览画面分别与所述多个IPC 一一对应;所述多个预览画面位于所述绑定关系更新界面中的多个预览位置分别与所述多个IP通道一一对应;a drawing module, configured to draw a binding relationship update interface including a plurality of preview screens according to a binding relationship between the plurality of IPCs and the plurality of IP channels, wherein the plurality of preview screens respectively correspond to the plurality of IPCs One-to-one correspondence; the plurality of preview positions of the plurality of preview screens in the binding relationship update interface respectively correspond to the plurality of IP channels;
    检测模块,设置为检测对所述多个预览画面中的至少一个预览画面的拖曳操作;a detecting module configured to detect a drag operation on at least one of the plurality of preview screens;
    调整模块,设置为根据所述拖曳操作,调整所述多个预览画面位于所述绑定关系更新界面中的预览位置;And an adjustment module, configured to adjust a preview position of the plurality of preview screens in the binding relationship update interface according to the drag operation;
    更新模块,设置为根据调整后的所述多个预览画面一一对应的所述多个预览位置,更新所述多个IPC与所述多个IP通道的所述绑定关系。 And an update module, configured to update the binding relationship between the plurality of IPCs and the plurality of IP channels according to the plurality of preview positions corresponding to the adjusted plurality of preview screens.
PCT/CN2014/088805 2013-12-20 2014-10-17 Binding relationship updating method and device WO2015090106A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310714130.7A CN104699383B (en) 2013-12-20 2013-12-20 Binding relationship update method and device
CN201310714130.7 2013-12-20

Publications (1)

Publication Number Publication Date
WO2015090106A1 true WO2015090106A1 (en) 2015-06-25

Family

ID=53346573

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088805 WO2015090106A1 (en) 2013-12-20 2014-10-17 Binding relationship updating method and device

Country Status (2)

Country Link
CN (1) CN104699383B (en)
WO (1) WO2015090106A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN109491657A (en) * 2018-11-23 2019-03-19 济南中维世纪科技有限公司 A kind of method and its remote operating system that IPC what's new can be supported without upgrading NVR

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100715B (en) * 2015-06-11 2018-09-18 福建星网物联信息系统有限公司 A kind of monitoring device video switching method and device
KR102596485B1 (en) * 2016-12-15 2023-11-01 한화비전 주식회사 Apparatus and method for registering camera
CN107930118B (en) * 2017-12-28 2021-04-13 苏州蜗牛数字科技股份有限公司 Method and device for visualizing post-processing effect process of Unity engine
CN110727200A (en) 2018-07-17 2020-01-24 珠海格力电器股份有限公司 Control method of intelligent household equipment and terminal equipment
CN108983624B (en) * 2018-07-17 2020-11-03 珠海格力电器股份有限公司 Control method of intelligent household equipment and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130211882A1 (en) * 2011-12-22 2013-08-15 Appostle Concepts, Llc Systems and methods for project documentation and proposals
CN103260011A (en) * 2013-05-16 2013-08-21 杭州巨峰科技有限公司 System and method for achieving monitoring of more paths by utilization of net-harddisk video recorder
CN103491341A (en) * 2013-07-17 2014-01-01 北京汉邦高科数字技术股份有限公司 Method for displaying network hard disk video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8117252B2 (en) * 2002-12-26 2012-02-14 Schaff Glen D Video-monitor/recording/playback system
CN101511006A (en) * 2009-03-12 2009-08-19 深圳市深视音电子技术有限公司 Method for monitoring network audio and video, and network hard disk videocorder using the method
CN201690564U (en) * 2010-05-31 2010-12-29 广东迅通计算机有限公司 Double code stream video storage system
CN101873478B (en) * 2010-06-18 2013-07-17 杭州海康威视数字技术股份有限公司 Control method and related device of network monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130211882A1 (en) * 2011-12-22 2013-08-15 Appostle Concepts, Llc Systems and methods for project documentation and proposals
CN103260011A (en) * 2013-05-16 2013-08-21 杭州巨峰科技有限公司 System and method for achieving monitoring of more paths by utilization of net-harddisk video recorder
CN103491341A (en) * 2013-07-17 2014-01-01 北京汉邦高科数字技术股份有限公司 Method for displaying network hard disk video

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN109491657A (en) * 2018-11-23 2019-03-19 济南中维世纪科技有限公司 A kind of method and its remote operating system that IPC what's new can be supported without upgrading NVR

Also Published As

Publication number Publication date
CN104699383A (en) 2015-06-10
CN104699383B (en) 2018-07-10

Similar Documents

Publication Publication Date Title
WO2015090106A1 (en) Binding relationship updating method and device
US10331318B2 (en) Compartmentalized image editing system
JP5604921B2 (en) Image display system, image display method, and image display apparatus
JP2008117019A (en) Conference information management apparatus, conference reproduction apparatus, equipment management apparatus, conference system and program
CN113111195A (en) Multimedia information editing method and related device
KR101251304B1 (en) Picture control device
CN106412463A (en) Playing instruction method of dynamically switching video and apparatus thereof
US9330099B2 (en) Multimedia apparatus and method for providing content
JP2012165277A (en) Imaging apparatus, and control method, program, and storage medium therefor
WO2016150325A1 (en) Application screen-splitting running method and device
WO2008018506A1 (en) Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
AU2011305074B2 (en) Method and system for configuring a sequence of positions of a camera
JP5920702B2 (en) Digital recording device
US20190179507A1 (en) Method, Device and Computer Storage Medium for Multichannel Touch Control of All-in-One Machine
JP6311411B2 (en) Connection control device and connection control method
JP5765255B2 (en) Image processing program and image processing apparatus
JP6743956B2 (en) Connection control device and connection control method
JP2013205773A (en) Display system, image generation device, and computer program
KR102388986B1 (en) Integrated rendering system combining heterogeneous image rendering engines
Foote et al. Reach-through-the-screen: A new metaphor for remote collaboration
EP2535807A1 (en) Computer system
JP2001309200A (en) Interactive digital television system and method for grouping data object
US20240112387A1 (en) Adjustment method and apparatus for rendering hierarchy order
JP2008210347A (en) Image editing device, method, and program
CN115729403A (en) Display picture processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14871101

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14871101

Country of ref document: EP

Kind code of ref document: A1