Bird watching equipment sharing method and device, electronic equipment and computer storage medium

By obtaining the binding and database storage of the identification code and the main user ID in the bird watching device, the problem of sharing restrictions on bird watching device is solved, unlimited sharing of the device is realized, and the use efficiency and resource utilization are improved.

CN119030997APending Publication Date: 2024-11-26SHENZHEN FANYING ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310975114.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing bird watching equipment sharing methods cannot be effectively shared when the number of users is large, resulting in inefficient equipment use.

Method used

By obtaining the identification code of the bird watching device and the main user ID, an independent database is established in the database of the target server, the identification code and the main user ID are stored, and when receiving the sharing request, the user ID of the shared user is obtained, and the user ID of the shared user is obtained. Permission binding, push bird watching information to the shared user.

Benefits of technology

It realizes unlimited sharing of bird watching equipment, improves the efficiency of equipment use in the Internet of Things, and saves equipment resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030997A_ABST
    Figure CN119030997A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things, and discloses a bird watching equipment sharing method, which comprises the following steps: acquiring an identification code and a main user ID of current bird watching equipment, and binding the identification code with the main user ID; establishing an independent database of bird watching equipment in a database of the target server, and storing the identification code and the main user ID based on the independent database; when a sharing request sent by a sharing user associated with the main user ID is received, obtaining a user identifier of the sharing user; and storing the user identifier based on the independent database, performing permission binding on the user identifier and the identification code, and pushing bird watching information of the bird watching equipment to the shared user when permission binding is completed. The invention further discloses a bird watching equipment sharing device, electronic equipment and a computer storage medium. According to the invention, unlimited device sharing of the bird watching device is realized, the use efficiency of the bird watching device in the Internet of Things is improved, and device resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a bird watching equipment sharing method, device, electronic device and computer storage medium. Background Art

[0002] The Internet of Things (IoT) refers to the use of various devices and technologies such as information sensors, radio frequency identification technology, global positioning systems, infrared sensors, laser scanners, etc. to collect real-time information on any object or process that needs to be monitored, connected, and interacted with, and to collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, and location. Through various possible network accesses, it realizes ubiquitous connection between objects and objects, and between objects and people, and realizes intelligent perception, identification, and management of objects and processes.

[0003] Sharing can improve the efficiency of IoT terminal devices. Currently, bird watching equipment generally uses a peer-to-peer (p2p) transmission method. However, this method is only suitable for sharing with a certain number of users. When the number of users reaches a certain level, the device cannot be shared in this way. Summary of the invention

[0004] The embodiments of the present application provide a bird watching equipment sharing method, device, electronic device and computer storage medium, which can solve the current technical problem of limited sharing of bird watching equipment.

[0005] The present application embodiment provides a bird watching device sharing method, including:

[0006] Obtaining the identification code and the main user ID of the current bird watching device, and binding the identification code with the main user ID;

[0007] Establishing an independent database of the bird watching device in a database of the target server, and storing the identification code and the main user ID based on the independent database;

[0008] Upon receiving a sharing request sent by a sharing user associated with the primary user ID, obtaining a user ID of the sharing user;

[0009] The user identification is stored based on the independent database, and the user identification is bound to the identification code for authority. When the authority binding is completed, the bird watching information of the bird watching device is pushed to the shared user.

[0010] Furthermore, the step of establishing an independent database of the bird watching device in the database of the target server includes:

[0011] Acquire audio information, video information, text information of the bird watching device and the network address of the target server;

[0012] transmitting the audio information, the video information and the text information to a database of the target server via the network address;

[0013] In the database of the target server, the independent database corresponding to the audio information, the video information and the text information is established.

[0014] Furthermore, the step of obtaining the audio information, video information, and text information of the bird watching device includes:

[0015] When the infrared sensor of the bird watching device detects bird activity, triggering a main controller of the bird watching device based on the infrared sensor;

[0016] The collecting unit of the bird watching device is started based on the main controller, and the information of the bird activities is collected according to the collecting unit to obtain the audio information, the video information and the text information.

[0017] Further, obtaining the user identification of the shared user includes:

[0018] Parsing the sharing request to obtain permission information of the sharing user;

[0019] The authority of the shared user is verified according to the authority information, and when the authority of the shared user is verified, a user identification of the shared user is obtained.

[0020] Further, the performing permission verification on the shared user according to the permission information includes:

[0021] Acquire the terminal source and authority level of the shared user according to the authority information;

[0022] Determine whether the terminal source is consistent with the main terminal associated with the main user ID, and if the terminal source is consistent with the main terminal, send a permission request corresponding to the permission level to the main terminal;

[0023] When the authority verification pass information fed back by the master terminal is received, it is determined that the shared user authority verification has passed.

[0024] Further, storing the identification code and the primary user ID based on the independent database includes:

[0025] Obtaining a mapping relationship between the identification code and the primary user ID;

[0026] A mapping table of the identification code and the main user ID is established according to the mapping relationship, and the mapping table, the identification code and the main user ID are stored in the independent database.

[0027] Furthermore, the binding of the user identification with the identification code includes:

[0028] Acquire the authority level of the shared user, and determine the sharing relationship between the user identifier and the identification code according to the authority level;

[0029] The sharing relationship, the user identification and the identification code are stored in the mapping table.

[0030] Accordingly, an embodiment of the present application provides a bird watching equipment sharing device, comprising:

[0031] A binding module, used to obtain the identification code and the main user ID of the current bird watching device, and bind the identification code with the main user ID;

[0032] A construction module, used for establishing an independent database of the bird watching device in a database of a target server, and storing the identification code and the main user ID based on the independent database;

[0033] an acquisition module, configured to acquire a user identification of a sharing user associated with the primary user ID upon receiving a sharing request sent by the sharing user;

[0034] The sharing module is used to store the user identification based on the independent database, and to bind the user identification with the identification code for authority, and when the authority binding is completed, push the bird watching information of the bird watching device to the shared user.

[0035] In addition, an embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the bird watching equipment sharing method provided in the embodiment of the present application.

[0036] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for loading by a processor to execute any bird watching device sharing method provided in the embodiment of the present application.

[0037] In addition, an embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements any one of the bird watching device sharing methods provided in the embodiments of the present application.

[0038] In an embodiment of the present application, by obtaining the identification code and the main user ID of the current bird-watching device, and binding the identification code with the main user ID, a one-to-one binding of the bird-watching device and the main user is achieved; then, an independent database for the bird-watching device is established in the database of the target server, and the identification code and the main user ID are stored based on the independent database; upon receiving a sharing request sent by a shared user associated with the main user ID, the user identification of the shared user is obtained; then, the user identification is stored based on the independent database, and the user identification is bound to the identification code for authority, and when the authority binding is completed, the bird-watching information of the bird-watching device is pushed to the shared user, thereby achieving unrestricted device sharing of the bird-watching device, improving the utilization efficiency of the bird-watching device in the Internet of Things, and saving device resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 It is a flowchart of the bird watching equipment sharing method provided in the embodiment of the present application;

[0041] Figure 2 is a structural schematic diagram of a bird watching equipment sharing device provided in an embodiment of the present application;

[0042] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0044] The embodiment of the present application provides a bird watching equipment sharing method, device, electronic device and computer storage medium. The bird watching equipment sharing device can be integrated in an electronic device, which can be a server or a terminal.

[0045] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.

[0046] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0047] In addition, the term "plurality" in the embodiments of the present application refers to two or more than two. The terms "first" and "second" in the embodiments of the present application are used to distinguish descriptions and should not be understood as implying relative importance.

[0048] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0049] See also Figure 1 , Figure 1 : is a flow chart of a method for sharing bird-watching equipment provided in an embodiment of the present application. The method for sharing bird-watching equipment may include:

[0050] S101. Obtain an identification code and a main user ID of a current bird watching device, and bind the identification code to the main user ID.

[0051] In this embodiment, the bird-watching device is a terminal equipped with an infrared, high-definition camera. When birds are detected foraging or moving, video data is transmitted through Wi-Fi or 2.4G radio frequency communication or mobile network, and finally displayed on the user's intelligent hardware terminal application through the server. Each bird-watching device has a unique identification code, through which the corresponding bird-watching device can be uniquely obtained. The main user ID is usually the ID of the user initially bound to the bird-watching device, or the user ID corresponding to the user with the highest authority is the main user ID. Obtain the identification code and main user ID of the current bird-watching device, bind the identification code to the main user ID one-to-one, and the user corresponding to the main user ID is the main user.

[0052] S102: Establish an independent database of the bird watching device in a database of the target server, and store the identification code and the main user ID based on the independent database.

[0053] In this embodiment, the target server is a main server associated with the bird watching device, and an independent database of the bird watching device is established in the database of the target server. Specifically, the audio information, video information and text information of the bird watching device are obtained, and an independent database is established according to the audio information, video information and text information, and the obtained identification code of the bird watching device and the main user ID are stored in the independent database.

[0054] S103: upon receiving a sharing request sent by a sharing user associated with the primary user ID, obtaining a user identification of the sharing user.

[0055] In this embodiment, the sharing request is a request for sharing the bird watching device sent by the sharing user associated with the main user ID. When the sharing request is received, the user ID of the sharing user is obtained, and the user terminal of the sharing user can be uniquely obtained through the user ID. The sharing request is parsed to obtain the user ID of the sharing user.

[0056] S104: storing the user identification based on the independent database, and binding the user identification with the identification code for authority, and when the authority binding is completed, pushing the bird watching information of the bird watching device to the shared user.

[0057] In this embodiment, when the user ID of the shared user is obtained, the user ID is stored in an independent database, and the user ID is bound to the identification code of the bird-watching device in the independent database. Specifically, the authority level corresponding to the current user ID is obtained, and according to the authority level, the identification code of the bird-watching device is bound to the user ID at different levels; different authority levels have different ranges of bird-watching information of the bird-watching device that can be queried in the independent database. When the identification code of the bird-watching device is bound to the user ID, the bird-watching information of the bird-watching device is pushed to the shared user.

[0058] This embodiment obtains the identification code and the main user ID of the current bird-watching device, and binds the identification code to the main user ID; then, establishes an independent database for the bird-watching device in the database of the target server, and stores the identification code and the main user ID based on the independent database; then, upon receiving a sharing request sent by a shared user associated with the main user ID, obtains the user identification of the shared user; finally, stores the user identification based on the independent database, and binds the user identification to the identification code for authority; when the authority binding is completed, pushes the bird-watching information of the bird-watching device to the shared user, thereby realizing unrestricted device sharing of the bird-watching device, improving the utilization efficiency of the bird-watching device in the Internet of Things, and saving device resources.

[0059] In one embodiment of the present application, the above-mentioned establishment of an independent database of the bird watching device in the database of the target server includes:

[0060] Acquire audio information, video information, text information of the bird watching device and the network address of the target server;

[0061] transmitting the audio information, the video information and the text information to a database of the target server via the network address;

[0062] In the database of the target server, the independent database corresponding to the audio information, the video information and the text information is established.

[0063] In this embodiment, the bird watching information of the bird watching device includes audio information, video information and text information. Among them, the audio information is the sound information of the bird obtained by recording the bird watching device, the video information is the bird activity information obtained by shooting the bird watching device, such as foraging video, etc., and the text information is the text information such as species and habitat obtained by scanning the bird by the bird watching device. When it is detected that the bird watching device is observing the bird, the audio information, video information and text information are obtained based on the bird watching device, and the network address of the target server is obtained at the same time; the audio information, video information and text information are sent to the database of the target server through the network address, and in the database of the target server, an independent database corresponding to the current bird watching device is established based on the audio information, video information and text information.

[0064] This embodiment acquires the audio information, video information and text information of the bird watching device, and establishes an independent database corresponding to the audio information, video information and text information in the database of the target server, thereby realizing independent management of each bird watching device and improving the management efficiency of the bird watching equipment and the query efficiency of the bird watching information.

[0065] In one embodiment of the present application, the above-mentioned obtaining of audio information, video information, and text information of the bird watching device includes:

[0066] When the infrared sensor of the bird watching device detects bird activity, triggering a main controller of the bird watching device based on the infrared sensor;

[0067] The collecting unit of the bird watching device is started based on the main controller, and the information of the bird activities is collected according to the collecting unit to obtain the audio information, the video information and the text information.

[0068] In the present embodiment, the infrared sensor is a PIR (Passive Infrared Radiation) sensor. When bird activity is detected, the infrared sensor triggers a monitoring state. When the infrared sensor is in the monitoring state, the main controller of the bird-watching device is further triggered based on the infrared sensor. In addition, the main controller of the bird-watching device can also be triggered by a monitoring instruction triggered by a timer of the bird-watching device or a user terminal software associated with the bird-watching device. Specifically, the main controller is the control unit of the bird-watching device, i.e., MCU (Microcontroller Uni). When the main controller is triggered, the acquisition unit of the bird-watching device is started by the main controller, wherein the acquisition unit includes hardware devices such as a camera, a speaker, a microphone, and a scanning device of the bird-watching device. According to the hardware devices such as the camera, the speaker, the microphone, and the scanning device, information on bird activities can be collected to obtain audio information, video information, and text information.

[0069] In this embodiment, when the infrared sensor of the bird watching device detects bird activities, the main controller of the bird watching device is triggered according to the infrared sensor. Thereafter, a collection unit of the bird watching device is started based on the main controller. Information on bird activities is collected according to the collection unit to obtain audio information, video information and text information, thereby achieving accurate collection of bird activity information.

[0070] In an embodiment of the present application, the obtaining of the user identification of the shared user includes:

[0071] Parsing the sharing request to obtain permission information of the sharing user;

[0072] The authority of the shared user is verified according to the authority information, and when the authority of the shared user is verified, a user identification of the shared user is obtained.

[0073] In this embodiment, when a sharing request is received from a shared user associated with the main user ID, the sharing request is parsed to obtain the permission information of the shared user. The shared user is verified for permission based on the permission information to determine whether the shared user is a trusted terminal user; if the shared user is a trusted terminal user, it is determined that the shared user's permission verification has passed; if the shared user is not a trusted terminal user, it is determined that the shared user's permission verification has failed. When the shared user's permission verification passes, the user ID of the shared user is obtained; if the shared user's permission verification fails, the shared user's sharing request is rejected, and information about the permission verification failure is fed back to the user terminal of the shared user.

[0074] This embodiment parses the sharing request to obtain the permission information of the sharing user, and performs permission verification on the sharing user according to the permission information, thereby realizing permission verification of the sharing user, avoiding illegal sharing by untrustworthy users, improving the security of bird watching equipment sharing, and avoiding information leakage.

[0075] In an embodiment of the present application, the above-mentioned verification of the permission of the shared user according to the permission information includes:

[0076] Acquire the terminal source and authority level of the shared user according to the authority information;

[0077] Determine whether the terminal source is consistent with the main terminal associated with the main user ID, and if the terminal source is consistent with the main terminal, send a permission request corresponding to the permission level to the main terminal;

[0078] When the authority verification pass information fed back by the master terminal is received, it is determined that the shared user authority verification has passed.

[0079] In this embodiment, the permission information includes the terminal source and permission level of the shared user, wherein the terminal source is the terminal software through which the shared user sends the sharing request; if the terminal source of the shared user is consistent with the main terminal associated with the main user ID, the permission request corresponding to the permission level in the permission information is sent to the main terminal; if the terminal software of the shared user is inconsistent with the main terminal associated with the main user ID, it is determined that the permission verification of the shared user has failed. Specifically, when the terminal source and permission level of the shared user are obtained, it is determined whether the terminal source is consistent with the name of the main terminal associated with the main user ID, or whether the terminal source belongs to the trust list of the main terminal; if the terminal source is consistent with the name of the main terminal associated with the main user ID, or the terminal source belongs to the trust list of the main terminal, it is determined that the terminal source of the shared user is consistent with the main terminal associated with the main user ID; if the terminal source is inconsistent with the name of the main terminal associated with the main user ID, and the terminal source does not belong to the trust list of the main terminal, it is determined that the terminal source of the shared user is inconsistent with the main terminal associated with the main user ID.

[0080] When it is determined that the terminal source of the shared user is consistent with the main terminal associated with the main user ID, a permission request corresponding to the permission level is sent to the main terminal, wherein different permission levels correspond to different permission requests, and different permission requests obtain bird-watching information in different ranges. For example, the permission request corresponding to the highest permission level can obtain the largest range of bird-watching information, while the permission request corresponding to the lowest level can only obtain the smallest range of bird-watching information. When it is detected that the permission verification pass information fed back by the main terminal based on the permission request is passed, it is determined that the shared user's permission verification is passed; when it is detected that the permission verification fail information fed back by the main terminal based on the permission request is failed, it is determined that the shared user's permission verification has failed.

[0081] This embodiment verifies the permission information of the shared user by the terminal source and permission level of the shared user, thereby achieving accurate verification of the permission of the shared user, improving the verification accuracy, and further avoiding sharing by illegal users.

[0082] In an embodiment of the present application, the storing of the identification code and the primary user ID based on the independent database includes:

[0083] Obtaining a mapping relationship between the identification code and the primary user ID;

[0084] A mapping table of the identification code and the main user ID is established according to the mapping relationship, and the mapping table, the identification code and the main user ID are stored in the independent database.

[0085] In this embodiment, when the identification code and the main user ID are stored based on the independent database, a mapping relationship between the identification code and the main user ID is obtained, and the mapping relationship indicates the association relationship between the current bird watching device and the main user ID, such as a one-to-one binding relationship; a mapping table between the identification code and the main user ID is established according to the mapping relationship. The relationship between each bird watching device and the main user ID can be determined through the mapping table, and when the mapping table is obtained, the mapping table, the identification code and the main user ID are stored in the independent database.

[0086] This embodiment obtains the mapping relationship between the identification code and the main user ID when storing the identification code and the main user ID, and establishes a mapping table according to the mapping relationship, so that the relationship between each main user ID and the identification code can be accurately found through the mapping table, and the corresponding bird watching device can be quickly obtained through the main user ID.

[0087] In an embodiment of the present application, the above-mentioned binding of the user identification with the identification code includes:

[0088] Acquire the authority level of the shared user, and determine the sharing relationship between the user identifier and the identification code according to the authority level;

[0089] The sharing relationship, the user identification and the identification code are stored in the mapping table.

[0090] In this embodiment, when the user identification and identification code are bound to permissions, the permission level of the shared user is obtained. Different permission levels have different ranges of bird watching information of the bird watching device that can be queried in the independent database. Therefore, the permission level of the current shared user is obtained, and the sharing relationship between the user identification of the shared user and the identification code of the current bird watching device is determined according to the permission level; for example, the sharing relationship between the user identification and the identification code of the shared user with the highest permission level is the maximum range sharing relationship, and the sharing relationship between the user identification and the identification code of the shared user with the lowest permission level is the minimum range sharing relationship. The sharing relationship, user identification and identification code are stored in the mapping table corresponding to the current bird watching device.

[0091] This embodiment obtains the permission level of the shared user, determines the sharing relationship between the user identification and the identification code according to the permission level, and stores the sharing relationship, user identification and identification code in a mapping table, so that the sharing relationship between the shared user and the current bird watching device can be further obtained through the mapping table, and then the bird watching information of different ranges is shared with the shared user according to the sharing relationship.

[0092] In order to facilitate better implementation of the bird watching equipment sharing method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above bird watching equipment sharing method. The meanings of the terms are the same as those in the above bird watching equipment sharing method, and the specific implementation details can refer to the description in the method embodiment.

[0093] For example, Figure 2 As shown, the bird watching equipment sharing device may include:

[0094] The binding module 201 is used to obtain the identification code and the main user ID of the current bird watching device, and bind the identification code with the main user ID;

[0095] In this embodiment, the bird-watching device is a terminal equipped with an infrared, high-definition camera. When birds are detected foraging or moving, video data is transmitted through Wi-Fi or 2.4G radio frequency communication or mobile network, and finally displayed on the user's intelligent hardware terminal application through the server. Each bird-watching device has a unique identification code, through which the corresponding bird-watching device can be uniquely obtained. The main user ID is usually the ID of the user initially bound to the bird-watching device, or the user ID corresponding to the user with the highest authority is the main user ID. Obtain the identification code and main user ID of the current bird-watching device, bind the identification code to the main user ID one-to-one, and the user corresponding to the main user ID is the main user.

[0096] A construction module 202 is used to establish an independent database of the bird watching device in a database of a target server, and store the identification code and the main user ID based on the independent database;

[0097] In one embodiment of the present application, the construction module 202 includes:

[0098] A first acquisition unit is used to acquire audio information, video information, text information of the bird watching device and the network address of the target server;

[0099] A transmission unit, used for transmitting the audio information, the video information and the text information to a database of the target server via the network address;

[0100] A construction unit is used to establish the independent database corresponding to the audio information, the video information and the text information in the database of the target server.

[0101] In an embodiment of the present application, the first acquisition unit includes:

[0102] a detection unit, configured to trigger a main controller of the bird watching device based on the infrared sensor when the infrared sensor of the bird watching device detects bird activity;

[0103] A collection unit is used to start the collection unit of the bird watching device based on the main controller, collect information on the bird activities according to the collection unit, and obtain the audio information, the video information and the text information.

[0104] In an embodiment of the present application, the construction module 202 further includes:

[0105] A first storage unit, used to obtain a mapping relationship between the identification code and the primary user ID;

[0106] The second storage unit is used to establish a mapping table of the identification code and the main user ID according to the mapping relationship, and store the mapping table, the identification code and the main user ID in the independent database.

[0107] In this embodiment, the target server is a main server associated with the bird watching device, and an independent database of the bird watching device is established in the database of the target server. Specifically, the audio information, video information and text information of the bird watching device are obtained, and an independent database is established according to the audio information, video information and text information, and the obtained identification code of the bird watching device and the main user ID are stored in the independent database.

[0108] The acquisition module 203 is used to acquire the user identification of the sharing user when receiving a sharing request sent by the sharing user associated with the primary user ID;

[0109] In an embodiment of the present application, the acquisition module 203 includes:

[0110] A parsing unit, used for parsing the sharing request to obtain the permission information of the sharing user;

[0111] The verification unit is used to verify the authority of the shared user according to the authority information, and obtain the user identification of the shared user when the authority verification of the shared user passes.

[0112] In one embodiment of the present application, the verification unit includes:

[0113] A second acquisition unit, configured to acquire a terminal source and an authority level of the shared user according to the authority information;

[0114] A first confirmation unit, configured to determine whether the terminal source is consistent with the main terminal associated with the main user ID, and if the terminal source is consistent with the main terminal, send a permission request corresponding to the permission level to the main terminal;

[0115] The second confirmation unit is used to determine that the shared user authority verification is passed when receiving the authority verification pass information fed back by the main terminal.

[0116] In this embodiment, the sharing request is a request for sharing the bird watching device sent by the sharing user associated with the main user ID. When the sharing request is received, the user ID of the sharing user is obtained, and the user terminal of the sharing user can be uniquely obtained through the user ID. The sharing request is parsed to obtain the user ID of the sharing user.

[0117] The sharing module 204 is used to store the user identification based on the independent database, and to bind the user identification with the identification code for authority, and when the authority binding is completed, push the bird watching information of the bird watching device to the shared user.

[0118] In one embodiment of the present application, the sharing module 204 includes:

[0119] a third confirmation unit, configured to obtain the authority level of the shared user, and determine the sharing relationship between the user identifier and the identification code according to the authority level;

[0120] The third storage unit is used to store the sharing relationship, the user identification and the identification code in the mapping table.

[0121] In this embodiment, when the user ID of the shared user is obtained, the user ID is stored in an independent database, and the user ID is bound to the identification code of the bird-watching device in the independent database. Specifically, the authority level corresponding to the current user ID is obtained, and according to the authority level, the identification code of the bird-watching device is bound to the user ID at different levels; different authority levels have different ranges of bird-watching information of the bird-watching device that can be queried in the independent database. When the identification code of the bird-watching device is bound to the user ID, the bird-watching information of the bird-watching device is pushed to the shared user.

[0122] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation methods and corresponding beneficial effects of the above modules can be found in the previous method embodiments, which will not be repeated here.

[0123] The bird-watching equipment sharing device proposed in this embodiment realizes unrestricted equipment sharing of bird-watching equipment, improves the utilization efficiency of bird-watching equipment in the Internet of Things, and saves equipment resources.

[0124] The present application also provides an electronic device, which may be a server or a terminal, etc. Figure 3 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

[0125] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that Figure 3 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0126] The processor 601 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing computer programs and / or modules stored in the memory 602, and calling data stored in the memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0127] The memory 602 can be used to store computer programs and modules. The processor 601 executes various functional applications and data processing by running the computer programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0128] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0129] The electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0130] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 will run the computer programs stored in the memory 602, thereby realizing various functions, such as:

[0131] Obtaining the identification code and the main user ID of the current bird watching device, and binding the identification code with the main user ID;

[0132] Establishing an independent database of the bird watching device in a database of the target server, and storing the identification code and the main user ID based on the independent database;

[0133] Upon receiving a sharing request sent by a sharing user associated with the primary user ID, obtaining a user ID of the sharing user;

[0134] The user identification is stored based on the independent database, and the user identification is bound to the identification code for authority. When the authority binding is completed, the bird watching information of the bird watching device is pushed to the shared user.

[0135] The specific implementation methods and corresponding beneficial effects of the above operations can be found in the detailed description of the bird watching equipment sharing method above, which will not be elaborated here.

[0136] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0137] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any of the bird watching equipment sharing methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0138] Obtaining the identification code and the main user ID of the current bird watching device, and binding the identification code with the main user ID;

[0139] Establishing an independent database of the bird watching device in a database of the target server, and storing the identification code and the main user ID based on the independent database;

[0140] Upon receiving a sharing request sent by a sharing user associated with the primary user ID, obtaining a user ID of the sharing user;

[0141] The user identification is stored based on the independent database, and the user identification is bound to the identification code for authority. When the authority binding is completed, the bird watching information of the bird watching device is pushed to the shared user.

[0142] The specific implementation methods and corresponding beneficial effects of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0143] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0144] Since the computer program stored in the computer-readable storage medium can execute the steps in any one of the bird watching equipment sharing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the bird watching equipment sharing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0145] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned bird watching device sharing method.

[0146] The above is a detailed introduction to a bird watching equipment sharing method, device, electronic device and computer storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A bird watching equipment sharing method, characterized in that: include: Obtaining the identification code and the main user ID of the current bird watching device, and binding the identification code with the main user ID; Establishing an independent database of the bird watching device in a database of the target server, and storing the identification code and the main user ID based on the independent database; Upon receiving a sharing request sent by a sharing user associated with the primary user ID, obtaining a user ID of the sharing user; The user identification is stored based on the independent database, and the user identification is bound to the identification code for authority. When the authority binding is completed, the bird watching information of the bird watching device is pushed to the shared user.

2. The bird watching equipment sharing method according to claim 1, characterized in that: The step of establishing an independent database of the bird watching device in the database of the target server includes: Acquire audio information, video information, text information of the bird watching device and the network address of the target server; transmitting the audio information, the video information and the text information to a database of the target server via the network address; In the database of the target server, the independent database corresponding to the audio information, the video information and the text information is established.

3. The bird watching equipment sharing method according to claim 2, characterized in that: The step of obtaining the audio information, video information, and text information of the bird watching device includes: When the infrared sensor of the bird watching device detects bird activity, triggering a main controller of the bird watching device based on the infrared sensor; The collecting unit of the bird watching device is started based on the main controller, and the information of the bird activities is collected according to the collecting unit to obtain the audio information, the video information and the text information.

4. The bird watching equipment sharing method according to claim 1, characterized in that: The obtaining the user identification of the sharing user includes: Parsing the sharing request to obtain permission information of the sharing user; The authority of the shared user is verified according to the authority information, and when the authority of the shared user is verified, a user identification of the shared user is obtained.

5. The bird watching equipment sharing method according to claim 4, characterized in that: The performing authority verification on the shared user according to the authority information includes: Acquire the terminal source and authority level of the shared user according to the authority information; Determine whether the terminal source is consistent with the main terminal associated with the main user ID, and if the terminal source is consistent with the main terminal, send a permission request corresponding to the permission level to the main terminal; When the authority verification pass information fed back by the master terminal is received, it is determined that the shared user authority verification has passed.

6. The bird watching equipment sharing method according to claim 1, characterized in that: The storing the identification code and the main user ID based on the independent database comprises: Obtaining a mapping relationship between the identification code and the primary user ID; A mapping table of the identification code and the main user ID is established according to the mapping relationship, and the mapping table, the identification code and the main user ID are stored in the independent database.

7. The bird watching equipment sharing method according to claim 6, characterized in that: The step of binding the user identification with the identification code includes: Acquire the authority level of the shared user, and determine the sharing relationship between the user identifier and the identification code according to the authority level; The sharing relationship, the user identification and the identification code are stored in the mapping table.

8. A bird watching equipment sharing device, characterized in that: include: A binding module, used to obtain the identification code and the main user ID of the current bird watching device, and bind the identification code with the main user ID; A construction module, used for establishing an independent database of the bird watching device in a database of a target server, and storing the identification code and the main user ID based on the independent database; an acquisition module, configured to acquire a user identification of a sharing user associated with the primary user ID upon receiving a sharing request sent by the sharing user; The sharing module is used to store the user identification based on the independent database, and to bind the user identification with the identification code for authority, and when the authority binding is completed, push the bird watching information of the bird watching device to the shared user.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the bird watching equipment sharing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the bird watching equipment sharing method according to any one of claims 1 to 7.