Transposition sequencing method and device and medium

By monitoring the drag event and directly exchanging the positions of the selected and placed target block elements, the problem of web page refresh caused by changing the position of the surveillance video window in the existing technology is solved, and the user experience and the stability of the surveillance video window are improved.

CN118656558AInactive Publication Date: 2024-09-17上海望海大数据信息有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311556196.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, when the position of the surveillance video window is changed, the entire video surveillance web page is refreshed, which reduces the user experience.

Method used

By listening to drag events, the positions of the selected target block element and the placed target block element are determined, and their positions are directly swapped without affecting other block elements to avoid web page refreshes.

Benefits of technology

It improves the user experience, avoids the reloading of the video monitoring window and the re-rendering of the web page, and greatly improves user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656558A
    Figure CN118656558A
Patent Text Reader

Abstract

The invention belongs to the technical field of webpage sorting, and particularly relates to a transposition sorting method and device and a medium. The transposition sorting method comprises the following steps: monitoring dragging events, wherein the dragging events comprise a dragging starting event, a dragging process event and a dragging ending event; determining a selected target block element according to the dragging start event, and obtaining the current position of the selected target block element; moving the selected target block element according to the dragging process event, and determining a hovering position of the selected target block element; determining a placement target block element according to the hovering position of the selected target block element and the dragging end event, and obtaining the current position of the placement target block element; and replacing the current position between the selected target block element and the placed target block element. According to the webpage arranged by applying the method, when the window position is changed, the whole webpage does not need to be refreshed, so that the user satisfaction is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of web page sorting, and in particular relates to a transposition sorting method, device and medium. Background Art

[0002] At present, most of the surveillance video windows on the video surveillance web page are arranged in a matrix format, and most of them are changed in position by dragging the surveillance video window. After the target is dragged and placed at the specified position, the positions of the other associated surveillance video windows are moved backward or forward.

[0003] See also Figure 1a and Figure 1b , Figure 1a and Figure 1b All of them have disclosed a 3X3 surveillance video matrix, in which Figure 1b For the general Figure 1a Schematic diagram after monitoring video window No. 1 is moved to monitoring video window No. 5.

[0004] See also Figure 1b , where surveillance video window No. 2, surveillance video window No. 3, surveillance video window No. 4 and surveillance video window No. 5 are all moved up. However, this will cause most of the surveillance video windows on the entire video surveillance webpage to be reloaded once, and even the entire webpage needs to be re-rendered, which reduces the user experience. Summary of the invention

[0005] The present invention provides a transposition sorting method, device and medium to solve the technical problem in the prior art that the position of a monitoring video window is changed and causes a web page to be refreshed.

[0006] A first aspect of the present invention provides a permutation sorting method for sorting web page content, wherein the web page includes a plurality of block elements, and the plurality of block elements are arranged in a matrix. The permutation sorting method includes:

[0007] Listen for drag events, including drag start events, drag process events, and drag end events;

[0008] Determine the selected target block element according to the drag start event, and obtain the current position of the selected target block element;

[0009] Move the selected target block element according to the drag process event, and determine the hover position of the selected target block element;

[0010] Determine the placement target block element according to the hover position of the selected target block element and the drag end event, and obtain the current position of the placement target block element;

[0011] Displaces the current position between the selected block element and the placed block element.

[0012] In an optional solution of the present invention, determining the placement target block element according to the hover position of the selected target block element and the drag end event, and obtaining the current position of the placement target block element includes:

[0013] Determine the intersecting target block element according to the hover position of the selected target block element, and determine the intersecting area between the selected target block element and the intersecting target block element;

[0014] It is determined whether the ratio of the area of ​​the intersecting region to the area of ​​the intersecting target block element exceeds a threshold; if so, the intersecting target block element is determined to be a placement target block element; if not, the selected target block element is reset.

[0015] In an optional solution of the present invention, the threshold value is not less than 50%.

[0016] A second aspect of the present invention provides a device for implementing a transposition sorting method, the device comprising:

[0017] A monitoring unit, used to monitor drag events, including drag start events, drag process events and drag end events;

[0018] The selected target confirmation module is used to determine the selected target block element according to the drag start event and obtain the current position of the selected target block element;

[0019] A hover position determination module moves the selected target block element according to the drag event and determines the hover position of the selected target block element;

[0020] The placement target confirmation module determines the placement target block element according to the hover position of the selected target block element and the drag end event, and obtains the current position of the placement target block element;

[0021] Replace position module; replace the current position between the selected target block element and the placed target block element.

[0022] In an optional solution of the present invention, the placement target confirmation module includes:

[0023] An intersection target confirmation unit, used to determine the intersection target block element according to the hovering position of the selected target block element, and determine the intersection area between the selected target block element and the intersection target block element;

[0024] The judging unit judges whether the ratio of the area of ​​the intersection region to the area of ​​the intersection target block element exceeds a threshold; if so, the intersection target block element is determined to be a placement target block element; if not, the selected target block element is reset.

[0025] A third aspect of the present invention provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the above-mentioned transposition sorting method is implemented.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] The solution provided by the present application directly swaps the current positions of the selected target block element and the placed target block element. Compared with the prior art, other block elements do not need to be moved back or forward in sequence, and the entire web page does not need to be refreshed, which greatly improves user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1a One of the schematic state diagrams of a web page showing a 3X3 matrix display block element is presented;

[0030] Figure 1b A second schematic state diagram of a web page showing a 3X3 matrix display block element is shown;

[0031] Figure 2 One of the step block diagrams of the transposition sorting method provided according to one of the embodiments of the present application;

[0032] Figure 3 This is a second step block diagram of a transposition sorting method provided according to one embodiment of the present application;

[0033] Figure 4 A flowchart of a transposition sorting method provided according to an embodiment of the present application;

[0034] Figure 5a A third schematic state diagram of a web page showing a 3X3 matrix display block element is shown;

[0035] Figure 5b A fourth schematic state diagram of a web page showing a 3X3 matrix display block element is shown;

[0036] Figure 6a A block diagram of the connections of various modules in a device for implementing a transposition sorting method according to one embodiment of the present application;

[0037] Figure 6b for Figure 6aThe connection diagram of each unit in the target confirmation module is placed in the middle;

[0038] Figure 7 The present invention is a simplified structural diagram of an electronic device provided according to one embodiment of the present application.

[0039] Description of reference numerals:

[0040] 61. Monitoring module; 62. Selected target confirmation module; 63. Hovering position determination module; 64. Placed target confirmation module; 641. Intersecting target confirmation unit; 642. Judgment unit; 65. Replacement position module; 700. Electronic device; 701. Processor; 702. Memory; 703. Communication interface; 710. Bus. DETAILED DESCRIPTION

[0041] In order to make the above and other features and advantages of the present invention more clear, the present invention is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.

[0042] The transposition sorting method provided in the present application is used for sorting the content of a web page, and the web page includes multiple block elements, and the multiple block elements are arranged in a matrix. In this embodiment, the block element can be a video monitoring window, and each block element is arranged in a matrix through hypertext markup language (hereinafter referred to as: HTML) and cascading style sheets (hereinafter referred to as: CSS). In a specific application, the monitoring video can be embedded through HTML, and the grid layout in CSS can be used to arrange the monitoring videos, so that each video is arranged in a matrix.

[0043] It should be understood that arranging block elements in a matrix using HTML and CSS is a conventional technical means in the art and will not be described in detail here.

[0044] Figure 2 This is a flow chart of a transposition sorting method according to one embodiment of the present invention. Please refer to FIG1 , the method comprises the following steps:

[0045] Step S1, monitoring a drag event, wherein the drag event includes a drag start event, a drag process event, and a drag end event.

[0046] In this embodiment, a movable attribute is added to the corresponding block element through CSS, that is, each block element is marked as a draggable element. By adding a listener to monitor the user's dragging operation, the interaction between the user and the webpage is realized.

[0047] In a specific application, a listener can be added through JavaScript (hereinafter referred to as JS) to define the execution logic of the drag start event, the drag process event and the drag end event.

[0048] It should be noted that the embodiments of this solution are all illustrated by JS scripting language. Of course, it is not limited to implementing event monitoring through JS scripting language. For example, it can also be implemented through a Python-based web development framework (such as Flask, Django, etc.).

[0049] Step S2: determine the selected target block element according to the drag start event, and obtain the current position of the selected target block element.

[0050] It should be noted that each block element is rectangular, and the position information of each block element includes the left boundary position, the right boundary position, the bottom boundary position and the top boundary position of the block element.

[0051] In this embodiment, the drag start event includes a trigger condition (such as clicking the left mouse button, finger clicking, etc.), the style of the selected block element (such as flashing, floating of the block element, etc.), data to be acquired and sent, etc. The data to be acquired includes the current position of the selected target block element.

[0052] In this embodiment, the current position of the selected target block element is the position of the selected target block element before it starts to move.

[0053] In a specific implementation scheme, the block element can be defined as the selected target block element by clicking the corresponding block element with the left button of the mouse, and its boundary position information in the web page, that is, the current position of the selected target block element, can be obtained.

[0054] Step S3: moving the selected target block element according to the dragging process event, and determining the hovering position of the selected target block element.

[0055] Specifically, after the user selects the selected target block element, the dragging operation of the user is monitored through the dragging process event. For example, the dragging process event can be used to obtain the dragging-related operations performed by the user and change the position information of the selected target block element in real time according to the dragging-related operations. The dragging-related operations performed by the user include movement and hovering when the left mouse button is long pressed.

[0056] It should be noted that, in this embodiment, the hover position of the selected target block element refers to the position where the user stops after dragging the selected target block element to a certain position, and the position corresponds to the hover position of the selected target block element, that is, the boundary position information corresponding to the selected target block element when it is in the hover position.

[0057] Of course, the dragging process events are not limited to the above, and you can also customize the dragging effect of the block element. For example, when the mouse moves to select the target block element, the selected target block element always floats to the top layer; or some visual effects.

[0058] Step S4, determining the placement target block element according to the hover position of the selected target block element and the drag end event, and obtaining the current position of the placement target block element.

[0059] In this embodiment, the drag end event includes a trigger condition (such as clicking the left mouse button, the finger leaving the screen, etc.), a style when the drag ends (such as shaking), etc. After the drag ends, the stop position of the selected target block element is the hover position.

[0060] It should be understood that the current position of each block element in the web page has been set in the corresponding program and can be obtained. The placement of the target block element can be determined by comparing the hover position of the selected target block element with the current position of each block element except the selected target block element.

[0061] See also Figure 3 In some optional embodiments, step S4 includes:

[0062] Step S41, determining the intersecting target block element according to the hovering position of the selected target block element, and determining the intersecting area between the selected target block element and the intersecting target block element;

[0063] As can be seen from the foregoing, the position information of each block element includes the boundary information of the block element. By determining the hover position of the selected target block element, the upper boundary position, lower boundary position, left boundary position and right boundary position corresponding to the hover position can be determined.

[0064] It can be determined whether the upper boundary position or the lower boundary position of the current position of other block elements is between the upper boundary position and the lower boundary position corresponding to the hovering position; or, it can be determined whether the left boundary position or the right boundary position of the current position of other block elements is between the left boundary position and the right boundary position corresponding to the hovering position, and the intersection area can be determined through the corresponding boundary position information.

[0065] Step S42, determine whether the ratio of the area of ​​the intersection region to the area of ​​the intersection target block element exceeds a threshold. If yes, determine that the intersection target block element is a placement target block element; if no, select the target block element and reset it.

[0066] It should be understood that the selected target block element may intersect with multiple other block elements, and thus may have multiple intersecting target block elements and form multiple intersecting regions. In this embodiment, the area ratio between the intersecting region and the intersecting target block element corresponding to the intersecting region is used to determine whether the intersecting target block element is a placement target block element.

[0067] It should be noted that, when the selected target block element intersects with multiple other block elements, the intersection target block element corresponding to the largest area among the multiple intersection regions formed is the placement target block element. It should be understood that, when the areas of the block elements are the same, if the area of ​​one of the intersection regions exceeds half the area of ​​the intersection target block element corresponding to the intersection region, the intersection target block element corresponding to the intersection region can be determined as the placement target block element.

[0068] It can be seen that in some optional embodiments, the threshold is not less than 50%, so as to ensure the uniqueness of the placement target block element as much as possible and avoid the simultaneous appearance of multiple placement target block elements.

[0069] Step S5, replacing the current position between the selected target block element and the placed target block element.

[0070] Specifically, after determining the placement target block element, the current position of the placement target block element can be determined; as mentioned above, when the selected target block element is determined by the drag start event, the current position of the selected target block element can be obtained, and the two positions can be swapped.

[0071] See also Figure 4 In the disclosed solution, the target block element is first selected, and then the selected target block element is dragged to the position where the target block element is placed, and then it is determined whether the intersection area of ​​the selected target block element and the placed target block element exceeds 50% of the area of ​​the placed target block element. If so, the current position of the selected target block element is swapped with the current position of the placed target block element. If not, the selected target block element is reset.

[0072] In summary, the solution provided by the present application directly swaps the current positions of the selected target block element and the placed target block element. Compared with the prior art, other block elements do not need to be moved back or forward in sequence, and the entire web page does not need to be refreshed.

[0073] In particular, each block element corresponds to a video surveillance window. Since it is only necessary to swap the position of the selected window and the window to be placed, it is not necessary to refresh all video surveillance windows, thus avoiding frame drops in the video surveillance windows and greatly improving user satisfaction.

[0074] In order to facilitate the understanding of this scheme, the following Figure 5a and Figure 5b This scheme is explained in detail with examples. Figure 5a and Figure 5b A web page with block elements arranged in a 3X3 matrix is ​​presented, wherein the area of ​​each block element is the same.

[0075] Click on window No. 1 with the left mouse button to select it. Window No. 1 is the selected target block element. Long press the left mouse button and drag window No. 1 to change its position. When the mouse stops moving, window No. 1 also stops moving. During the process of dragging window No. 1, window No. 1 flashes, and the current position of window No. 1 is filled with color, such as green.

[0076] exist Figure 5a The figure shows the state of window No. 1 in the hovering position. At this time, window No. 1 and window No. 2, window No. 4 and window No. 5 correspond to the intersection target block elements, and correspondingly form the intersection area S1, the intersection area S2 and the intersection area S3. Obviously, the area of ​​the intersection area S3 accounts for more than 50% of the area of ​​window No. 5, so window No. 5 is determined to be the placement target block element. Please refer to Figure 5b , just swap the current position of window 1 with the current position of window 5.

[0077] See also Figure 6a Another aspect of the present application further provides a device for implementing the transposition sorting method, the device comprising:

[0078] A monitoring module 61 is used to monitor drag events, where the drag events include a drag start event, a drag process event, and a drag end event;

[0079] A selected target confirmation module 62 is used to determine the selected target block element according to the drag start event and obtain the current position of the selected target block element;

[0080] A hovering position determining module 63 moves the selected target block element according to the drag event and determines the hovering position of the selected target block element;

[0081] The placement target confirmation module 64 determines the placement target block element according to the hover position of the selected target block element and the drag end event, and obtains the current position of the placement target block element;

[0082] The replacement position module 65 replaces the current position between the selected target block element and the placement target block element.

[0083] See also Figure 6b , wherein the placement target confirmation module 64 includes:

[0084] The intersection target confirmation unit 641 is used to determine the intersection target block element according to the hovering position of the selected target block element, and determine the intersection area between the selected target block element and the intersection target block element;

[0085] The judgment unit 642 judges whether the ratio of the area of ​​the intersection region to the area of ​​the intersection target block element exceeds a threshold; if so, the intersection target block element is determined to be a placement target block element; if not, the selected target block element is reset.

[0086] It should be noted that Figure 6a and Figure 6b Each module in the device shown has the function of implementing each step in FIG. 1 and can achieve its corresponding technical effect, which will not be described in detail here for the sake of brevity.

[0087] See also Figure 7 On the other hand, the present application further provides an electronic device 700, which includes a processor 701 and a memory 702 storing computer program instructions.

[0088] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0089] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the electronic device. In a particular embodiment, the memory 702 may be a non-volatile solid-state memory.

[0090] In one embodiment, the memory 702 may be a read-only memory (ROM). In one embodiment, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0091] The processor 701 reads and executes computer program instructions stored in the memory 702 to implement any one of the digital twin-based virtual simulation methods for mine safety behavior in the above embodiments.

[0092] In one example, the electronic device may further include a communication interface 703 and a bus 710. Figure 4 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.

[0093] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0094] Bus 710 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0095] In addition, in combination with the transposition sorting method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any transposition sorting method in the above embodiment is implemented.

[0096] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0097] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0098] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0099] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0100] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for sorting by transposition, used for sorting web page content, wherein the web page comprises a plurality of block elements, and the plurality of block elements are arranged in a matrix, characterized in that: The transposition sorting method comprises: Monitor drag events, including drag start event, drag process event and drag end event; Determine a selected target block element according to the drag start event, and obtain a current position of the selected target block element; Moving the selected target block element according to the dragging process event, and determining a hovering position of the selected target block element; Determine the placement target block element according to the hover position of the selected target block element and the drag end event, and obtain the current position of the placement target block element; The current position between the selected target block element and the placed target block element is replaced.

2. The transposition sorting method according to claim 1, characterized in that: The step of determining the placement target block element according to the hover position of the selected target block element and the drag end event, and obtaining the current position of the placement target block element comprises: Determine an intersecting target block element according to the hovering position of the selected target block element, and determine an intersecting area between the selected target block element and the intersecting target block element; Determine whether the ratio of the area of ​​the intersection region to the area of ​​the intersection target block element exceeds a threshold; if so, determine that the intersection target block element is the placement target block element; if not, reset the selected target block element.

3. The transposition sorting method according to claim 2, characterized in that: The threshold value is not less than 50%.

4. A device for implementing a transposition sorting method, characterized in that: The device includes: A monitoring unit, used for monitoring drag events, wherein the drag events include a drag start event, a drag process event, and a drag end event; A selected target confirmation module, used to determine the selected target block element according to the drag start event, and obtain the current position of the selected target block element; A hovering position determining module, which moves the selected target block element according to the drag event and determines the hovering position of the selected target block element; A placement target confirmation module determines the placement target block element according to the hover position of the selected target block element and the drag end event, and obtains the current position of the placement target block element; A replacement position module replaces the current position between the selected target block element and the placed target block element.

5. The device for implementing the transposition sorting method according to claim 4, characterized in that: The placement target confirmation module includes: An intersection target confirmation unit, used to determine the intersection target block element according to the hovering position of the selected target block element, and determine the intersection area between the selected target block element and the intersection target block element; A judging unit is used to judge whether the ratio of the area of ​​the intersection region to the area of ​​the intersection target block element exceeds a threshold; if so, the intersection target block element is determined to be the placement target block element; if not, the selected target block element is reset.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the transposition sorting method according to any one of claims 1 to 3 is implemented.