CN113810856A - Method and apparatus for generating information - Google Patents

Method and apparatus for generating information Download PDF

Info

Publication number
CN113810856A
CN113810856A CN202010536258.9A CN202010536258A CN113810856A CN 113810856 A CN113810856 A CN 113810856A CN 202010536258 A CN202010536258 A CN 202010536258A CN 113810856 A CN113810856 A CN 113810856A
Authority
CN
China
Prior art keywords
local area
area network
pinhole camera
wireless pinhole
information
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.)
Granted
Application number
CN202010536258.9A
Other languages
Chinese (zh)
Other versions
CN113810856B (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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202010536258.9A priority Critical patent/CN113810856B/en
Publication of CN113810856A publication Critical patent/CN113810856A/en
Application granted granted Critical
Publication of CN113810856B publication Critical patent/CN113810856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method and a device for generating information, and relates to the technical field of Internet of things. The specific implementation scheme is as follows: connecting a local area network; sending at least one broadcast data packet for the wireless pinhole camera through the local area network, wherein the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera; determining response data of the wireless pinhole camera in the local area network aiming at the at least one broadcast data packet; and generating detection information aiming at the wireless pinhole camera of the local area network according to the response data. The embodiment realizes the detection of various wireless pinhole cameras connected to the local area network, thereby finding out the cameras for candid shooting in time and protecting the personal privacy of users.

Description

Method and apparatus for generating information
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to the technical field of Internet of things.
Background
In recent years, with the continuous development and progress of science and technology, the application of the camera in real life is more and more extensive. The camera can be actively or passively installed for monitoring in indoor places such as enterprises and malls, outdoor places such as streets and parks, and even in the home of ordinary people. The camera plays an active role in public security evidence obtaining, investigation and monitoring, and facility and road monitoring. But at the same time, the presence and flooding of cameras has greatly threatened personal privacy and property security. Bad security phenomena such as candid photography and lasso begin to grow in the society. Especially, the pinhole camera has a small size, so that the pinhole camera has a good hiding effect and can be installed in indoor facilities and ornaments such as walls, lamps and sockets which are not easy to perceive, and the indoor personnel can be secretly shot. In view of the above background, how to detect a nearby candid camera is important for protecting user privacy.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, and storage medium for generating information.
According to a first aspect of the present disclosure, there is provided a method for generating information, the method comprising: connecting a local area network; sending at least one broadcast data packet for the wireless pinhole camera through the local area network, wherein the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera; determining response data of the wireless pinhole camera in the local area network aiming at the at least one broadcast data packet; and generating detection information aiming at the wireless pinhole camera of the local area network according to the response data.
According to a second aspect of the present disclosure, there is provided an apparatus for generating information, comprising: a connection unit configured to connect to a local area network; a sending unit configured to send at least one broadcast data packet for the wireless pinhole camera through the local area network, wherein the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera; a determining unit configured to determine response data of the wireless pinhole camera in the local area network for the at least one broadcast data packet; and a generating unit configured to generate detection information for the wireless pinhole camera of the local area network according to the response data.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and 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 according to any one of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method according to any one of the first aspect.
According to the technology of this application, through send the multiple broadcast data package to multiple wireless pinhole camera in the LAN and detect the wireless pinhole camera that is connected to the LAN, can realize the detection to the multiple wireless pinhole camera that is connected to the LAN to in time discover to take a candid photograph with the camera, protect user's individual privacy.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow diagram of one embodiment of a method for generating information according to the present application;
FIG. 2 is a schematic diagram of an application scenario of a method for generating information according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method for generating information according to the present application;
FIG. 4 is a schematic block diagram illustrating one embodiment of an apparatus for generating information according to the present application;
fig. 5 is a block diagram of an electronic device for implementing a method for generating information according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Referring to fig. 1, a flow 100 of one embodiment of a method for generating information in accordance with the present disclosure is shown. The method for generating information comprises the following steps:
and S101, connecting the local area network.
In the present embodiment, the execution subject of the method for generating information may be connected to a local area network. Here, the local area network may refer to a local area network formed in a local area, and is characterized by a limited distribution area. The local area network may be, for example, a network within a building. Here, the Local Area Network may include a Wireless Local Area Network (WLAN), and for example, the Wireless Local Area Network may include WIFI (Wireless Fidelity). In practice, the execution agent may connect to the local area network according to the WiFi name and password.
Generally, after a user arrives at an indoor location (e.g., a hotel, a rental house, etc.), the user may scan the wireless lan using a terminal device (e.g., a smartphone, a tablet, an e-reader, etc.) having a wlan connection function. Then, the user can select one of the wireless local area networks scanned by the terminal device and input a password corresponding to the selected wireless local area network, so that the terminal device is connected to the local area network.
S102, sending at least one broadcast data packet aiming at the wireless pinhole camera through the local area network.
In this embodiment, the execution subject may send at least one broadcast packet for the wireless pinhole camera through the local area network after connecting to the local area network. Here, the at least one broadcast packet may be determined based on a discovery rule preset by the at least one wireless pinhole camera. Here, the discovery rule may refer to a generation rule of a broadcast packet that is transmitted to a wireless pinhole camera by an APP (Application) corresponding to the wireless pinhole camera and is used for adding the wireless pinhole camera to the APP. Here, the broadcast packet may be used to discover a wireless pinhole camera. For example, if the wireless pinhole camera corresponding to the APP exists in the local area network, after the APP sends the broadcast data packet, the corresponding wireless pinhole camera will respond to the broadcast data packet, that is, the wireless pinhole camera is found. As an example, the broadcast packet may be a broadcast packet of UDP (User Datagram Protocol).
In practice, each wireless pinhole camera has a corresponding APP. Generally, after a wireless pinhole camera is installed, a user can add the wireless pinhole camera to a corresponding APP through the corresponding APP. Taking the execution main body as an example of a smart phone, an APP corresponding to the wireless pinhole camera can be downloaded in advance in the smart phone. The installation of the wireless pinhole camera is completed, and after the mobile phone is started, a WIFI can be generated, and the smart phone can be connected with the WIFI generated by the camera. Later, the user can add the function to add wireless pinhole camera to APP through APP's camera in the smart mobile phone. Specifically, the APP can send a broadcast data packet, and after the wireless pinhole camera receives the broadcast data packet, whether the broadcast data packet matches with a preset discovery rule or not can be judged, and if the broadcast data packet matches with the preset discovery rule, the wireless pinhole camera can feed back response information for the broadcast data packet. Here, the discovery rule may be a rule specified by a manufacturer of the wireless pinhole camera.
In some optional implementations of the embodiment, the at least one preset discovery rule for the wireless pinhole camera may be determined by:
for each of the at least one wireless pinhole camera, a preset discovery rule determining step may be performed.
In this implementation, the rule discovery execution body used to determine the discovery rule may be the same as or different from the execution body used to generate the information. If the rule discovery rule is different from the information generation rule, the rule discovery executing body can send the determined discovery rule to the executing body for generating the information, or upload the discovery rule to the cloud end for downloading by the executing body for generating the information.
Here, the at least one wireless pinhole camera may include various existing wireless pinhole cameras. For each of the at least one wireless pinhole camera, the rule discovery executing subject may execute the following preset steps 1) -3).
And step 1), acquiring a broadcast data packet which is sent by an application program corresponding to the wireless pinhole camera and is used for adding the wireless pinhole camera.
In this implementation, the rule discovery execution main body may have installed in advance an APP corresponding to the wireless pinhole camera, and send a broadcast packet for adding the wireless pinhole camera through the APP. While sending the broadcast data packet, the rule discovery executor may also obtain the broadcast data packet.
And step 2), acquiring response data of the wireless pinhole camera aiming at the broadcast data packet sent by the corresponding application program.
In this implementation manner, the rule discovery execution main body may further obtain response data of the broadcast data packet sent by the wireless pinhole camera for the corresponding application program.
And 3) analyzing and processing the acquired broadcast data packet and the response data to obtain the discovery rule of the wireless pinhole camera. In this implementation manner, the rule discovery executing entity may analyze and process the broadcast data packet and the response data corresponding to the wireless pinhole camera. For example, the broadcast packet and the response data obtained a plurality of times may be subjected to statistical analysis to determine the generation rule of the broadcast packet and the response data. And the generation rule is used as the discovery rule of the wireless pinhole camera. Through the implementation mode, the preset discovery rules of various wireless pinhole cameras can be determined, and conditions are provided for subsequent detection of the wireless pinhole cameras.
S103, determining response data of the wireless pinhole camera in the local area network for at least one broadcast data packet.
In this embodiment, after the execution main body sends at least one broadcast data packet for a wireless pinhole camera through a local area network, if the local area network is connected with the wireless pinhole camera, the wireless pinhole camera connected in the local area network will, after receiving the at least one broadcast data packet, determine one by one whether each broadcast data packet in the at least one broadcast data packet satisfies a preset discovery rule, and if so, respond to the broadcast data packet. In this way, the execution subject can determine the response data of the wireless pinhole camera in the local area network for at least one broadcast data packet. Here, what data is included in the response data may be defined by the manufacturer itself of various wireless pinhole cameras. The data contained in the response data fed back by different wireless pinhole cameras for the broadcast data packet may be different.
And S104, generating detection information aiming at the wireless pinhole camera of the local area network according to the response data.
In this embodiment, if the execution body receives a piece of response data, it indicates the response of one wireless pinhole camera connected in the local area network to one broadcast packet of at least one broadcast packet. Therefore, the execution subject can generate detection information for the wireless pinhole camera of the local area network according to the received response data. The execution subject may count the number of received response data, and generate detection information for the wireless pinhole camera of the local area network according to the counted number. For example, detection information "there are N wireless pinhole cameras around you" may be generated, where N may represent the number of response data received. The executing agent may then display the detection information for viewing by a user using the executing agent.
In some optional implementations of this embodiment, the method for generating information may further include the following:
first, port opening information of a device connected to a local area network is acquired.
In this implementation, the execution agent may obtain port development information of the device connected to the local area network. Here, the port opening information may be used to indicate whether each device connected to the local area network has a specific port opened. As an example, the execution agent may send a broadcast packet to a specific port of each device connected to the local area network, and collect response information returned by each device. Here, the specific port may refer to a port for transmitting video data. In practical applications, a wireless pinhole camera often uploads a shot video through a specific port (for example, a port with a port number of 554). Therefore, when the execution main body broadcasts the specific port, if the device responds, the device can be judged to upload video data, and the device is a camera at a high probability. Here, the devices connected to the local area network may be various electronic devices connected to the local area network.
Then, it is determined whether there is a device having a specific port opened among the devices connected to the local area network according to the port development information.
In this implementation, the execution main body may determine whether there is a device with a specific port opened in all devices connected to the lan according to the port opening information. Here, the specific port may be a port for transmitting video data.
And finally, generating first suspicious equipment prompt information in response to the fact that the equipment with the opened specific port exists in the equipment connected with the local area network.
In this implementation, if it is determined that there is a device with a specific port opened in the devices connected to the local area network, the execution subject may generate first suspicious device prompt information. Here, the first suspect device alert message may be used to alert the user to the presence of a device in the local area network that is sending video out. In practice, since some monitoring cameras connected to the lan and legally installed may also upload video data by opening a specific port, a suspicious device that uploads video data and is determined by port opening information may not be an illegally installed wireless pinhole camera. Therefore, only the first suspect device alert message is generated to alert the user that there is a device in the local area network that sends the video out. Through the implementation mode, the first suspicious equipment prompt message can be generated based on the port opened by the equipment in the local area network, so that whether suspicious equipment exists in the local area network is prompted to a user, and the user is assisted to judge whether a candid camera exists nearby.
In some optional implementations of this embodiment, the method for generating information may further include the following:
first, hardware address information of a device connected to a local area network is acquired.
In this implementation, the execution body may acquire hardware address information of a device connected to the local area network in various ways. For example, the execution subject may send information according to a corresponding device in an effective address list of the local area network, and collect feedback information returned by each device, where the feedback information may include device information, and the device information may include, but is not limited to: IP (Internet Protocol) address, MAC address, etc. Here, the hardware address information of the device may include a MAC address.
Then, it is determined whether a device produced by a predetermined manufacturer exists among the devices connected to the local area network based on the hardware address information.
In this implementation, the execution subject may determine whether a device produced by a preset manufacturer exists in devices connected to the local area network according to the hardware address information of the devices. Here, the predetermined manufacturer may refer to a manufacturer that produces the wireless pinhole camera. Typically, a MAC address is a set of 12-bit 16-ary numbers, where the first 6 bits may represent the manufacturer. In practice, the execution subject may obtain in advance what manufacturers produce the wireless pinhole cameras have, and store the MAC addresses corresponding to the manufacturers. In this way, after acquiring the hardware address information of the device in the local area network, the execution main body can judge whether the device in the local area network includes a device produced by a wireless pinhole camera manufacturer according to the pre-stored MAC address corresponding to the manufacturer.
And finally, responding to the fact that equipment produced by a preset manufacturer exists in the equipment connected to the local area network, and generating second suspicious equipment prompt information.
In this implementation, if it is determined that there are devices produced by a preset manufacturer among the devices connected to the local area network, the execution subject may generate second suspicious device prompt information. Here, the second suspect device alert message may be used to alert the user that a device generated by a preset vendor exists in the local area network. In practice, since a manufacturer producing the wireless pin-hole camera may also produce other electronic devices besides the wireless pin-hole camera, and the electronic devices may also be connected to the local area network, the device produced by a pre-manufacturer connected to the local area network may not be the wireless pin-hole camera. Therefore, only the second suspicious device prompt message is generated to prompt the user that the devices produced by the preset manufacturer exist in the local area network. Through the implementation mode, the prompt information of the second suspicious equipment can be generated based on the manufacturer of the equipment connected to the local area network, so that the user is assisted to judge whether the candid camera exists around the user.
With continued reference to fig. 2, fig. 2 is a schematic diagram of an application scenario of the method for generating information according to the present embodiment. In the application scenario of fig. 2, after the user arrives at a hotel room, the smartphone 201 may first be used to connect to a local area network of the hotel room, such as WiFi. Then, the smartphone 201 may send, through the local area network, a plurality of broadcast data packets for the wireless pinhole cameras, where the plurality of broadcast data packets are determined based on discovery rules preset by the plurality of wireless pinhole cameras. Then, the smartphone 201 determines response data of the wireless pinhole camera in the local area network for the plurality of broadcast data packets. Finally, the smart phone 201 may generate detection information for the wireless pinhole camera of the local area network in the hotel room according to the response data, and display the detection information.
According to the method provided by the embodiment of the disclosure, the wireless pinhole cameras connected to the local area network are detected by sending various broadcast data packets aiming at various wireless pinhole cameras in the local area network, so that the detection of various wireless pinhole cameras connected to the local area network can be realized, the cameras for candid shooting can be found in time, and the individual privacy of a user is protected.
With further reference to fig. 3, a flow diagram 300 of yet another embodiment of a method for generating information is shown. The flow 300 of the method for generating information comprises the steps of:
s301, connecting the local area network
In this embodiment, S301 is similar to S101 of the embodiment shown in fig. 1, and is not described here again.
S302, obtaining at least one preset discovery rule of the wireless pinhole camera from the cloud.
In this embodiment, the cloud may store discovery rules for multiple wireless pinhole cameras in advance. In practice, whenever a novel wireless pinhole camera appears in the market, the discovery rule of the novel wireless pinhole camera can be obtained in various ways, for example, a technician generates the discovery rule according to the summary of actual experience. And the discovery rule corresponding to the novel wireless pinhole camera is uploaded to the cloud. In this way, the execution subject can obtain at least one discovery rule preset by the wireless pinhole camera from the cloud.
And S303, generating at least one broadcast data packet according to a preset discovery rule of at least one wireless pinhole camera.
In this embodiment, the execution subject may generate at least one broadcast data packet according to the discovery rule of the at least one wireless pinhole camera acquired in S302. For example, for each discovery rule of the wireless pinhole camera, the execution subject may generate a broadcast packet according to the discovery rule. In practice, the discovery rules corresponding to different types of wireless pinhole cameras may be the same or different. If they are the same, it means that there may be multiple wireless pinhole camera responses for one broadcast packet.
S304, at least one broadcast data packet aiming at the wireless pinhole camera is sent through the local area network.
In this embodiment, S304 is similar to S102 of the embodiment shown in fig. 1, and is not described here again.
S305, determining response data of the wireless pinhole camera in the local area network for at least one broadcast data packet.
In this embodiment, S305 is similar to S103 of the embodiment shown in fig. 1, and is not described here again.
And S306, generating detection information aiming at the wireless pinhole camera of the local area network according to the response data.
In this embodiment, S306 is similar to S104 of the embodiment shown in fig. 1, and is not described here again.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 1, the flow 300 of the method for generating information in the present embodiment highlights a step of obtaining a discovery rule of a wireless pinhole camera from a cloud. Therefore, the scheme described in this embodiment can acquire the discovery rule of the novel wireless pinhole camera updated by the cloud in time, so that various novel wireless pinhole cameras can be detected more quickly.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for generating information, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable in various electronic devices.
As shown in fig. 4, the apparatus 400 for generating information of the present embodiment includes: connection section 401, transmission section 402, determination section 403, and generation section 404. Wherein the connection unit 401 is configured to connect to a local area network; the sending unit 402 is configured to send at least one broadcast data packet for the wireless pinhole camera through the local area network, where the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera; the determining unit 403 is configured to determine response data of the wireless pinhole camera in the local area network for the at least one broadcast data packet; the generating unit 404 is configured to generate detection information for the wireless pinhole camera of the local area network according to the response data.
In this embodiment, specific processes of the connection unit 401, the sending unit 402, the determining unit 403, and the generating unit 404 of the apparatus 400 for generating information and technical effects brought by the specific processes may refer to descriptions of S101, S102, S103, and S104 in the corresponding embodiment of fig. 1, which are not described herein again.
In some optional implementations of this embodiment, the apparatus 400 further includes: an obtaining unit (not shown in the figure) configured to obtain, from a cloud, at least one discovery rule preset by the wireless pinhole camera; and a data packet generating unit (not shown in the figure) configured to generate at least one broadcast data packet according to a discovery rule preset by the at least one wireless pinhole camera.
In some optional implementations of this embodiment, the apparatus 400 further includes: a first information acquisition unit (not shown in the figure) configured to acquire port opening information of a device connected to the local area network; a first device determining unit (not shown in the figure) configured to determine whether a device having a specific port opened exists in devices connected to the local area network according to the port development information, wherein the specific port is used for transmitting video data; a first information generating unit (not shown in the figure), configured to generate first suspicious device prompting information in response to determining that there is a device with a specific port opened in the devices connected to the local area network, where the first suspicious device prompting information is used to prompt a user that there is a device sending a video out in the local area network.
In some optional implementations of this embodiment, the apparatus 400 further includes: a second information acquisition unit (not shown in the figure) configured to acquire hardware address information of a device connected to the local area network; a second device determination unit (not shown in the figure) configured to determine whether a device produced by a predetermined manufacturer exists among the devices connected to the local area network based on the hardware address information; and a second information generating unit (not shown in the figure) configured to generate second suspicious device prompting information in response to determining that the devices produced by the preset manufacturer exist in the devices connected to the local area network, wherein the second suspicious device prompting information is used for prompting a user that the devices produced by the preset manufacturer exist in the local area network.
In some optional implementations of the embodiment, the at least one preset discovery rule for the wireless pinhole camera is determined by: for a wireless pinhole camera of the at least one wireless pinhole camera, performing the following discovery rule determining steps: acquiring a broadcast data packet which is sent by an application program corresponding to the wireless pinhole camera and is used for adding the wireless pinhole camera; acquiring response data of the wireless pinhole camera aiming at a broadcast data packet sent by a corresponding application program; and analyzing and processing the acquired broadcast data packet and the response data to obtain the discovery rule of the wireless pinhole camera.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 5, is a block diagram of an electronic device for generating information according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the method for generating information provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for generating information provided herein.
The memory 502, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the method for generating information in the embodiment of the present application (for example, the connection unit 401, the transmission unit 402, the determination unit 403, and the generation unit 404 shown in fig. 4). The processor 501 executes various functional applications of the server and data processing, i.e., implements the method for generating information in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 502.
The memory 502 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 according to use of the electronic device for generating information, and the like. Further, the memory 502 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, memory 502 optionally includes memory located remotely from processor 501, which may be connected to an electronic device for generating information over 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 electronic device of the method for generating information may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus used to generate the information, such as an input device such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the wireless pinhole cameras connected to the local area network are detected by sending various broadcast data packets aiming at various wireless pinhole cameras in the local area network, so that the detection of various wireless pinhole cameras connected to the local area network can be realized, the cameras for candid shooting are found in time, and the individual privacy of a user is protected.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method for generating information, comprising:
connecting a local area network;
sending at least one broadcast data packet for the wireless pinhole camera through the local area network, wherein the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera;
determining response data of the wireless pinhole camera in the local area network for the at least one broadcast data packet;
and generating detection information aiming at the wireless pinhole camera of the local area network according to the response data.
2. The method of claim 1, wherein prior to transmitting at least one broadcast data packet for a wireless pinhole camera over the local area network, the method further comprises:
acquiring at least one preset discovery rule of a wireless pinhole camera from a cloud;
and generating at least one broadcast data packet according to a preset discovery rule of the at least one wireless pinhole camera.
3. The method of claim 1, wherein the method further comprises:
acquiring port opening information of equipment connected with the local area network;
determining whether equipment with a specific port is opened exists in the equipment connected with the local area network according to the port development information, wherein the specific port is used for sending video data;
and generating first suspicious device prompt information in response to the fact that the devices which are connected with the local area network and have the opened specific ports exist, wherein the first suspicious device prompt information is used for prompting a user that the devices which send videos outwards exist in the local area network.
4. The method of claim 1, wherein the method further comprises:
acquiring hardware address information of a device connected to the local area network;
determining whether equipment produced by a preset manufacturer exists in the equipment connected to the local area network or not according to the hardware address information;
and generating second suspicious device prompt information in response to the fact that the devices produced by the preset manufacturer exist in the devices connected to the local area network, wherein the second suspicious device prompt information is used for prompting a user that the devices produced by the preset manufacturer exist in the local area network.
5. The method according to claim 1, wherein the preset discovery rule of the at least one wireless pinhole camera is determined by:
for a wireless pinhole camera of the at least one wireless pinhole camera, performing the following discovery rule determining steps:
acquiring a broadcast data packet which is sent by an application program corresponding to the wireless pinhole camera and is used for adding the wireless pinhole camera;
acquiring response data of the wireless pinhole camera aiming at a broadcast data packet sent by a corresponding application program;
and analyzing and processing the acquired broadcast data packet and the response data to obtain the discovery rule of the wireless pinhole camera.
6. An apparatus for generating information, comprising:
a connection unit configured to connect to a local area network;
a sending unit configured to send at least one broadcast data packet for a wireless pinhole camera through the local area network, wherein the at least one broadcast data packet is determined based on a discovery rule preset by the at least one wireless pinhole camera;
a determining unit configured to determine response data of the wireless pinhole camera in the local area network for the at least one broadcast data packet;
a generating unit configured to generate detection information for a wireless pinhole camera of the local area network according to the response data.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the acquisition unit is configured to acquire at least one preset discovery rule of the wireless pinhole camera from the cloud;
and the data packet generating unit is configured to generate at least one broadcast data packet according to a preset discovery rule of the at least one wireless pinhole camera.
8. The apparatus of claim 6, wherein the apparatus further comprises:
a first information acquisition unit configured to acquire port opening information of a device connected to the local area network;
a first device determination unit configured to determine whether a device having a specific port opened therein exists among devices connected to the local area network according to the port development information, wherein the specific port is used for transmitting video data;
the first information generation unit is configured to generate first suspicious device prompt information in response to determining that a device with a specific port opened exists in devices connected with the local area network, wherein the first suspicious device prompt information is used for prompting a user that a device for sending a video out exists in the local area network.
9. The apparatus of claim 6, wherein the apparatus further comprises:
a second information acquisition unit configured to acquire hardware address information of a device connected to the local area network;
a second device determination unit configured to determine whether a device produced by a preset vendor exists among devices connected to the local area network according to the hardware address information;
the second information generating unit is configured to generate second suspicious device prompt information in response to the fact that the devices produced by the preset manufacturer exist in the devices connected to the local area network, wherein the second suspicious device prompt information is used for prompting a user that the devices produced by the preset manufacturer exist in the local area network.
10. The apparatus of claim 6, wherein the preset discovery rule of the at least one wireless pinhole camera is determined by:
for a wireless pinhole camera of the at least one wireless pinhole camera, performing the following discovery rule determining steps:
acquiring a broadcast data packet which is sent by an application program corresponding to the wireless pinhole camera and is used for adding the wireless pinhole camera;
acquiring response data of the wireless pinhole camera aiming at a broadcast data packet sent by a corresponding application program;
and analyzing and processing the acquired broadcast data packet and the response data to obtain the discovery rule of the wireless pinhole camera.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202010536258.9A 2020-06-12 2020-06-12 Method and apparatus for generating information Active CN113810856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010536258.9A CN113810856B (en) 2020-06-12 2020-06-12 Method and apparatus for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010536258.9A CN113810856B (en) 2020-06-12 2020-06-12 Method and apparatus for generating information

Publications (2)

Publication Number Publication Date
CN113810856A true CN113810856A (en) 2021-12-17
CN113810856B CN113810856B (en) 2023-03-21

Family

ID=78892218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010536258.9A Active CN113810856B (en) 2020-06-12 2020-06-12 Method and apparatus for generating information

Country Status (1)

Country Link
CN (1) CN113810856B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN109410537A (en) * 2018-12-11 2019-03-01 长沙树莓信息科技有限公司 A kind of device monitoring equipment of taking on the sly and its control method
CN109922061A (en) * 2019-03-04 2019-06-21 安徽谛听信息科技有限公司 A kind of local area network networking camera detection system and its working method
CN111132120A (en) * 2020-04-01 2020-05-08 北京三快在线科技有限公司 Method, system and equipment for identifying camera device in room local area network
CN111123388A (en) * 2020-04-01 2020-05-08 北京三快在线科技有限公司 Detection method and device for room camera device and detection equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN109410537A (en) * 2018-12-11 2019-03-01 长沙树莓信息科技有限公司 A kind of device monitoring equipment of taking on the sly and its control method
CN109922061A (en) * 2019-03-04 2019-06-21 安徽谛听信息科技有限公司 A kind of local area network networking camera detection system and its working method
CN111132120A (en) * 2020-04-01 2020-05-08 北京三快在线科技有限公司 Method, system and equipment for identifying camera device in room local area network
CN111123388A (en) * 2020-04-01 2020-05-08 北京三快在线科技有限公司 Detection method and device for room camera device and detection equipment

Also Published As

Publication number Publication date
CN113810856B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN111132120B (en) Method, system and equipment for identifying camera device in room local area network
US10805340B1 (en) Infection vector and malware tracking with an interactive user display
US20180262533A1 (en) Monitoring Device Data and Gateway Data
US9503893B2 (en) Communication management system, relay device, communication control system, communication system, communication method, and recording medium storing communication control program
WO2017092360A1 (en) Interaction method and device used when multimedia is playing
CN108124173A (en) A kind of one-to-many throw shields display methods, system and storage medium
US20120213211A1 (en) Wireless access point mac address privacy
CN111123388B (en) Detection method and device for room camera device and detection equipment
US9866575B2 (en) Management and distribution of virtual cyber sensors
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
CN105721450B (en) Method, device and system for logging in online game
CN107231545B (en) Remote video monitoring method based on smart phone
US11245589B2 (en) IoT topology analyzer defining an IoT topology and associated methods
EP3070625B1 (en) Image-recognition-based guidance for network device configuration and other enviroments
EP3051772A1 (en) Method and apparatus for accessing network
CN114422254B (en) Cloud honey deployment method and device, cloud honey server and readable storage medium
US10305905B2 (en) Access control device, communication system, program, and method for controlling access
CN106534877B (en) A kind of method and device sending Media Stream
CN105323128B (en) method, device and system for accessing front-end equipment to server
WO2018109419A1 (en) Method for controlling a radio signal emitted by a gateway, and corresponding gateway and computer program
CN111314693A (en) Hidden camera detection method and device, hotel management system and equipment
CN111030915A (en) Advertisement putting effect monitoring method and device
CN113810856B (en) Method and apparatus for generating information
CN104468781A (en) Network device fast searching system having filtering function and method
KR101641306B1 (en) Apparatus and method of monitoring server

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