CN112135192B - Display and interaction method for camera alarm on client - Google Patents

Display and interaction method for camera alarm on client Download PDF

Info

Publication number
CN112135192B
CN112135192B CN202010818244.6A CN202010818244A CN112135192B CN 112135192 B CN112135192 B CN 112135192B CN 202010818244 A CN202010818244 A CN 202010818244A CN 112135192 B CN112135192 B CN 112135192B
Authority
CN
China
Prior art keywords
button
alarm
client
interface
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010818244.6A
Other languages
Chinese (zh)
Other versions
CN112135192A (en
Inventor
韩芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Shidong Technology Co ltd
Original Assignee
Hangzhou Shidong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Shidong Technology Co ltd filed Critical Hangzhou Shidong Technology Co ltd
Priority to CN202010818244.6A priority Critical patent/CN112135192B/en
Publication of CN112135192A publication Critical patent/CN112135192A/en
Application granted granted Critical
Publication of CN112135192B publication Critical patent/CN112135192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering

Abstract

The invention discloses display and interaction of a camera alarm on a client, which comprises the following steps; s1, the user clicks the button displayed on the client for the first time; s2, quickly clicking the button displayed on the client twice continuously; and S3, rapidly clicking the alarm button on the client for multiple times. The warning state of the camera is consistent with the display of the state of the client button; under the condition of continuously and quickly clicking the alarm button, the client can also correctly send out an alarm or cancel an alarm message; the animation effect of button can let the fine understanding current camera's of user state, promotes user experience and feels.

Description

Display and interaction method for camera alarm on client
Technical Field
The invention relates to the technical field of video communication, in particular to a method for displaying and interacting camera alarm on a client.
Background
With the rise of the internet of things, remote video viewing is continuously popularized in various industries, and especially in an era with very high mobile equipment utilization rate, scenes for viewing remote historical videos by using mobile terminals are more and more. The invention discloses a scheme of a method for displaying and interacting camera alarm on a client. At present, the scheme on a municipal farm is that after a button is clicked, a camera warning message is triggered, the button has no obvious animation, and the button is continuously clicked for many times without immediately closing the button and then starting the warning. The invention triggers the button animation immediately after clicking the alarm button, stops the button animation itself when the camera alarm is finished, stops the animation immediately even if the current button animation is not finished when the user wants to stop the alarm message immediately, and sends the stop alarm message to the camera if the user wants to start the animation again, namely clicks the button quickly, then the button animation is started immediately, and sends the message for starting the alarm to the camera immediately, if the message for closing the alarm is not sent completely, the alarm message is sent again after waiting for the end of the message for closing, the button state displayed by the client corresponds to the click times of the user, and is not influenced by the interface message.
Disclosure of Invention
The invention aims to provide a method for displaying and interacting camera alarm on a client, which aims to solve the problems that after a user clicks an alarm button on the client, the button has no animation and cannot be visually displayed to the user for the current camera state, and the problem that the button state is inconsistent with the camera alarm state when the alarm button is clicked for many times.
In order to achieve the purpose, the invention provides the following technical scheme: a method for displaying and interacting camera alarm on a client is provided.
A display and interaction method of camera alarm on a client comprises the following steps;
s1, the user clicks the button displayed on the client for the first time;
s2, quickly clicking the button displayed on the client twice continuously;
and S3, rapidly clicking the alarm button on the client for multiple times.
Preferably, the S1 includes two cases, the interface is successfully called, the button displays the warning animation, and the camera emits the warning sound; and the interface call fails, and the client displays an interface call failure prompt.
Preferably, S2 includes three cases; when the first interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, the button is still in the animation, the camera also sends the alarm sound, the platform cancellation alarm method is called when the button is clicked for the second time, the button animation is cancelled when the calling is successful, and the camera closes the alarm sound; if the calling fails, the button animation continues, the camera continues to send the alarm sound until the first alarm sound is finished, and the client displays an interface calling failure prompt; when the first interface call fails, the client displays an interface call failure prompt; the client side sends an alarm message by clicking the button for the second time, if the interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, and if the interface is unsuccessfully called, the client side displays an interface calling failure prompt, and the camera does not respond; the first interface call is not returned, the second button is clicked, the client records the second button click event at the moment, and the result of the first button interface call event is waited to be returned; if the first interface calling fails, the client displays a failure prompt, immediately sends an alarm message again, plays the button animation if the calling is successful, sends an alarm sound by the camera, and displays the failure prompt if the calling is failed; if the first interface is successfully called, the client displays the button alarm animation, the camera sends alarm sound, then the recorded second button click event immediately sends a cancel alarm message, the button alarm animation stops if the calling is successful, the camera closes the alarm sound, the client button alarm animation continues if the calling is failed, and the camera continues to send the alarm sound until the first alarm event is finished.
Preferably, the client determines each button event in S3, if the first interface request does not return, the client waits for the first interface event to be processed, and then processes the second click event, and similarly, the client records the subsequent button click event until all user interactions are completed, and what you see is what you get, which conforms to the actual user experience.
Preferably, the button is an alarm button displayed on the client, and the button animation is the alarm animation of the button of the client.
Preferably, after the button is clicked, the camera head generates the alarm sound by calling a platform interface through the client, and the interface returns success, namely the interaction between the representative platform and the camera head succeeds, and the camera head can generate the alarm sound; the failure of the interface call represents that the camera does not receive the event of sending the alarm, and the camera does not send the alarm sound.
Preferably, the interaction between the client and the platform has two modes, one is an interface for sending the alarm message, the other is an interface for canceling the alarm message, the difference between the two modes is that the interface parameters transmitted to the platform are different, and when the alarm message is successfully called, if the camera is sending the alarm sound at the moment, the alarm sound is immediately stopped to be sent.
The invention provides a method for displaying and interacting camera alarm on a client, which has the beneficial effects that:
1. the warning state of the camera is consistent with the state display of the client button;
2. under the condition of continuously and quickly clicking the alarm button, the client can also correctly send out an alarm or cancel an alarm message;
3. the animation effect of button can let the fine understanding current camera's of user state, promotes user experience and feels.
The technical solutions in the embodiments of the present invention are clearly and completely described below, and it is obvious that the description thereof
The embodiments described above are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the invention
Examples of (a) and all that those skilled in the art obtain without making any creative effort
Other embodiments are within the scope of the invention.
The invention provides a technical scheme that: a method for displaying and interacting camera alarm on a client side is provided. Comprises the following steps;
s1, the user clicks the button displayed on the client for the first time; the method comprises two situations, namely, the interface is successfully called, the button displays an alarm animation, and the camera emits an alarm sound; the interface calling fails, and the client displays an interface calling failure prompt;
s2, quickly clicking the button displayed on the client twice continuously; three situations are involved:
when the first interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, the button is still in the animation, the camera also sends the alarm sound, the platform cancellation alarm method is called when the button is clicked for the second time, the button animation is cancelled when the calling is successful, and the camera closes the alarm sound; if the calling fails, the button animation continues, the camera continues to send the alarm sound until the first alarm sound is finished, and the client displays an interface calling failure prompt;
when the first interface call fails, the client displays an interface call failure prompt; the client side sends an alarm message by clicking the button for the second time, if the interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, and if the interface is unsuccessfully called, the client side displays an interface calling failure prompt, and the camera does not respond;
the first interface call is not returned, the second button is clicked, the client records the second button click event at the moment, and the result of the first button interface call event is waited to be returned; if the first interface calling fails, the client displays a failure prompt, immediately sends an alarm message again, plays the button animation if the calling is successful, sends an alarm sound by the camera, and displays the failure prompt if the calling is failed; if the first interface is successfully called, the client displays a button alarm animation, the camera sends an alarm sound, then a recorded second button click event immediately sends a cancellation alarm message, the button alarm animation stops if the calling is successful, the camera closes the alarm sound, the client button alarm animation continues if the calling is failed, and the camera continues to send the alarm sound until the first alarm event is finished;
s3, rapidly clicking the alarm button on the client for many times, the client can judge the button event every time, if the first interface request does not come back, the client can wait for the first interface event to be processed, then processes the second click event, and similarly, the third and fourth events, namely the first event is not processed, the subsequent click is performed again, the subsequent button click events are recorded by the client until all user interactions are completed, and what you see is what you get, the method accords with the actual user experience;
the button is an alarm button displayed on the client, the button animation is the alarm animation of the client button, after the button is clicked, the camera can make an alarm sound, the alarm is realized by calling a platform interface by the client, the interface returns successfully, namely the interaction between the platform and the camera is successful, and the camera can make the alarm sound; if the interface call fails, the camera does not receive the event to send the alarm, and the camera does not send the alarm sound; the interaction mode between the client and the platform is two, one is an interface for sending the alarm message, the other is an interface for canceling the alarm message, the difference between the two is that the interface parameters transmitted to the platform are different, and when the alarm message is successfully called, if the camera is sending the alarm sound at the moment, the alarm sound is immediately stopped.
All the electrical components in the present application are connected with the power supply adapted to the electrical components through the wires, and an appropriate controller should be selected according to actual conditions to meet the control requirements, and specific connection and control sequences should be obtained.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (1)

1. A display and interaction method of camera alarm on a client is characterized by comprising the following steps:
s1, the user clicks the button displayed on the client for the first time; the method comprises two situations, namely, the interface is successfully called, the button displays an alarm animation, and the camera emits an alarm sound; the interface calling fails, and the client displays an interface calling failure prompt;
s2, quickly clicking the button displayed on the client twice continuously; three situations are involved:
when the first interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, the button is still in the animation, the camera also sends the alarm sound, the platform cancellation alarm method is called when the button is clicked for the second time, the button animation is cancelled when the calling is successful, and the camera closes the alarm sound; if the calling fails, the button animation continues, the camera continues to send the alarm sound until the first alarm sound is finished, and the client displays an interface calling failure prompt;
when the first interface call fails, the client displays an interface call failure prompt; the client side sends an alarm message by clicking the button for the second time, if the interface is successfully called, the button displays an alarm animation, the camera sends an alarm sound, and if the interface is unsuccessfully called, the client side displays an interface calling failure prompt, and the camera does not respond;
the first interface call is not returned, the second button is clicked, the client records the second button click event at the moment, and the result of the first button interface call event is waited to be returned; if the first interface calling fails, the client displays a failure prompt, immediately sends an alarm message again, plays the button animation if the calling is successful, and sends an alarm sound if the calling is failed, and displays the failure prompt if the calling is failed; if the first interface is successfully called, the client displays a button alarm animation, the camera sends an alarm sound, then a recorded second button click event immediately sends a cancel alarm message, the button alarm animation stops if the calling is successful, the camera closes the alarm sound, and the client continues the button alarm animation if the calling is unsuccessful, and the camera continues to send the alarm sound until the first alarm event is finished;
s3, rapidly clicking the alarm button on the client for multiple times, judging the button event at each time by the client, waiting for the first interface event to be processed if the first interface request does not return, processing the second click event, and similarly, recording the subsequent button click events by the client until all user interaction is completed if the first interface event is not processed, and clicking again;
the button is an alarm button displayed on the client, the button animation is the alarm animation of the client button, after the button is clicked, the camera emits alarm sound, the alarm sound is realized by calling a platform interface through the client, the interface returns success, namely the interaction between the platform and the camera succeeds, and the camera emits the alarm sound; if the interface call fails, the camera does not receive the event to send the alarm, and the camera does not send the alarm sound; the interaction mode between the client and the platform is two, one is an interface for sending the alarm message, the other is an interface for canceling the alarm message, the difference between the two is that the interface parameters transmitted to the platform are different, and when the alarm message is successfully called, if the camera is sending the alarm sound at the moment, the alarm sound is immediately stopped.
CN202010818244.6A 2020-08-14 2020-08-14 Display and interaction method for camera alarm on client Active CN112135192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010818244.6A CN112135192B (en) 2020-08-14 2020-08-14 Display and interaction method for camera alarm on client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010818244.6A CN112135192B (en) 2020-08-14 2020-08-14 Display and interaction method for camera alarm on client

Publications (2)

Publication Number Publication Date
CN112135192A CN112135192A (en) 2020-12-25
CN112135192B true CN112135192B (en) 2022-09-13

Family

ID=73850823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010818244.6A Active CN112135192B (en) 2020-08-14 2020-08-14 Display and interaction method for camera alarm on client

Country Status (1)

Country Link
CN (1) CN112135192B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472594A (en) * 2002-06-04 2004-02-04 ����ŷ�������ʽ���� Electronic camera and alarming control thereof
KR20060100224A (en) * 2005-03-14 2006-09-20 소니 가부시끼 가이샤 Related information successively outputting method related information successively providing method related information successively outputting apparatus related information successively providing apparatus related information successively outputting
WO2017195176A1 (en) * 2016-05-12 2017-11-16 Ari Kahn Interactive time delayed transactions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180136612A1 (en) * 2016-11-14 2018-05-17 Inspr LLC Social media based audiovisual work creation and sharing platform and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472594A (en) * 2002-06-04 2004-02-04 ����ŷ�������ʽ���� Electronic camera and alarming control thereof
KR20060100224A (en) * 2005-03-14 2006-09-20 소니 가부시끼 가이샤 Related information successively outputting method related information successively providing method related information successively outputting apparatus related information successively providing apparatus related information successively outputting
WO2017195176A1 (en) * 2016-05-12 2017-11-16 Ari Kahn Interactive time delayed transactions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
骆杨.《基于iOS的家校沟通软件的设计与实现》.《中国优秀硕士学位论文全文数据库》.2016, *

Also Published As

Publication number Publication date
CN112135192A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN108881779B (en) Method, system and server for answering and transferring video calls between intelligent devices
CN105635625B (en) Video call method and device
US6915331B2 (en) End user control of a teleconferencing network through a data network
US20140282083A1 (en) Method and apparatus for monitoring chat sessions in a contact center
US9635179B1 (en) Consumer care system
US20180359356A1 (en) Prompting method and apparatus
CN112104598A (en) Information sending method and device, electronic equipment and storage medium
CN112135192B (en) Display and interaction method for camera alarm on client
CN110446109B (en) Method for preventing terminal from being touched by mistake during video playing, storage medium and terminal
CN107995100A (en) Unread message methods of exhibiting and device in a kind of WebRTC systems
CN101626481A (en) Method and terminals for sharing file among terminals
CN110719426A (en) Video message leaving method and device, electronic equipment and storage medium
CN105573180A (en) Control method and system of terminal
CN108829249B (en) Voice information playing method and device in virtual reality scene
CN109086123A (en) Moving method, device, terminal, server and the storage medium of utility cession
CN114168211A (en) Method for associating Android application with Linux screen locking mechanism during system compatibility
TW200843470A (en) Communication Framework and Method and System for Providing a Real-Time Audio and/or Video Signal
CN112565852A (en) Multi-device interaction method and device, electronic device and storage medium
CN112235386A (en) Remote assistance method based on intelligent terminal, terminal and storage medium
CN110895927A (en) Intelligent remote voice communication error prevention system
WO2004077805A2 (en) Enhanced call queuing system
CN110808888A (en) Method, device, terminal and storage medium for forwarding AIoT equipment information
CN117640828A (en) Man-machine ratio adjusting method and system
CN112995563B (en) Method, system and storage medium for realizing customer service hotline video service
CN115865870A (en) Audio and video intercommunication method and device, electronic equipment and storage medium

Legal Events

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