Channel state confirmation method and device, electronic equipment and storage medium

By using a visual channel positioning marker on the camera shooting interface and sending channel data to the server, the problems of low channel state detection accuracy and data fraud in the prior art are solved, and high-precision channel state confirmation is achieved.

CN119445457APending Publication Date: 2025-02-14BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310945492.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When detecting illegal occupation of urban fire passages, the existing technology has low detection accuracy and the risk of data fraud, resulting in safety hazards.

Method used

By displaying the channel preview image on the camera shooting interface and marking the channel area using the visual channel positioning identifier, the channel data is sent to the server in response to the shooting trigger operation, and the server confirms the channel status based on the channel data.

Benefits of technology

It improves the accuracy of channel state confirmation, reduces the possibility of artificial forgery of data, ensures the authenticity of channel state, and thus reduces safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119445457A_ABST
    Figure CN119445457A_ABST
Patent Text Reader

Abstract

The invention provides a channel state confirmation method and device, electronic equipment and a storage medium, and the method comprises the steps: displaying a channel preview image in a camera shooting interface, and enabling the camera shooting interface to have a visual channel positioning identifier; when the image area marked by the channel positioning identifier is matched with the channel area included in the channel preview image, in response to the shooting trigger operation, sending channel data to a server based on the channel preview image and the image position marked by the channel positioning identifier; the server is used for confirming the channel state based on the channel data, and the channel data comprises the image data of the channel and the channel area positioning data included by the channel. Visibly, when the shooting triggering operation is executed, the generated channel data can be sent to the server in real time, so that the possibility of artificially counterfeiting the channel data is reduced, the result of the confirmed channel state is ensured to have high authenticity, and the channel state is utilized to assist a worker in eliminating the potential safety hazard of the channel in an occupied state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a channel status confirmation method, device, electronic device and storage medium. Background Art

[0002] In the process of urban governance, safe passages and fire passages in the city serve as lifelines to ensure the city’s fire protection and safety governance capabilities. They are often used to ensure the safety of people’s lives and property when large-scale disasters such as fires and earthquakes occur.

[0003] However, there are many cases of illegal occupation, blocking or closing of fire passages in cities, which is not conducive to people's travel and brings great safety hazards. In related technologies, a certain frame of video data can be detected based on a neural network to determine whether the passage is illegally occupied, but the detection accuracy of this method is low and there is a possibility of data falsification. Summary of the invention

[0004] According to one aspect of the present disclosure, a channel status confirmation method is provided, comprising:

[0005] Displaying a channel preview image on a camera shooting interface, wherein the camera shooting interface has a visual channel positioning mark;

[0006] When the image area of ​​the channel positioning mark matches the channel area included in the channel preview image, in response to a shooting trigger operation, channel data is sent to a server based on the channel preview image and the image position of the channel positioning mark;

[0007] The server is used to confirm the channel status based on the channel data, where the channel data includes image data of the channel and channel area positioning data included in the channel.

[0008] According to another aspect of the present disclosure, a channel status confirmation method is provided, comprising:

[0009] Acquire channel data from a terminal, wherein the channel data includes image data of the channel and channel area positioning data included in the channel;

[0010] If the channel determined based on the image data of the channel matches a preset channel, the channel state is confirmed based on the channel region positioning data and the image data of the channel.

[0011] According to another aspect of the present disclosure, there is provided a channel status confirmation device, comprising:

[0012] A display module displays a channel preview image on a camera shooting interface, wherein the camera shooting interface has a visual channel positioning mark;

[0013] A sending module is used to send channel data to a server based on the channel preview image and the image position of the channel positioning identification mark in response to a shooting trigger operation when the image area marked by the channel positioning identification mark matches the channel area included in the channel preview image; the server is used to confirm the channel status based on the channel data, and the channel data includes the image data of the channel and the channel area positioning data included in the channel.

[0014] According to another aspect of the present disclosure, there is provided a channel status confirmation device, comprising:

[0015] An acquisition module, used for acquiring channel data from a terminal, wherein the channel data includes image data of the channel and channel area positioning data included in the channel;

[0016] A confirmation module is used to confirm the channel state based on the channel area positioning data and the image data of the channel if the channel determined based on the image data of the channel matches the preset channel.

[0017] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0018] A processor; and a memory storing a program;

[0019] The program includes instructions, and when the instructions are executed by a processor, the processor executes the method according to the exemplary embodiment of the present disclosure.

[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute the method according to the exemplary embodiments of the present disclosure.

[0021] One or more technical solutions provided in the exemplary embodiments of the present disclosure display a channel preview image in a camera shooting interface, and the camera shooting interface has a visual channel positioning mark. When the image area marked by the channel positioning mark matches the channel area included in the channel preview image, it means that the channel positioning mark has marked the position of the channel area. Therefore, in response to the shooting trigger operation of the channel preview image, channel data can be sent to the server based on the channel preview image and the image position marked by the channel positioning mark. On this basis, since the channel data includes the image data of the channel and the channel area positioning data included in the channel, the server can confirm whether the channel is in an occupied state or an unoccupied state based on the channel data. It can be seen that the method of the exemplary embodiments of the present disclosure marks the channel area in the channel preview image through a visual channel positioning mark to prompt that the channel area is a key confirmation area, thereby reducing the possibility of interference caused by interference objects in non-channel areas to the channel status confirmation, and improving the accuracy of channel status confirmation.

[0022] Moreover, the method of the exemplary embodiment of the present disclosure can send channel data to the server based on the channel preview image and the image position of the channel positioning identification mark in response to the shooting trigger operation when the image area of ​​the channel positioning identification mark matches the channel area included in the channel preview image. In other words, when the shooting trigger operation is performed, the generated channel data can be sent to the server in real time, reducing the possibility of artificial forgery of channel data. Therefore, the channel status confirmed by the server based on the channel data has a high degree of authenticity, thereby using the channel status to assist staff in eliminating safety hazards in the occupied channel. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0024] Figure 1 A schematic diagram showing an example system in which various methods described herein may be implemented according to an exemplary embodiment of the present disclosure;

[0025] Figure 2 A basic flow chart of a channel status confirmation method according to an exemplary embodiment of the present disclosure is shown;

[0026] Figure 3A A schematic diagram showing a channel positioning mark calling prompt in a camera shooting interface of an exemplary embodiment of the present disclosure is shown;

[0027] Figure 3B A schematic diagram of a camera shooting interface containing a channel positioning mark according to an exemplary embodiment of the present disclosure is shown;

[0028] Figure 4AA schematic diagram showing channel detection frame scaling according to an exemplary embodiment of the present disclosure is shown;

[0029] Figure 4B A schematic diagram showing movement of a channel detection frame according to an exemplary embodiment of the present disclosure is shown;

[0030] Figure 4C A schematic diagram of triggering the shooting of a channel preview image according to an exemplary embodiment of the present disclosure is shown;

[0031] Figure 5A A schematic diagram showing movement of a channel detection line according to an exemplary embodiment of the present disclosure is shown;

[0032] Figure 5B A schematic diagram showing movement of two channel detection lines of an exemplary embodiment of the present disclosure is shown;

[0033] Figure 5C A schematic diagram of an interface of a channel area selection pop-up window of an exemplary embodiment of the present disclosure is shown;

[0034] Figure 5D A schematic diagram showing an exemplary embodiment of the present disclosure when the distance between the channel detection line and the outline of the channel area is 0;

[0035] Figure 5E A schematic diagram showing the movement of four channel detection lines of an exemplary embodiment of the present disclosure is shown;

[0036] Figure 6 A basic flow chart showing another channel status confirmation method according to an exemplary embodiment of the present disclosure;

[0037] Figure 7 A schematic diagram showing an exemplary embodiment of the present disclosure when a channel is occupied;

[0038] Figure 8 A schematic block diagram of modules of a channel status confirmation device according to an exemplary embodiment of the present disclosure is shown;

[0039] Fig. 9 A schematic block diagram of another module of a channel status confirmation device according to an exemplary embodiment of the present disclosure is shown;

[0040] Fig.10 A schematic block diagram of a chip according to an exemplary embodiment of the present disclosure is shown;

[0041] Fig.11 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0042] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0043] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0044] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0045] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0046] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0047] Before introducing the embodiments of the present disclosure, the following definitions are given for the relevant terms involved in the embodiments of the present disclosure:

[0048] Optical Character Recognition (OCR) refers to an electronic device (such as a scanner or digital camera) checking characters printed on paper, determining their shapes by detecting dark and light patterns, and then using character recognition methods to translate the shapes into computer text.

[0049] Object detection is an important task in computer vision, and its main purpose is to identify multiple objects in an image and give their locations.

[0050] For urban governance, illegal occupation of emergency passages such as safety passages and fire passages is very common in cities. Due to the occupation of emergency passages, emergency vehicles such as fire trucks or ambulances cannot reach the designated location in time, which not only endangers the personal safety of users, but also causes inestimable losses to users' property. Therefore, in order to avoid this situation, it is very important to identify emergency passages and judge the illegal occupation of emergency passages.

[0051] In the related art, at least one image to be identified can be captured from the video data, and then the image to be identified can be input into a trained classification recognition model to generate a positive label indicating that the fire escape is occupied or a negative label indicating that it is not occupied. Based on this, it is determined whether the fire escape is occupied. However, this method of obtaining the result of whether it is occupied by fitting the scene has low recognition accuracy, and the mapping between the image features and the final result is unclear, resulting in poor accuracy of the recognition result.

[0052] In response to the above problems, an exemplary embodiment of the present disclosure provides a channel status confirmation method, which can obtain channel data through a terminal, and represent the illegally occupied part of the channel data based on a visual channel positioning identifier, and then upload the channel data containing the channel positioning identifier to a server, and the server analyzes the channel data to determine the status of the channel.

[0053] Figure 1 Schematic diagram of an example system in which various methods described herein may be implemented according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the application scenario 100 of the exemplary embodiment of the present disclosure includes a terminal 110 and a server 120. In actual applications, the terminal 110 may be configured with an image acquisition device, and the client installed on the terminal 110 may be an application based on the same or different operating system platforms (Android, IOS, Huawei Hongmeng system, etc.). The terminal 110 may generally refer to one of multiple terminals. The device type of the terminal includes at least one of a smart phone, a tablet computer, a laptop portable computer, and a desktop computer.

[0054] like Figure 1 As shown, the terminal 110 can communicate with the server 120 through a communication network. In terms of communication mode, the communication network can be divided into a wireless communication network, such as satellite communication, microwave communication, etc., or a wired communication network, such as optical fiber communication, power line carrier communication; in terms of communication range, the communication network can be a local area communication network, such as Wifi, Zigbee communication network, etc., or a wide area communication network, such as the Internet network. Figure 1 As shown, the server 120 may be a single server or a server cluster consisting of multiple servers.

[0055] The channel status confirmation method of the exemplary embodiment of the present disclosure can be applied to a terminal or a chip in the terminal. The method of the exemplary embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0056] Figure 2 FIG. 4 shows a basic flow chart of a channel status confirmation method according to an exemplary embodiment of the present disclosure. Figure 2 As shown, the channel status confirmation method of the exemplary embodiment of the present disclosure may include:

[0057] Step 201: Display the channel preview image on the camera shooting interface of the terminal, and the camera shooting interface has a visual channel positioning mark. Here, the camera shooting interface can be opened by calling the terminal camera function, and the camera head is pointed toward the channel. At this time, the camera shooting interface of the terminal can display the channel preview image. It should be understood that the channel positioning mark can be displayed on the camera shooting interface when the camera shooting interface is opened, and can also be displayed on the camera shooting interface by calling after the camera shooting interface.

[0058] Figure 3A A schematic diagram showing a channel positioning mark calling prompt in a camera shooting interface of an exemplary embodiment of the present disclosure is shown. Figure 3B FIG. 1 shows a schematic diagram of a camera shooting interface containing a channel positioning mark according to an exemplary embodiment of the present disclosure. Figure 3A As shown, during the image acquisition process, the channel preview image can be displayed in the camera shooting interface 300. When the channel positioning identifier needs to be called, in response to the operation of calling the channel positioning identifier control 301, a pop-up message is displayed in the camera shooting interface 300. The pop-up message may contain "Do you want to add a channel positioning identifier?" Based on the pop-up message, the user is asked whether to call the positioning identifier calling control 301. When the user chooses to call the channel positioning identifier, he clicks the "Yes" control 302, as shown in FIG. Figure 3B As shown, at this time, a channel positioning mark 304 appears on the camera shooting interface 300.

[0059] Step 202: When the image area marked by the channel positioning identification mark matches the channel area included in the channel preview image, in response to a capture trigger operation on the channel preview image, channel data is sent to a server based on the channel preview image and the image position of the channel positioning identification mark. The image data of the channel is determined by the channel preview image, and the channel area contained in the channel is determined by the image area marked by the channel positioning identification mark.

[0060] In practical applications, when the image area marked by the channel positioning mark does not match the channel area included in the channel preview image, the image area marked by the channel positioning mark may be updated in response to a movement operation on the channel positioning mark.

[0061] Exemplarily, the position of the channel positioning mark can be adjusted to the target position so that the image area marked by the channel positioning mark matches the channel area included in the channel preview image. For example, by clicking or dragging the channel positioning mark to the target position, the image area marked by the channel positioning mark matches the channel area included in the channel preview image.

[0062] When the image area marked by the channel positioning identification matches the channel area included in the channel preview image, in response to the shooting trigger operation, the image data of the channel included in the channel data sent to the server can be determined by the channel preview image, and the channel area positioning data is determined by the image area marked by the channel positioning identification.

[0063] Exemplarily, when the shooting trigger operation may refer to the trigger operation of the camera's photo button, the image data of the acquired channel includes image data in picture format; when the shooting trigger operation may refer to the operation of the camera's video button, the image data of the acquired channel includes image data in video format. At this time, a frame of image can be randomly selected from the video to confirm the channel status.

[0064] The above-mentioned server can be used to confirm that the channel is in an occupied state based on the channel data. However, since the user may collect a large range of images when performing image acquisition, not only including part of the channel, but also including many interferences, it will cause a lot of interference to the subsequent confirmation of the channel status, resulting in poor accuracy of the confirmation result. Therefore, the channel data of the exemplary embodiment of the present disclosure may include the image data of the channel and the channel area positioning data included in the channel. At this time, the image area marked with the channel positioning identification mark can be obtained from the channel preview image based on the visualized channel area positioning data, and then the image area marked with the channel positioning identification mark can be directly analyzed without analyzing the channel preview image. It can be seen that the exemplary embodiment of the present disclosure can accurately judge the channel status based on a small amount of data. At the same time, when performing a shooting trigger operation, the generated channel data can be sent to the server in real time, reducing the possibility of artificial forgery of the channel data. Therefore, the channel status confirmed by the server based on the channel data has a high degree of authenticity, so as to use the channel status to assist the staff to eliminate the safety hazards of the channel in an occupied state.

[0065] In an optional manner, the range of the image area of ​​the channel locator of the exemplary embodiment of the present disclosure may be fixed or adjusted. For example, the terminal updates the range of the image area of ​​the channel locator in response to the contour adjustment operation of the channel locator.

[0066] In practical applications, the range of the image area of ​​the channel positioning mark can be updated in response to the contour adjustment operation of the channel positioning mark, and when the image area marked by the channel positioning mark does not match the channel area included in the channel preview image, the image area marked by the channel positioning mark can be updated in response to the movement operation of the channel positioning mark. The channel positioning mark can include a closed channel detection frame or an open channel detection line.

[0067] Exemplarily, when the channel positioning mark includes a closed channel detection frame, the contour adjustment operation includes adjusting the area covered by the channel detection frame; when the image area marked by the visualized channel positioning mark matches the channel area included in the channel preview image, the overlap between the channel detection frame and the channel area is greater than a preset overlap. It should be understood that the preset overlap reflects the degree of overlap between the channel detection frame and the channel area.

[0068] Figure 4A A schematic diagram showing the channel detection frame scaling of an exemplary embodiment of the present disclosure is shown. Figure 4B FIG. 2 is a schematic diagram showing the movement of a channel detection frame according to an exemplary embodiment of the present disclosure. Figure 4A As shown, the control mode of the channel detection frame can be set in advance. For example, the control mode of the channel detection frame can be a gesture control mode. When the user touches the channel detection frame 402 with two fingers, it is considered that the user needs to scale the channel detection frame 402. At this time, the size of the entire channel detection frame 402 can be adjusted based on the distance between the two fingertips; and then as shown in FIG. Figure 4B As shown, when the user touches the channel detection frame 402 with a finger, it is considered that the user needs to move the channel detection frame 402. At this time, based on the position of the finger in the channel preview image, the channel detection frame 402 can be dragged to move in the channel preview image.

[0069] like Figure 4A As shown, Figure 4BAs shown, assuming that the preset overlap is 80%, it is necessary to frame the channel area in the channel preview image, and the A channel detection frame 402 can be scaled first, and the scaled B channel detection frame 402 is formed. At this time, even if the area covered by the B channel detection frame 402 is larger than the area of ​​the channel area included in the channel preview image, since there is no channel area in the B channel detection frame 402, it is necessary to move the scaled B channel positioning mark 402 to the C channel positioning mark 402. At this time, it can be seen that the image area marked by the C channel positioning mark 402 contains all the areas of the channel area included in the channel preview image, and the overlap between the channel detection frame and the channel area is 100%, which is greater than the preset overlap of 80%. At this time, it is determined that the image area marked by the channel positioning mark matches the channel area included in the channel preview image. It should be understood that the channel detection frame of the exemplary embodiment of the present disclosure is a rectangle, and in actual applications it can also be a regular shape such as a square or a circle, or it can be an irregular shape defined by a user, which is not limited here.

[0070] Figure 4C FIG. 2 shows a schematic diagram of triggering the channel preview image shooting of an exemplary embodiment of the present disclosure. Figure 4C As shown, based on the channel positioning mark 402, the user identifies the image area in the channel preview image that the user believes meets the channel status confirmation condition, and when Figure 4B When the channel area included in the channel preview image is consistent with the image area marked by the user, it is considered that the image area marked by the channel positioning identifier matches the channel area included in the channel preview image. Then, when the user confirms that it is correct, when the user clicks the shooting control 404 in the camera shooting interface, the generated channel data can be sent to the server in real time, reducing the possibility of artificial forgery of channel data. Therefore, the channel status confirmed by the server based on the channel data is highly authentic, so as to use the channel status to assist the staff to eliminate safety hazards in the occupied channel.

[0071] When the channel positioning mark includes an open channel detection line, the contour adjustment operation includes adjusting the position parameters of the channel detection line; when the image area marked by the channel positioning mark matches the channel area included in the channel preview image, the distance between the channel detection line and the contour of the channel area is greater than the preset distance. It should be understood that the line width of the channel detection line can be set according to actual conditions.

[0072] In practical applications, the number of channel detection lines in the camera shooting interface can be one. Figure 5A FIG. 2 shows a schematic diagram of a channel detection line movement of an exemplary embodiment of the present disclosure. Figure 5AAs shown, the control mode of the channel detection line 504 and the number of channel detection lines 504 can be set in advance. For example, the control mode of the channel detection frame can be a gesture control mode, and the channel detection line 504 can be one. It can be set to a vertical state in the camera shooting interface 500. At this time, the user can touch the channel detection line 504 in the terminal camera shooting interface 500 with a finger, and then drag the channel detection line 504 to move in the channel preview image. At this time, if it is assumed that the preset distance is 0, that is, as long as the channel detection line 504 and the outline 503 of the channel area have an intersection, it is considered that the distance between the channel detection line and the outline of the channel area is 0. Based on this, as long as there is no intersection between the channel detection line and the outline of the channel area, it is considered that the distance between the channel detection line and the outline of the channel area is greater than 0, that is, the distance between the channel detection line and the outline of the channel area is greater than the preset distance. It should be understood that in actual applications, the channel detection line 504 can be set to a horizontal state in the camera shooting interface 500, and can also be a diagonal line of the camera shooting interface 500, which can be set according to actual conditions.

[0073] In practical applications, the number of channel detection lines in the camera shooting interface can also be two. Figure 5B A schematic diagram of the movement of two channel detection lines according to an exemplary embodiment of the present disclosure is shown. Figure 5C The interface schematic diagram of the channel area selection pop-up window of the exemplary embodiment of the present disclosure is shown. At this time, the number of channel detection lines 504 in the camera shooting interface 500 can be two. Based on this, the user can touch the channel detection line 504 with a finger and then drag the two channel detection lines 504 to move in the channel preview image, and limit the channel area 503 to be identified to the image area with the serial number ④ corresponding to the image area of ​​the channel positioning mark. At this time, click the shooting control 506 camera shooting interface 500 to pop up the channel area selection pop-up window 505. At this time, the user selects the image area No. ④ containing the channel area 503 in the channel area selection pop-up window 505 and uploads it.

[0074] Figure 5D FIG. 2 shows a schematic diagram of an exemplary embodiment of the present disclosure when the distance between the channel detection line and the outline of the channel area is 0. Figure 5D As shown, if the preset distance is assumed to be 0, that is, as long as the channel detection line 504 and the outline 503 of the channel area have an intersection, the distance between the channel detection line and the outline of the channel area is considered to be 0. Based on this, as long as there is no intersection between the channel detection line and the outline of the channel area, it is considered that the distance between the channel detection line and the outline of the channel area is greater than 0, that is, the distance between the channel detection line and the outline of the channel area is greater than the preset distance.

[0075] In practical applications, the number of channel detection lines 504 in the camera shooting interface 500 may also be four. Figure 5E FIG. 4 shows a schematic diagram of the movement of four channel detection lines of an exemplary embodiment of the present disclosure. Figure 5E As shown, the number of channel detection lines 504 in the camera shooting interface 500 can be four. Based on this, the outline 503 of the channel area can be framed by dragging the four channel detection lines 504. At this time, if the preset distance is assumed to be 0, that is, as long as the channel detection line 504 and the outline 503 of the channel area have an intersection, it is considered that the distance between the channel detection line and the outline of the channel area is 0. Based on this, as long as there is no intersection between the channel detection line and the outline of the channel area, it is considered that the distance between the channel detection line and the outline of the channel area is greater than 0, that is, the distance between the channel detection line and the outline of the channel area is greater than the preset distance.

[0076] In actual applications, channel data can be sent to the server based on the channel preview image and the image position marked by the channel positioning mark. At this time, the server can confirm the channel status based on the channel data, and the channel data includes the image data of the channel and the channel area positioning data included in the channel. At this time, the server can obtain the image data of the channel from the channel preview image based on the channel area positioning data, so as to analyze the image data of the channel. It should be understood that when the user does not call up the channel positioning mark to mark in the channel preview image, the channel preview image without the channel positioning mark can be directly uploaded. At this time, the image data of the channel is the image data corresponding to the entire channel preview image.

[0077] In an optional manner, the channel data may also include the geographical location information of the channel, and when the camera turns on the geographical location permission, the geographical location information of the channel can be obtained in response to the shooting trigger operation of the channel preview image. It should be understood that turning on the camera's geographical location permission requires the user to manually configure it on the terminal, turn on the camera's geographical location permission, and authorize it.

[0078] For example, when a user turns on the camera to capture images, the terminal's geographic location information can be obtained in real time in response to the terminal camera's positioning permission activation operation. Therefore, in response to the user's shooting trigger operation, the channel's geographic location information can also be sent to the server. Therefore, when the channel is occupied, the relevant staff can be notified in time based on the channel's geographic location information to go and handle the situation, thereby releasing the channel from occupancy and keeping the channel unobstructed.

[0079] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0080] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0081] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0082] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0083] In an exemplary embodiment of the present disclosure, after a user uploads channel data on a terminal, the terminal may also display channel status notification information in response to the channel status notification information from the server.

[0084] Exemplarily, after the user uploads channel data, if the server detects that the channel is in an occupied state, channel status notification information indicating the channel is in an occupied state may be sent to the user terminal; for example, when the server confirms that the channel is in an occupied state, a pop-up window may pop up on the display interface of the user terminal, and the pop-up window content may be channel status notification information indicating that "the channel is confirmed to be occupied"; if the server detects that the channel is not in an occupied state, channel status notification information indicating that the channel is not occupied may be sent to the user terminal; for example, when the server confirms that the channel confirmation has failed, a pop-up window may pop up on the display interface of the user terminal, and the pop-up window content may be "channel confirmation failed".

[0085] In actual applications, when the channel confirmation of the channel data uploaded by the user fails, it may be due to incomplete data channels uploaded by the user or errors in the channel positioning identification mark. Therefore, the above-mentioned "channel confirmation failure" includes two situations. The first situation is channel identification failure, and the second situation is channel confirmation occupancy failure. Based on the above two situations, the reason for the channel confirmation failure can also be displayed on the display interface of the terminal; when channel identification fails, the pop-up window content can be "Channel identification failed, channel confirmation occupancy failed", or "Channel display is incomplete, please upload a more complete channel image", so as to remind the user to re-capture the channel preview image; when channel confirmation occupancy fails, the pop-up window content can be "Channel confirmation is not occupied".

[0086] Based on this, the exemplary embodiment of the present disclosure can mark the image area corresponding to the channel based on the visual channel positioning mark, so that when the channel status is subsequently confirmed, the interference of interference objects on the status confirmation process can be reduced. Through a smaller amount of image data, not only the efficiency of channel status confirmation can be improved, but also the accuracy of channel status confirmation can be improved. In addition, when the exemplary embodiment of the present disclosure performs a shooting trigger operation, the generated channel data can be sent to the server in real time, reducing the possibility of artificial forgery of channel data. Therefore, the channel status confirmed by the server based on the channel data is highly authentic, so that the channel status can be used to assist staff in eliminating safety hazards in occupied channels.

[0087] The channel status confirmation method of the exemplary embodiment of the present disclosure can be applied to a server or a chip in the server. The method of the exemplary embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0088] Figure 6 FIG. 2 shows a basic flow chart of another channel status confirmation method according to an exemplary embodiment of the present disclosure. Figure 6 As shown, the channel status confirmation method of the exemplary embodiment of the present disclosure may include:

[0089] Step 601: Acquire channel data from a terminal, where the channel data includes image data of the channel and channel area positioning data included in the channel.

[0090] Exemplarily, the server acquires channel data from the terminal, and determines the image data of the channel in the channel preview image based on the channel region positioning data, thereby simplifying the subsequent data processing amount.

[0091] Step 602: If the channel determined based on the image data of the channel matches the preset channel, confirm that the channel state is an occupied state based on the channel area positioning data and the image data of the channel.

[0092] Exemplarily, the present disclosure is a rational embodiment that can obtain the image area marked by the channel positioning identification mark from the image data of the channel based on the channel area positioning data, and then directly analyze the image area marked by the channel positioning identification mark without analyzing the channel preview image. It can be seen that the exemplary embodiment of the present disclosure can accurately judge the channel status based on a smaller amount of data.

[0093] The above-mentioned channel matches the preset channel, which may include matching the texture of the target to be analyzed with the texture of the preset target; and / or, if the channel matches the preset channel, if the target to be analyzed is a target text, the content of the target text matches the preset text contained in the preset channel.

[0094] Figure 7 FIG. 2 shows a schematic diagram of an exemplary embodiment of the present disclosure when a channel is occupied. Figure 7 As shown in FIG. 1 , when the channel matches the preset channel, the texture of the target to be analyzed matches the texture of the preset target. At this time, assuming that the preset target is a fire channel, the texture corresponding to the preset target is a texture of multiple diamond splicing. At this time, based on the target detection model Figure 7 Analyze the target to be analyzed in Figure 7 The target to be analyzed in is the image area contained in the channel detection frame 702. Figure 7 The texture contained in the image area contained in the middle channel detection frame 702 is also a texture of multiple diamond splicing, so the analysis result is that the texture of the channel area 703 is consistent with the texture of the preset target. At this time, it is considered that the texture of the target to be analyzed matches the texture of the preset target, and the image area contained in the channel detection frame 702 is confirmed to be the fire channel area. It should be understood that in actual applications, the textures of various emergency channels can be preset in advance. For example, the texture corresponding to the fire channel is a texture of multiple diamond splicing, and the texture of the safety channel is a texture of multiple rectangles splicing. It can also be set to other texture styles, which are set according to actual conditions.

[0095] When the target to be analyzed is the target text, the channel is matched with the preset channel when the content of the target text matches the preset text contained in the preset channel. It is assumed that the preset text contains four key characters of "extinguish", "prevention", "ban" and "stop". At this time, character recognition can be performed in the image area contained in the channel detection box based on the optical character recognition model. When the target text recognizes the keywords "extinguish", "prevention", "ban" and "stop", it is considered that the content of the target text matches the preset text contained in the preset channel, and the image area contained in the channel detection box is confirmed to be the fire channel area.

[0096] In practical applications, the matching of channels and preset channels can include the matching of the texture of the target to be analyzed and the texture of the preset target, and the matching of the content of the target text and the preset text contained in the preset channel. For details, please refer to the relevant content of the matching of channels and preset channels in the exemplary embodiment of the present disclosure, which will not be repeated here. When the matching of channels and preset channels includes the above two matching relationships, as long as one of them is satisfied, it is considered that the channels match the preset channels.

[0097] When confirming whether the channel state is occupied based on the channel area positioning data and the channel image data, the exemplary embodiment of the present disclosure can first extract the target to be analyzed from the channel image data based on the channel area positioning data; if the target to be analyzed matches the preset target, it is determined that the target to be analyzed is the preset target object.

[0098] Figure 8 FIG. 2 shows a schematic diagram of an exemplary embodiment of the present disclosure when a channel is occupied. Figure 8As shown, firstly, the target to be analyzed 801 is extracted from the image data of the channel based on the channel area positioning data. At this time, the texture of the target to be analyzed 801 matches the texture of the preset target, and at the same time, the content of the target text matches the preset text contained in the preset channel. Therefore, it is determined that the target to be analyzed 801 matches the preset target, and further determined that the target to be analyzed 801 is a fire channel. At this time, if the server detects that the target to be analyzed 801 contains an occupied object 802, the channel state is occupied. It should be understood that in actual applications, it can be judged whether the channel is in an occupied state based on the texture integrity of the preset target and whether there are objects in the range marked by the preset text. Other methods can also be used for judgment.

[0099] In actual applications, the server can also send channel status prompt information to the terminal in response to the confirmation result of the channel status, thereby feeding back the confirmation result of the channel status to the user. If the result is a recognition failure, the reason for the failure can also be fed back to the user, and the user can be prompted to re-capture the channel preview image and confirm the channel status again.

[0100] One or more technical solutions provided in the exemplary embodiments of the present disclosure display a channel preview image in a camera shooting interface, and the camera shooting interface has a visual channel positioning mark. When the image area marked by the channel positioning mark matches the channel area included in the channel preview image, it means that the channel positioning mark has marked the position of the channel area. Therefore, in response to the shooting trigger operation of the channel preview image, channel data can be sent to the server based on the channel preview image and the image position marked by the channel positioning mark. On this basis, since the channel data includes the image data of the channel and the channel area positioning data included in the channel, the server can confirm whether the channel is in an occupied state or an unoccupied state based on the channel data. It can be seen that the method of the exemplary embodiments of the present disclosure marks the channel area in the channel preview image through a visual channel positioning mark to prompt that the channel area is a key confirmation area, thereby reducing the possibility of interference caused by interference objects in non-channel areas to the channel status confirmation, and improving the accuracy of channel status confirmation.

[0101] Moreover, the method of the exemplary embodiment of the present disclosure can send channel data to the server based on the channel preview image and the image position of the channel positioning identification mark in response to the shooting trigger operation when the image area of ​​the channel positioning identification mark matches the channel area included in the channel preview image. In other words, when the shooting trigger operation is performed, the generated channel data can be sent to the server in real time, reducing the possibility of artificial forgery of channel data. Therefore, the channel status confirmed by the server based on the channel data has a high degree of authenticity, thereby using the channel status to assist staff in eliminating safety hazards in the occupied channel.

[0102] The above mainly introduces the solution provided by the embodiment of the present disclosure from the perspective of the terminal and the server. It is understandable that in order to realize the above functions, the terminal and the server include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0103] The disclosed embodiment can divide the terminal into functional units according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the disclosed embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0104] In the case of dividing each functional module according to each function, an exemplary embodiment of the present disclosure provides a channel status confirmation device. Fig. 9 A schematic block diagram of modules of a channel status confirmation device according to an exemplary embodiment of the present disclosure is shown.

[0105] When the message display device of the exemplary embodiment of the present disclosure is applied to a terminal or a chip of a terminal, Fig. 9 As shown, the channel status confirmation device 900 includes:

[0106] A display module 901 displays a channel preview image on a camera shooting interface, where the camera shooting interface has a visual channel positioning mark;

[0107] A sending module 902 is used to send channel data to a server based on the channel preview image and the image position of the channel positioning identification mark in response to a shooting trigger operation when the image area marked by the channel positioning identification mark matches the channel area included in the channel preview image; the server is used to confirm the channel status based on the channel data, and the channel data includes the image data of the channel and the channel area positioning data included in the channel.

[0108] As a possible implementation manner, the channel state confirmation device 900 further includes an updating device 903, and the updating device 903 is used to update the range of the image area of ​​the channel positioning mark in response to the contour adjustment operation of the channel positioning mark.

[0109] As a possible implementation method, the channel positioning identifier includes a closed channel detection frame, and the contour adjustment operation includes adjusting the area covered by the channel detection frame; when the image area marked by the channel positioning identifier matches the channel area included in the channel preview image, the overlap between the channel detection frame and the channel area is greater than a preset overlap.

[0110] As a possible implementation method, the channel positioning mark includes a channel detection line, and the contour adjustment operation includes adjusting the position parameters of the channel detection line; when the image area marked by the channel positioning mark matches the channel area included in the channel preview image, the distance between the channel detection line and the contour of the channel area is greater than a preset distance.

[0111] As a possible implementation, the updating device 903 is also used to update the image area marked by the channel positioning identifier in response to a moving operation on the channel positioning identifier when the image area marked by the channel positioning identifier does not match the channel area included in the channel preview image.

[0112] As a possible implementation manner, the image data of the channel is determined by the channel preview image, and the channel area positioning data is determined by the image area marked by the channel positioning identifier.

[0113] As a possible implementation manner, the channel data also includes geographic location information of the channel, and the method also includes: when the camera turns on the geolocation permission, in response to a shooting trigger operation of the channel preview image, obtaining the geographic location information of the channel.

[0114] As a possible implementation manner, in response to the channel status notification information from the server, the channel status notification information is displayed.

[0115] When the message display device of the exemplary embodiment of the present disclosure is applied to a server or a chip of the server, such as Fig.10 As shown, the message display device 1000 includes:

[0116] An acquisition module 1001 is used to acquire channel data from a terminal, wherein the channel data includes image data of the channel and channel area positioning data included in the channel;

[0117] The confirmation module 1002 is configured to confirm the channel state based on the channel region positioning data and the image data of the channel if the channel determined based on the image data of the channel matches a preset channel.

[0118] As a possible implementation method, if the channel matches the preset channel, the texture of the target to be analyzed matches the texture of the preset target; and / or, if the channel matches the preset channel, if the target to be analyzed is a target text, the content of the target text matches the preset text contained in the preset channel.

[0119] As a possible implementation method, confirming whether the channel state is an occupied state based on the channel area positioning data and the image data of the channel includes: extracting a target to be analyzed from the image data of the channel based on the channel area positioning data; if the target to be analyzed matches a preset target, determining that the target to be analyzed is the preset target object.

[0120] As a possible implementation manner, in response to the confirmation result of the channel status, channel status prompt information is sent to the terminal.

[0121] Fig.10 Schematic block diagram of a chip of an exemplary embodiment of the present disclosure is shown. Fig.10 As shown, the chip 1000 includes one or more (including two) processors 1001 and a communication interface 1002 .

[0122] In an optional manner, the communication interface 1002 can support the terminal to execute the data sending and receiving steps in the above-mentioned message display method, and the processor 1001 can support the terminal to execute the data processing steps in the above-mentioned message display method.

[0123] In an optional manner, the communication interface 1002 can support the server to execute the data sending and receiving steps in the above-mentioned message display method, and the processor 1001 can support the server to execute the data processing steps in the above-mentioned message display method.

[0124] Optional, such as Fig.10 As shown, the chip 1000 also includes a memory 1003, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0125] In some embodiments, Fig.10As shown, the processor 1001 performs corresponding operations by calling the operation instructions stored in the memory (the operation instructions may be stored in the operating system). The processor 1001 controls the processing operations of any one of the terminal devices, and the processor may also be called a central processing unit (CPU). The memory 1003 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1001. A portion of the memory 1003 may also include NVRAM. For example, in an application, the memory, the communication interface, and the memory are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Fig.10 Various buses are labeled as bus system 1004 .

[0126] The method disclosed in the above-mentioned embodiment of the present disclosure can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an ASIC, a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be combined to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0127] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.

[0128] The exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform the method according to the embodiments of the present disclosure.

[0129] The exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform the method according to the embodiments of the present disclosure.

[0130] refer to Fig.11 , a block diagram of an electronic device 1100 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0131] like Fig.11 As shown, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0132] A plurality of components in the electronic device 1100 are connected to the I / O interface 1105, including: an input unit 1106, an output unit 1107, a storage unit 1108, and a communication unit 1109. The input unit 1106 may be any type of device capable of inputting information to the electronic device 1100, and the input unit 1106 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 1107 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1104 may include, but is not limited to, a disk, an optical disk. The communication unit 1109 allows the electronic device 1100 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0133] like Fig.11 As shown, the computing unit 1101 can be various general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above. For example, in some embodiments, the method of the exemplary embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 1100 via the ROM 1102 and / or the communication unit 1109. In some embodiments, the computing unit 1101 can be configured to execute the method in any other appropriate manner (e.g., by means of firmware).

[0134] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0136] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0137] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0138] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0139] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0140] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0141] Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A channel status confirmation method, characterized in that: include: Displaying a channel preview image on a camera shooting interface, wherein the camera shooting interface has a visual channel positioning mark; When the image area of ​​the channel positioning mark matches the channel area included in the channel preview image, in response to a shooting trigger operation, channel data is sent to a server based on the channel preview image and the image position of the channel positioning mark; The server is used to confirm the channel status based on the channel data, where the channel data includes image data of the channel and channel area positioning data included in the channel.

2. The method according to claim 1, characterized in that The method further comprises: In response to the contour adjustment operation on the channel positioning mark, the range of the image area of ​​the channel positioning mark is updated.

3. The method according to claim 2, characterized in that The channel positioning mark includes a closed channel detection frame, and the contour adjustment operation includes adjusting the area covered by the channel detection frame; When the image area marked by the channel positioning identification matches the channel area included in the channel preview image, the overlap degree between the channel detection frame and the channel area is greater than a preset overlap degree.

4. The method according to claim 2, characterized in that: The channel positioning mark includes a channel detection line, and the contour adjustment operation includes adjusting a position parameter of the channel detection line; When the image area of ​​the channel positioning identification mark matches the channel area included in the channel preview image, the distance between the channel detection line and the outline of the channel area is greater than a preset distance.

5. The method according to claim 1, characterized in that The method further comprises: When the image area marked by the channel positioning mark does not match the channel area included in the channel preview image, the image area marked by the channel positioning mark is updated in response to a moving operation on the channel positioning mark.

6. The method according to any one of claims 1 to 5, characterized in that: The image data of the channel is determined by the channel preview image, and the channel area positioning data is determined by the image area marked by the channel positioning identifier.

7. The method according to any one of claims 1 to 5, characterized in that: The channel data also includes geographical location information of the channel, and the method further includes: When the camera opens the geolocation permission, in response to a shooting trigger operation of the channel preview image, the geographic location information of the channel is obtained.

8. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to the channel status notification information from the server, the channel status notification information is displayed.

9. A channel status confirmation method, characterized in that: The method comprises: Acquire channel data from a terminal, wherein the channel data includes image data of the channel and channel area positioning data included in the channel; If the channel determined based on the image data of the channel matches a preset channel, the channel state is confirmed based on the channel region positioning data and the image data of the channel.

10. The method according to claim 9, characterized in that If the channel matches the preset channel, the texture of the target to be analyzed matches the texture of the preset target; and / or, If the channel matches the preset channel, and if the target to be analyzed is a target text, the content of the target text matches the preset text contained in the preset channel.

11. The method according to claim 9, characterized in that The confirming whether the channel state is an occupied state based on the channel area positioning data and the image data of the channel includes: Extracting a target to be analyzed from the image data of the channel based on the channel region positioning data; If the target to be analyzed matches the preset target, it is determined that the target to be analyzed is the preset target.

12. The method according to claim 9, characterized in that The method further comprises: In response to the confirmation result of the channel status, channel status prompt information is sent to the terminal.

13. A channel status confirmation device, characterized in that: The device comprises: A display module displays a channel preview image on a camera shooting interface, wherein the camera shooting interface has a visual channel positioning mark; A sending module is used to send channel data to a server based on the channel preview image and the image position of the channel positioning identification mark in response to a shooting trigger operation when the image area marked by the channel positioning identification mark matches the channel area included in the channel preview image; the server is used to confirm the channel status based on the channel data, and the channel data includes the image data of the channel and the channel area positioning data included in the channel.

14. A channel status confirmation device, characterized in that: The device comprises: An acquisition module, used for acquiring channel data from a terminal, wherein the channel data includes image data of the channel and channel area positioning data included in the channel; A confirmation module is used to confirm the channel state based on the channel area positioning data and the image data of the channel if the channel determined based on the image data of the channel matches the preset channel.

15. An electronic device, characterized in that: include: processor; and, a memory for storing the program; The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 12.

16. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 12.