CN112433836A - Automatic application program awakening method and device and computer equipment - Google Patents

Automatic application program awakening method and device and computer equipment Download PDF

Info

Publication number
CN112433836A
CN112433836A CN202011323583.3A CN202011323583A CN112433836A CN 112433836 A CN112433836 A CN 112433836A CN 202011323583 A CN202011323583 A CN 202011323583A CN 112433836 A CN112433836 A CN 112433836A
Authority
CN
China
Prior art keywords
monitoring
information
data packet
application program
intelligent equipment
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.)
Pending
Application number
CN202011323583.3A
Other languages
Chinese (zh)
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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202011323583.3A priority Critical patent/CN112433836A/en
Publication of CN112433836A publication Critical patent/CN112433836A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to an automatic application program awakening method, an automatic application program awakening device and computer equipment, wherein the automatic application program awakening method comprises the steps of monitoring an iBeacon data packet broadcasted by intelligent equipment; determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet; triggering and awakening the target application program according to the registration information; the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance. The application program is used for registering the fixed monitoring program in the operating system so that the operating system monitors the preset iBeacon data packet broadcast by the intelligent equipment, and awakening the application program registered with the monitoring program after monitoring, so that the application program can be automatically awakened only through the intelligent equipment, even if the application program finishes the process, the action task can be processed without manual operation, and the intelligent equipment can be automatically and rapidly monitored and controlled through the application program.

Description

Automatic application program awakening method and device and computer equipment
Technical Field
The application relates to the technical field of internet of things, in particular to an automatic application program awakening method and device and computer equipment.
Background
With the development of the internet of things technology, smart homes gradually enter the daily life of people. At present, the control and monitoring of intelligent devices of different categories and brands can be completed through application programs in terminal equipment. But in order to reduce the power consumption of the terminal device, applications on the terminal device are often killed by the system when not in use. Because the intelligent device and the application program are actually two independent terminals, the intelligent device and the application program can communicate when both are in an active state and a running state, but if one end of the intelligent device and the application program is in an inactive state and a running state, the intelligent device and the application program cannot communicate, the intelligent device and the application program need to change states by means of external force at this time, and the intelligent device and the application program can be realized only by adding third force.
Conventionally, the application program for ending the process must be actively operated and triggered by the user to be opened, run and used, so that when the intelligent device triggers a certain emergency, the intelligent device cannot timely and accurately monitor the emergency. It can be seen that the function is realized in the traditional mode, the timeliness can not be realized when the user opens the application program and receives the message, certain uncertain time delay exists, and for some alarm information such as fire, if the timeliness is poor, the loss is infinitely amplified.
Disclosure of Invention
The application provides an automatic application program awakening method, an automatic application program awakening device and computer equipment, and aims to at least solve the problem that the application program in the related art is long in starting time.
In a first aspect, an embodiment of the present application provides an automatic application wakeup method, where the method includes:
monitoring an iBeacon data packet broadcasted by the intelligent equipment;
determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet;
triggering and awakening a target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
In some embodiments, the registering, by the target application, of the listener for listening to the iBeacon packet in advance in the operating system of the mobile terminal includes:
acquiring basic information of the intelligent equipment, wherein the basic information comprises an ID (identity), a Mac (machine-aided Mac) address and a unique identification code of the intelligent equipment;
starting a Bluetooth authority and a positioning authority, and distributing the intelligent equipment to a network;
after the distribution network is successful, corresponding identification field data is generated according to the unique identification code assembly of the intelligent equipment;
and registering the monitoring program for monitoring the iBeacon data packet in the mobile terminal operating system according to the identification field data.
In some embodiments, after the triggering of waking up the target application according to the registration information, the method further includes:
receiving and analyzing the iBeacon data packet sent by the intelligent equipment to obtain the equipment information of the intelligent equipment; the equipment information comprises identification information, position information and state information of the intelligent equipment;
and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
In some embodiments, the processing the device information according to a preset execution code to manage and control the smart device includes:
analyzing the equipment information according to a preset execution code to obtain the current event type of the intelligent equipment;
sending out corresponding prompt information according to the event type; the prompt message comprises: push a notification or initiate a ringing.
In some embodiments, the event type and the prompt message are stored in the smart device or in a cloud in the form of a mapping table.
In some embodiments, after triggering to wake the target application, the method further comprises:
and sending response information to the intelligent equipment to indicate that the intelligent equipment stops broadcasting the iBeacon data packet.
In a second aspect, an embodiment of the present application provides an automatic wake-up apparatus for an application, where the apparatus includes:
the monitoring module is used for monitoring the iBeacon data packet broadcasted by the intelligent equipment;
the awakening module is used for determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet; triggering and awakening a target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
In some embodiments, the automatic application program wake-up device further includes a processing module, configured to receive and analyze an iBeacon data packet sent by the intelligent device, so as to obtain device information of the intelligent device; the equipment information comprises identification information, position information and state information of the intelligent equipment; and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for automatically waking up an application program according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for automatically waking up an application program as described in the first aspect.
Compared with the related art, the automatic application program awakening method provided by the embodiment of the application program comprises the steps of monitoring an iBeacon data packet broadcast by intelligent equipment; determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet; triggering and awakening a target application program according to the registration information; the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance, so that the problem of long starting time of the application program in the related technology is at least solved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow diagram of a method for automatic application wakeup provided in one embodiment;
FIG. 2 is a flowchart of an automatic application wakeup method according to the preferred embodiment;
FIG. 3 is a block diagram of an embodiment of an automatic wake-up apparatus for an application;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
FIG. 1 is a flowchart of an embodiment of an automatic application wakeup method, as shown in FIG. 1, the method includes steps 110 and 130; wherein:
and step 110, monitoring the iBeacon data packet broadcasted by the intelligent equipment.
The iBeacon is a new low-power consumption and low-cost signal transmitter which can be detected by nearby mobile terminals, the iBeacon protocol based on the Bluetooth low power consumption is used for transmitting signals by the iBeacon, the mobile terminal equipment is positioned and received, and the feedback signals can be used for indoor positioning. iBeacon technology enables a mobile terminal or other device to execute corresponding commands within the sensing range of an iBeacon base station, an application that helps the mobile terminal determine their approximate location or environment.
In this application, utilize iBeacon technique to monitor the iBeacon data package of smart machine broadcast. After the intelligent equipment triggers the Beacon function, the iBeacon data packet is broadcasted at a preset frequency. Wherein, the preset frequency can be set to be broadcast once for several milliseconds to several seconds according to specific situations. It will be appreciated that the preset frequency may also be varied. The intelligent device can be an anti-lost device, an intelligent desk lamp, an intelligent refrigerator, an intelligent door lock, an intelligent curtain and the like.
And step 120, determining to monitor the registration information corresponding to the monitoring program of the iBeacon data packet according to the iBeacon data packet.
Step 130, triggering and awakening the target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
The mobile terminal can monitor the iBeacon data packet within a preset range. The preset range can be set to be a few centimeters at a short distance, a few meters at a middle distance and a few tens of meters at a long distance, and the specific distance can be set and adjusted according to an actual scene. For example, if the intelligent device is a fire alarm, the preset range can be set to a long distance, and when the fire alarm detects that a fire breaks out, the application program can receive alarm information in time; if the intelligent device is a loss preventer, the preset range can be set to be a short range, so that the object to be found can be accurately positioned, or the preset range can be set to be a long-distance positioning to a rough position, and then the range is narrowed to gradually limit a specific position.
It should be noted that the application program needs to register the listener in the operating system of the mobile terminal in advance. For example, when an application program is installed or updated, a monitoring program may be registered in an operating system in the mobile terminal during the installation or update process, so as to instruct the operating system of the mobile terminal to monitor a preset iBeacon data packet broadcast by the smart device, and wake up the preset iBeacon data packet after the preset iBeacon data packet is monitored. Specifically, after the mobile terminal operating system is in the monitoring range, a preset iBeacon data packet broadcasted by the intelligent device is monitored, then registration information of a monitoring program which monitors the iBeacon data packet is searched in the system according to the iBeacon data packet, the registration information includes an identifier of an application program corresponding to the registered monitoring program, and after the corresponding application program is searched according to the identifier, the application program is triggered and awakened.
Examples are as follows: a user's scribble APP registers in advance in mobile terminal operating system has monitor program, and this monitor program instructs operating system to monitor the iBeacon data package that the equipment identification code of smart machine broadcast is 0011, after monitoring the iBeacon data package that the equipment identification code is 0011, triggers the scribble APP that awakens A user.
In the prior art, if an application program which finishes a process is required to be started, manual intervention operation is required for the application program to run a certain function. The intelligent device and the mobile terminal are actually two independent terminals, and can communicate when both are in an active state and a running state, but if one end of the intelligent device and the mobile terminal is in an inactive state and a running state, for example, an application program is in a sleep state or has finished a process, the intelligent device and the mobile terminal cannot communicate, at this time, the state of the intelligent device and the mobile terminal needs to be changed by means of external force, the application program can be started only by adding a third party, more terminals are needed to participate, the implementation is complex and tedious, and time delay is caused. In addition, most current application programs for finishing the process can be opened, run and used only by active operation and triggering of a user, and the awakening time is long, so that more implementation functions of the application programs are limited. On the one hand, when the intelligent device triggers a certain emergency, the event cannot be timely and accurately sent out. On the other hand, the application program at the end of the application program needs to be opened and then the message is received, timeliness cannot be achieved, certain uncertain time delay exists, and for some fire disasters and the like, if timeliness is poor, loss is amplified infinitely.
Compared with the prior art, the application program automatic awakening method provided by the application program utilizes the iBeacon technology, the application program is used for registering the fixed monitor program in the operating system so that the operating system can monitor the preset iBeacon data packet broadcasted by the intelligent equipment, and awakening the application program registered with the monitor program later, so that the application program can be automatically awakened only through the intelligent equipment, even if the application program finishes the process, the action task can be processed without manual operation, and the intelligent equipment can be automatically and quickly monitored and controlled. In addition, the scheme of awakening the application program by adopting the iBeacon technology can be applied to various Bluetooth equipment firmware, so that a Bluetooth system is enriched, for example, the function can be applied to products such as Bluetooth door locks, Bluetooth bags and the like, and the technical point function can be possessed only by equipment capable of sending broadcast packets, so that the effect of actively linking with the application program without external help is achieved.
In some embodiments, the registering, by the target application, of the listener for listening to the iBeacon packet in advance in the operating system of the mobile terminal includes:
acquiring basic information of the intelligent equipment, wherein the basic information comprises an ID (identity), a Mac (machine-aided Mac) address and a unique identification code of the intelligent equipment;
starting a Bluetooth authority and a positioning authority, and distributing the intelligent equipment into a network;
after the distribution network is successful, corresponding identification field data is generated according to the unique identification code assembly of the intelligent equipment;
and registering the monitoring program for monitoring the iBeacon data packet in the mobile terminal operating system according to the identification field data.
In this application, the mobile terminal includes, but is not limited to, a mobile phone, a tablet, a computer, and the like, and after scanning the intelligent device capable of sending the iBeacon packet in the initial state, obtains basic information of the intelligent device, where the basic information of the intelligent device includes, but is not limited to, an ID, a Mac address, and a Unique Identifier (UUID) of the intelligent device. And starting the Bluetooth permission and the positioning permission of the application program, and simultaneously, distributing the network to the intelligent equipment and activating and registering the intelligent equipment to the cloud. The method comprises the steps of activating a distribution network in an application program, writing specific information such as equipment communication key exchange rules in intelligent equipment, generating corresponding beacon UUIDs according to the UUIDs of the intelligent equipment after the distribution network is successful, registering a monitoring program in an operating system of the mobile terminal, and monitoring by using 16-byte UUIDs (user identifier assemblies) 16-system converted ASCII codes to form 16 characters. The communication key exchange rule may be a symmetric encryption algorithm or an asymmetric encryption algorithm, and the specific key exchange rule may adopt an existing key agreement algorithm, which is not described herein again.
In some embodiments, after the triggering of waking up the target application according to the registration information, the method further includes:
receiving and analyzing the iBeacon data packet sent by the intelligent equipment to obtain the equipment information of the intelligent equipment; the equipment information comprises identification information, position information and state information of the intelligent equipment;
and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
After the target application program is awakened, the preset execution code is operated to perform the following action distribution, for example, sending a notification, recording time, recording equipment information, synchronizing nearby positions and the like, all the actions can be defined in a universal mode, and various tasks can be continuously distributed to achieve the capability of automatically processing events. Meanwhile, different task effects can be achieved aiming at different product scenes.
Specifically, after the target application program is awakened, the iBeacon data packet sent by the intelligent device is received, and the iBeacon data packet is analyzed to obtain the device information of the corresponding iBeacon source device, including the current position information and the current state information of the intelligent device. For example, if the smart device is a lighting device, the device information may include information such as a model, a current position, an on state, and a light state of the lighting device, and the application program may control the light state and the on state of the lighting device according to a preset control instruction. If the intelligent device is a smoke alarm, the device information may include information such as the type, current position, current smoke concentration, and the like of the smoke alarm, and when the target application detects that the smoke concentration reaches a certain threshold, a prompt is given.
In some embodiments, the processing the device information according to a preset execution code to manage and control the smart device includes:
processing the equipment information according to a preset execution code to obtain the current event type of the intelligent equipment;
sending out corresponding prompt information according to the event type; the prompt message comprises: push a notification or initiate a ringing.
After the application program finishes the process, the user can receive the current device information sent by the intelligent device without manually starting the application program, so that the intelligent device can be conveniently and quickly controlled.
In some embodiments, the event type and the prompt message are stored in the smart device or in a cloud in the form of a mapping table.
Specifically, the target application processes the device information to obtain the current event type of the intelligent device, and may search for the corresponding prompt information in a mapping table stored in the intelligent device. However, if the data volume is large, all the data are stored in the intelligent device, a large storage space is occupied, the prompt information can be stored in the cloud, the event type can be sent to the cloud after the current event type of the intelligent device is obtained through analysis of the target application program, the cloud searches the stored mapping table to obtain the corresponding prompt information, and then the prompt information is sent to the mobile terminal to pull the corresponding prompt information from the cloud.
In some embodiments, the corresponding prompt message may be issued according to the emergency of the event type. For example, if the event type is a fire, the prompt message may be to start ringing to quickly notify the user to process; if the event type is that the position of the intelligent device changes, a notification can be pushed to remind the user. It can be understood that the specific prompting mode can be set by the user in a self-defined way according to the requirement.
In some embodiments, after waking the target application, the method for automatically waking up the application further includes: and sending response information to the intelligent equipment to indicate the intelligent equipment to stop broadcasting the iBeacon data packet, so that the power consumption of the intelligent equipment can be reduced.
In some embodiments, the iBeacon data packet may be repeatedly sent by the smart device, and the specific location of the smart device is located by triangulation location under the condition of no network, so as to be used in an indoor location scenario.
The following describes a preferred embodiment of the present application, as shown in fig. 2:
firstly, the device needs to be activated in a distribution network in the app, after activation is completed, the app can automatically monitor and register beacon information according to the uuid of the device, the device appoints to send ibeacon data packets according to the uuid, and the rule of the uuid is an ASCILL code which is 8 bytes and is converted from 16 systems to 16 characters. The ibeacon packet may carry information of a target device to be controlled. When the device sends the ibeacon data packet, the system monitors, wakes up the app registered with the monitor program after monitoring the ibeacon data packet corresponding to the uuid, and at this time, wakes up and starts the app in the background. after the app is started, receiving an ibeacon data packet from the system, analyzing the ibeacon data packet at the moment, analyzing the corresponding beacon source device, and obtaining target device information; by acquiring a series of app operations brought by awakening in information processing, such as locally sending a notification, an app sound ringing system is performed, or other basic information is transmitted, and position information and the like are recorded.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The present embodiment further provides an automatic wake-up device for an application, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted here. As used below, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
In one embodiment, as shown in fig. 3, an automatic application wakeup apparatus is provided, which includes a listening module 310 and a wakeup module 320; wherein:
the monitoring module 310 is configured to monitor an iBeacon data packet broadcast by the smart device;
the wakeup module 320 is configured to determine, according to the iBeacon data packet, registration information corresponding to a monitor that monitors the iBeacon data packet; triggering and awakening a target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
The application program automatic awakening device provided by the application program utilizes the iBeacon technology, the application program registers the monitoring program in a fixed form in the operating system so that the operating system monitors the preset iBeacon data packet broadcasted by the intelligent device, and awakens the application program registered with the monitoring program after monitoring, so that the application program is automatically awakened only through the intelligent device, even if the application program finishes the process, the action task can be processed under the condition of no need of manual operation, and the intelligent device is automatically and rapidly monitored and controlled.
In some of these embodiments, the application auto-wake-up device further comprises a processing module 330; the iBeacon data packet is used for receiving and analyzing the iBeacon data packet sent by the intelligent equipment to obtain the equipment information of the intelligent equipment; the equipment information comprises identification information, position information and state information of the intelligent equipment; and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
In some embodiments, the automatic application wakeup apparatus further includes a registration module (not shown in the figure) configured to obtain basic information of the smart device, where the basic information includes an ID, a Mac address, and a unique identification code of the smart device; starting a Bluetooth authority and a positioning authority, and distributing the intelligent equipment to a network; after the distribution network is successful, corresponding identification field data is generated according to the unique identification code assembly of the intelligent equipment; and registering the monitoring program for monitoring the iBeacon data packet in the mobile terminal operating system according to the identification field data.
In some embodiments, the processing module 330 is further configured to receive and analyze the iBeacon data packet sent by the intelligent device, so as to obtain device information of the intelligent device; the equipment information comprises identification information, position information and state information of the intelligent equipment; and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
In some embodiments, the processing module 330 is further configured to process the device information according to a preset execution code to obtain a current event type of the smart device; sending out corresponding prompt information according to the event type; the prompt message comprises: push a notification or initiate a ringing.
In some embodiments, the event type and the prompt message are stored in the smart device or in the cloud in the form of a mapping table.
In some embodiments, the apparatus for automatically waking up an application further includes a feedback module, configured to send a response message to the smart device after waking up the target application, so as to instruct the smart device to stop broadcasting the iBeacon packet.
For specific limitations of the application auto-wake-up apparatus, reference may be made to the above limitations of the application auto-wake-up method, which will not be described herein again. The modules in the above-mentioned automatic application program wake-up device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In addition, the method for automatically waking up the application program in the embodiment of the present application described in conjunction with fig. 1 may be implemented by a computer device. Fig. 4 is a hardware structure diagram of a computer device according to an embodiment of the present application.
The computer device may include a processor 41 and a memory 42 storing computer program instructions.
Specifically, the processor 41 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 42 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 42 may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 42 may include removable or non-removable (or fixed) media, where appropriate. The memory 42 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 42 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, Memory 42 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory 42 may be used to store or cache various data files for processing and/or communication use, as well as possibly computer program instructions for execution by the processor 42.
The processor 41 reads and executes the computer program instructions stored in the memory 42 to implement the application program automatic wake-up method in any of the above embodiments.
In some of these embodiments, the computer device may also include a communication interface 43 and a bus 40. As shown in fig. 4, the processor 41, the memory 42, and the communication interface 43 are connected via the bus 40 to complete mutual communication.
The communication interface 43 is used for implementing communication between modules, devices, units and/or apparatuses in the embodiments of the present application. The communication port 43 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
Bus 40 comprises hardware, software, or both coupling the components of the computer device to each other. Bus 40 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 40 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Bus (audio Electronics Association), abbreviated VLB) bus or other suitable bus or a combination of two or more of these. Bus 40 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The computer device may execute the automatic application program wake-up method in the embodiment of the present application based on the obtained program instruction, thereby implementing the automatic application program wake-up method described in conjunction with fig. 1.
In addition, in combination with the method for automatically waking up an application program in the foregoing embodiments, embodiments of the present application may provide a computer-readable storage medium to implement the method. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the above embodiments of the method for automatic application wakeup.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An automatic application wakeup method, the method comprising:
monitoring an iBeacon data packet broadcasted by the intelligent equipment;
determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet;
triggering and awakening a target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
2. The method of claim 1, wherein the target application program registers a listener for listening to the iBeacon packet in advance in an operating system of a mobile terminal, and the method comprises:
acquiring basic information of the intelligent equipment, wherein the basic information comprises an ID (identity), a Mac (machine-aided Mac) address and a unique identification code of the intelligent equipment;
starting a Bluetooth authority and a positioning authority, and distributing the intelligent equipment to a network;
after the distribution network is successful, corresponding identification field data is generated according to the unique identification code assembly of the intelligent equipment;
and registering the monitoring program for monitoring the iBeacon data packet in the mobile terminal operating system according to the identification field data.
3. The method of claim 1, wherein after the triggering of waking up the target application according to the registration information, the method further comprises:
receiving and analyzing the iBeacon data packet sent by the intelligent equipment to obtain the equipment information of the intelligent equipment; the equipment information comprises identification information, position information and state information of the intelligent equipment;
and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
4. The method according to claim 3, wherein the processing the device information according to a preset execution code to manage and control the smart device comprises:
analyzing the equipment information according to a preset execution code to obtain the current event type of the intelligent equipment;
sending out corresponding prompt information according to the event type; the prompt message comprises: push a notification or initiate a ringing.
5. The method of claim 4, wherein the event type and the prompt message are stored in the smart device or in a cloud in the form of a mapping table.
6. The method of claim 1, wherein after triggering wake-up of a target application, the method further comprises:
and sending response information to the intelligent equipment to indicate that the intelligent equipment stops broadcasting the iBeacon data packet.
7. An apparatus for automatic application wakeup, the apparatus comprising:
the monitoring module is used for monitoring the iBeacon data packet broadcasted by the intelligent equipment;
the awakening module is used for determining registration information corresponding to a monitoring program for monitoring the iBeacon data packet according to the iBeacon data packet; triggering and awakening a target application program according to the registration information; and the target application program registers a monitoring program for monitoring the iBeacon data packet in an operating system of the mobile terminal in advance.
8. The apparatus according to claim 7, further comprising a processing module, configured to receive and analyze the iBeacon packet sent by the smart device, so as to obtain device information of the smart device; the equipment information comprises identification information, position information and state information of the intelligent equipment; and processing the equipment information according to a preset execution code so as to manage and control the intelligent equipment.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202011323583.3A 2020-11-23 2020-11-23 Automatic application program awakening method and device and computer equipment Pending CN112433836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011323583.3A CN112433836A (en) 2020-11-23 2020-11-23 Automatic application program awakening method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011323583.3A CN112433836A (en) 2020-11-23 2020-11-23 Automatic application program awakening method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN112433836A true CN112433836A (en) 2021-03-02

Family

ID=74693901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011323583.3A Pending CN112433836A (en) 2020-11-23 2020-11-23 Automatic application program awakening method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN112433836A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412861A (en) * 2022-08-25 2022-11-29 拉扎斯网络科技(上海)有限公司 Method, device and system for awakening small program
CN115460554A (en) * 2022-08-25 2022-12-09 拉扎斯网络科技(上海)有限公司 Application program awakening method, device and system
TWI814654B (en) * 2022-07-25 2023-09-01 大陸商蘇州磐聯集成電路科技股份有限公司 Extension method of trigger packet

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150289207A1 (en) * 2014-04-07 2015-10-08 Aruba Networks, Inc. Method and system for tracking devices
CN104980893A (en) * 2014-04-11 2015-10-14 上海智向信息科技有限公司 Group monitoring method based on iBeacon protocol and device thereof
CN106127897A (en) * 2016-06-22 2016-11-16 江苏巨数智能科技有限公司 System for unlocking based on iOS or Android or method
CN108401075A (en) * 2018-03-25 2018-08-14 朱积川 It is a kind of to wake up the simultaneously technology of the specific APP of long-term running background and its application
CN109144603A (en) * 2018-07-24 2019-01-04 阿里巴巴集团控股有限公司 Wake-up, information-pushing method and device calculate equipment and storage medium
CN110058891A (en) * 2019-03-15 2019-07-26 深圳壹账通智能科技有限公司 Application program wake-up control method, device, computer equipment and storage medium
CN110297663A (en) * 2018-03-21 2019-10-01 阿里巴巴集团控股有限公司 Awakening method, device, terminal and the medium of application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150289207A1 (en) * 2014-04-07 2015-10-08 Aruba Networks, Inc. Method and system for tracking devices
CN104980893A (en) * 2014-04-11 2015-10-14 上海智向信息科技有限公司 Group monitoring method based on iBeacon protocol and device thereof
CN106127897A (en) * 2016-06-22 2016-11-16 江苏巨数智能科技有限公司 System for unlocking based on iOS or Android or method
CN110297663A (en) * 2018-03-21 2019-10-01 阿里巴巴集团控股有限公司 Awakening method, device, terminal and the medium of application program
CN108401075A (en) * 2018-03-25 2018-08-14 朱积川 It is a kind of to wake up the simultaneously technology of the specific APP of long-term running background and its application
CN109144603A (en) * 2018-07-24 2019-01-04 阿里巴巴集团控股有限公司 Wake-up, information-pushing method and device calculate equipment and storage medium
CN110058891A (en) * 2019-03-15 2019-07-26 深圳壹账通智能科技有限公司 Application program wake-up control method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI814654B (en) * 2022-07-25 2023-09-01 大陸商蘇州磐聯集成電路科技股份有限公司 Extension method of trigger packet
CN115412861A (en) * 2022-08-25 2022-11-29 拉扎斯网络科技(上海)有限公司 Method, device and system for awakening small program
CN115460554A (en) * 2022-08-25 2022-12-09 拉扎斯网络科技(上海)有限公司 Application program awakening method, device and system

Similar Documents

Publication Publication Date Title
US11741210B2 (en) Proximity unlock and lock operations for electronic devices
CN112433836A (en) Automatic application program awakening method and device and computer equipment
US10595273B2 (en) Systems and methods for localized device wakeup using Bluetooth low energy communications
CN106465115B (en) The verifying of indicator is currently moved based on safety
KR102208438B1 (en) Method for proximity service data and an electronic device thereof
US9990480B2 (en) Method, apparatus and storage medium for setting smart device management account
CN110602692B (en) Data updating method and device and electronic equipment
EP3047681B1 (en) Interleaving advertising packets for improved detectability and security
WO2018000134A1 (en) Bluetooth connection method and terminal
US20140254466A1 (en) Interleaving Advertising Packets For Improved Detectability And Security
CN105027148A (en) Presence detection using Bluetooth and hybrid-mode transmitters
CN107465595B (en) Equipment message playing control method and device, message playing equipment and storage medium
CN108462697B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111565355B (en) Device control method, device, electronic device and computer-readable storage medium
CN109816830B (en) Unlocking method and device
CN112702633A (en) Multimedia intelligent playing method and device, playing equipment and storage medium
CN110677899A (en) Data transmission method and device, terminal equipment and storage medium
WO2017219519A1 (en) Method, apparatus, and system for controlling device
CN112532607A (en) Intelligent device communication method, system, computer device and readable storage medium
CN112616176B (en) Wake-up method and device and control method and device of equipment
CN111862965A (en) Awakening processing method and device, intelligent sound box and electronic equipment
CN113453205A (en) Bluetooth remote controller recovery method, system and computer storage medium
CN111540360A (en) Equipment awakening method and equipment awakening system
CN116889094A (en) Wireless communication method, device, communication equipment and storage medium
CN111596557B (en) Device control method, device, electronic device and computer-readable storage medium

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