Recorder control method, control device, electronic device and storage medium

By generating control instructions to obtain and upload the target data of the recorder, the complexity of the recorder operation is solved, and the rapid data collection and uploading in an emergency state is realized, reducing the complexity of user operations and improving security.

CN115016368BActive Publication Date: 2024-11-12CHENGDU TD TECH LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110246007.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-05
Publication Date
2024-11-12
Estimated Expiration
2041-03-05

AI Technical Summary

Technical Problem

Existing recorders are complex in the operation of quickly recording information and cannot meet the user's needs for fast recording.

Method used

By determining that the current emergency is in accordance with the input information, controlling instructions are generated to instruct the recorder to obtain target data and prohibit sound and light information, and upload the data to the server, the operation process of the recorder is simplified.

Benefits of technology

It realizes the acquisition and uploading of target data without complex operations in an emergency situation, reduces the complexity of user operations, and automatically prohibits sound and light information when powered on, improving user safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115016368B_ABST
    Figure CN115016368B_ABST
Patent Text Reader

Abstract

The present application provides a recorder control method, control device, electronic device and storage medium. After determining that the current state is in an emergency state through current input information, a first control instruction and a second control instruction are generated; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data and warning information; the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information; and then upload the target data to the server. In the above control process, after the recorder determines that it is in an emergency state, the recorder is controlled to collect and upload the target data without emitting sound information and light information, thereby avoiding the problem of cumbersome operation when the user needs to use the recorder to obtain the target data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a recorder control method, a control device, an electronic device and a storage medium. Background Art

[0002] At present, recorders are widely used in various fields of life as an information recording tool. They can be used to record video image information and position change information.

[0003] However, when users need to quickly record information through a recorder, traditional recorders usually require a series of complex manual button control operations such as power on and video recording, which cannot meet the user's needs for fast recording.

[0004] Therefore, how to quickly record information in a recorder is an issue that needs to be solved urgently. Summary of the invention

[0005] The present application provides a recorder control method, a control device, an electronic device and a storage medium, which are used to solve the problem of complex recorder information recording operation in the prior art.

[0006] A first aspect of the present application provides a recorder control method, the method comprising:

[0007] Based on the current input information, it is determined that the current state is emergency.

[0008] Generate a first control instruction and a second control instruction; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data and warning information; the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information.

[0009] The target data is uploaded to the server.

[0010] In a possible implementation manner, before generating the first control instruction and the second control instruction, the method further includes:

[0011] Get the current working status of the recorder.

[0012] The generating of the first control instruction and the second control instruction includes: if the recorder is currently in a powered-on state, generating the first control instruction and the second control instruction.

[0013] In a possible implementation, after obtaining the current working status of the recorder, the method further includes:

[0014] If the recorder is currently in the shutdown state, a third control instruction and a fourth control instruction are generated; wherein the third control instruction is used to control the recorder to start up; and the fourth control instruction is used to instruct the recorder to prohibit emitting sound information and light information during the startup process.

[0015] In a possible implementation, after determining that the current state is an emergency state according to the current input information, the method further includes:

[0016] Receive external requests from servers and / or other loggers.

[0017] Generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

[0018] In a possible implementation, before uploading the target data to the server, the method further includes:

[0019] Get the current user login status.

[0020] The uploading of the target data to the server includes: if the current user login status is online, uploading the target data to the server.

[0021] In a possible implementation, after obtaining the current user login status, the method further includes: if the current user login status is offline, repeatedly performing the login operation according to pre-stored user login information until the user login status is online.

[0022] In a possible implementation, after obtaining the current user login status, it also includes: if the current user login status is online, determining the contact user in an emergency state based on the user information of the logged-in user; wherein the contact user in the emergency state includes the preset user recorded in the user information or the user of the last call.

[0023] The target data is sent to the contact user.

[0024] In a possible implementation, the recorder is provided with an alarm button; and the step of determining that the current state is an emergency state according to the current input information includes:

[0025] If it is detected that the pressing state of the alarm button meets the preset first trigger rule, it is determined that the current state is an emergency state; wherein the first trigger rule includes at least one of the following: the number of long presses meets the first threshold, and the number of short presses meets the second threshold.

[0026] In a possible implementation, after determining that the current state is an emergency state according to the current input information, the method further includes:

[0027] Based on the current input information, determine whether the emergency state is currently out of the question.

[0028] A fifth control instruction is generated, wherein the fifth control instruction is used to instruct the recorder to allow sound information and light information to be emitted.

[0029] In a possible implementation, the recorder is provided with an alarm button; and the step of determining that the current state of emergency is out of the state of emergency according to the current input information includes:

[0030] If it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited; wherein, the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

[0031] In a possible implementation, the sound information includes sound information emitted by a buzzer of the recorder; the light information includes light information emitted by an indicator light of the recorder and / or light information emitted by a display screen of the recorder.

[0032] In a second aspect, the present application provides a recorder control device, the device comprising:

[0033] The first determining unit is used to determine that the current state is an emergency state according to the current input information.

[0034] The first generating unit is used to generate a first control instruction and a second control instruction; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data and warning information; the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information.

[0035] The first uploading unit is used to upload the target data to the server.

[0036] In a possible implementation, the device further includes:

[0037] The first acquisition unit is used to acquire the current working state of the recorder before the first generation unit generates the first control instruction and the second control instruction.

[0038] The first generation unit is specifically used for:

[0039] If the recorder is currently in the power-on state, the first control instruction and the second control instruction are generated.

[0040] In a possible implementation, the device further includes:

[0041] The second generating unit is used to generate a third control instruction and a fourth control instruction after the first acquiring unit acquires the current working status of the recorder, if the recorder is currently in a shutdown state; wherein the third control instruction is used to control the power-on of the recorder; and the fourth control instruction is used to instruct the recorder to prohibit emitting sound information and light information during the power-on process.

[0042] In a possible implementation, the device further includes

[0043] The first receiving unit is used to receive an external request sent by a server and / or other recorders after the first determining unit determines that the current state is an emergency state according to the current input information.

[0044] The third generating unit is used to generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

[0045] In a possible implementation, the device further includes:

[0046] The second acquisition unit is used to acquire the current user login status before the first uploading unit uploads the target data to the server.

[0047] The first uploading unit is specifically used for:

[0048] If the current user login status is online, the target data is uploaded to the server.

[0049] In a possible implementation, the device further includes:

[0050] The first execution unit is used to repeatedly execute the login operation according to pre-stored user login information after the second acquisition unit acquires the current user login status, if the current user login status is offline, until the user login status is online.

[0051] In a possible implementation, the device further includes:

[0052] The second determination unit is used to determine the contact user in an emergency state according to the user information of the logged-in user after the second acquisition unit acquires the current user login state, if the current user login state is online, wherein the contact user in the emergency state includes the preset user recorded in the user information or the user of the last call.

[0053] The second uploading unit is used to send the target data to the contact user.

[0054] In a possible implementation, the recorder is provided with an alarm button; and the first determination unit is specifically configured to:

[0055] If it is detected that the pressing state of the alarm button meets the preset first trigger rule, it is determined that the current state is an emergency state; wherein the first trigger rule includes at least one of the following: the number of long presses meets the first threshold, and the number of short presses meets the second threshold.

[0056] In a possible implementation, the device further includes:

[0057] The third determining unit is used to determine that the current state is out of the emergency state according to the current input information after the first determining unit determines that the current state is in the emergency state according to the current input information.

[0058] The fourth generating unit is used to generate a fifth control instruction, wherein the fifth control instruction is used to instruct the recorder to allow the emission of sound information and light information.

[0059] In a possible implementation, the recorder is provided with an alarm button; and the third determination unit is specifically configured to:

[0060] If it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited; wherein, the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

[0061] In a possible implementation, the sound information includes sound information emitted by a buzzer of the recorder; the light information includes light information emitted by an indicator light of the recorder and / or light information emitted by a display screen of the recorder.

[0062] In a third aspect, the present application provides an electronic device, including: a memory, a processor;

[0063] Memory; Memory for storing instructions executable by the processor;

[0064] Wherein, the processor is used to execute the method as described in any one of the first aspects according to the executable instructions.

[0065] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.

[0066] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method as described in any one of the first aspects.

[0067] The present application provides a recorder control method, a control device, an electronic device and a storage medium. After determining that the current state is in an emergency state through current input information, a first control instruction and a second control instruction are generated; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data and warning information; the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information; and then upload the target data to the server. In the above control process, after the recorder determines that it is in an emergency state, it can control the recorder to collect and upload the target data without emitting sound information and light information, thereby avoiding the problem of cumbersome operation when the user needs to use the recorder to obtain target data in an emergency. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0069] Figure 1 This is a schematic diagram of the application scenario of the recorder;

[0070] Figure 2 A flow chart of a recorder control method provided in an embodiment of the present application;

[0071] Figure 3 A flowchart of another recorder control method provided in an embodiment of the present application;

[0072] Figure 4 A flowchart of another recorder control method provided in an embodiment of the present application;

[0073] Figure 5 A flowchart of another recorder control method provided in an embodiment of the present application;

[0074] Figure 6 A schematic diagram of the structure of a recorder control device provided in an embodiment of the present application;

[0075] Figure 7 A structural schematic diagram of another recorder control device provided in an embodiment of the present application;

[0076] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0077] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0078] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0079] At present, the recorder is a kind of information recorder that can be used to record and store video images and sound information. For example, a driving recorder can be installed in a vehicle to record the video and image information of the vehicle during driving, and in the event of a traffic accident, the information recorded by the recorder can also be used as a reference. In addition, the recorder can also be used as an evidence collection device for staff during office work. Figure 1 This is a schematic diagram of the application scenario of the recorder, such as Figure 1 As shown, it includes recorder 1, recorder 2, recorder 3 and server 4. Among them, the recorder can be installed in each vehicle respectively, and the server can be set at a remote end, such as a traffic system and a safety system. The recorder can collect and record various data around it, such as but not limited to image data, video data, etc., and upload these data to the server. The server can store the received data to support data query, call and analysis. It should be noted that the server and the recorder can support communication interaction, for example, the recorder uploads data to the server, and the recorder and the server send requests to each other. In practical applications, there can be many ways for the recorder and the server to communicate, such as but not limited to the fourth generation mobile information system (4th generation mobile communication technology, referred to as 4G), the fifth generation mobile communication technology (5th generation mobile networks, referred to as 5G), etc.

[0080] When recording, the existing recorder first requires the user to trigger the power button. When the user needs to record a video, he needs to trigger one or more buttons on the recorder in sequence to start the video and sound collection function of the recorder. And when the user needs to send the collected information to a remote server or store it in the cloud, he still needs to select the video or audio and trigger the upload button to achieve it.

[0081] However, due to the complexity of the recorder operation, the user cannot quickly record the desired events. For example, when the user wants to use the recorder to record some short-lived events, the complex recording function activation operation of the existing recorder will make the recorder unable to record the short-lived events that the user wants to record. Or, when the user is in a dangerous situation and it is inconvenient to perform too many operations on the recorder, the existing recorder cannot meet the user's needs. The recorder control method, control device, electronic device and storage medium provided in the present application are intended to solve the above technical problems of the prior art.

[0082] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0083] Figure 2 A flow chart of a recorder control method provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0084] 101. According to the current input information, it is determined that the current state is an emergency state.

[0085] For example, when the user wants to quickly start the recording function of the recorder, the user can input characteristic information to the recorder. After the recorder receives the user's current input information, the recorder determines that the current user is in an emergency state, that is, the current user needs to quickly start the recording function of the recorder.

[0086] In one example, a voice input module is provided in the recorder, and the recorder can analyze the input voice information to determine that the user is in an emergency state. For example, when performing voice analysis, the voice input by the user can be compared with preset keywords. If the voice input by the user has a high matching degree with the preset keywords, it is confirmed that the user is currently in an emergency state.

[0087] In one example, information can be input to the recorder by triggering a key according to certain rules, so that the recorder can determine that it is currently in an emergency state. For example, an emergency button can be set and triggered. Alternatively, information can be input by touching a single button on the recorder for a long time, or by touching multiple buttons on the recorder at the same time.

[0088] 102. Generate a first control instruction and a second control instruction; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data, and warning information; the second control instruction is used to instruct the recorder to prohibit emitting sound information and light information.

[0089] Exemplarily, after step 101, the recorder generates a first control instruction and a second control instruction, wherein the first control instruction can be used to control the recorder to obtain target data. The second control instruction can be used to prohibit the recorder from emitting sound information or light information. The target data includes at least one of the following data: positioning data, video data, and warning information.

[0090] In one example, the recorder includes a controller, and the controller can confirm that it is currently in progress based on input information. Therefore, at this time, the controller will generate a first control instruction and send the first control instruction to the video acquisition device, audio acquisition device, and positioning device in the recorder, so as to obtain video data and positioning data based on these devices. In addition, when the recorder has an alarm function, the controller can also obtain the warning information generated by the alarm device. When the controller generates the first control instruction, the controller will also generate a second control instruction and send the second control instruction to the display device in the recorder, such as the display screen, indicator light, voice output device, and other display devices in the recorder, so that the recorder is prohibited from emitting light information and sound information in an emergency state.

[0091] 103. Upload target data to the server.

[0092] Exemplarily, after the recorder collects the target data, the collected target data is directly uploaded to the server corresponding to the recorder.

[0093] In this embodiment, through the above recorder control method, when the recorder confirms that the current state is an emergency state based on the input information, the target data can be directly collected according to the generated control instructions, and the collected target data can be automatically uploaded to the server corresponding to the recorder, reducing the complexity of user operations. In addition, when the recorder is collecting targets, the recorder is also prohibited from emitting light information and sound information, thereby avoiding the user using the recorder to obtain target data in a dangerous state. The sound and light design of the traditional recorder is prohibited, so that when the user obtains the target data, the light information or sound information emitted by the recorder will not expose his own operation, thereby ensuring the safety of the user.

[0094] Figure 3 A flow chart of another recorder control method provided in an embodiment of the present application. Figure 3 As shown, the method includes:

[0095] 201. According to the current input information, it is determined that the current state is an emergency state.

[0096] For example, the principle of this step can be found in Figure 2 Step 101 in the above is not described in detail.

[0097] 202. Get the current working status of the recorder.

[0098] For example, after determining that the current state is an emergency, it is also necessary to obtain the working state of the recorder.

[0099] For example, the working state can be divided into a power-on state and a power-off state. The controller in the recorder can determine whether the recorder is currently in the power-on state or the power-off state according to the power-on state of each component in the recorder.

[0100] 203. If the recorder is currently in a powered-on state, a first control instruction and a second control instruction are generated.

[0101] For example, after determining that the current recorder is in the power-on state, a first control instruction and a second control instruction may be generated. For details, the principles of the first control instruction and the second control instruction may be found in Figure 2 Step 102.

[0102] 204. If the recorder is currently in a shutdown state, a third control instruction and a fourth control instruction are generated; wherein the third control instruction is used to control the recorder to start up; and the fourth control instruction is used to instruct the recorder to prohibit emitting sound information and light information during the startup process.

[0103] For example, when the recorder is in the off state, the recorder generates a third control instruction for controlling the recorder to start up and a fourth control instruction for controlling the recorder to prohibit the recorder from emitting sound information and light information during the start-up process. After the recorder is started up, step 203 may be performed next.

[0104] 205. Upload target data to the server.

[0105] For example, the principle of this step can be found in Figure 2 Step 101 in the above is not described in detail.

[0106] In this embodiment, before generating the first control instruction and the second control instruction, the recorder will also detect the working state of the recorder. Through the method in the above embodiment, when the recorder is in the off state, the control instruction can still be generated, so that the recorder can automatically start up without sending sound information and light information, and continue to perform the target data collection work without the user performing additional startup operations, thereby reducing the complexity of the operation. At the same time, by prohibiting the sending of sound information and light information when starting up, it is difficult for the outside world to detect the user's operation, thereby ensuring the safety of the user during the target data collection process.

[0107] Figure 4 A flowchart of another recorder control method provided in an embodiment of the present application is shown below. Figure 4 As shown, the method comprises the following steps:

[0108] 301. According to the current input information, it is determined that the current state is an emergency state.

[0109] For example, the principle of this step can be found in Figure 2 Step 101 in the above is not described in detail.

[0110] 302. Generate a first control instruction and a second control instruction; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data, and warning information; the second control instruction is used to instruct the recorder to prohibit emitting sound information and light information.

[0111] For example, the principle of this step can be found in Figure 2 Step 102 in the above is not described in detail.

[0112] 303. Receive external requests sent by the server and / or other recorders.

[0113] Exemplarily, after step 301, that is, when it is determined that the current state is an emergency, the recorder may also receive external requests sent by the server corresponding to the recorder and / or other recorders, such as a video return request sent by the server, a call request sent by other recorders, etc. Specifically, step 303 may occur simultaneously with step 302, or after step 302.

[0114] 304. Generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

[0115] Exemplarily, after step 303, when the recorder receives the external request, it generates a sixth control instruction for instructing the recorder to keep collecting target data and respond to the external request. For example, a call connection is established with other recorders, and a video return operation is performed to the server. That is, the recorder responds to the external request without emitting sound information and light information, and the acquisition process of the recorder is not interrupted while responding to the external request.

[0116] 305. Get the current user login status.

[0117] Exemplarily, after step 302, the recorder needs to obtain the current login status of the user. For example, the user login status includes: online status and offline status.

[0118] 306. If the current user login status is online, upload the target data to the server.

[0119] Exemplarily, when the recorder detects that the current user's login status is online, the acquired target data is directly uploaded to the current corresponding server.

[0120] 307. If the current user login status is offline, the login operation is repeated according to the pre-stored user login information until the user login status is online.

[0121] Exemplarily, when the recorder detects that the current user login status is offline, the recorder uses the user login information pre-stored in the recorder, such as the login name and login password, to repeat the login operation until the user login status is converted from offline to online.

[0122] For example, when the recorder is turned on for the first time, the user's login information will generally be stored. When it is turned on next time, the recorder will automatically perform the user login operation. However, when the user fails to log in to the recorder when the user is turned on, the recorder will continue to repeat the login operation. In one case, when the user login fails due to the unstable current network status of the recorder, the recorder will continue to try to log in based on the user's login information that has been stored until the user logs in successfully.

[0123] 308. If the current user login status is online, determine the contact user in the emergency state according to the user information of the logged-in user; wherein the contact user in the emergency state includes the preset user recorded in the user information or the user of the last call.

[0124] For example, after step 305, if it is determined that the user's login status is online, the user information of the logged-in user is searched, and the contact user in the emergency state is identified from the user information. The contact user in the emergency state may be a user pre-set by the user or a user that the logged-in user last called and obtained by searching the user information.

[0125] 309. Send target data to the contact user.

[0126] Exemplarily, after determining the contact user in the emergency state, the recorder will send the acquired target data to the contact user.

[0127] In the embodiment of the present application, when it is determined that the current state is an emergency, if the recorder still receives an external request, the recorder will respond to the external information without emitting sound information and light information, and will not interrupt the acquisition process of the target data of the recorder while responding, thereby avoiding the recorder from emitting sound or light information when receiving an external request, causing the sound information and light information emitted by the recorder to expose the user's intention to collect target data, and avoiding the external request interrupting the process of obtaining target data, thereby ensuring the integrity of the recorder's acquisition of target data. In addition, before uploading data, it is necessary to obtain the user's login information, and when the user is online, the target data can also be sent to the preset contact user in the emergency state or the contact user of the last call, so that the user can send the target data to the contact user, inform the contact user that the user is currently in an emergency state, and obtain the video information and positioning information in the target data collected by the user, so that the user can get help in time in an emergency.

[0128] Figure 5 The flowchart of another recorder control method provided in the embodiment of the present application is shown in FIG. 1 , wherein an alarm button is provided in the recorder. Figure 5 As shown, the method includes:

[0129] 401. If it is detected that the pressing state of the alarm button satisfies a preset first trigger rule, it is determined that the current state is an emergency state; wherein the first trigger rule includes at least one of the following: the number of long presses satisfies a first threshold, and the number of short presses satisfies a second threshold.

[0130] Exemplarily, an alarm button is provided in the recorder. When the recorder detects that the user triggers the alarm button, that is, the pressing state of the alarm button satisfies the first trigger rule, it can be determined that the recorder is in an emergency state. In addition, the first trigger rule may include at least one of the following: the number of long presses satisfies the first threshold value and the number of short presses satisfies the second threshold value. For example, the first trigger rule may be long press once and short press three times.

[0131] 402. Determine that the current emergency state is no longer in effect based on the current input information;

[0132] In one example, if it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited, wherein the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

[0133] Exemplarily, after determining that the user is in an emergency state, if it is detected that the user triggers the alarm button through the second trigger rule, it is determined that the current user is out of the emergency state. The second trigger rule may include: the number of long presses meets the third threshold, the number of short presses meets the fourth threshold, and the first trigger rule and the second trigger rule may be different or the same, and there is no specific limitation here. For example, the second trigger rule may also be long press once and short press three times.

[0134] 403. Generate a fifth control instruction, where the fifth control instruction is used to instruct the recorder to allow sound information and light information to be emitted.

[0135] Exemplarily, after confirming that the user is out of the emergency state, the recorder generates a fifth instruction that allows the recorder to emit sound information and light information. When the sound information and light information are allowed to be emitted, the recorder will emit sound information and light information when it is turned on or receives an external request. For example, when the recorder is turned on, a power-on prompt sound will be emitted and the display screen will be lit. When receiving an external request, the indicator light in the recorder will light up according to a certain pattern.

[0136] In one example, when the recorder is provided with an indicator light and a buzzer, the sound information includes the sound information emitted by the buzzer of the recorder; the light information includes the light information emitted by the indicator light of the recorder and / or the light information emitted by the display screen of the recorder.

[0137] In this embodiment, when the recorder confirms that the user is in an emergency state, the recorder will prohibit the emission of sound information and light information. If the recorder confirms that it is out of an emergency state by inputting information, a fifth control instruction will be generated to allow the recorder to emit sound information and light information, that is, the recorder can emit sound information and light information normally. In addition, in this embodiment, it can be determined whether the user is in an emergency state or out of an emergency state by the trigger rules satisfied by the pressing state of the alarm button set by the recorder. Among them, the trigger rules in the two states can be the same or different. That is, through the above method, the recorder can be restored to a normal working state, so that in a normal working state, the sound information and light information emitted by the recorder can serve as a prompt to the user.

[0138] It should be noted that this embodiment can be combined with any of the above embodiments, and step 402 can occur after uploading the target data and / or sending the target data to the contact user, or at any time after the emergency state is determined, without limitation here.

[0139] Figure 6 This is a schematic diagram of the structure of a recorder control device provided in an embodiment of the present application. Figure 6 As shown, the device comprises:

[0140] The first determining unit 51 is used to determine that the current state is an emergency state according to the current input information.

[0141] The first generating unit 52 is used to generate a first control instruction and a second control instruction; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data and warning information; the second control instruction is used to instruct the recorder to prohibit emitting sound information and light information.

[0142] The first uploading unit 53 is used to upload target data to the server.

[0143] The device provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar and will not be described in detail.

[0144] Figure 7 This is a schematic diagram of the structure of another recorder control device provided in an embodiment of the present application. Figure 7 As shown, in Figure 6 Based on the device shown, the device further includes:

[0145] The first acquisition unit 61 is used to acquire the current working state of the recorder before the first generation unit 52 generates the first control instruction and the second control instruction.

[0146] The first generating unit 52 is specifically configured to:

[0147] If the recorder is currently in the power-on state, a first control instruction and a second control instruction are generated.

[0148] In a possible implementation, the device further includes:

[0149] The second generation unit 62 is used to generate a third control instruction and a fourth control instruction after the first acquisition unit 61 acquires the current working status of the recorder, if the recorder is currently in the shutdown state; wherein the third control instruction is used to control the power-on of the recorder; and the fourth control instruction is used to instruct the recorder to prohibit emitting sound information and light information during the power-on process.

[0150] In a possible implementation, the device further includes

[0151] The first receiving unit 63 is configured to receive an external request sent by a server and / or other recorders after the first determining unit 51 determines that the current state is an emergency state according to the current input information.

[0152] The third generating unit 64 is used to generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

[0153] In a possible implementation, the device further includes:

[0154] The second acquisition unit 65 is used to acquire the current user login status before the first uploading unit uploads the target data to the server.

[0155] The first uploading unit 53 is specifically used for:

[0156] If the current user login status is online, upload the target data to the server.

[0157] In a possible implementation, the device further includes:

[0158] The first execution unit 66 is used to, after the second acquisition unit 65 acquires the current user login status, if the current user login status is offline, repeatedly execute the login operation according to the pre-stored user login information until the user login status is online.

[0159] In a possible implementation, the device further includes:

[0160] The second determination unit 67 is used to determine the contact user in an emergency state according to the user information of the logged-in user after the second acquisition unit 65 acquires the current user login state, if the current user login state is online. The contact user in the emergency state includes the preset user recorded in the user information or the user of the last call.

[0161] The second uploading unit 68 is used to send the target data to the contact user.

[0162] In a possible implementation, the recorder is provided with an alarm button; the first determination unit 52 is specifically configured to:

[0163] If it is detected that the pressing state of the alarm button meets the preset first trigger rule, it is determined that the current state is an emergency state, and the first trigger rule includes at least one of the following: the number of long presses meets the first threshold, and the number of short presses meets the second threshold.

[0164] In a possible implementation, the device further includes:

[0165] The third determining unit 69 is used to determine that the current state is out of the emergency state according to the current input information after the first determining unit 51 determines that the current state is in the emergency state according to the current input information.

[0166] The fourth generating unit 60 is used to generate a fifth control instruction, where the fifth control instruction is used to instruct the recorder to allow the sound information and light information to be emitted.

[0167] In a possible implementation, the recorder is provided with an alarm button; the third determination unit 69 is specifically used for:

[0168] If it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited, and the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

[0169] In a possible implementation, the sound information includes sound information emitted by a buzzer of the recorder; the light information includes light information emitted by an indicator light of the recorder and / or light information emitted by a display screen of the recorder.

[0170] The device provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar and will not be described in detail.

[0171] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the electronic device includes:

[0172] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 294 to execute the method of the above embodiment.

[0173] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0174] The memory 292 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.

[0175] The memory 292 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.

[0176] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method provided in the above embodiment.

[0177] The present application provides a computer program product, including a computer program, which implements the method provided in the above embodiment when the computer program is executed by a processor.

[0178] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0179] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A recorder control method, characterized in that: The method comprises: According to the current input information, it is determined that the current state is an emergency state; Get the current working status of the recorder; If the recorder is currently in the power-on state, a first control instruction and a second control instruction are generated; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data, and warning information; the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information; If the recorder is currently in a shutdown state, a third control instruction and a fourth control instruction are generated; wherein the third control instruction is used to control the recorder to start up; and the fourth control instruction is used to instruct the recorder to prohibit the emission of sound information and light information during the startup process; The target data is uploaded to the server.

2. The method according to claim 1, characterized in that: According to the current input information, after determining that the current state is an emergency, it also includes: Receive external requests from servers and / or other loggers; Generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

3. The method according to claim 1, characterized in that Before uploading the target data to the server, the method further includes: Get the current user login status; The uploading of the target data to the server comprises: If the current user login status is online, the target data is uploaded to the server.

4. The method according to claim 3, characterized in that After obtaining the current user login status, the method further includes: If the current user login status is offline, the login operation is repeated according to the pre-stored user login information until the user login status is online.

5. The method according to claim 3, characterized in that: After obtaining the current user login status, the method further includes: If the current user login status is online, determine the contact user in the emergency state according to the user information of the logged-in user; wherein the contact user in the emergency state includes the preset user recorded in the user information or the user of the last call; The target data is sent to the contact user.

6. The method according to claim 1, characterized in that The recorder is provided with an alarm button; the step of determining that the current state is in an emergency according to the current input information includes: If it is detected that the pressing state of the alarm button meets the preset first trigger rule, it is determined that the current state is an emergency state; wherein the first trigger rule includes at least one of the following: the number of long presses meets the first threshold, and the number of short presses meets the second threshold.

7. The method according to claim 1, characterized in that After determining that the current state is in an emergency state according to the current input information, the method further includes: According to the current input information, it is determined that the current state of emergency has been eliminated; Generate a fifth control instruction; wherein the fifth control instruction is used to instruct the recorder to allow the emission of sound information and light information.

8. The method according to claim 7, characterized in that The recorder is provided with an alarm button; the step of determining that the current state of emergency is out of the state of emergency according to the current input information comprises: If it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited; wherein, the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

9. The method according to any one of claims 1 to 8, characterized in that The sound information includes the sound information emitted by the recorder's buzzer; the light information includes the light information emitted by the recorder's indicator light and / or the light information emitted by the recorder's display screen.

10. A recorder control device, characterized in that: The device comprises: A first determining unit, used to determine that the current state is an emergency state according to current input information; A first acquisition unit, used to acquire the current working status of the recorder; A first generating unit is used to generate a first control instruction and a second control instruction if the recorder is currently in a powered-on state; wherein the first control instruction is used to instruct the recorder to obtain target data, and the target data includes at least one of the following: positioning data, video data, and warning information; and the second control instruction is used to instruct the recorder to prohibit the emission of sound information and light information; A second generating unit is used for generating a third control instruction and a fourth control instruction after the first acquiring unit acquires the current working state of the recorder, if the recorder is currently in a shutdown state; wherein the third control instruction is used for controlling the recorder to start up; and the fourth control instruction is used for instructing the recorder to prohibit the emission of sound information and light information during the startup process; The first uploading unit is used to upload the target data to the server.

11. The device according to claim 10, characterized in that The device also includes A first receiving unit, configured to receive an external request sent by a server and / or other recorders after the first determining unit determines that the current state is an emergency state according to the current input information; The third generating unit is used to generate a sixth control instruction; wherein the sixth control instruction is used to instruct the recorder to keep collecting target data and respond to external requests.

12. The device according to claim 10, characterized in that The device further comprises: A second acquisition unit, used for acquiring a current user login status before the first uploading unit uploads the target data to the server; The first uploading unit is specifically used for: If the current user login status is online, the target data is uploaded to the server.

13. The device according to claim 12, characterized in that The device further comprises: The first execution unit is used to repeatedly execute the login operation according to pre-stored user login information after the second acquisition unit acquires the current user login status, if the current user login status is offline, until the user login status is online.

14. The device according to claim 12, characterized in that The device further comprises: a second determining unit, configured to determine, after the second acquiring unit acquires the current user login status, if the current user login status is an online status, a contact user in an emergency state according to the user information of the logged-in user, wherein the contact user in the emergency state includes a preset user recorded in the user information or a user of a last call; The second uploading unit is used to send the target data to the contact user.

15. The device according to claim 10, characterized in that The recorder is provided with an alarm button; a first determination unit, specifically used for: If it is detected that the pressing state of the alarm button meets the preset first trigger rule, it is determined that the current state is an emergency state; wherein the first trigger rule includes at least one of the following: the number of long presses meets the first threshold, and the number of short presses meets the second threshold.

16. The device according to claim 10, characterized in that The device further comprises: a third determining unit, configured to determine that the current state is out of the emergency state according to the current input information after the first determining unit determines that the current state is in the emergency state according to the current input information; The fourth generating unit is used to generate a fifth control instruction; wherein the fifth control instruction is used to instruct the recorder to allow the emission of sound information and light information.

17. The device according to claim 16, characterized in that The recorder is provided with an alarm button; a third determination unit, specifically used for: If it is detected that the pressing state of the alarm button meets the preset second trigger rule, it is determined that the current emergency state has been exited; wherein, the second trigger rule includes at least one of the following: the number of long presses meets the third threshold, and the number of short presses meets the fourth threshold.

18. The device according to any one of claims 10 to 17, characterized in that The sound information includes the sound information emitted by the recorder's buzzer; the light information includes the light information emitted by the recorder's indicator light and / or the light information emitted by the recorder's display screen.

19. An electronic device, characterized in that: include: Memory, processor; Memory; a memory for storing instructions executable by the processor; Wherein, the processor is used to execute the method according to any one of claims 1-9 according to the executable instructions.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 9 when executed by a processor.

21. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Method for controlling startup of mobile terminal and mobile terminal

    CN102331834A

  • Vehicle monitoring method, system and device

    CN111161447A

  • Rapid shooting mode execution method, device and equipment, and computer storage medium

    CN111212229A

  • Audio / video system for old person

    CN204272323U