[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107948592B - Method and device for sharing camera and intelligent terminal - Google Patents

Method and device for sharing camera and intelligent terminal Download PDF

Info

Publication number
CN107948592B
CN107948592B CN201711175237.3A CN201711175237A CN107948592B CN 107948592 B CN107948592 B CN 107948592B CN 201711175237 A CN201711175237 A CN 201711175237A CN 107948592 B CN107948592 B CN 107948592B
Authority
CN
China
Prior art keywords
user terminal
request
camera
sharing
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711175237.3A
Other languages
Chinese (zh)
Other versions
CN107948592A (en
Inventor
沈卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201711175237.3A priority Critical patent/CN107948592B/en
Publication of CN107948592A publication Critical patent/CN107948592A/en
Application granted granted Critical
Publication of CN107948592B publication Critical patent/CN107948592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to devices or network resources wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the technical field of equipment sharing, and particularly discloses a method and a device for sharing a camera and an intelligent terminal, wherein the method comprises the following steps: receiving a camera sharing first request which is initiated by a first user terminal and comprises an identity identifier of the first user terminal and request position information; determining the user type of the first user terminal according to the identity; if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises the identity identification of the first user terminal; and if the determination information returned by the second user terminal is received, receiving the image information returned by the second user terminal in real time, and sending the image information to the first user terminal. Through the technical scheme, the embodiment of the invention can build a trust platform for sharing both sides of the camera, and effectively utilize the idle camera.

Description

Method and device for sharing camera and intelligent terminal
Technical Field
The embodiment of the invention relates to the technical field of equipment sharing, in particular to a method and a device for sharing a camera and an intelligent terminal.
Background
Currently, user terminals such as smart phones, tablet computers, portable entertainment devices and the like have become an indispensable part of people's lives. Generally, most user terminals are configured with cameras, and with the rapid development of scientific technology, the pixels of the cameras configured on the current user terminals can reach up to 2000 ten thousand pixels, 2-fold and 5-fold optical zooming can be realized, the functions of optical anti-shake and the like are provided, and the shot pictures or videos reach high definition level. Meanwhile, with the rapid development of communication technology, the 4G communication network also provides support for the user terminal to download and upload network data at high speed, so that camera sharing becomes possible.
At present, public protection systems such as public security can acquire image evidences or know the environment condition of a case handling place through cameras (also called "sky eyes") distributed in various places of a city when handling cases, but the positions of the "sky eyes" are generally fixed and invariable, and blind areas possibly exist, so that the acquired image information is not comprehensive enough. If the camera of the user terminal of the case handling place can be shared in the case handling process, great convenience is provided for case handling.
However, in implementing the present invention, the inventors found that: the user terminals belong to private articles, and at present, users generally only carry out camera sharing among acquaintances and do not open the cameras to strangers, mainly because the sharing of the cameras possibly involves privacy problems, and the users do not trust people who share the cameras of the user terminals. Therefore, how to establish a trust mechanism between two sharing parties is a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for sharing a camera and an intelligent terminal, which can solve the problem of how to establish a trust mechanism of two sharing parties.
To solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a method for sharing a camera, including:
receiving a first request for sharing a camera initiated by a first user terminal, wherein the first request for sharing the camera comprises: the first user terminal comprises an identity mark and request position information of the first user terminal, wherein the request position information refers to the position information of a request destination;
determining the user type of the first user terminal according to the identity;
if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: the identity of the first user terminal;
and if the determination information returned by the second user terminal is received, receiving the image information returned by the second user terminal in real time, and sending the image information returned by the second user terminal to the first user terminal.
Optionally, when the second user terminal includes two or more than two, the sending a camera sharing second request to the second user terminal matched with the requested location information includes:
presenting user information of a second user terminal matched with the request position information to the first user terminal;
receiving a selection instruction sent by the first user terminal;
and sending a camera sharing second request to the second user terminal according to the selection instruction.
Optionally, the user information includes any one or more of location information, camera parameter information, identity identifier, and network signal information.
Optionally, the first request for camera sharing and the second request for camera sharing further include a request transaction.
Optionally, the method further comprises:
if the user type is a personal user, sending a camera sharing third request to a third user terminal which is matched with the request position information and is trusted for the identity of the first user terminal, wherein the camera sharing third request comprises the identity of the first user terminal;
and if the determination information returned by the third user terminal is received, receiving the image information returned by the third user terminal in real time, and sending the image information returned by the third user terminal to the first user terminal.
In order to solve the above technical problem, in a second aspect, an embodiment of the present invention provides an apparatus for sharing a camera, including:
a first request receiving unit, configured to receive a first request for camera sharing initiated by a first user terminal, where the first request for camera sharing includes: the first user terminal comprises an identity mark and request position information of the first user terminal, wherein the request position information refers to the position information of a request destination;
the identity authentication unit is used for determining the user type of the first user terminal according to the identity;
a second request sending unit, configured to send a camera sharing second request to a second user terminal matched with the requested location information if the user type is a public credit granting user, where the camera sharing second request includes: the identity of the first user terminal;
and the first sharing unit is used for receiving the image information returned by the second user terminal in real time and sending the image information returned by the second user terminal to the first user terminal if the determination information returned by the second user terminal is received.
Optionally, when the second user terminal includes two or more than two, the second request sending unit is specifically configured to:
presenting user information of a second user terminal matched with the request position information to the first user terminal;
receiving a selection instruction sent by the first user terminal;
and sending a camera sharing second request to the second user terminal according to the selection instruction.
Optionally, the user information includes any one or more of location information, camera parameter information, identity identifier, and network signal information.
Optionally, the first request for camera sharing and the second request for camera sharing further include a request transaction.
Optionally, the apparatus further comprises:
a third request sending unit, configured to send a camera sharing third request to a third user terminal that is matched with the request location information and that grants a credit for the identity of the first user terminal if the user type is a personal user, where the camera sharing third request includes the identity of the first user terminal;
and the second sharing unit is used for receiving the image information returned by the third user terminal in real time and sending the image information returned by the third user terminal to the first user terminal if the determination information returned by the third user terminal is received.
In order to solve the foregoing technical problem, in a third aspect, an embodiment of the present invention provides an intelligent terminal, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of sharing a camera as described above.
In order to solve the above technical problem, in a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium storing computer-executable instructions for causing a smart terminal to execute the method for sharing a camera as described above.
In order to solve the above technical problem, in a fifth aspect, the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, and when the program instructions are executed by a smart terminal, the smart terminal is caused to execute the method for sharing a camera as described above.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the method, the device and the intelligent terminal for sharing the camera provided by the embodiment of the invention determine the user type of the first user terminal according to the identity when receiving the first request, which is initiated by the first user terminal (namely, a requester) and comprises the identity of the first user terminal and the request position information, for sharing the camera; if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: the identity of the first user terminal; if the determination information returned by the second user terminal is received, the image information returned by the second user terminal is received in real time, and the image information returned by the second user terminal is sent to the first user terminal, so that public credit users such as public security, hospitals and the like can conveniently inquire the user terminal matched with the request position information in time and send a camera sharing request to the user terminal; on the other hand, the position information of the second user terminal (namely, the requested person) is only disclosed to the public credit granting user, the privacy of the second user terminal can be protected, and the camera sharing second request sent to the second user terminal comprises the identity of the first user terminal initiating the sharing request, so that the second user terminal can conveniently know the identity of the requesting person and autonomously determine whether to perform camera sharing, a trust platform of two sharing parties is built, and the idle camera is effectively utilized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic illustration of an implementation environment in which various embodiments of the invention are implemented;
fig. 2 is a schematic flowchart of a method for sharing a camera according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for sending a camera sharing second request to a second user terminal matched with the requested location information according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another method for sharing a camera according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for sharing a camera according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. In addition, the words "first", "second", and the like used in the embodiments of the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
The embodiment of the invention provides a method and a device for sharing a camera and an intelligent terminal. The method for sharing the camera provided by the embodiment of the invention is executed by the intelligent terminals such as the server and the like, and the trust mechanism of the two sharing parties of the camera is established through the intelligent terminals (third parties), so that great convenience can be provided for public protection units such as public security and hospitals to handle cases.
The embodiments of the present invention will be further explained with reference to the drawings.
Fig. 1 is a schematic diagram of an implementation environment according to various embodiments of the present invention, referring to fig. 1, the implementation environment includes: the intelligent terminal comprises a first user terminal 10, a second user terminal 20 and an intelligent terminal 30, wherein the first user terminal 10, the second user terminal 20 and the intelligent terminal 30 can be in communication connection through any type of network.
The first user terminal 10 may be any suitable type of electronic device, for example, a terminal device such as a mobile phone, a tablet computer, a laptop portable computer, a desktop computer, etc. The system has a communication function, can run a browser, and can also run other application programs capable of loading and displaying a webpage, such as a communication application program, a social application program, an office application program and the like. In particular, in the present embodiment, the first user terminal 10 is configured with a camera common interface through which a communication connection with the smart terminal 30 is possible.
The second user terminal 20 may also be any suitable type of electronic device, for example, a mobile phone, a tablet computer, a car recorder, and the like. In particular, in the present embodiment, the second user terminal 20 is also configured with the camera common interface, and is in communication connection with the intelligent terminal 30 through the camera common interface. In addition, the second user terminal 20 is also configured with a camera, and the intelligent terminal 30 receives image information collected by the camera through the camera common interface.
The intelligent terminal 30 is a data processing center for operating and maintaining the camera sharing among the user terminals, and may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. In particular, in the present embodiment, the smart terminal 30 may acquire location information of all user terminals (including the first user terminal 10 and the second user terminal 20) in real time.
Specifically, in one example of the application, it may be assumed that the user of the first user terminal 10 is a police officer and is currently located at the location of the place a, and the user of the second user terminal 20 is a general personal user and is located within 100m of the vicinity of the place B.
When a police located at site a wishes to remotely understand the environmental conditions in the vicinity of site B, it is possible to log in the account of the public security department at the first user terminal 10 and send a camera sharing first request including its identity (in the public security department) and the requested location information (within 100m of the vicinity of site B) to the smart terminal 30. When receiving the first request for sharing the camera, the intelligent terminal 30 first determines the user type of the first user terminal 10 according to the identity bound to the first request for sharing the camera, for example, determines the user type as a "public credit user" according to the identity of the user, namely "public security department"; after determining that the user type of the first user terminal 10 is a public credit granting user, searching a user terminal, that is, the second user terminal 20, which matches the request location information, and sending a camera sharing second request to the second user terminal 20, where the camera sharing second request includes an identity (public security department) of the first user terminal 10. After receiving the second request for sharing the camera, the second user terminal 20 may check the identity of the user requesting to share the camera, and determine whether to agree to share the camera according to the actual situation of the second user terminal, and if it agrees to share the camera, return the determination information to the intelligent terminal 30, and start the camera and send the image information acquired by the camera to the intelligent terminal 30. And after receiving the determination information returned by the second user terminal 20, the intelligent terminal 30 receives the image information returned by the second user terminal 20 in real time and sends the image information to the first user terminal 10, so that the police can check the environmental condition near the site B on the first user terminal 10 even if the police is at the site a.
In another application example, it may also be assumed that the user of the first user terminal 10 is an emergency medical practitioner, and if there is a sudden disease in location C, but the emergency medical practitioner cannot arrive at the emergency scene in time, the method for sharing a camera provided by the embodiment of the present invention may also be used to enable the emergency medical practitioner to share a camera near location C, and ask people near location C to assist in rescuing the patient.
In addition, it should be noted that the method for sharing a camera and the apparatus for sharing a camera provided in the embodiments of the present invention may be further extended to other suitable implementation environments, and are not limited to the implementation environment shown in fig. 1. Although only 1 first user terminal 10, 1 second user terminal 20 and 1 intelligent terminal 30 are shown in fig. 1, it will be understood by those skilled in the art that the application environment may include more first user terminals, second user terminals and intelligent terminals in the practical application process.
Further, in the present embodiment, it is assumed that the user of the first user terminal 10 is a requester who initiates camera sharing, and the user of the second user terminal 20 is a requested person. However, it is understood that in practical applications, some users of the user terminals may be used as requesters or requestees.
Specifically, fig. 2 is a schematic flowchart of a method for sharing a camera according to an embodiment of the present invention, where the method may be applied to an intelligent terminal such as a server.
Specifically, referring to fig. 2, the method may include, but is not limited to, the following steps:
step 110: receiving a first request for sharing a camera initiated by a first user terminal, wherein the first request for sharing the camera comprises: the identity of the first user terminal and the request location information.
In this embodiment, the "first user terminal" refers to a user terminal that initiates a camera sharing request, and represents a requester, and the identity and the request location information of the first user terminal are bound in the camera sharing first request initiated by the first user terminal. The identity mark represents the identity of a user (i.e., a requester) currently using the first user terminal, and may be an account number, an official authentication icon, a head portrait, an identification number, and the like, so as to facilitate the intelligent terminal to determine the user type of the first user terminal and to enable the requester to specify the identity of the requester and then determine whether to perform camera sharing. The "request location information" refers to location information of a request destination, which may include a certain location and an allowable error range thereof, or may include a larger range, for example, the request location information may be "location a, an allowable error range of 100 m" or "between location a and location B".
In this embodiment, when a user, for example, a public security department, wishes to obtain image information located in a certain place, a first request for camera sharing may be initiated to the intelligent terminal through the first user terminal, and when the intelligent terminal receives the first request for camera sharing, the intelligent terminal may parse the first request for camera sharing, obtain an identifier and request location information of the first user terminal, and then execute step 120 described below.
Step 120: and determining the user type of the first user terminal according to the identity.
In this embodiment, the "user type of the first user terminal" is a user type of the requester. The user types can comprise public credit users and non-public credit users, and all user terminals (requestees) allow the public credit users to acquire real-time position information of the public credit users and send camera sharing requests to the public credit users. The public credit granting user may be: public security, medical and other national public and personal safety departments. In particular, the departments may be a single user in a unit, and authorized persons in the departments may initiate a camera sharing request by logging in an account of the department.
Specifically, in this embodiment, an identity of a public credit granting user may be prestored on the intelligent terminal, when the intelligent terminal obtains that a certain camera shares the identity in the first request, the identity may be matched with the identity of the prestored public credit granting user, and if the matching is successful, the user type of the first user terminal may be determined to be the public credit granting user, and then the following step 130 is executed; if the matching fails, the user type of the first user terminal can be determined to be a non-public credit granting user, the camera is further refused to share the first request, and the sharing process is ended.
Step 130: if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: and the identity of the first user terminal.
In this embodiment, the "second user terminal" refers to a user terminal of the requested person, and the location of the user terminal meets the requirement that the camera shares the requested location information in the first request (i.e., matches with the requested location information). The "camera sharing second request" refers to a request sent by the intelligent terminal to the second user terminal, and includes the identity of the first user terminal, so as to inquire whether the second user terminal agrees to share the camera with the first user terminal.
In this embodiment, if the user type of the first user terminal is a public credit granting user, it is described that the camera sharing request may relate to the public and personal safety issues, and belongs to an emergency request, so that the camera sharing second request may be directly sent to the second user terminal meeting the request location information requirement, where the camera sharing second request includes the identity of the first user terminal, and is used to facilitate the requested person to identify the identity of the requested person, so that the requested person may share the camera with confidence.
In some embodiments, the number of the second user terminals matched with the request location information may include two or more, and if the second user terminals return the determination information after sending the camera sharing second request to all the second user terminals meeting the condition, information confusion is easily caused, and it is not beneficial to improve the case handling efficiency.
Based on this, in some embodiments, the method shown in fig. 3 may also be adopted to send a camera sharing second request to a second user terminal matched with the requested location information.
Specifically, referring to fig. 3, the method may include, but is not limited to, the following steps:
step 131: and presenting the user information of the second user terminal matched with the request position information to the first user terminal.
In this embodiment, after determining that the user type of the first user terminal is the public credit granting user, the user information of the second user terminal, which is matched with the requested location information, may be presented to the first user terminal in any form, for example, a list, an icon, a map mark, and the like. The user information of the second user terminal may include any one or more of location information, camera parameter information (e.g., pixel, brand, number, age, zoom, optical shake, etc. of a camera), an identification (identification of a requested person), and network signal information. Therefore, the requester can comprehensively consider the presented user information of the second user terminal and select to send the camera sharing request to one or more second user terminals which are more suitable.
Step 132: and receiving a selection instruction sent by the first user terminal.
In this embodiment, a requester may output a selection instruction to the intelligent terminal through the first user terminal, where the selection instruction may be an instruction to select to initiate a camera sharing request to one or more of the second user terminals, for example, an instruction to select to initiate a camera sharing request to the second user terminal 1, and/or the second user terminal 2; or, the selection instruction may be an instruction for selecting to initiate the camera sharing request to the second user terminals according to a preset rule, for example, the camera sharing request is initiated to the second user terminal 1 first, and if the determination information returned by the second user terminal 1 is not received within a preset time, the camera sharing request is initiated to the second user terminal 2.
Step 133: and sending a camera sharing second request to the second user terminal according to the selection instruction.
In this embodiment, a camera sharing second request is sent to a corresponding second user terminal according to the received selection instruction, where the camera sharing second request includes the identity of the first user terminal.
Step 140: and if the determination information returned by the second user terminal is received, receiving the image information returned by the second user terminal in real time, and sending the image information returned by the second user terminal to the first user terminal.
In this embodiment, if the determination information returned by the second user terminal is received (that is, the second user terminal accepts the second request for sharing the camera), it indicates that the requested person agrees to share the camera with the first user terminal, and at this time, the image information returned by the second user terminal may be received in real time, and the image information returned by the second user terminal is sent to the first user terminal, so as to implement camera sharing. If the confirmation information returned by the second user terminal is not received, the requested person refuses to share the camera, at this time, the camera sharing process can be ended, and a message of 'request failure' is returned to the first user terminal.
Further, in still other embodiments, in order to facilitate the requested person to know the request items of the requesting person so as to better meet the requirements of the requesting person, the first request for camera sharing and the second request for camera sharing may further include request items, and the requesting person may specify the purpose of the request and the matters that the requested person needs to meet in the request items. Therefore, on one hand, the probability that the requested person agrees the camera sharing request can be improved, and on the other hand, the case handling efficiency can also be improved.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: the method, the device and the intelligent terminal for sharing the camera provided by the embodiment of the invention determine the user type of the first user terminal according to the identity when receiving the first request which is sent by the first user terminal (namely, a requester) and comprises the identity of the first user terminal and the request position information for sharing the camera; if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: the identity of the first user terminal; if the determination information returned by the second user terminal is received, the image information returned by the second user terminal is received in real time, and the image information returned by the second user terminal is sent to the first user terminal, so that on one hand, public credit users such as public security, hospitals and the like can conveniently inquire the user terminal matched with the requested position information in time and send a camera sharing request to the user terminal, and the efficiency of public protection is improved; on the other hand, the position information of the second user terminal (namely, the requested person) is only disclosed to the public credit granting user, the privacy of the second user terminal can be respected, and the camera sharing second request sent to the second user terminal comprises the identity of the first user terminal initiating the sharing request, so that the second user terminal can conveniently know the identity of the requesting person and autonomously decide whether to carry out camera sharing, a trust platform of both sharing parties is built, and an idle camera is effectively utilized.
Further, considering that the cameras of most of the current user terminals are idle most of the time, and some individual users may also need to know the environment of a certain place, the embodiment of the present invention further provides another method for sharing a camera on the basis of the above-mentioned embodiment, as shown in fig. 4, the method includes:
step 210: receiving a first request for sharing a camera initiated by a first user terminal, wherein the first request for sharing the camera comprises: the identity of the first user terminal and the request location information.
Step 220: and determining the user type of the first user terminal according to the identity.
In this embodiment, the user types include a public credit granting user and a personal user, and if the user type according to the first user terminal is a public credit granting user, the following steps 230 to 240 are performed; if the user type of the first user terminal is an individual user, the following steps 250 to 260 are performed.
Step 230: if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: and the identity of the first user terminal.
Step 240: and if the determination information returned by the second user terminal is received, receiving the image information returned by the second user terminal in real time, and sending the image information returned by the second user terminal to the first user terminal.
Step 250: and if the user type is a personal user, sending a camera sharing third request to a third user terminal which is matched with the request position information and is used for granting credit to the identity of the first user terminal, wherein the camera sharing third request comprises the identity of the first user terminal.
In this embodiment, the "third user terminal" refers to a user terminal that grants a credit for the identity of the first user terminal in the "second user terminal". The trust is to trust the first user terminal and allow the first user terminal to initiate a camera sharing request to the first user terminal. In practical applications, the user terminal may grant a credit to a personal user with a preset identity (for example, when the camera sharing function is turned off, only a part of the personal users with the identity is granted a credit), or may grant a credit to all the personal users with identities (for example, when the camera sharing function is turned on, all the personal users with the identities are granted a credit).
For example, assuming that the identity of the first user terminal is "personal user X", the camera shared first request initiated by the first user terminal includes request location information "a place", the second user terminal currently located in "a place" searched by the intelligent terminal includes user terminals corresponding to "personal user Y", "personal user Z", and "personal user S", wherein the user terminal corresponding to "personal user Y" grants the "personal user X", the user terminal corresponding to "personal user Z" grants all the identity, and the user terminal corresponding to "personal user S" does not grant the "personal user X", then the intelligent terminal may determine that the "third user terminal" includes: and the user terminals corresponding to the 'personal user Y' and the 'personal user Z' send a camera sharing third request to the user terminals corresponding to the 'personal user Y' and the 'personal user Z'.
Step 260: and if the determination information returned by the third user terminal is received, receiving the image information returned by the third user terminal in real time, and sending the image information returned by the third user terminal to the first user terminal.
In this embodiment, steps 210 to 240 have the same or similar technical features as steps 110 to 140 in the embodiment shown in fig. 2, so that the detailed implementation of steps 210 to 240 in this embodiment may refer to the corresponding descriptions in steps 110 to 140 in the above embodiment, and will not be described again in this embodiment. In addition, step 260 has similar technical features to step 140 in the foregoing embodiment, and therefore, reference may also be made to the description in step 140 in the foregoing embodiment for specific implementation of step 260, which is not repeated herein.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: the method for sharing the camera provided by the embodiment of the invention can build a trust platform among individual users according to the selection of the users, thereby further expanding the application range of the shared camera.
Fig. 5 is a schematic structural diagram of a device for sharing a camera according to an embodiment of the present invention, referring to fig. 5, the device 5 includes: a first request receiving unit 51, an identity authentication unit 52, a second request sending unit 53 and a first sharing unit 54.
The first request receiving unit 51 is configured to receive a first request for camera sharing initiated by a first user terminal, where the first request for camera sharing includes: the identity of the first user terminal and the request position information;
the identity authentication unit 52 is configured to determine a user type of the first user terminal according to the identity;
the second request sending unit 53 is configured to send a camera sharing second request to a second user terminal matched with the requested location information if the user type is a public credit granting user, where the camera sharing second request includes: the identity of the first user terminal;
the first sharing unit 54 is configured to receive, in real time, image information returned by the second user terminal if the determination information returned by the second user terminal is received, and send the image information returned by the second user terminal to the first user terminal.
Specifically, in this embodiment, when the first request receiving unit 51 receives a first request, which is initiated by a first user terminal and includes an identity identifier of the first user terminal and request location information, for sharing a camera, the user type of the first user terminal is determined by the identity authentication unit 52 according to the identity identifier; if the user type is a public credit granting user, a second request sending unit 53 is utilized to send a camera sharing second request to a second user terminal matched with the requested location information, where the camera sharing second request includes: the identity of the first user terminal; if the determination information returned by the second user terminal is received, the first sharing unit 54 receives the image information returned by the second user terminal in real time, and sends the image information returned by the second user terminal to the first user terminal.
In some embodiments, when the second user terminal includes two or more than two, the second request sending unit 53 is specifically configured to: presenting user information of a second user terminal matched with the request position information to the first user terminal; receiving a selection instruction sent by the first user terminal; and sending a camera sharing second request to the second user terminal according to the selection instruction. Further, in other embodiments, the user information includes any one or more of location information, camera parameter information, identification, and network signal information.
In some embodiments, in order to facilitate the requested person to know the request items of the requesting person so as to better meet the requirements of the requesting person, the request items are further included in the first request shared by the cameras and the second request shared by the cameras.
Furthermore, in further embodiments, the apparatus 5 further comprises: third request sending unit 55 and second sharing unit 56
The third request sending unit 55 is configured to send a camera sharing third request to a third user terminal that is matched with the request location information and that grants a credit for the identity of the first user terminal if the user type is a personal user, where the camera sharing third request includes the identity of the first user terminal;
the second sharing unit 56 is configured to receive, in real time, image information returned by the third user terminal if the determination information returned by the third user terminal is received, and send the image information returned by the third user terminal to the first user terminal.
It should be noted that, since the apparatus for sharing a camera is based on the same inventive concept as the method for sharing a camera in the above method embodiment, the corresponding content in the above method embodiment is also applicable to the present apparatus embodiment, and is not described in detail here.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: when a first request receiving unit 51 receives a first request for sharing a camera, which is initiated by a first user terminal and includes an identity identifier of the first user terminal and request position information, the device for sharing a camera determines, by an identity authentication unit 52, a user type of the first user terminal according to the identity identifier; if the user type is a public credit granting user, a second request sending unit 53 is utilized to send a camera sharing second request to a second user terminal matched with the requested location information, where the camera sharing second request includes: the identity of the first user terminal; if the determination information returned by the second user terminal is received, the first sharing unit 54 receives the image information returned by the second user terminal in real time, and sends the image information returned by the second user terminal to the first user terminal, on one hand, public credit users such as public security, hospitals and the like can conveniently inquire the user terminal matched with the request position information in time and send a camera sharing request to the user terminal; on the other hand, the position information of the second user terminal (namely, the requested person) is only disclosed to the public credit granting user, the privacy of the second user terminal can be protected, and the camera sharing second request sent to the second user terminal comprises the identity of the first user terminal initiating the sharing request, so that the second user terminal can conveniently know the identity of the requesting person and autonomously determine whether to perform camera sharing, a trust platform of two sharing parties is built, and the idle camera is effectively utilized.
Fig. 6 is a schematic diagram of a hardware structure of an intelligent terminal according to an embodiment of the present invention, where the intelligent terminal 600 is capable of executing the method for sharing a camera according to the foregoing embodiment.
Specifically, referring to fig. 6, the intelligent terminal 600 includes:
one or more processors 610 and a memory 620, with one processor 610 being an example in fig. 6.
The processor 610 and the memory 620 may be connected by a bus or other means, such as by a bus in FIG. 6.
The memory 620, as a non-transitory computer-readable storage medium, may be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as program instructions/modules corresponding to the method for sharing a camera in the embodiment of the present invention (for example, the first request receiving unit 51, the identity authentication unit 52, the second request sending unit 53, the first sharing unit 54, the third request sending unit 55, and the second sharing unit 56 shown in fig. 5). The processor 610 executes various functional applications and data processing of the smart terminal 600 by running the non-volatile software programs, instructions and modules stored in the memory 620, that is, implements the method of sharing a camera according to the above-described method embodiments.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the device sharing the camera, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 620 may optionally include memory located remotely from the processor 610, which may be connected to the intelligent terminal 600 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform the method of sharing a camera in any of the above-described method embodiments, e.g., performing the above-described method steps 110 to 140 in fig. 2, method steps 131 to 133 in fig. 3, and method steps 210 to 260 in fig. 4, implementing the functions of the units 51-56 in fig. 5.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, for example, by one of the processors 610 in fig. 6, and enable the one or more processors to perform the method for sharing a camera in any of the method embodiments, for example, the method steps 110 to 140 in fig. 2, the method steps 131 to 133 in fig. 3, and the method steps 210 to 260 in fig. 4, which are described above, so as to implement the functions of the units 51 to 56 in fig. 5.
Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a smart terminal, cause the smart terminal to perform the method for sharing a camera in any of the above-described method embodiments, perform the above-described method steps 110 to 140 in fig. 2, method steps 131 to 133 in fig. 3, and method steps 210 to 260 in fig. 4, and implement the functions of the units 51 to 56 in fig. 5.
The above products (including the intelligent terminal, the non-transitory computer readable storage medium, and the computer program product) can execute the method for sharing the camera provided by the embodiments of the present invention, and have corresponding functional modules and beneficial effects for executing the method for sharing the camera. For details of the technique not described in detail in this embodiment, reference may be made to the method for sharing a camera provided in the embodiment of the present invention.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method of sharing a camera, comprising:
receiving a first request for sharing a camera initiated by a first user terminal, wherein the first request for sharing the camera comprises: the first user terminal comprises an identity mark and request position information of the first user terminal, wherein the request position information refers to the position information of a request destination;
determining the user type of the first user terminal according to the identity;
if the user type is a public credit granting user, sending a camera sharing second request to a second user terminal matched with the request position information, wherein the camera sharing second request comprises: the identity of the first user terminal;
if the determination information returned by the second user terminal is received, receiving the image information returned by the second user terminal in real time, and sending the image information returned by the second user terminal to the first user terminal;
if the user type is a personal user, sending a camera sharing third request to a third user terminal which is matched with the request position information and is trusted for the identity of the first user terminal, wherein the camera sharing third request comprises the identity of the first user terminal;
if the determination information returned by the third user terminal is received, receiving the image information returned by the third user terminal in real time, and sending the image information returned by the third user terminal to the first user terminal;
the third user terminal is a user terminal in the second user terminal which trusts the identity of the first user terminal, and the trust trusting trusts the first user terminal and allows the first user terminal to initiate a camera sharing request to the third user terminal.
2. The method according to claim 1, wherein when the second user terminal includes two or more, the sending a camera sharing second request to the second user terminal matching the requested location information includes:
presenting user information of a second user terminal matched with the request position information to the first user terminal;
receiving a selection instruction sent by the first user terminal;
and sending a camera sharing second request to the second user terminal according to the selection instruction.
3. The method of claim 2, wherein the user information comprises any one or more of location information, camera parameter information, identity, and network signal information.
4. The method according to any one of claims 1-3, wherein the first request for camera sharing and the second request for camera sharing further comprise request transactions.
5. An apparatus for sharing a camera, comprising:
a first request receiving unit, configured to receive a first request for camera sharing initiated by a first user terminal, where the first request for camera sharing includes: the first user terminal comprises an identity mark and request position information of the first user terminal, wherein the request position information refers to the position information of a request destination;
the identity authentication unit is used for determining the user type of the first user terminal according to the identity;
a second request sending unit, configured to send a camera sharing second request to a second user terminal matched with the requested location information if the user type is a public credit granting user, where the camera sharing second request includes: the identity of the first user terminal;
the first sharing unit is used for receiving image information returned by the second user terminal in real time and sending the image information returned by the second user terminal to the first user terminal if the determination information returned by the second user terminal is received;
a third request sending unit, configured to send a camera sharing third request to a third user terminal that is matched with the request location information and that grants a credit for the identity of the first user terminal if the user type is a personal user, where the camera sharing third request includes the identity of the first user terminal;
the second sharing unit is used for receiving the image information returned by the third user terminal in real time and sending the image information returned by the third user terminal to the first user terminal if the determination information returned by the third user terminal is received;
the third user terminal is a user terminal in the second user terminal which trusts the identity of the first user terminal, and the trust trusting trusts the first user terminal and allows the first user terminal to initiate a camera sharing request to the third user terminal.
6. The apparatus according to claim 5, wherein when the second user terminal includes two or more, the second request sending unit is specifically configured to:
presenting user information of a second user terminal matched with the request position information to the first user terminal;
receiving a selection instruction sent by the first user terminal;
and sending a camera sharing second request to the second user terminal according to the selection instruction.
7. The apparatus of claim 6, wherein the user information comprises any one or more of location information, camera parameter information, identity, and network signal information.
8. The apparatus according to any one of claims 5-6, wherein the first request for camera sharing and the second request for camera sharing further comprise request transactions.
9. An intelligent terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions for causing a smart terminal to perform the method of any one of claims 1-4.
CN201711175237.3A 2017-11-22 2017-11-22 Method and device for sharing camera and intelligent terminal Active CN107948592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711175237.3A CN107948592B (en) 2017-11-22 2017-11-22 Method and device for sharing camera and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711175237.3A CN107948592B (en) 2017-11-22 2017-11-22 Method and device for sharing camera and intelligent terminal

Publications (2)

Publication Number Publication Date
CN107948592A CN107948592A (en) 2018-04-20
CN107948592B true CN107948592B (en) 2019-03-15

Family

ID=61930771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711175237.3A Active CN107948592B (en) 2017-11-22 2017-11-22 Method and device for sharing camera and intelligent terminal

Country Status (1)

Country Link
CN (1) CN107948592B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427570B (en) * 2018-04-26 2022-11-15 Oppo广东移动通信有限公司 Information processing method and device of mobile terminal, computer readable storage medium and electronic equipment
CN111970468B (en) * 2019-05-20 2022-04-08 北京小米移动软件有限公司 Camera sharing method and device and computer readable storage medium
CN112995647A (en) * 2019-12-02 2021-06-18 嘉兴捷威进出口有限公司 Camera sharing method, system, intelligent terminal and medium
CN111131930B (en) * 2019-12-31 2022-04-26 维沃移动通信有限公司 Device resource control method, first electronic device, and computer-readable storage medium
CN111510634B (en) * 2020-05-06 2021-07-23 维沃移动通信有限公司 Camera module control method and camera module
CN114079732B (en) * 2020-08-20 2022-11-22 腾讯科技(深圳)有限公司 Camera control method and device, electronic equipment and storage medium
CN114449211A (en) * 2020-11-04 2022-05-06 北京小米移动软件有限公司 Shooting method and device, electronic equipment and storage medium
CN112565654A (en) * 2020-11-24 2021-03-26 广州橙行智动汽车科技有限公司 Data processing method and device
CN113079161B (en) * 2021-04-01 2022-10-25 武汉飓飚信息技术有限公司 Method and system for sharing monitoring camera
CN113329177A (en) * 2021-05-27 2021-08-31 北京橘拍科技有限公司 Sharing method, system, terminal and storage medium of public place camera
CN117714585B (en) * 2023-07-31 2024-09-27 荣耀终端有限公司 Cross-equipment collaborative shooting method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179498A (en) * 2011-12-20 2013-06-26 联想(北京)有限公司 Method and device for data transmission
CN105100708A (en) * 2015-06-26 2015-11-25 小米科技有限责任公司 Request processing method and device
EP3016013A1 (en) * 2013-06-25 2016-05-04 Fujitsu Limited Information processing device, terminal device, information processing program, and information processing method
CN106330664A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Information interaction processing method, system and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192920B (en) * 2006-11-21 2015-04-29 华为技术有限公司 A response request method and device
CN103812907B (en) * 2012-11-14 2018-01-16 华为技术有限公司 A kind of methods, devices and systems for determining terminal to be shared

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179498A (en) * 2011-12-20 2013-06-26 联想(北京)有限公司 Method and device for data transmission
EP3016013A1 (en) * 2013-06-25 2016-05-04 Fujitsu Limited Information processing device, terminal device, information processing program, and information processing method
CN105100708A (en) * 2015-06-26 2015-11-25 小米科技有限责任公司 Request processing method and device
CN106330664A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Information interaction processing method, system and terminal

Also Published As

Publication number Publication date
CN107948592A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107948592B (en) Method and device for sharing camera and intelligent terminal
US9454665B1 (en) Retrieving contact information based on image recognition searches
US10863310B2 (en) Method, server and terminal for information interaction
US10165002B2 (en) Identifying an imposter account in a social network
TWI616821B (en) Bar code generation method, bar code based authentication method and related terminal
CN111991813B (en) Method and device for logging in game, electronic equipment and storage medium
US10142414B2 (en) Method and device for sharing picture
US10614621B2 (en) Method and apparatus for presenting information
KR20120078701A (en) Shared face training data
US10993090B2 (en) Network access method, apparatus, and system
WO2014139298A1 (en) Permission management method, device and system for cloud platform service
EP3249570A1 (en) Method and device for providing prompt indicating loss of terminal
US9986152B2 (en) Intelligently capturing digital images based on user preferences
CN111698196A (en) Authentication method and micro-service system
CN106156108A (en) The transfer method of a kind of virtual resource, device and system
AU2019262743B2 (en) Control viewing access to documents in collaborative scenarios using facial recognition from webcams
JP5999185B2 (en) Authentication method and authentication program
CN112966256B (en) Equipment management method based on building information model and related device
CN108664847B (en) Object identification method, device and system
CN113541981B (en) Member management method and system for network slice
CN111400684B (en) Electronic license information acquisition method, system, device, equipment and storage medium
US10353473B2 (en) Client device motion control via a video feed
US10956718B2 (en) Photograph permission management integrated with real-time facial recognition
CN114393583B (en) Method and device for controlling equipment through robot
US11687627B2 (en) Media transit management in cyberspace

Legal Events

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