CN114157988A - Control method, device and medium for electronic equipment - Google Patents

Control method, device and medium for electronic equipment Download PDF

Info

Publication number
CN114157988A
CN114157988A CN202111386317.XA CN202111386317A CN114157988A CN 114157988 A CN114157988 A CN 114157988A CN 202111386317 A CN202111386317 A CN 202111386317A CN 114157988 A CN114157988 A CN 114157988A
Authority
CN
China
Prior art keywords
equipment
communication
electronic equipment
electronic
geographic position
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
CN202111386317.XA
Other languages
Chinese (zh)
Other versions
CN114157988B (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.)
Shanghai Neighborhood Information Technology Co ltd
Original Assignee
Shanghai Neighborhood Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Neighborhood Information Technology Co ltd filed Critical Shanghai Neighborhood Information Technology Co ltd
Priority to CN202111386317.XA priority Critical patent/CN114157988B/en
Publication of CN114157988A publication Critical patent/CN114157988A/en
Application granted granted Critical
Publication of CN114157988B publication Critical patent/CN114157988B/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/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The application provides a control method, a control device and a control medium for electronic equipment, which are used for obtaining the current geographic position of the electronic equipment, obtaining a communication identifier according to the geographic position, wherein the communication identifier comprises an identity identifier of the electronic equipment, and connecting the electronic equipment with target equipment in a communication manner if it is detected that a wireless communication module of the electronic equipment is opened and the identity identifier is matched with a communication identifier of the target equipment. The identity identification is matched with the communication identification of the target equipment, and the wireless communication module of the electronic equipment is opened, so that the communication connection between the electronic equipment and the target equipment can be realized, a user does not need to manually search the communication identification of the electronic equipment when going out, the communication identification can be automatically acquired only through the current geographic position, and the convenience of the user in going out is improved.

Description

Control method, device and medium for electronic equipment
Technical Field
The present application relates to the field of device control technologies, and in particular, to a method, an apparatus, and a medium for controlling an electronic device.
Background
With the development and progress of technology, intelligent devices have become indispensable necessities in life, such as mobile phones. Nowadays, people can connect with relatives and friends in a long distance through a mobile phone, and various software can be downloaded through the mobile phone to meet the requirements of daily life, such as shopping software, music software and the like. People can download the trip software, and plan a walking route according to the trip software, so that people can quickly reach a destination. However, for an authorized destination, such as a cell, people need to open the cell gate through an access card. In order to prevent the phenomenon that the access card is lost due to the fact that the access card is carried with a person, people can manually input the code of the access card on a mobile phone to generate a virtual access card. When people arrive at a destination (a cell gate), people can find the virtual access control card on the mobile phone and then open a cell gate through the NFC function of the mobile phone. Therefore, people only need to take out the mobile phone to search the virtual access control card when arriving at the destination, and the convenience of people in going out is reduced.
Disclosure of Invention
The present application is proposed to solve the above-mentioned technical problems. The embodiment of the application provides a control method, a control device and a control medium of electronic equipment, so that the problem of inconvenience in traveling of people is solved.
According to an aspect of the present invention, there is provided a control method of an electronic device, including: acquiring the current geographic position of the electronic equipment; acquiring a communication identifier according to the geographic position; wherein the communication identifier comprises an identity identifier of the electronic equipment; and if the fact that the wireless communication module of the electronic equipment is opened and the identity mark is matched with the communication mark of the target equipment is detected, the electronic equipment is in communication connection with the target equipment.
In an embodiment, the obtaining, according to the geographic location, a communication identifier includes: and acquiring a communication identifier according to the current geographic position and a preset relational database.
In one embodiment, the establishing of the preset relation library includes: acquiring a plurality of geographic positions and a plurality of corresponding communication identifiers; and establishing the preset relational database according to the plurality of geographic positions and the plurality of communication identifiers.
In an embodiment, the establishing the preset relation library according to the plurality of geographic locations and the plurality of communication identifiers includes: acquiring a corresponding relation between each geographical position and a communication identifier corresponding to each geographical position according to an operation instruction of a user; the operation instruction represents an instruction of filling in a corresponding relation between each geographic position and the communication identifier corresponding to each geographic position by a user; and establishing the preset relation library according to the corresponding relations.
In one embodiment, the target device includes at least one, and after the communicatively connecting the electronic device and the target device, further includes: receiving equipment information sent by the at least one target equipment; and generating prompt information according to the equipment information.
In one embodiment, the communicatively connecting the electronic device and the target device includes: and if the electronic equipment receives an instruction sent by other equipment for searching for equipment connected with the other equipment in a Bluetooth mode and the Bluetooth identification sent by the equipment for searching is acquired by the electronic equipment, sending the geographical position of the electronic equipment to the other equipment.
In one embodiment, the control method of the electronic device further includes: and if the collector in a preset area collects the Bluetooth identification sent by the searching equipment and the collector receives the instruction of searching the searching equipment by the electronic equipment, receiving the geographic position corresponding to the preset area sent by the collector and sending the geographic position to other equipment.
In an embodiment, the obtaining the geographic location of the search device and sending the geographic location to the other device includes: sending the geographic location to the other device; and the other equipment constructs the walking track of the searching equipment according to the geographical positions of the searching equipment.
According to another aspect of the present invention, there is provided a control apparatus of an electronic device, including: the geographic position acquisition module is used for acquiring the current geographic position of the electronic equipment; the communication identifier acquisition module is used for acquiring a communication identifier according to the geographic position; wherein the communication identifier comprises an identity identifier of the electronic equipment; and the connection module is used for connecting the electronic equipment with the target equipment in a communication way if the fact that the wireless communication module of the electronic equipment is opened and the identity mark is matched with the communication mark of the target equipment is detected.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program for executing the control method of an electronic apparatus described in any one of the above.
The application provides a control method, a control device and a control medium for electronic equipment, which are used for obtaining the current geographic position of the electronic equipment, obtaining a communication identifier according to the geographic position, wherein the communication identifier comprises an identity identifier of the electronic equipment, and connecting the electronic equipment with target equipment in a communication manner if it is detected that a wireless communication module of the electronic equipment is opened and the identity identifier is matched with a communication identifier of the target equipment. The identity identification is matched with the communication identification of the target equipment, and the wireless communication module of the electronic equipment is opened, so that the communication connection between the electronic equipment and the target equipment can be realized, a user does not need to manually search the communication identification of the electronic equipment when going out, the communication identification can be automatically acquired only through the current geographic position, and the convenience of the user in going out is improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment of the present application.
Fig. 2 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application.
Fig. 3 is a flowchart illustrating a method for establishing a preset relational database according to an exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application.
Fig. 5 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application.
Fig. 6 is a schematic structural diagram of a control device of an electronic device according to an exemplary embodiment of the present application.
Fig. 7 is a schematic structural diagram of a control device of an electronic device according to another exemplary embodiment of the present application.
Fig. 8 is a block diagram of an electronic device provided in an exemplary embodiment of the present application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
Fig. 1 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment of the present application. As shown in fig. 1, the control method of the electronic device includes:
step 110: and acquiring the current geographic position of the electronic equipment.
The current geographic position of the electronic device is obtained, and the geographic position may be obtained by a GPS (Global Positioning System) of the electronic device. The corresponding scene can be determined according to the current geographic position of the electronic device, and the scene comprises a cell door, an elevator door and the like.
Step 120: and acquiring a communication identifier according to the geographic position, wherein the communication identifier comprises an identity identifier of the electronic equipment.
And acquiring a communication identifier corresponding to the geographical position according to the geographical position, wherein the communication identifier comprises an identity identifier of the electronic equipment. The identification can be understood as an electronic identification card, which has access rights. For example, the geographical position where the user is located is obtained, the scene corresponding to the geographical position is an XX cell, and an electronic identity card or a virtual access card capable of opening a gate of the XX cell is obtained according to the XX cell. Because the cell gate is provided with the card reader, the card reader can verify whether the electronic identity card or the virtual access control card can access the management area of the card reader, namely the card reader can store the information of the electronic identity card or the virtual access control card, when the card reader allows the electronic identity card or the virtual access control card to access the management area of the card reader, the cell gate is opened.
Step 130: and if the fact that the wireless communication module of the electronic equipment is opened and the identity mark is matched with the communication mark of the target equipment is detected, the electronic equipment is in communication connection with the target equipment.
And if the fact that the wireless communication module of the electronic equipment is opened and the identity identification can be matched with the communication identification of the target equipment is detected, the electronic equipment is in communication connection with the target equipment. The wireless Communication module of the electronic device may be an NFC (Near Field Communication, and Near Field Communication, and Near Field Communication, and Near Field Communication, and Near Field Communication, and Near. For example, the current geographic position of the electronic device is obtained, the scene corresponding to the geographic position is an XX cell gate, and the communication identifier of the electronic device is obtained according to the XX cell gate, and the communication identifier may be an electronic identity card or a virtual access card. When the NFC module of the electronic equipment is detected to be opened and the information corresponding to the electronic identity card or the virtual access control card is stored in the target equipment (the cell card reader), it is indicated that the electronic identity card or the virtual access control card can access the card reader and control the card reader to open the cell gate, namely, the electronic equipment is in communication connection with the target equipment. The electronic equipment comprises an access controller with a Bluetooth function, the access controller can communicate through a 4G network or a 5G network, when the electronic equipment is successfully matched with the access controller with the Bluetooth function or the access controller with the Bluetooth function stores the Bluetooth identification, and the gate at the entrance of a controllable community of the access controller is opened. The electronic equipment also has a near field communication function, can support an NFC function and the like, and can store communication identification such as chip cards and IC cards.
The control method of the electronic device includes the steps of obtaining a current geographic position of the electronic device, obtaining a communication identifier according to the geographic position, wherein the communication identifier comprises an identity identifier of the electronic device, and connecting the electronic device with a target device in a communication mode if it is detected that a wireless communication module of the electronic device is opened and the identity identifier is matched with a communication identifier of the target device. The identity identification is matched with the communication identification of the target equipment, and the wireless communication module of the electronic equipment is opened, so that the communication connection between the electronic equipment and the target equipment can be realized, a user does not need to manually search the communication identification of the electronic equipment when going out, the communication identification can be automatically acquired only through the current geographic position, and the convenience of the user in going out is improved.
Fig. 2 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application. As shown in fig. 2, step 120 may include:
step 121: and acquiring a communication identifier according to the current geographic position and a preset relational database.
A preset relational database may be established in which the correspondence between the current geographical position and the communication identifier is stored. For example, it is detected that the geographic location corresponds to the XX cell, and the card reader of the XX cell allows the virtual access card 1 to access the management area of the card reader of the XX cell. I.e. the virtual access card 1 has the right to access the card reader of the XX cell. The fact that the geographic location is XX elevator doorway is detected, and the XX elevator doorway card reader allows the virtual entrance guard card 1 to access the management area of the XX elevator doorway card reader, namely that the virtual entrance guard card 1 has the right to access the XX elevator doorway card reader. (all-in-one card, one card for multiple purposes)
Fig. 3 is a flowchart illustrating a method for establishing a preset relational database according to an exemplary embodiment of the present disclosure. As shown in fig. 3, step 121 may include:
step 1211: a plurality of geographic locations and a corresponding plurality of communication identifications are obtained.
Multiple geographic locations and corresponding multiple communication identifiers may be obtained, that is, one communication identifier may correspond to multiple geographic locations or one geographic location may also correspond to multiple communication identifiers. For example, XX cell and XX elevator doorways both require the right of a virtual access card or electronic identification card to access XX cell and XX elevator doorways. The virtual entrance guard card 1 or the electronic identity card 1 and the virtual entrance guard card 2 or the electronic identity card 2 are provided, the corresponding identity codes of the two are different, but both the two identity codes can be stored in one card reader (for example, a card reader at the gate of the XX cell or a card reader at the gate of the XX elevator), and then the virtual entrance guard card 1 or the electronic identity card 1 and the virtual entrance guard card 2 or the electronic identity card 2 can access the card readers simultaneously. That is, the virtual access control card 1 or the electronic identification card 1 can open the XX cell and also open the XX elevator door. The XX cell can be opened by the virtual access card 2 or the electronic identity card 2, and the XX elevator door can also be opened.
Step 1212: and establishing a preset relational database according to the plurality of geographic positions and the plurality of communication identifiers.
A huge preset relation library is established through a plurality of geographical positions and a plurality of corresponding communication identifiers, so that when a certain geographical position is obtained, the corresponding communication identifier can be obtained according to the geographical position for a user to use, and the user does not need to manually search a target communication identifier from the electronic equipment. The target communication identifier can be automatically found, and therefore the convenience of the application of the electronic equipment is improved.
In one embodiment, step 1212 is implemented as: the method comprises the steps of obtaining a corresponding relation between each geographic position and a communication identifier corresponding to each geographic position according to an operation instruction of a user, wherein the operation instruction represents an instruction of the user for filling the corresponding relation between each geographic position and the communication identifier corresponding to each geographic position, and establishing a preset relation library according to a plurality of corresponding relations.
Accordingly, the user may manually input the geographic location and the corresponding communication identifier in the electronic device, or may provide an interface having a preset table on which the geographic location and the corresponding communication identifier are input. And acquiring a plurality of corresponding relations from the preset table, wherein the corresponding relations represent the corresponding relations between each geographic position and the communication identifier corresponding to each geographic position. And storing the plurality of corresponding relations into a preset relation library so as to facilitate subsequent application.
Fig. 4 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application. As shown in fig. 4, the target device includes at least one, and the control method of the electronic device may include:
step 140: and receiving the device information sent by at least one target device.
And receiving the device information transmitted by at least one target device, wherein the target device can comprise a shop sending device, a shop sending device and the like. The mall sending equipment, the shop sending equipment and the like are provided with Bluetooth tags. I.e. the target device may communicate with the electronic device bluetooth. The device information may include coupon tickets, coupons, and the like. In addition, the device information of at least one target device within a circle centered on the geographic location and having a preset radius may also be acquired. For example, if there is a XX mall, XX cafe, XX restaurant near the geographic location, the electronic device may obtain a coupon for the XX mall and/or a coupon for the XX cafe and/or a coupon for the XX restaurant.
Step 150: and generating prompt information according to the equipment information.
The method comprises the steps of receiving equipment information, generating prompt information capable of prompting a user, and displaying the prompt information on a display screen or an interface of the electronic equipment, so that the user can conveniently check which mall or which shop provides preferential activities or preferential card tickets, and when the user enters a certain mall or a certain shop, the user can directly apply the card tickets provided by the prompt information or the preferential information corresponding to the activities. In addition, the user may manually set that the prompt does not appear on the display screen or interface of the electronic device.
Fig. 5 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment of the present application. As shown in fig. 5, the wireless communication module includes a bluetooth module, and step 130 may include:
step 131: and if the electronic equipment receives an instruction sent by other equipment for searching the searching equipment connected with the other equipment in a Bluetooth mode and the Bluetooth identification sent by the searching equipment is acquired by the electronic equipment, sending the geographical position of the electronic equipment to the other equipment.
If the wireless communication module is a Bluetooth module and the Bluetooth module is turned on, the electronic device can acquire a Bluetooth identifier sent by the searching device, and the Bluetooth identifier is an identity identifier which can be connected with the searching device in a Bluetooth mode. For example, the old people, the pets and the children are lost in life. In order to detect the positions of the old people, the pets and the children in real time, a piece of equipment (a piece of searching equipment which can comprise a low-power-consumption Bluetooth broadcast tag can also send Bluetooth signals and cannot receive the Bluetooth signals) is often worn on the old people, the pets, the children and the like (the searching equipment is only low-power-consumption Bluetooth broadcast and does not have a GPS (global positioning system) positioning function), the equipment can send Bluetooth identification to other equipment through Bluetooth, and the other equipment can determine that the equipment is about 20 meters away from the geographical position of the other equipment or does not exceed 20 meters away from the geographical position of the equipment. However, because of the limited distance of bluetooth communication, when the communication distance between the seeking device and other devices exceeds the communicable distance, the other devices will not detect the signal or position of the device. Therefore, other equipment can send the Bluetooth identifier with the searching equipment to the electronic equipment, the electronic equipment detects the equipment with the Bluetooth identifier, the electronic equipment is in communication connection with the equipment, and the electronic equipment transmits the geographical position of the electronic equipment to other equipment instead of the geographical position of the equipment. The electronic device communicates with the searching device through Bluetooth, and then the electronic device sends the current geographical position or the current geographical position to other devices instead of the geographical position of the searching device, so that the other devices can definitely obtain the current position range (within 50 meters, generally about 20 meters).
In one embodiment, a method of controlling an electronic device may include: if the collector in the preset area collects the Bluetooth identification sent by the searching device and the collector receives the instruction of searching the searching device by the electronic device, the collector sends the geographic position corresponding to the preset area and sends the geographic position to other devices.
The collector can be arranged in a plurality of areas, and the collector can collect Bluetooth signals or Bluetooth identifications sent by the low-power Bluetooth tags. For example, a collector or a bluetooth router may be provided in an area near a school, a collector may be provided on the way to a home from the school, and the collector may perform wireless communication or bluetooth communication. Under the condition that wireless communication is unavailable, when a signal sent by a searching device (a low-power-consumption Bluetooth broadcast tag) is within a signal range which can be received by a collector, the collector records the time when the searching device passes the collector. When other equipment sends an instruction for searching the searching equipment, the background of the electronic equipment receives the instruction and sends the instruction to the passing collector, the collector receives the instruction and searches whether the searching equipment passes through the area where the collector is located, if the searching equipment passes through the area where the collector is located, the collector sends the geographical position where the searching equipment is located and the passing time of the searching equipment to the electronic equipment together, and then the electronic equipment sends the geographical position and the passing time to the other equipment through the wireless network.
In an embodiment, the control method of the electronic device may be specifically configured to: and sending the geographical position to other equipment, wherein the other equipment constructs a walking track of the searching equipment according to the geographical positions of the searching equipment.
And the other equipment constructs the walking track of the searching equipment through the positions of the searching equipment sent by the electronic equipment. For example, a pet of the user 1 is lost or an electronic device of the user 1 (the electronic device includes a bluetooth router function and can collect signals sent by a bluetooth low energy broadcast tag) cannot communicate with a bluetooth device worn by the pet (the bluetooth device may include a bluetooth low energy broadcast tag, the bluetooth low energy broadcast tag may send bluetooth signals and cannot receive bluetooth signals), and the electronic device of the user 1 sends the bluetooth device with the bluetooth identifier to electronic devices of multiple users. When the pet passes through the area 1 and the electronic equipment of the user 2 opens the Bluetooth module, the electronic equipment of the user 2 collects Bluetooth signals sent by the Bluetooth equipment, the electronic equipment of the user 2 records the position 1 at the moment into the electronic equipment of the user 2, and sends the position 1 to the electronic equipment of the user 1. Because the pet may move all the time, when the pet passes through the area 2 and the electronic device of the user 3 turns on the bluetooth module, the electronic device of the user 3 collects the bluetooth signal sent by the bluetooth device, and the position 2 of the bluetooth device at this time is recorded in the electronic device of the user 3, and the position 2 is sent to the electronic device of the user 1, and so on. The electronic device of the user 1 draws the walking track of the pet according to the received position 1 and position 2 and map software such as a high-grade map and a Baidu map, the user 1 can definitely obtain the walking path of the pet and the final position of the pet through the walking track, and then the lost pet can be successfully found according to the walking track of the pet and the final position of the pet. It should be understood that the electronic device of user 1 transmits the bluetooth device with the bluetooth identifier to the electronic devices of multiple users, indicating that the electronic devices of multiple users enjoy the right to access the bluetooth device.
Fig. 6 is a schematic structural diagram of a control device of an electronic device according to an exemplary embodiment of the present application. As shown in fig. 6, the control device 20 of the electronic apparatus includes: a geographic position obtaining module 201, configured to obtain a current geographic position of the electronic device; a communication identifier obtaining module 202, configured to obtain a communication identifier according to the geographic location; the communication identifier comprises an identity identifier of the electronic equipment; and a connection module 203, configured to connect the electronic device and the target device in a communication manner if it is detected that the wireless communication module of the electronic device is turned on and the identity identifier matches the communication identifier of the target device.
According to the control device of the electronic equipment, the geographic position of the electronic equipment at present is obtained through the geographic position obtaining module 201, the communication identifier obtaining module 202 obtains the communication identifier according to the geographic position, wherein the communication identifier comprises the identity identifier of the electronic equipment, and the connection module 203 connects the electronic equipment with the target equipment in a communication manner if the wireless communication module of the electronic equipment is detected to be opened and the identity identifier is matched with the communication identifier of the target equipment. The identity identification is matched with the communication identification of the target equipment, and the wireless communication module of the electronic equipment is opened, so that the communication connection between the electronic equipment and the target equipment can be realized, a user does not need to manually search the communication identification of the electronic equipment when going out, the communication identification can be automatically acquired only through the current geographic position, and the convenience of the user in going out is improved.
Fig. 7 is a schematic structural diagram of a control device of an electronic device according to another exemplary embodiment of the present application. As shown in fig. 7, the communication identifier obtaining module 202 may include: the relationship module 2021 is configured to obtain the communication identifier according to the current geographic location and a preset relationship library.
In an embodiment, the establishment of the preset relationship library may be specifically configured to: acquiring a plurality of geographic positions and a plurality of corresponding communication identifiers; and establishing a preset relational database according to the plurality of geographic positions and the plurality of communication identifiers.
In an embodiment, the establishment of the preset relationship library may be specifically configured to: acquiring a corresponding relation between each geographical position and a communication identifier corresponding to each geographical position according to an operation instruction of a user; the operation instruction represents an instruction for filling the corresponding relation between each geographic position and the communication identifier corresponding to each geographic position by a user; and establishing a preset relation library according to the plurality of corresponding relations.
In an embodiment, the target device includes at least one, and the control apparatus 20 of the electronic device may include: a receiving unit 204, configured to receive device information sent by at least one target device; and a generating unit 205 for generating the prompt information according to the device information.
In one embodiment, the wireless communication module includes a bluetooth module, and the connection module 203 may include: the connection subunit 2031 is configured to send the geographic location of the electronic device to the other device if the electronic device receives an instruction sent by the other device to search for a device connected to the other device via bluetooth and the bluetooth identifier sent by the device is collected by the electronic device.
In an embodiment, the control device 20 of the electronic device may be configured to: if the collector in the preset area collects the Bluetooth identification sent by the searching device and the collector receives the instruction of searching the searching device by the electronic device, the collector sends the geographic position corresponding to the preset area and sends the geographic position to other devices.
In an embodiment, the connection subunit 2031 may be specifically configured to: sending the geographic location to other devices; and other equipment constructs the walking track of the searching equipment according to the geographical positions of the searching equipment.
Next, an electronic apparatus according to an embodiment of the present application is described with reference to fig. 8. The electronic device may be either or both of the first device and the second device, or a stand-alone device separate from them, which stand-alone device may communicate with the first device and the second device to receive the acquired input signals therefrom.
FIG. 8 illustrates a block diagram of an electronic device in accordance with an embodiment of the present application.
As shown in fig. 8, the electronic device 10 includes one or more processors 11 and memory 12.
The processor 11 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
Memory 12 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, Random Access Memory (RAM), cache memory (or the like). The non-volatile memory may include, for example, Read Only Memory (ROM), a hard disk, flash memory, and the like. One or more computer program instructions may be stored on a computer readable storage medium and executed by the processor 11 to implement the above control method of the electronic device of the various embodiments of the present application and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 10 may further include: an input device 13 and an output device 14, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
When the electronic device is a stand-alone device, the input means 13 may be a communication network connector for receiving the acquired input signals from the first device and the second device.
The input device 13 may also include, for example, a keyboard, a mouse, and the like.
The output device 14 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 14 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device 10 relevant to the present application are shown in fig. 8, and components such as buses, input/output interfaces, and the like are omitted. In addition, the electronic device 10 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the simulation method of an intermodal yard apparatus according to various embodiments of the present application described in the "exemplary methods" section of this specification above.
The computer program product may include program code for carrying out operations for embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the simulation method of an intermodal yard device according to various embodiments of the present application described in the "exemplary methods" section above in this specification.
A computer-readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A method of controlling an electronic device, comprising:
acquiring the current geographic position of the electronic equipment;
acquiring a communication identifier according to the geographic position; wherein the communication identifier comprises an identity identifier of the electronic equipment; and
and if the fact that the wireless communication module of the electronic equipment is opened and the identity mark is matched with the communication mark of the target equipment is detected, the electronic equipment is in communication connection with the target equipment.
2. The method of claim 1, wherein the obtaining a communication identifier according to the geographic location comprises:
and acquiring a communication identifier according to the current geographic position and a preset relational database.
3. The method according to claim 2, wherein the establishing of the preset relationship library comprises:
acquiring a plurality of geographic positions and a plurality of corresponding communication identifiers; and
and establishing the preset relational database according to the plurality of geographic positions and the plurality of communication identifiers.
4. The method according to claim 3, wherein the establishing the preset relationship library according to the plurality of geographic locations and the plurality of communication identifiers comprises:
acquiring a corresponding relation between each geographical position and a communication identifier corresponding to each geographical position according to an operation instruction of a user; the operation instruction represents an instruction of filling in a corresponding relation between each geographic position and the communication identifier corresponding to each geographic position by a user; and
and establishing the preset relation library according to the corresponding relations.
5. The method according to claim 1, wherein the target device includes at least one, and further comprising, after the communicatively connecting the electronic device and the target device:
receiving equipment information sent by the at least one target equipment; and
and generating prompt information according to the equipment information.
6. The method of controlling an electronic device according to claim 1, wherein said communicatively connecting the electronic device and the target device comprises:
and if the electronic equipment receives an instruction sent by other equipment for searching for equipment connected with the other equipment in a Bluetooth mode and the Bluetooth identification sent by the equipment for searching is acquired by the electronic equipment, sending the geographical position of the electronic equipment to the other equipment.
7. The method of controlling an electronic device according to claim 6, further comprising:
and if the collector in a preset area collects the Bluetooth identification sent by the searching equipment and the collector receives the instruction of searching the searching equipment by the electronic equipment, receiving the geographic position corresponding to the preset area sent by the collector and sending the geographic position to other equipment.
8. The method of claim 6, wherein the obtaining the geographic location of the lookup device and sending the geographic location to the other device comprises:
sending the geographic location to the other device; and the other equipment constructs the walking track of the searching equipment according to the geographical positions of the searching equipment.
9. A control apparatus of an electronic device, comprising:
the geographic position acquisition module is used for acquiring the current geographic position of the electronic equipment;
the communication identifier acquisition module is used for acquiring a communication identifier according to the geographic position; wherein the communication identifier comprises an identity identifier of the electronic equipment; and
and the connection module is used for connecting the electronic equipment with the target equipment in a communication way if the fact that the wireless communication module of the electronic equipment is opened and the identity mark is matched with the communication mark of the target equipment is detected.
10. A computer-readable storage medium storing a computer program for executing the method of controlling an electronic apparatus according to any one of claims 1 to 8.
CN202111386317.XA 2021-11-22 2021-11-22 Control method, device and medium of electronic equipment Active CN114157988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111386317.XA CN114157988B (en) 2021-11-22 2021-11-22 Control method, device and medium of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111386317.XA CN114157988B (en) 2021-11-22 2021-11-22 Control method, device and medium of electronic equipment

Publications (2)

Publication Number Publication Date
CN114157988A true CN114157988A (en) 2022-03-08
CN114157988B CN114157988B (en) 2024-04-05

Family

ID=80457341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111386317.XA Active CN114157988B (en) 2021-11-22 2021-11-22 Control method, device and medium of electronic equipment

Country Status (1)

Country Link
CN (1) CN114157988B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841514A (en) * 2014-01-26 2014-06-04 北京自在科技有限责任公司 Article search and loss prevention method, article terminal and article management terminal
CN109068227A (en) * 2018-10-12 2018-12-21 歌尔科技有限公司 A kind of earphone localization method and earphone
CN110490652A (en) * 2019-08-16 2019-11-22 阿里巴巴集团控股有限公司 A kind of information-pushing method and system
CN111260836A (en) * 2019-12-31 2020-06-09 云南电网有限责任公司楚雄供电局 Access control method, device and system, storage system and electronic equipment
CN111432339A (en) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 Near field communication card switching method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841514A (en) * 2014-01-26 2014-06-04 北京自在科技有限责任公司 Article search and loss prevention method, article terminal and article management terminal
CN109068227A (en) * 2018-10-12 2018-12-21 歌尔科技有限公司 A kind of earphone localization method and earphone
CN110490652A (en) * 2019-08-16 2019-11-22 阿里巴巴集团控股有限公司 A kind of information-pushing method and system
CN111260836A (en) * 2019-12-31 2020-06-09 云南电网有限责任公司楚雄供电局 Access control method, device and system, storage system and electronic equipment
CN111432339A (en) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 Near field communication card switching method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114157988B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US7176801B2 (en) Article management system and method
KR101892280B1 (en) Mobile terminal and control method therof
US8725626B2 (en) Method, device and system for automated context information based selective data provision by identification means
KR101496646B1 (en) method of entrance control through instant QR code
CN105340303B (en) Short distance user identifying system and the information providing system and method for utilizing it
US9697511B2 (en) Method for securing transactions, transaction device, bank server, mobile terminal, and corresponding computer programs
US20130217410A1 (en) Method and apparatus for positioning location of wireless access point
WO2013015501A1 (en) Method and apparatus for providing transaction related service
EP2097055B1 (en) Multifunctional apparatus for visually handicapped persons
KR102409148B1 (en) Method for payment using beacon, system and apparatus thereof
US20210304210A1 (en) Information processing method, information processing system, and information processing apparatus
JP2008107918A (en) Mobile body identification managing system, card reader, and mobile body identification managing method
KR101706556B1 (en) Affiliated store labeling method, affiliated store labeling apparatus and affiliated store labeling system for wireless lan fingerprint
JP2017167112A (en) Location information providing system, terminal, and program, as well as location information providing method
US9477917B1 (en) System and method of context specific identity in a radio frequency identity (RFID) chip
KR20130040634A (en) Method and apparatus for controlling device
US20190295065A1 (en) Affiliated store labeling method, affiliated store labeling device, and affiliated store labeling system for wireless lan fingerprint
JP5522875B1 (en) Information processing method, portable device, and information processing program
KR101770795B1 (en) Method for providing lost prevention service
KR101815165B1 (en) System and Method for Providing Fitted Information Service by Using Context-awareness, Cloud Computing Service Apparatus and Driving Method Thereof, Terminal and Driving Method Thereof
JP2020161137A (en) Public transportation system
KR102171299B1 (en) Service providing system and method for guiding information of public transportation, and apparatus and computer readable medium having computer program recorded therefor
CN114157988A (en) Control method, device and medium for electronic equipment
KR20170105652A (en) System and method for providing parking information using application
KR101527774B1 (en) Apparatus and method for providing targeting information

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