CN111629045A - Device wake-up method, system, apparatus, device and storage medium - Google Patents

Device wake-up method, system, apparatus, device and storage medium Download PDF

Info

Publication number
CN111629045A
CN111629045A CN202010436243.5A CN202010436243A CN111629045A CN 111629045 A CN111629045 A CN 111629045A CN 202010436243 A CN202010436243 A CN 202010436243A CN 111629045 A CN111629045 A CN 111629045A
Authority
CN
China
Prior art keywords
terminal
preset
server
equipment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010436243.5A
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.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng 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 Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202010436243.5A priority Critical patent/CN111629045A/en
Publication of CN111629045A publication Critical patent/CN111629045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure relates to a device awakening method, system, device and storage medium. The method comprises the following steps: receiving a device use request sent by a terminal; the device use request is a request triggered when a target client in the terminal is started, and the device use request comprises the position information of the terminal; determining equipment to be awakened within a preset range according to the preset range corresponding to the position information of the terminal; sending a wake-up instruction to the equipment to be woken up; the wake-up instruction is used for instructing the device to be woken up to be switched from the sleep state to the state to be used. By adopting the method, the real-time awakening performance of the equipment to be awakened can be improved.

Description

Device wake-up method, system, apparatus, device and storage medium
Technical Field
The embodiments of the present disclosure relate to the field of shared device technologies, and in particular, to a device wake-up method, system, apparatus, device, and storage medium.
Background
With the development of internet technology, the appearance of shared devices brings great convenience to people's daily life. Generally, in order to enable a shared device to operate for a longer time, when the shared device is not used, the shared device is put into a sleep state and part of hardware functions are turned off to reduce power consumption. Thus, when the shared device is not in use, it is typically in a dormant state.
In the conventional technology, when a user needs to use a shared device, the user may wake up the shared device to be used, for example, the user recognizes an identifier of the shared device through a terminal to wake up the shared device.
However, the conventional wake-up method for the shared device has the problem of low real-time wake-up performance of the shared device.
Disclosure of Invention
The embodiment of the disclosure provides a device awakening method, a system, a device and a storage medium, which can be used for improving the real-time performance of awakening shared devices.
In a first aspect, an embodiment of the present disclosure provides a device wake-up method, where the method includes:
receiving a device use request sent by a terminal; the device using request is a request triggered when a target client in the terminal is started, and the device using request comprises the position information of the terminal;
determining equipment to be awakened in a preset range according to the preset range corresponding to the position information of the terminal;
sending a wake-up instruction to the equipment to be woken up; the awakening instruction is used for indicating the equipment to be awakened to be switched from a dormant state to a state to be used.
In a second aspect, an embodiment of the present disclosure provides a device wake-up method, where the method includes:
detecting whether a target client on a terminal is triggered to be started or not;
responding to the detection operation, and acquiring the position information of the terminal if a target client of the terminal is started once;
sending a device use request carrying the position information of the terminal to a server; the device use request is used for indicating the server to determine a device to be awakened according to a preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the device to be awakened.
In a third aspect, an embodiment of the present disclosure provides an apparatus wake-up system, where the system includes a server, a terminal, and an apparatus; the server is in communication connection with the terminal and the equipment respectively;
the server is configured to execute the device wake-up method according to the first aspect;
the terminal is configured to execute the device wake-up method according to the second aspect.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for waking up a device, where the apparatus includes:
the first receiving module is used for receiving a device use request sent by a terminal; the device using request is a request triggered when a target client in the terminal is started, and the device using request comprises the position information of the terminal;
the determining module is used for determining the equipment to be awakened in the preset range according to the preset range corresponding to the position information of the terminal;
the sending module is used for sending a wake-up instruction to the equipment to be woken up; the awakening instruction is used for indicating the equipment to be awakened to be switched from a dormant state to a state to be used.
In a fifth aspect, an embodiment of the present disclosure provides an apparatus for waking up a device, where the apparatus includes:
the detection module is used for detecting whether a target client on the terminal is triggered to be started or not;
an obtaining module, configured to respond to the detection operation, and obtain location information of the terminal if a target client of the terminal is started once;
the first sending module is used for sending a device use request carrying the position information of the terminal to a server; the device use request is used for indicating the server to determine a device to be awakened according to a preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the device to be awakened.
In a sixth aspect, an embodiment of the present disclosure provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of the first aspect when executing the computer program.
In a seventh aspect, an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method according to the second aspect when executing the computer program.
In an eighth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of the first and second aspects.
According to the device awakening method, the device, the equipment and the storage medium, once the terminal detects that the target client is started, the terminal sends the equipment use request to the server, after the server receives the equipment use request carrying the position information of the terminal, the preset range corresponding to the position information of the terminal is determined, and therefore the equipment to be awakened in the preset range is determined, the server sends the awakening instruction to the determined equipment to be awakened to indicate that the equipment to be awakened is switched from the dormant state to the state to be used, and further the equipment to be awakened enters the state to be used in advance, the equipment is awakened in advance before the user uses the equipment, and awakening real-time performance of the equipment to be awakened is improved.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment for a device wake-up method;
FIG. 2 is a flowchart illustrating a device wake-up method according to an embodiment;
FIG. 3 is a flowchart illustrating a wake-up method of a device according to another embodiment;
FIG. 4 is a flowchart illustrating a wake-up method of a device according to another embodiment;
FIG. 5 is a flowchart illustrating a wake-up method of a device according to another embodiment;
FIG. 6 is a flowchart illustrating a wake-up method of a device according to another embodiment;
FIG. 7 is a flowchart illustrating a device wake-up method according to an embodiment;
FIG. 8 is a flowchart illustrating a wake-up method of a device according to another embodiment;
FIG. 9 is a flowchart illustrating a method for waking up a device according to an embodiment;
FIG. 10 is a diagram illustrating an exemplary wake-up system of a device;
FIG. 11 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 12 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 13 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 14 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 15 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 16 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 17 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 18 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 19 is a block diagram of an apparatus wake-up unit in one embodiment;
FIG. 20 is a block diagram of a wake-up unit of a device according to another embodiment;
FIG. 21 is an internal block diagram of a server in one embodiment;
fig. 22 is an internal structural view of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the embodiments of the present disclosure are described in further detail below with reference to the accompanying drawings and the embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the disclosure and that no limitation to the embodiments of the disclosure is intended.
First, before specifically describing the technical solution of the embodiment of the present disclosure, a technical background or a technical evolution context on which the embodiment of the present disclosure is based is described. In general, in the field of shared devices, in order to enable the shared device to operate for a longer time, when the shared device is not used, the shared device is controlled to enter a sleep state and a part of hardware functions are turned off to reduce power consumption, and the current technical background is: when a user needs to use the shared device, the shared device to be used is awakened, so that the awakening real-time performance of the shared device is low. Based on this background, the applicant observes the usage of the shared device in daily life, and finds that users who have high requirements for the usage efficiency of the shared device, such as business people, traffic police, and the like, wake up the shared device to be used when the user needs to use the shared device, and then the problem that the real-time performance of waking up the shared device is low occurs. How to improve the real-time awakening performance of the sharing device under the requirement of high use efficiency of the sharing device becomes a problem to be solved urgently at present. In addition, it should be noted that, from the problem of determining that the wake-up real-time performance of the shared device is low and the technical solution introduced in the following embodiments, the applicant has paid a lot of creative efforts.
The following describes technical solutions related to the embodiments of the present disclosure with reference to a scenario in which the embodiments of the present disclosure are applied.
The device wake-up method provided by the embodiment of the present disclosure may be applied to a system architecture as shown in fig. 1. The system architecture comprises a device to be woken 101, a terminal 102 and a server 103. The device 101 to be awakened may be a pedal bicycle, an electric bicycle, a scooter, a motorcycle or other non-motorized vehicles or a motor vehicle such as an automobile; the terminal 102 may be a mobile phone, a tablet computer, an IPAD, or an APP software installed on the terminal; the server 103 may be an independent server or a server cluster composed of a plurality of servers. The device to be wakened 101 is provided with a communication component, and may communicate with the terminal 102 or the server 103 in a wireless manner, for example, the terminal 102 may send an unlocking instruction to the device to be wakened according to an unlocking operation of a user. Further, the terminal 102 and the server 103 may communicate with each other in a wireless or wired manner. The communication mode among the device to be awakened 101, the terminal 102, and the server 103 is not limited in the embodiment of the present disclosure.
In one embodiment, as shown in fig. 2, a device wake-up method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
s201, receiving a device use request sent by a terminal; the device use request is a request triggered when a target client in the terminal is started, and the device use request comprises the position information of the terminal.
The client is a program corresponding to the server and providing local service for the user. In this embodiment, taking the terminal as a smart phone as an example, the client may be an APP (Application) installed in the smart phone, or an applet in the instant messaging software. The target client can be an APP or an applet corresponding to the device, and the target client can communicate with the device to control the device. For example, taking the device as a sharing bicycle as an example, the target client may be an APP corresponding to the sharing bicycle or an applet corresponding to the sharing bicycle.
Specifically, when the terminal detects that the target client is started or the target client is running, the terminal sends a device use request to the server, and the device use request comprises the position information of the terminal, and accordingly, the server receives the device use request sent by the terminal. It can be understood that the terminal may obtain the location information of the terminal in real time through a Global Positioning System (GPS), or may obtain the location information of the terminal itself through other nearby terminals, and the terminal may carry the location information of the terminal in the device use request and send the location information to the server while the target client is turned on. Optionally, the device use request sent by the terminal may be used to request use of a shared bicycle, a shared automobile, a shared unmanned aerial vehicle, a shared ship, a shared glider, and the like; for example, taking the device use request as an example for requesting to use the shared bicycle, in this embodiment, if the terminal detects that the target client corresponding to the shared bicycle is triggered to be turned on, the terminal sends the shared bicycle use request including the location information of the terminal to the server. Optionally, the terminal may be a smart phone, a tablet computer, or a portable wearable device, and may also be various personal computers or notebook computers.
S202, determining the equipment to be awakened in the preset range according to the preset range corresponding to the position information of the terminal.
Specifically, after receiving a device use request sent by a terminal, a server determines a device to be awakened within a preset range according to the preset range corresponding to the position information of the terminal included in the received device use request. Optionally, the device to be awakened may be a shared bicycle, a shared unmanned aerial vehicle, a shared ship, or a shared glider.
For example, if the position information of the terminal is used as an origin, and a preset distance value is used as a radius, and an obtained circle, where a range in the circle is a preset range corresponding to the position information of the terminal in this embodiment, all devices in the range determined by the circle may be determined as devices to be wakened, or a device whose distance from the terminal is less than or equal to the radius of the circle may be determined as a device to be wakened. Or, a corresponding relationship between each piece of location information and the range may be pre-established, after the location information of the terminal is determined, a preset range corresponding to the location information of the terminal may be obtained according to the corresponding relationship, all devices located in the preset range are determined as devices to be wakened up, or a device with a bluetooth function turned on in the preset range is determined as a device to be wakened up, and the like, which is not limited in the embodiment of the present disclosure.
S203, sending a wake-up instruction to the equipment to be woken up; the wake-up instruction is used for instructing the device to be woken up to be switched from the sleep state to the state to be used.
Specifically, the server sends a wake-up instruction to the determined device to be woken up, where the wake-up instruction sent by the server is used to instruct the device to be woken up to switch from a sleep state to a state to be used. The wake-up instruction is a special data packet, and after receiving the wake-up instruction, namely the data packet, the device to be woken up can be switched from a dormant state to a state to be used according to the data packet. Optionally, the server may send the wake-up instruction to the device to be woken up through a communication channel between the server and the device to be woken up. Optionally, the server may send the wake-up instruction to each device to be wakened, or send the wake-up instruction to the device to be wakened in a broadcast manner, which is not limited in the embodiment of the present disclosure.
It can be understood that the sleep state of the device to be wakened means that the device to be wakened is in a non-working state, in which a hardware device of the device to be wakened, such as a GPS, a Bluetooth Low Energy (BLE), wifi, or the like, is turned off, and a communication channel of the device to be wakened is in a working state; the to-be-used state of the to-be-awakened device means that hardware devices such as a GPS, a BLE, a wifi and the like of the to-be-awakened device are all started, and the device is in a state of waiting for use.
According to the equipment awakening method, once the terminal detects that the target client is started, the terminal sends an equipment use request to the server, after the server receives the equipment use request carrying the position information of the terminal, the preset range corresponding to the position information of the terminal is determined, and therefore the equipment to be awakened in the preset range is determined, the server sends an awakening instruction to the determined equipment to be awakened to indicate that the equipment to be awakened is switched from the dormant state to the state to be used, and further the equipment to be awakened enters the state to be used in advance, and is awakened in advance before a user uses the equipment, so that the awakening real-time performance of the equipment to be awakened is improved.
In some scenarios, bluetooth functionality may also be enabled when the device is in a sleep state, since bluetooth is low in power consumption. The terminal can receive the Bluetooth information sent by the devices after the Bluetooth is started, in the scene, the terminal can send the received Bluetooth information sent by the devices to the server, and the server can further determine the device to be awakened according to the received Bluetooth information. In one embodiment, the method further comprises: receiving a Bluetooth information packet sent by a terminal; the Bluetooth information packet comprises Bluetooth information received by the terminal and sent by at least one device, and the Bluetooth information comprises an identifier of the device sending the Bluetooth information; accordingly, the above S202 includes: and determining the equipment to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information.
Optionally, the identifier of the device sending the bluetooth information may be a Media Access Control Address (MAC) of the bluetooth of the device, or may be a device identifier of the device.
Specifically, the server receives a bluetooth information packet sent by the terminal, and because the bluetooth information packet includes bluetooth information sent by at least one device received by the terminal and the bluetooth information includes an identifier of the device sending the bluetooth information, the server determines a device to be awakened within a preset range corresponding to the position information of the terminal according to a preset range corresponding to the position information of the terminal and the bluetooth information in the received bluetooth information packet. For example, the server may determine both the device located within the preset range and the device corresponding to the identifier of the device in the bluetooth packet as the device to be wakened; or, the server determines the device which is within the preset range and has the same identification as the device in the bluetooth information packet as the device to be wakened.
In this embodiment, the server determines the to-be-awakened device in the preset range according to the preset range corresponding to the bluetooth information in the bluetooth information packet sent by the terminal and the position information of the terminal, the server can determine the to-be-awakened device in the preset range, and can determine the device with the bluetooth function to be turned on according to the bluetooth information packet.
Further, according to the preset range corresponding to the position information of the terminal and the bluetooth information, determining the device to be awakened, including: and performing duplicate removal operation on all the devices connected with the target client in the preset range and the devices corresponding to the Bluetooth information, and determining the devices after duplicate removal as the devices to be awakened.
In this embodiment, the server may determine, according to the location information of the terminal, all devices connected to the target client within a preset range corresponding to the location information of the terminal, determine, according to the bluetooth information in the received bluetooth information packet, a device corresponding to the bluetooth information, then perform deduplication operations on all devices connected to the target client within the preset range corresponding to the location information of the terminal and the devices corresponding to the bluetooth information, determine the deduplicated devices as the devices to be wakened, avoid repeatedly determining the same device as the devices to be wakened, and improve accuracy of wakening the devices. For example, the device numbers of all devices connected to the target client within the preset range corresponding to the location information of the terminal are 1, 2, 3, 5, 6, 7, and the device numbers of the devices corresponding to the bluetooth information are 1, 6, 7, then the server determines the devices with the device numbers of 1, 2, 3, 5, 6, 7 as the device to be wakened.
In the above embodiment, the preset range corresponding to the position information of the terminal may be a position range or a distance range, and a specific implementation manner for determining the device to be wakened by using different preset ranges is described in detail below.
In an embodiment, the preset range is a preset geographic location range, and the S202 includes: and determining the equipment within the geographical position range as the equipment to be awakened according to the position information of each equipment in the preset position database.
The preset position database is a database established by the server according to the received position information of the plurality of devices. Specifically, a preset range corresponding to the position information of the terminal is a preset geographical position range, and the server determines the device located in the geographical position range as the device to be awakened according to the position information of each device in the preset position database. Optionally, the server may match the location information of each device in the location database with the preset geographic location range, and determine the device located in the geographic location range as the device to be wakened.
In this embodiment, the server can quickly and accurately determine the device located in the geographic position range according to the position information of each device in the preset position database, that is, can quickly and accurately determine the device to be awakened in the preset range corresponding to the position information of the terminal, that is, the accuracy and efficiency of determining the device to be awakened are improved.
In another embodiment, the preset range is a preset distance range threshold, as shown in fig. 3, the step S202 includes:
s301, the distance between the position information and the position information of each device in a preset position database is obtained.
The preset position database is a database established by the server according to the received position information of the plurality of devices. Specifically, the server obtains the distance between the location information of the terminal and the location information of each device in a preset location database. Optionally, the server may sequentially calculate the distance between the location information of the terminal and the location information of each device in the preset location database according to the distance calculation formula, for example, a coordinate system may be established, the location information of the terminal and the location information of each device in the database may be unified into the coordinate system to obtain the location coordinates of the terminal and the location coordinates of each device, and the distance between the location information of the terminal and the location information of each device in the preset location database may be obtained according to the location coordinates of the terminal, the location coordinates of each device, and the distance calculation formula. Illustratively, the preset location data includes location information of 5 devices, and the server sequentially calculates distances between the location information of the terminal and the location information of the 5 devices according to a distance calculation formula.
S302, determining the device with the distance within the distance range threshold value as the device to be awakened.
Specifically, the server determines the device whose distance between the location information of the terminal and the location information of each device in the preset location database is less than or equal to the preset distance range threshold as the device to be wakened. Illustratively, for example, the preset distance range threshold is 10m, and continuing to take the example that the preset location database in S301 includes location information of 5 devices, the 5 devices are denoted as device 1, device 2, device 3, device 4, and device 5, the server obtains that the distance between the location information of the terminal and device 1 is 20m, the distance between the location information of the terminal and device 2 is 5m, the distance between the location information of the terminal and device 3 is 16m, the distance between the location information of the terminal and device 4 is 1m, the distance between the location information of the terminal and device 5 is 7m, it can be seen that, if the distance between the location information of the terminal and the device 2, the distance between the location information of the terminal and the device 4, and the distance between the location information of the terminal and the device 5 are within the preset distance range threshold, the server determines the device 2, the device 4, and the device 5 as the above-mentioned devices to be wakened up.
In this embodiment, the server can quickly and accurately obtain the distance between the position information of the terminal and the position information of each device in the preset position database according to the position information of the terminal and the preset position database, and then can quickly and accurately determine the distance between the position information of the terminal and the position information of each device in the preset position database as a device to be wakened within a preset distance range threshold corresponding to the position information of the terminal, so that the accuracy and efficiency of determining the device to be wakened are improved.
In some scenarios, in order to ensure the transmission quality of the wake-up command, the priority of the transmission channel may be set, the transmission quality of the transmission channel may be detected, and the like, so as to select a suitable transmission channel to transmit the wake-up command. In one embodiment, as shown in fig. 4, the step S203 includes:
s401, determining a target channel according to the preset priority order of each transmission channel and the signal transmission quality of each transmission channel.
Specifically, the server determines the target channel according to a preset priority order of each transmission channel and the signal transmission quality of each transmission channel, for example, the server may determine the transmission channel with the higher priority and the better signal transmission quality as the target channel. Illustratively, the priority order of each transmission channel may be sequentially expressed as high, medium and low, or sequentially expressed as 1 level, 2 levels, 3 levels, 4 levels and the like from high to low, the signal transmission quality may include a signal-to-noise ratio, a signal strength, a throughput and the like, and the server may determine a transmission channel with a high priority and a high value of a signal-to-noise ratio, a signal strength and a throughput as the target channel.
Optionally, each preset transmission channel may include a network channel and a non-network channel, and the priority of the network channel is higher than the priority of the non-network channel. Illustratively, it is assumed that the preset transmission channels include: 4G/3G network channel, wifi passageway, SMS passageway and bluetooth passageway, and each transmission channel's priority order is: the 4G/3G network channel > wifi channel > short message channel > Bluetooth channel, the detected signal transmission quality of each transmission access is as follows: the wifi channel is greater than the 4G/3G network channel, the short message channel and the Bluetooth channel, and then the server can determine the wifi channel as a target channel.
Further, determining a target channel according to a preset priority order of each transmission channel and signal transmission quality of each transmission channel, including:
s501, obtaining the transmission channel with the highest priority.
Specifically, the server acquires the transmission channel with the highest priority according to the priority order of each transmission channel. Illustratively, each transmission channel continuing with the preset in S401 includes: the 4G/3G network channel, wifi channel, short message channel, and bluetooth channel are exemplified for explanation, and it is assumed that the priority order of each transmission channel is: and if the 4G/3G network channel is > wifi channel > short message channel > Bluetooth channel, the server determines the 4G/3G network channel as the transmission channel with the highest priority.
S502, executing detection operation, wherein the detection operation comprises the following steps: detecting whether the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement or not; if yes, go to S503; if not, go to S504.
Specifically, the server performs a detection operation on the acquired transmission channel with the highest priority, detects whether the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement, determines the transmission channel with the highest priority as a target channel if the signal transmission quality meets the preset transmission requirement, determines the transmission channel with the next priority as a new transmission channel with the highest priority if the signal transmission quality does not meet the preset transmission requirement, detects whether the new transmission channel with the highest priority meets the preset transmission requirement until the detected signal transmission quality meets the transmission channel with the transmission requirement, and determines the transmission channel with the detected signal transmission quality meeting the transmission requirement as the target channel. Optionally, the server may compare the signal transmission quality value of the transmission channel with the highest priority with a signal transmission quality value in preset transmission requirements, and detect whether the signal transmission quality of the transmission channel with the highest priority meets the preset transmission requirements; for example, for the 4G/3G network channel with the highest priority, the signal-to-noise ratio threshold of the 4G/3G network channel in the preset transmission requirement is 70dB, and if it is detected that the signal-to-noise ratio of the 4G/3G network channel is 80dB and the signal-to-noise ratio of the 4G/3G network channel is greater than the preset signal-to-noise ratio threshold, the signal quality of the 4G/3G network channel meets the signal-to-noise ratio requirement in the preset transmission requirement; and if the signal-to-noise ratio of the 4G/3G network channel is detected to be 60dB, and the signal-to-noise ratio of the 4G/3G network channel is smaller than a preset signal-to-noise ratio threshold value, the signal quality of the 4G/3G network channel does not meet the signal-to-noise ratio requirement in the preset transmission requirement.
S503, determining the transmission channel with the highest priority as the target channel.
Specifically, if the server detects that the signal transmission quality of the transmission channel with the highest priority satisfies the preset transmission requirement, the transmission channel with the highest priority is determined as the target channel. For example, for the 4G/3G network channel with the highest priority, the preset transmission requirements are: the signal-to-noise ratio threshold value of the 4G/3G network channel is 70dB, the signal intensity threshold value is 80dBm, the throughput threshold value is 92M, if the signal-to-noise ratio of the 4G/3G network channel is detected to be 80dB, the signal intensity is 83dBm and/or the throughput is 95M, the signal-to-noise ratio of the 4G/3G network channel is larger than the preset signal-to-noise ratio threshold value, the signal intensity is larger than the preset signal intensity threshold value, the throughput is larger than the preset throughput threshold value, and the 4G/3G network channel meets the preset transmission requirement, the server determines the 4G/3G network channel as a target channel.
And S504, taking the transmission channel with the next priority as a new transmission channel with the highest priority, returning to execute the detection operation until the detected signal transmission quality meets the transmission channel with the transmission requirement, and determining the transmission channel with the detected signal transmission quality meeting the transmission requirement as a target channel.
Specifically, if the server detects that the signal transmission quality of the transmission channel with the highest priority does not satisfy the preset transmission requirement, the server takes the transmission channel with the next priority as a new transmission channel with the highest priority, returns to execute the detection operation in S502 until the detected signal transmission quality satisfies the transmission channel with the transmission requirement, and determines the transmission channel with the detected signal transmission quality satisfying the transmission requirement as the target channel.
Exemplarily, the priority order of each transmission channel in the transmission channels in the above S401 is continuously: first, the server determines the 4G/3G network channel as the transmission channel with the highest priority, detects whether the signal transmission quality of the 4G/3G network channel meets the preset transmission requirement, if the signal transmission quality of the 4G/3G network channel meets the preset transmission requirement, determines the 4G/3G network channel as the target channel, if the signal transmission quality of the 4G/3G network channel does not meet the preset transmission requirement, determines the wifi channel as the new transmission channel with the highest priority, detects whether the signal transmission quality of the wifi channel meets the preset transmission requirement, if the signal transmission quality of the wifi channel meets the preset transmission requirement, determines the wifi channel as the target channel, if the signal transmission quality of the wifi channel is detected not to meet the preset transmission requirement, the short message channel is determined as a new transmission channel with the highest priority, whether the signal transmission quality of the short message channel meets the preset transmission requirement or not is detected, and if the signal transmission quality of the short message channel meets the preset transmission requirement is detected, the short message channel is determined as a target channel.
S402, sending a wake-up instruction to the device to be woken up through the target channel.
Specifically, the server sends a wake-up instruction to the device to be woken up through the determined target channel. For example, taking the target channel determined in S401 as a wifi channel as an example, the server may send a wake-up instruction to the device to be woken up through the wifi channel. Optionally, the server may send the wake-up instruction to the determined devices to be wakened through the target channel according to the determined device identifiers of the devices to be wakened.
In this embodiment, the server can ensure that the determined target channel is a transmission channel with a higher priority and better signal transmission quality according to the preset priority order of each transmission channel and the signal transmission quality of each transmission channel, thereby ensuring that the server can completely send the wake-up instruction to the device to be awakened through the target channel, and ensuring the reliability of the wake-up instruction in the transmission process.
In some scenarios, in order to ensure that the server can determine the location information of the device, the device will transmit its own location information to the server according to a preset transmission cycle, and the server receives the location information transmitted by the device and establishes a location database corresponding to the device according to the received location information. In one embodiment, as shown in fig. 6, the method further includes:
s601, receiving the position information of the devices sent by the multiple devices according to a preset sending period.
Specifically, the server receives the position information of the devices, which is sent by the devices according to a preset sending period. Optionally, the preset sending period may be 10 minutes or 30 minutes. Optionally, the server may receive, through a network communication channel between the server and the multiple devices, the location information of the devices sent by the multiple devices according to the preset sending period.
S602, establishing a position database according to the device identifications of the devices and the position information of each device.
Specifically, the server establishes a location database according to the device identifiers of the plurality of devices and the received location information of each device. It can be understood that the location information of each device in the location database corresponds to the identifier of each device one to one, and further, if the location information of one of the devices changes, after the device sends its own location information to the server according to a preset sending period, the server finds the corresponding device identifier according to the newly received location information of the device, and updates the location information of the device.
In this embodiment, the server can receive the location information of the devices sent by the multiple devices according to the preset sending period, so that the server can acquire the location information of each device in time, and further, the server can accurately establish the location database according to the device identifiers of the multiple devices and the location information of each location, thereby improving the accuracy of the established location database.
In an embodiment, as shown in fig. 7, a device wake-up method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
s701, detecting whether a target client on the terminal is triggered to be started or not.
Specifically, the terminal detects whether a target client on the terminal is triggered to be started. It can be understood that, there are multiple clients on the terminal, each client has a corresponding installation location, and when a user opens a target client, the terminal can detect that the target client is triggered to be opened.
S702, responding to the detection operation, and acquiring the position information of the terminal once the target client of the terminal is started.
Specifically, when the terminal detects that the target client is started or the target client is running, the terminal acquires the position information of the terminal. It should be noted that, as long as the terminal detects that the target client on the terminal is triggered to be turned on, the location information of the terminal is immediately acquired, and there is no time interval between the two actions. Alternatively, the terminal may obtain the location information of the terminal in real time through a GPS (global positioning System), or may obtain the location information of the terminal itself through other terminals in the vicinity.
S703, sending a device use request carrying the position information of the terminal to the server; the equipment use request is used for indicating the server to determine the equipment to be awakened according to the preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the equipment to be awakened.
Specifically, the terminal sends a device use request carrying the position information of the terminal to the server; the device use request is used for indicating the server to determine the device to be awakened according to the preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the device to be awakened. Optionally, the terminal may be connected to the server via a network, and the terminal may send a device use request carrying the location information of the terminal to the server via a network channel with the server. Optionally, the device to be awakened may be a shared bicycle, a shared automobile, a shared unmanned aerial vehicle, a shared ship, or a shared glider.
In this embodiment, once the terminal detects that the target client is turned on, the terminal acquires position information of the terminal in time, sends a device use request carrying the position information of the terminal to the server, instructs the server to determine a device to be awakened within a preset range corresponding to the position information of the terminal according to the use request, and instructs the server to send an awakening instruction to the determined device to be awakened, and instructs the device to be awakened to be switched from a sleep state to a state to be used, so that the device to be awakened enters the state to be used in advance, and is awakened in advance before a user uses the device, thereby improving the awakening real-time performance of the device to be awakened.
In some scenarios, bluetooth functionality may also be enabled when the device is in a sleep state, since bluetooth is low in power consumption. The terminal can receive the Bluetooth information sent by the devices after the Bluetooth is started, in the scene, the terminal can send the received Bluetooth information sent by the devices to the server, and the server can further determine the device to be awakened according to the received Bluetooth information. In one embodiment, as shown in fig. 8, the method further includes:
s801, receiving Bluetooth information sent by at least one device; the bluetooth information includes an identification of the device that sent the bluetooth information.
Specifically, when the bluetooth of the device is in an on state, after the terminal turns on the bluetooth, the terminal receives bluetooth information sent by at least one device, where the bluetooth information includes an identifier of the device that sent the bluetooth information. Optionally, the identifier of the device sending the bluetooth information may be a Media Access control address (MAC) of bluetooth in the device, or may be a device identifier of the device. It can be understood that if the device needs to perform self-checking, the device can immediately perform self-checking, and can send the bluetooth information to the terminal in time after performing self-checking, so that the terminal can receive the bluetooth information sent by the device in time.
S802, generating a Bluetooth information packet according to each piece of Bluetooth information, and sending the Bluetooth information packet to a server; the Bluetooth information packet is used for indicating the server to determine the equipment to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information.
Specifically, the terminal generates a bluetooth information packet according to the received bluetooth information sent by the at least one device, and sends the bluetooth information packet to the server. The Bluetooth information packet is used for indicating the server to determine the equipment to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information. Optionally, the terminal may send the bluetooth packet to the server through any one of a 4G/3G network channel, a wifi channel, a short message channel, and a bluetooth channel between the terminal and the server. It can be understood that, because the bluetooth information packet includes the bluetooth information received by the terminal and sent by at least one device, and the bluetooth information includes the device identifier for sending the bluetooth information, the terminal sends the bluetooth information packet to the server, and the server can determine the device to be wakened within the preset range corresponding to the position information of the terminal according to the preset range corresponding to the position information of the terminal and the bluetooth information in the received bluetooth information packet. For example, the server may determine both the device located within the preset range and the device corresponding to the identifier of the device in the bluetooth packet as the device to be wakened; or, the server determines the device which is within the preset range and has the same identification as the device in the bluetooth information packet as the device to be wakened.
Further, the bluetooth packet is used to instruct the server to determine the device to be wakened according to the preset range corresponding to the location information of the terminal and the bluetooth information, and includes: and the Bluetooth information packet indicating server performs duplication elimination operation on all the equipment connected with the target client within a preset range corresponding to the position information of the terminal and the equipment corresponding to the Bluetooth information in the Bluetooth information packet, and determines the duplicated equipment as the equipment to be awakened.
In this embodiment, after the server receives the bluetooth information packet sent by the terminal, the server may determine, according to the location information of the terminal, all devices connected to the target client within the preset range corresponding to the location information of the terminal, determine, according to the bluetooth information in the received bluetooth information packet, the devices corresponding to the bluetooth information, then perform deduplication operations on all devices connected to the target client within the preset range corresponding to the location information of the terminal and the devices corresponding to the bluetooth information, determine the deduplicated devices as the devices to be wakened, avoid repeatedly determining the same device as the devices to be wakened, and improve accuracy of the devices to be wakened. For example, after the server receives the bluetooth information packet sent by the terminal, the device numbers of all devices connected to the target client within the preset range corresponding to the location information of the terminal determined by the server are 1, 2, 3, 5, 6, and 7, and the device numbers of the devices corresponding to the received bluetooth information determined by the server are 1, 6, and 7, the server determines the devices with the device numbers of 1, 2, 3, 5, 6, and 7 as the device to be wakened.
In this embodiment, the terminal receives bluetooth information sent by at least one device, the bluetooth information includes an identifier of the device sending the bluetooth information, the terminal can generate a bluetooth information packet according to the received bluetooth information sent by the at least one device, and sends the Bluetooth information packet to the server, so that the server can determine the equipment to be awakened in the preset range according to the Bluetooth information in the received Bluetooth information packet and the preset range corresponding to the position information of the terminal, the server can determine the equipment to be awakened in the preset range, and can also determine the equipment with the Bluetooth function turned on as the equipment to be awakened according to the Bluetooth information packet, so that more equipment can be awakened for a user, and the convenience is improved, and moreover, the equipment to be awakened is determined according to the preset range corresponding to the position information of the terminal and the double conditions of the Bluetooth information packet, so that the accuracy of the equipment to be awakened is improved.
In order to facilitate understanding of those skilled in the art, the device wake-up method provided by the present disclosure is described in detail by taking the device to be woken up as a shared bicycle as an example, as shown in fig. 9, the method may include:
s901, when the terminal detects that the target client is started once, the terminal acquires the position information of the terminal and sends a sharing bicycle using request carrying the position information of the terminal to the server.
And S902, the server receives the shared bicycle use request sent by the terminal.
And S903, the server determines the sharing bicycle to be awakened within the preset geographic position range or distance range threshold value according to the preset geographic position range or distance range threshold value corresponding to the position information of the terminal included in the received sharing bicycle use request.
S904, the server obtains the transmission channel with the highest priority, detects whether the signal transmission quality of the transmission channel with the highest priority meets the preset transmission requirement, if the transmission channel with the highest priority meets the preset transmission requirement, the transmission channel with the highest priority is determined as a target channel, if the transmission channel with the highest priority does not meet the preset transmission requirement, the transmission channel with the next priority is used as a new transmission channel with the highest priority, whether the signal transmission quality of the new transmission channel with the highest priority meets the preset transmission requirement is detected until the detected signal transmission quality meets the transmission channel with the transmission requirement, and the transmission channel with the detected signal transmission quality meeting the transmission requirement is determined as the target channel.
And S905, sending a wake-up instruction to the shared bicycle to be woken up through the target channel.
And S906, the to-be-awakened shared bicycle receives the awakening instruction and is switched to the to-be-used state from the dormant state.
In some scenarios, because bluetooth is low in power consumption, the bluetooth function may also be turned on when the sharing bicycle is in a sleep state. When the terminal receives the Bluetooth information sent by at least one sharing bicycle and the Bluetooth information comprises the identification of the sharing bicycle sending the Bluetooth information, the terminal generates a Bluetooth information packet according to the received Bluetooth information, and the server receives the Bluetooth information packet sent by the terminal, and determines the sharing bicycle to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information, further, the server can perform duplication elimination operation on all the sharing bicycles connected with the target client in the preset range corresponding to the position information of the terminal and the sharing bicycles corresponding to the Bluetooth information in the Bluetooth information packet, and determines the duplicated sharing bicycle as the sharing bicycle to be awakened, and sending a wakeup instruction to the to-be-awakened shared bicycle through the determined target channel, and indicating the to-be-awakened shared bicycle to be switched from the dormant state to the use state.
It should be understood that although the various steps in the flow charts of fig. 2-9 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 some of the steps in fig. 2-9 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 alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 10, there is provided a device wake-up system, including a server, a terminal and a device, the server being in communication connection with the terminal and the device, respectively;
a server for executing the device wake-up method as described in the embodiments of fig. 2 to 6;
a terminal, configured to perform the device wake-up method according to the embodiments of fig. 7 to 8.
The implementation principle and technical effect of the device wake-up system are similar to those of the method embodiments, and are not described herein again.
In one embodiment, as shown in fig. 11, there is provided a device wake-up apparatus, including: a first receiving module 10, a determining module 11 and a sending module 12, wherein:
a first receiving module 10, configured to receive a device use request sent by a terminal; the device use request is a request triggered when a target client in the terminal is started, and the device use request comprises the position information of the terminal.
The determining module 11 is configured to determine, according to a preset range corresponding to the position information of the terminal, a device to be awakened within the preset range.
A sending module 12, configured to send a wake-up instruction to a device to be woken up; the wake-up instruction is used for instructing the device to be woken up to be switched from the sleep state to the state to be used.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 11, as shown in fig. 12, optionally, the apparatus further includes: a second receiving module 13, wherein:
the second receiving module 13 is used for receiving the bluetooth information packet sent by the terminal; the Bluetooth information packet comprises Bluetooth information received by the terminal and sent by at least one device, and the Bluetooth information comprises an identifier of the device sending the Bluetooth information;
correspondingly, the determining module 11 is specifically configured to determine the device to be wakened according to the preset range corresponding to the location information of the terminal and the bluetooth information.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 12, as shown in fig. 13, optionally, the determining module 11 includes: a first determination unit 111, wherein:
the first determining unit 111 is configured to perform a duplicate removal operation on all devices connected to the target client within a preset range and devices corresponding to the bluetooth information, and determine a duplicate-removed device as a device to be awakened.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 11, as shown in fig. 14, optionally, the preset range is a preset geographic position range, and the determining module 11 includes: a second determination unit 112, wherein:
the second determining unit 112 is configured to determine, according to the location information of each device in the preset location database, a device located within the geographic location range as a device to be wakened.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 11, as shown in fig. 15, optionally, the preset range is a preset distance range threshold, and the determining module 11 includes: an obtaining unit 113 and a third determining unit 114, wherein:
an obtaining unit 113, configured to obtain distance between the location information and location information of each device in a preset location database;
a third determining unit 114, configured to determine a device whose distance is within the distance range threshold as the device to be woken up.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 13, as shown in fig. 16, optionally, the sending module 12 includes: a fourth determining unit 121 and a transmitting unit 122, wherein:
a fourth determining unit 121, configured to determine a target channel according to a preset priority order of each transmission channel and a signal transmission quality of each transmission channel;
a sending unit 122, configured to send a wake-up instruction to a device to be woken up through the target channel.
It should be noted that the structure in fig. 16 is shown on the basis of the embodiment shown in fig. 13, and of course, fig. 16 may also be shown on the structure shown in fig. 14 or fig. 15, which is only an example.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition to the embodiment shown in fig. 16, as shown in fig. 17, optionally, the fourth determining unit 121 includes: an acquisition subunit 1211, a detection subunit 1212, a first determination subunit 1213 and a second determination subunit 1214, wherein:
an acquisition subunit 1211 configured to acquire a transmission channel with the highest priority;
a detecting subunit 1212, configured to perform a detecting operation, where the detecting operation includes: detecting whether the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement or not;
a first determining subunit 1213, configured to determine the transmission channel with the highest priority as the target channel if the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement;
a second determining subunit 1214, configured to, if the signal transmission quality of the transmission channel with the highest priority does not meet the preset transmission requirement, take the transmission channel with the next priority as a new transmission channel with the highest priority, and instruct the detecting subunit to perform the detecting operation again until the detected signal transmission quality meets the transmission channel with the transmission requirement, where the second determining subunit determines the transmission channel with the detected signal transmission quality meeting the transmission requirement as the target channel.
Optionally, each preset transmission channel includes a network channel and a non-network channel, and the priority of the network channel is higher than that of the non-network channel.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 17, as shown in fig. 18, optionally, the apparatus further includes: a third receiving module 14 and a building module 15, wherein:
a third receiving module 14, configured to receive location information of a device sent by multiple devices according to a preset sending period;
the establishing module 15 is configured to establish a location database according to the device identifiers of the multiple devices and the location information of each device.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For specific limitations of the device wake-up apparatus, reference may be made to the above limitations of the device wake-up method, which is not described herein again. The modules in the device wake-up apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the server, and can also be stored in a memory in the server in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 19, there is provided a device wake-up apparatus, including: a detection module 20, an acquisition module 21 and a first sending module 22, wherein:
the detection module 20 is configured to detect whether a target client on the terminal is triggered to be started;
an obtaining module 21, configured to respond to the detection operation, and obtain location information of the terminal if a target client of the terminal is started once;
a first sending module 22, configured to send a device use request carrying the location information of the terminal to the server; the equipment use request is used for indicating the server to determine the equipment to be awakened according to the preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the equipment to be awakened.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the above embodiment, as shown in fig. 20, optionally, the apparatus further includes: a receiving module 23 and a second transmitting module 24, wherein:
a receiving module 23, configured to receive bluetooth information sent by at least one device; the Bluetooth information comprises an identifier of equipment for sending the Bluetooth information;
the second sending module 24 is configured to generate a bluetooth information packet according to each piece of bluetooth information, and send the bluetooth information packet to the server; the Bluetooth information packet is used for indicating the server to determine the equipment to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information.
Optionally, the bluetooth packet is used to instruct the server to perform a duplicate removal operation on all devices connected to the target client within a preset range and devices corresponding to the bluetooth packet, and determine the duplicate-removed devices as devices to be wakened.
The device wake-up apparatus provided in this embodiment may perform the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For specific limitations of the device wake-up apparatus, reference may be made to the above limitations of the device wake-up method, which is not described herein again. The modules in the device wake-up apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the terminal, and can also be stored in a memory in the terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 21 is a block diagram illustrating a server 1400 in accordance with an example embodiment. Referring to fig. 21, server 1400 includes a processing component 1420, which further includes one or more processors, and memory resources, represented by memory 1422, for storing instructions or computer programs, e.g., applications, that are executable by processing component 1420. The application programs stored in memory 1422 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1420 is configured to execute instructions to perform the above-described method of device wake-up.
The server 1400 may also include a power component 1424 configured to perform power management of the device 1400, a wired or wireless network interface 1426 configured to connect the device 1400 to a network, and an input/output (I/O) interface 1428. The server 1400 may operate based on an operating system stored in memory 1422, such as Window 1414 over, Mac O14 XTM, UnixTM, LinuxTM, FreeB14DTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the terminal 1300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 1422 comprising instructions, executable by the processor of the server 1400 to perform the above-described method is also provided. The storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 22 is a block diagram illustrating a terminal 1300 according to an example embodiment. For example, terminal 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 22, terminal 1300 can include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316. Wherein the memory has stored thereon a computer program or instructions for execution on the processor.
Processing component 1302 generally controls overall operation of terminal 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the method described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
Memory 1304 is configured to store various types of data to support operation at terminal 1300. Examples of such data include instructions for any application or method operating on terminal 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 1306 provides power to the various components of terminal 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1300.
The multimedia component 1308 includes a touch-sensitive display screen between the terminal 1300 and the user that provides an output interface. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when terminal 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment to terminal 1300. For example, sensor assembly 1314 can detect an open/closed state of terminal 1300, the relative positioning of components, such as a display and keypad of terminal 1300, sensor assembly 1314 can also detect a change in position of terminal 1300 or a component of terminal 1300, the presence or absence of user contact with terminal 1300, orientation or acceleration/deceleration of terminal 1300, and a change in temperature of terminal 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the terminal 1300 and other devices in a wired or wireless manner. The terminal 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described device wake-up methods.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided by the embodiments of the disclosure may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as 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 a few implementation modes of the embodiments of the present disclosure, and the description thereof is specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, variations and modifications can be made without departing from the concept of the embodiments of the present disclosure, and these are all within the scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiment of the disclosure should be subject to the appended claims.

Claims (28)

1. A method for waking up a device, the method comprising:
receiving a device use request sent by a terminal; the device using request is a request triggered when a target client in the terminal is started, and the device using request comprises the position information of the terminal;
determining equipment to be awakened in a preset range according to the preset range corresponding to the position information of the terminal;
sending a wake-up instruction to the equipment to be woken up; the awakening instruction is used for indicating the equipment to be awakened to be switched from a dormant state to a state to be used.
2. The method of claim 1, further comprising:
receiving a Bluetooth information packet sent by a terminal; the Bluetooth information packet comprises Bluetooth information which is received by the terminal and sent by at least one device, and the Bluetooth information comprises an identifier of the device which sends the Bluetooth information;
correspondingly, the determining the device to be awakened in the preset range according to the preset range corresponding to the position information of the terminal includes:
and determining the equipment to be awakened according to the preset range corresponding to the position information of the terminal and the Bluetooth information.
3. The method according to claim 2, wherein the determining the device to be wakened according to the preset range corresponding to the location information of the terminal and the bluetooth information includes:
and performing duplicate removal operation on all the devices connected with the target client in the preset range and the devices corresponding to the Bluetooth information, and determining the devices after duplicate removal as the devices to be awakened.
4. The method according to claim 1, wherein the preset range is a preset geographical location range, and the determining the device to be wakened within the preset range according to the preset range corresponding to the location information of the terminal includes:
and determining the equipment located in the geographic position range as the equipment to be awakened according to the position information of each equipment in a preset position database.
5. The method according to claim 1, wherein the preset range is a preset distance range threshold, and the determining, according to the preset range corresponding to the location information of the terminal, the device to be wakened within the preset range includes:
acquiring the distance between the position information and the position information of each device in a preset position database;
and determining the device with the distance within the distance range threshold value as the device to be awakened.
6. The method according to any one of claims 1 to 5, wherein the sending the wake-up instruction to the device to be woken up comprises:
determining a target channel according to a preset priority order of each transmission channel and the signal transmission quality of each transmission channel;
and sending a wake-up instruction to the equipment to be woken up through the target channel.
7. The method of claim 6, wherein the determining a target channel according to a preset priority order of each transmission channel and a signal transmission quality of each transmission channel comprises:
acquiring a transmission channel with the highest priority;
performing a detection operation, the detection operation comprising: detecting whether the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement or not;
if yes, determining the transmission channel with the highest priority as the target channel;
if not, taking the transmission channel of the next priority as a new transmission channel with the highest priority, returning to execute the detection operation until the detected signal transmission quality meets the transmission channel of the transmission requirement, and determining the transmission channel of which the detected signal transmission quality meets the transmission requirement as the target channel.
8. The method of claim 7, wherein the predetermined transmission channels comprise a network channel and a non-network channel, and wherein the network channel has a higher priority than the non-network channel.
9. The method according to claim 4 or 5, characterized in that the method further comprises:
receiving position information of equipment sent by a plurality of pieces of equipment according to a preset sending period;
and establishing the position database according to the equipment identifications of the plurality of equipment and the position information of each equipment.
10. A method for waking up a device, the method comprising:
detecting whether a target client on a terminal is triggered to be started or not;
responding to the detection operation, and acquiring the position information of the terminal if a target client of the terminal is started once;
sending a device use request carrying the position information of the terminal to a server; the device use request is used for indicating the server to determine a device to be awakened according to a preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the device to be awakened.
11. The method of claim 10, further comprising:
receiving Bluetooth information sent by at least one device; the Bluetooth information comprises an identifier of a device sending the Bluetooth information;
generating a Bluetooth information packet according to each piece of Bluetooth information, and sending the Bluetooth information packet to the server; the Bluetooth information packet is used for indicating the server to determine the equipment to be awakened according to a preset range corresponding to the position information of the terminal and the Bluetooth information.
12. The method according to claim 11, wherein the bluetooth packet is used to instruct the server to determine the device to be woken up according to a preset range corresponding to the location information of the terminal and the bluetooth information, and the method includes:
the Bluetooth information packet is used for indicating the server to perform duplication elimination operation on all the devices connected with the target client within the preset range and the devices corresponding to the Bluetooth information, and determining the duplicated devices as the devices to be awakened.
13. A device wake-up system is characterized in that the system comprises a server, a terminal and a device; the server is in communication connection with the terminal and the equipment respectively;
the server, configured to perform the device wake-up method according to any one of claims 1 to 9;
the terminal, configured to perform the device wake-up method according to any one of claims 10 to 12.
14. An apparatus wake-up device, the apparatus comprising:
the first receiving module is used for receiving a device use request sent by a terminal; the device using request is a request triggered when a target client in the terminal is started, and the device using request comprises the position information of the terminal;
the determining module is used for determining the equipment to be awakened in the preset range according to the preset range corresponding to the position information of the terminal;
the sending module is used for sending a wake-up instruction to the equipment to be woken up; the awakening instruction is used for indicating the equipment to be awakened to be switched from a dormant state to a state to be used.
15. The device wake-up apparatus according to claim 14, wherein the apparatus further comprises:
the second receiving module is used for receiving the Bluetooth information packet sent by the terminal; the Bluetooth information packet comprises Bluetooth information which is received by the terminal and sent by at least one device, and the Bluetooth information comprises an identifier of the device which sends the Bluetooth information;
correspondingly, the determining module is specifically configured to determine the device to be awakened according to the preset range corresponding to the position information of the terminal and the bluetooth information.
16. The device wake-up apparatus according to claim 15, wherein the determining module comprises:
and the first determining unit is used for performing duplicate removal operation on all the devices connected with the target client within the preset range and the devices corresponding to the Bluetooth information, and determining the duplicate-removed devices as the devices to be awakened.
17. The device wake-up apparatus according to claim 14, wherein the predetermined range is a predetermined geographical location range, and the determining module comprises:
and the second determining unit is used for determining the equipment positioned in the geographic position range as the equipment to be awakened according to the position information of each equipment in a preset position database.
18. The device wake-up apparatus according to claim 14, wherein the preset range is a preset distance range threshold, and the determining module includes:
the acquisition unit is used for acquiring the distance between the position information and the position information of each device in a preset position database;
a third determining unit, configured to determine, as the device to be woken up, the device whose distance is within the distance range threshold.
19. The device wake-up apparatus according to any of the claims 14 to 18, wherein the sending module comprises:
a fourth determining unit, configured to determine a target channel according to a preset priority order of each transmission channel and a signal transmission quality of each transmission channel;
and the sending unit is used for sending a wake-up instruction to the equipment to be woken up through the target channel.
20. The device wake-up apparatus according to claim 19, wherein the fourth determining unit comprises:
the acquisition subunit is used for acquiring the transmission channel with the highest priority;
a detection subunit configured to perform a detection operation, the detection operation including: detecting whether the signal transmission quality of the transmission channel with the highest priority meets a preset transmission requirement or not;
a first determining subunit, configured to determine, if the signal transmission quality of the transmission channel with the highest priority satisfies the preset transmission requirement, the transmission channel with the highest priority as the target channel;
a second determining subunit, configured to, if the signal transmission quality of the transmission channel with the highest priority does not meet the preset transmission requirement, take the transmission channel with the next priority as a new transmission channel with the highest priority, and instruct the detecting subunit to perform the detecting operation again until the detected signal transmission quality meets the transmission channel with the transmission requirement, where the second determining subunit determines, as the target channel, the transmission channel with the detected signal transmission quality meeting the transmission requirement.
21. The device wake-up apparatus according to claim 20, wherein the predetermined transmission channels include a network channel and a non-network channel, and the priority of the network channel is higher than that of the non-network channel.
22. Device wake-up unit according to claim 17 or 18, characterized in that the unit further comprises:
the third receiving module is used for receiving the position information of the equipment, which is sent by the plurality of equipment according to a preset sending period;
and the establishing module is used for establishing the position database according to the equipment identifications of the plurality of equipment and the position information of each equipment.
23. An apparatus wake-up device, the apparatus comprising:
the detection module is used for detecting whether a target client on the terminal is triggered to be started or not;
an obtaining module, configured to respond to the detection operation, and obtain location information of the terminal if a target client of the terminal is started once;
the first sending module is used for sending a device use request carrying the position information of the terminal to a server; the device use request is used for indicating the server to determine a device to be awakened according to a preset range corresponding to the position information of the terminal and indicating the server to send an awakening instruction to the device to be awakened.
24. The device wake-up apparatus according to claim 23, wherein the apparatus further comprises:
the receiving module is used for receiving Bluetooth information sent by at least one device; the Bluetooth information comprises an identifier of a device sending the Bluetooth information;
the second sending module is used for generating a Bluetooth information packet according to each piece of Bluetooth information and sending the Bluetooth information packet to the server; the Bluetooth information packet is used for indicating the server to determine the equipment to be awakened according to a preset range corresponding to the position information of the terminal and the Bluetooth information.
25. The device wake-up apparatus according to claim 24, wherein the bluetooth packet is configured to instruct the server to perform a duplicate removal operation on all devices connected to the target client within the preset range and devices corresponding to the bluetooth packet, and determine a duplicate-removed device as the device to be woken up.
26. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 9 are implemented by the processor when executing the computer program.
27. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 10 to 12 when executing the computer program.
28. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 12.
CN202010436243.5A 2020-05-21 2020-05-21 Device wake-up method, system, apparatus, device and storage medium Pending CN111629045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010436243.5A CN111629045A (en) 2020-05-21 2020-05-21 Device wake-up method, system, apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010436243.5A CN111629045A (en) 2020-05-21 2020-05-21 Device wake-up method, system, apparatus, device and storage medium

Publications (1)

Publication Number Publication Date
CN111629045A true CN111629045A (en) 2020-09-04

Family

ID=72272695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010436243.5A Pending CN111629045A (en) 2020-05-21 2020-05-21 Device wake-up method, system, apparatus, device and storage medium

Country Status (1)

Country Link
CN (1) CN111629045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139960A (en) * 2021-05-18 2021-07-20 拉扎斯网络科技(上海)有限公司 Detection method, detection device, electronic device, storage medium, and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699409A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Awakening state switching-in method, device and system for electronic device
CN105309012A (en) * 2013-10-18 2016-02-03 华为技术有限公司 Method, device, and system for waking up access point device
WO2018085017A1 (en) * 2016-11-07 2018-05-11 Qualcomm Incorporated Systems and methods to enable combined periodic and triggered location of a mobile device
CN111093105A (en) * 2019-12-17 2020-05-01 青岛海信宽带多媒体技术有限公司 Remote control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105309012A (en) * 2013-10-18 2016-02-03 华为技术有限公司 Method, device, and system for waking up access point device
CN103699409A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Awakening state switching-in method, device and system for electronic device
WO2018085017A1 (en) * 2016-11-07 2018-05-11 Qualcomm Incorporated Systems and methods to enable combined periodic and triggered location of a mobile device
CN111093105A (en) * 2019-12-17 2020-05-01 青岛海信宽带多媒体技术有限公司 Remote control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139960A (en) * 2021-05-18 2021-07-20 拉扎斯网络科技(上海)有限公司 Detection method, detection device, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
KR101837333B1 (en) Method and apparatus for awakening electronic device
US10031575B2 (en) Method and device for waking up MCU chip
US10088889B2 (en) Method and device for waking up a controller
RU2632319C2 (en) Methods and apparatus for controlling wireless access point
CN112037787A (en) Wake-up control method, device and computer readable storage medium
EP4203604A1 (en) Ranging capacity request method and apparatus, ranging capacity sending method and apparatus, and ranging capacity receiving method and apparatus
CN109204231B (en) Vehicle unlocking method and device
CN113783774A (en) Cross-cluster network configuration method and device, communication equipment and storage medium
CN105578391B (en) Information processing method, device and system and terminal equipment
CN112954661B (en) Sharing apparatus, bluetooth control method, storage medium, and computer program product
CN111942210B (en) Battery compartment unlocking method, system, device, equipment and storage medium
CN111629045A (en) Device wake-up method, system, apparatus, device and storage medium
WO2022077298A1 (en) Pdcch sending method and apparatus, and pdcch receiving method and apparatus
CN112947739A (en) Terminal application program management method and device, terminal and storage medium
CN111240456A (en) Power saving setting method, power saving setting device and computer storage medium
CN107707453B (en) Reminding method and device
CN106992882B (en) Router file migration method and device
EP3188046A1 (en) Method and device for acquiring user information, and relevant terminal devices and server
CN110928589A (en) Information processing method, device and storage medium
CN114025011B (en) Device control method, device control apparatus, and storage medium
CN110574401B (en) Information configuration method and device, channel estimation method and device and sending equipment
CN110662280B (en) Method and device for switching operation modes, readable storage medium and electronic equipment
CN112235834B (en) Data packet transmission method, data packet transmission device and storage medium
WO2023206085A1 (en) Assistance information receiving method and apparatus, assistance information sending method and apparatus, communication apparatus, and storage medium
WO2023206028A1 (en) Assistance information receiving method and apparatus, assistance information sending method and apparatus, communication apparatus, and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200904

RJ01 Rejection of invention patent application after publication